From 1d783d02359c8f833300cd2453b11945b5173711 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 11 Dec 2025 00:05:39 +0000 Subject: [PATCH] ## Php SDK Changes: * `midday->invoices->list()`: `response.data->[]` **Changed** **Breaking** :warning: * `midday->invoices->get()`: `response` **Changed** **Breaking** :warning: * `midday->reports->burn-rate()`: **Added** * `midday->metrics->runway()`: **Deleted** **Breaking** :warning: * `midday->notifications->list()`: **Added** * `midday->notifications->updateStatus()`: **Added** * `midday->notifications->updateAllStatus()`: **Added** * `midday->transactions->getAttachmentPreSignedUrl()`: **Added** * `midday->documents->getPreSignedUrl()`: **Added** * `midday->inbox->getPreSignedUrl()`: **Added** * `midday->invoices->create()`: **Added** * `midday->invoices->update()`: **Added** * `midday->reports->revenue()`: **Added** * `midday->reports->profit()`: **Added** * `midday->oauth->getOAuthAuthorization()`: **Added** * `midday->reports->runway()`: **Added** * `midday->oauth->postOAuthRevoke()`: **Added** * `midday->metrics->revenue()`: **Deleted** **Breaking** :warning: * `midday->reports->expenses()`: **Added** * `midday->metrics->profit()`: **Deleted** **Breaking** :warning: * `midday->metrics->burn-rate()`: **Deleted** **Breaking** :warning: * `midday->reports->spending()`: **Added** * `midday->metrics->expenses()`: **Deleted** **Breaking** :warning: * `midday->metrics->spending()`: **Deleted** **Breaking** :warning: * `midday->inbox->list()`: * `request->status` **Changed** * `midday->oauth->postOAuthToken()`: **Added** * `midday->oauth->postOAuthAuthorization()`: **Added** * `midday->search->search()`: * `request->relevanceThreshold` **Changed** * `midday->tracker entries->create()`: * `request->assignedId` **Changed** * `midday->tracker entries->createBulk()`: * `request->entries->[]->assignedId` **Changed** * `midday->tracker entries->update()`: * `requestBody->assignedId` **Changed** --- .gitignore | 2 + .speakeasy/gen.lock | 5233 ++++++++++++++--- .speakeasy/gen.yaml | 9 +- .speakeasy/workflow.lock | 12 +- README.md | 313 +- RELEASES.md | 12 +- USAGE.md | 58 +- .../Components/NotificationResponseSchema.md | 8 + docs/Models/Components/NotificationSchema.md | 17 + .../Components/NotificationSchemaStatus.md | 12 + .../Components/NotificationsResponseSchema.md | 9 + .../NotificationsResponseSchemaMeta.md | 12 + docs/Models/Components/Security.md | 3 +- docs/Models/Components/Source.md | 11 + ...ateAllNotificationsStatusResponseSchema.md | 8 + .../UpdateAllNotificationsStatusSchema.md | 8 + ...pdateAllNotificationsStatusSchemaStatus.md | 12 + docs/Models/Errors/ConflictException.md | 11 + .../CreateInvoiceBadRequestException.md | 11 + .../CreateInvoiceInternalServerError.md | 11 + .../Errors/CreateInvoiceNotFoundException.md | 11 + ...DocumentPreSignedUrlBadRequestException.md | 11 + ...DocumentPreSignedUrlInternalServerError.md | 11 + ...etDocumentPreSignedUrlNotFoundException.md | 11 + ...GetInboxPreSignedUrlBadRequestException.md | 11 + ...GetInboxPreSignedUrlInternalServerError.md | 11 + .../GetInboxPreSignedUrlNotFoundException.md | 11 + ...etOAuthAuthorizationBadRequestException.md | 14 + ...tachmentPreSignedUrlBadRequestException.md | 11 + ...tachmentPreSignedUrlInternalServerError.md | 11 + ...AttachmentPreSignedUrlNotFoundException.md | 11 + ...stOAuthAuthorizationBadRequestException.md | 11 + .../PostOAuthTokenBadRequestException.md | 14 + docs/Models/Errors/UnauthorizedException.md | 11 + docs/Models/Operations/AuthorizationCode.md | 13 + docs/Models/Operations/BottomBlock.md | 9 + .../Models/Operations/CreateInvoiceRequest.md | 27 + .../Operations/CreateInvoiceResponse.md | 11 + .../Operations/CreateInvoiceResponseBody.md | 15 + docs/Models/Operations/CreateInvoiceStatus.md | 15 + .../Operations/CreateTrackerEntryRequest.md | 18 +- docs/Models/Operations/Decision.md | 11 + docs/Models/Operations/DeliveryType.md | 12 + docs/Models/Operations/Entry.md | 18 +- docs/Models/Operations/FromDetails.md | 9 + .../Operations/GetBurnRateReportsRequest.md | 10 + .../Operations/GetBurnRateReportsResponse.md | 11 + .../GetDocumentPreSignedUrlRequest.md | 9 + .../GetDocumentPreSignedUrlResponse.md | 11 + .../GetDocumentPreSignedUrlResponseBody.md | 12 + .../Operations/GetExpensesReportsRequest.md | 10 + .../Operations/GetExpensesReportsResponse.md | 11 + .../Operations/GetInboxPreSignedUrlRequest.md | 9 + .../GetInboxPreSignedUrlResponse.md | 11 + .../GetInboxPreSignedUrlResponseBody.md | 12 + .../Operations/GetInvoiceByIdResponseBody.md | 6 +- .../GetOAuthAuthorizationRequest.md | 13 + .../GetOAuthAuthorizationResponse.md | 11 + .../GetOAuthAuthorizationResponseBody.md | 23 + .../Operations/GetOAuthAuthorizationStatus.md | 13 + .../Operations/GetProfitReportsRequest.md | 10 + .../Operations/GetProfitReportsResponse.md | 11 + .../Operations/GetRevenueReportsRequest.md | 10 + .../Operations/GetRevenueReportsResponse.md | 11 + .../Operations/GetRunwayReportsRequest.md | 10 + .../Operations/GetRunwayReportsResponse.md | 11 + .../Operations/GetSpendingReportsRequest.md | 10 + .../Operations/GetSpendingReportsResponse.md | 11 + ...ransactionAttachmentPreSignedUrlRequest.md | 10 + ...ansactionAttachmentPreSignedUrlResponse.md | 11 + ...ctionAttachmentPreSignedUrlResponseBody.md | 12 + .../Operations/GrantTypeAuthorizationCode.md | 10 + .../Operations/GrantTypeRefreshToken.md | 10 + docs/Models/Operations/LineItem.md | 13 + .../Models/Operations/ListInboxItemsStatus.md | 9 +- docs/Models/Operations/ListInvoicesData.md | 6 +- .../Operations/ListNotificationsRequest.md | 13 + .../Operations/ListNotificationsResponse.md | 11 + .../ListNotificationsStatusEnum1.md | 10 + .../ListNotificationsStatusEnum2.md | 10 + docs/Models/Operations/Name.md | 9 + docs/Models/Operations/NoteDetails.md | 9 + docs/Models/Operations/PaymentDetails.md | 9 + .../PostOAuthAuthorizationRequest.md | 14 + .../PostOAuthAuthorizationResponse.md | 11 + .../PostOAuthAuthorizationResponseBody.md | 10 + .../Operations/PostOAuthRevokeRequest.md | 11 + .../Operations/PostOAuthRevokeResponse.md | 11 + .../Operations/PostOAuthRevokeResponseBody.md | 10 + .../Operations/PostOAuthTokenRequest.md | 23 + .../Operations/PostOAuthTokenResponse.md | 11 + .../Operations/PostOAuthTokenResponseBody.md | 14 + docs/Models/Operations/RefreshToken.md | 12 + docs/Models/Operations/ResponseType.md | 10 + docs/Models/Operations/Scope.md | 35 + docs/Models/Operations/Size.md | 9 + docs/Models/Operations/Status.md | 25 + docs/Models/Operations/Template.md | 45 + .../Models/Operations/TemplateDeliveryType.md | 10 + docs/Models/Operations/TemplateFromDetails.md | 9 + .../Operations/TemplatePaymentDetails.md | 9 + docs/Models/Operations/TokenType.md | 10 + docs/Models/Operations/TokenTypeHint.md | 11 + docs/Models/Operations/TopBlock.md | 9 + .../UpdateAllNotificationsStatusResponse.md | 11 + .../Operations/UpdateInboxItemStatus.md | 17 +- .../Operations/UpdateInvoiceCustomer.md | 13 + .../Models/Operations/UpdateInvoiceRequest.md | 9 + .../Operations/UpdateInvoiceRequestBody.md | 12 + .../Operations/UpdateInvoiceResponse.md | 11 + .../Operations/UpdateInvoiceResponseBody.md | 32 + .../Operations/UpdateInvoiceStatusRequest.md | 14 + .../Operations/UpdateInvoiceStatusResponse.md | 15 + .../UpdateNotificationStatusRequest.md | 9 + .../UpdateNotificationStatusRequestBody.md | 8 + .../UpdateNotificationStatusResponse.md | 11 + .../UpdateNotificationStatusStatus.md | 12 + .../UpdateTrackerEntryRequestBody.md | 18 +- docs/sdks/bankaccounts/README.md | 26 +- docs/sdks/customers/README.md | 26 +- docs/sdks/documents/README.md | 75 +- docs/sdks/inbox/README.md | 80 +- docs/sdks/invoices/README.md | 209 +- docs/sdks/notifications/README.md | 178 + docs/sdks/oauth/README.md | 247 + docs/sdks/reports/README.md | 342 ++ docs/sdks/search/README.md | 6 +- docs/sdks/tags/README.md | 25 +- docs/sdks/teams/README.md | 21 +- docs/sdks/trackerentries/README.md | 26 +- docs/sdks/trackerprojects/README.md | 26 +- docs/sdks/trackertimer/README.md | 21 +- docs/sdks/transactions/README.md | 100 +- docs/sdks/users/README.md | 11 +- src/BankAccounts.php | 10 +- src/Customers.php | 10 +- src/Documents.php | 111 +- src/Hooks/Credentials.php | 11 +- src/Hooks/TokenResponse.php | 2 +- src/Inbox.php | 113 +- src/Invoices.php | 193 +- src/Midday.php | 10 +- src/MiddayBuilder.php | 11 +- .../Components/NotificationResponseSchema.php | 30 + src/Models/Components/NotificationSchema.php | 123 + .../Components/NotificationSchemaStatus.php | 18 + .../NotificationsResponseSchema.php | 42 + .../NotificationsResponseSchemaMeta.php | 51 + src/Models/Components/Security.php | 17 +- src/Models/Components/Source.php | 17 + ...teAllNotificationsStatusResponseSchema.php | 31 + .../UpdateAllNotificationsStatusSchema.php | 31 + ...dateAllNotificationsStatusSchemaStatus.php | 18 + src/Models/Errors/ConflictException.php | 51 + .../Errors/ConflictExceptionThrowable.php | 20 + .../CreateInvoiceBadRequestException.php | 51 + ...ateInvoiceBadRequestExceptionThrowable.php | 20 + .../CreateInvoiceInternalServerError.php | 51 + ...ateInvoiceInternalServerErrorThrowable.php | 20 + .../Errors/CreateInvoiceNotFoundException.php | 51 + ...reateInvoiceNotFoundExceptionThrowable.php | 20 + ...ocumentPreSignedUrlBadRequestException.php | 50 + ...eSignedUrlBadRequestExceptionThrowable.php | 20 + ...ocumentPreSignedUrlInternalServerError.php | 50 + ...eSignedUrlInternalServerErrorThrowable.php | 20 + ...tDocumentPreSignedUrlNotFoundException.php | 50 + ...PreSignedUrlNotFoundExceptionThrowable.php | 20 + ...etInboxPreSignedUrlBadRequestException.php | 50 + ...eSignedUrlBadRequestExceptionThrowable.php | 20 + ...etInboxPreSignedUrlInternalServerError.php | 50 + ...eSignedUrlInternalServerErrorThrowable.php | 20 + .../GetInboxPreSignedUrlNotFoundException.php | 50 + ...PreSignedUrlNotFoundExceptionThrowable.php | 20 + ...tOAuthAuthorizationBadRequestException.php | 84 + ...horizationBadRequestExceptionThrowable.php | 20 + ...achmentPreSignedUrlBadRequestException.php | 50 + ...eSignedUrlBadRequestExceptionThrowable.php | 20 + ...achmentPreSignedUrlInternalServerError.php | 50 + ...eSignedUrlInternalServerErrorThrowable.php | 20 + ...ttachmentPreSignedUrlNotFoundException.php | 50 + ...PreSignedUrlNotFoundExceptionThrowable.php | 20 + ...tOAuthAuthorizationBadRequestException.php | 50 + ...horizationBadRequestExceptionThrowable.php | 20 + .../PostOAuthTokenBadRequestException.php | 84 + ...OAuthTokenBadRequestExceptionThrowable.php | 20 + src/Models/Errors/UnauthorizedException.php | 50 + .../Errors/UnauthorizedExceptionThrowable.php | 20 + src/Models/Operations/AuthorizationCode.php | 83 + src/Models/Operations/BottomBlock.php | 19 + .../Operations/CreateInvoiceRequest.php | 222 + .../Operations/CreateInvoiceResponse.php | 56 + .../Operations/CreateInvoiceResponseBody.php | 82 + src/Models/Operations/CreateInvoiceStatus.php | 21 + .../Operations/CreateTrackerEntryRequest.php | 5 +- src/Models/Operations/Decision.php | 17 + src/Models/Operations/DeliveryType.php | 18 + src/Models/Operations/Entry.php | 5 +- src/Models/Operations/FromDetails.php | 19 + .../Operations/GetBurnRateReportsRequest.php | 47 + .../Operations/GetBurnRateReportsResponse.php | 56 + .../GetDocumentPreSignedUrlRequest.php | 38 + .../GetDocumentPreSignedUrlResponse.php | 56 + .../GetDocumentPreSignedUrlResponseBody.php | 51 + .../Operations/GetExpensesReportsRequest.php | 47 + .../Operations/GetExpensesReportsResponse.php | 56 + .../GetInboxPreSignedUrlRequest.php | 38 + .../GetInboxPreSignedUrlResponse.php | 56 + .../GetInboxPreSignedUrlResponseBody.php | 51 + .../Operations/GetInvoiceByIdResponseBody.php | 65 +- .../GetOAuthAuthorizationRequest.php | 75 + .../GetOAuthAuthorizationResponse.php | 56 + .../GetOAuthAuthorizationResponseBody.php | 165 + .../GetOAuthAuthorizationStatus.php | 19 + .../Operations/GetProfitReportsRequest.php | 47 + .../Operations/GetProfitReportsResponse.php | 56 + .../Operations/GetRevenueReportsRequest.php | 47 + .../Operations/GetRevenueReportsResponse.php | 56 + .../Operations/GetRunwayReportsRequest.php | 47 + .../Operations/GetRunwayReportsResponse.php | 56 + .../Operations/GetSpendingReportsRequest.php | 47 + .../Operations/GetSpendingReportsResponse.php | 56 + ...ansactionAttachmentPreSignedUrlRequest.php | 47 + ...nsactionAttachmentPreSignedUrlResponse.php | 56 + ...tionAttachmentPreSignedUrlResponseBody.php | 51 + .../Operations/GrantTypeAuthorizationCode.php | 16 + .../Operations/GrantTypeRefreshToken.php | 16 + src/Models/Operations/LineItem.php | 82 + .../Operations/ListInboxItemsStatus.php | 1 + src/Models/Operations/ListInvoicesData.php | 65 +- .../Operations/ListNotificationsRequest.php | 75 + .../Operations/ListNotificationsResponse.php | 56 + .../ListNotificationsStatusEnum1.php | 17 + .../ListNotificationsStatusEnum2.php | 17 + src/Models/Operations/Name.php | 19 + src/Models/Operations/NoteDetails.php | 19 + src/Models/Operations/PaymentDetails.php | 19 + .../PostOAuthAuthorizationRequest.php | 93 + .../PostOAuthAuthorizationResponse.php | 56 + .../PostOAuthAuthorizationResponseBody.php | 30 + .../Operations/PostOAuthRevokeRequest.php | 63 + .../Operations/PostOAuthRevokeResponse.php | 56 + .../PostOAuthRevokeResponseBody.php | 30 + .../Operations/PostOAuthTokenResponse.php | 56 + .../Operations/PostOAuthTokenResponseBody.php | 72 + src/Models/Operations/RefreshToken.php | 73 + src/Models/Operations/ResponseType.php | 16 + src/Models/Operations/Scope.php | 42 + src/Models/Operations/Size.php | 16 + src/Models/Operations/Template.php | 387 ++ .../Operations/TemplateDeliveryType.php | 17 + src/Models/Operations/TemplateFromDetails.php | 19 + .../Operations/TemplatePaymentDetails.php | 19 + src/Models/Operations/TokenType.php | 16 + src/Models/Operations/TokenTypeHint.php | 17 + src/Models/Operations/TopBlock.php | 19 + .../UpdateAllNotificationsStatusResponse.php | 56 + .../Operations/UpdateInboxItemStatus.php | 3 + .../Operations/UpdateInvoiceCustomer.php | 61 + .../Operations/UpdateInvoiceRequest.php | 38 + .../Operations/UpdateInvoiceRequestBody.php | 55 + .../Operations/UpdateInvoiceResponse.php | 56 + .../Operations/UpdateInvoiceResponseBody.php | 254 + .../Operations/UpdateInvoiceStatusRequest.php | 20 + .../UpdateInvoiceStatusResponse.php | 21 + .../UpdateNotificationStatusRequest.php | 38 + .../UpdateNotificationStatusRequestBody.php | 31 + .../UpdateNotificationStatusResponse.php | 56 + .../UpdateNotificationStatusStatus.php | 18 + .../UpdateTrackerEntryRequestBody.php | 5 +- src/Notifications.php | 247 + src/OAuth.php | 354 ++ src/Reports.php | 473 ++ src/SDKConfiguration.php | 6 +- src/Search.php | 2 +- src/Tags.php | 10 +- src/Teams.php | 8 +- src/TrackerEntries.php | 10 +- src/TrackerProjects.php | 10 +- src/TrackerTimer.php | 8 +- src/Transactions.php | 123 +- src/Users.php | 4 +- src/Utils/PathParameters.php | 2 +- src/Utils/QueryParameters.php | 2 +- src/Utils/RequestBodies.php | 2 +- src/Utils/Retry/RetryUtils.php | 11 +- src/Utils/UnionHandler.php | 3 + src/Utils/Utils.php | 4 +- 287 files changed, 14757 insertions(+), 1251 deletions(-) create mode 100644 docs/Models/Components/NotificationResponseSchema.md create mode 100644 docs/Models/Components/NotificationSchema.md create mode 100644 docs/Models/Components/NotificationSchemaStatus.md create mode 100644 docs/Models/Components/NotificationsResponseSchema.md create mode 100644 docs/Models/Components/NotificationsResponseSchemaMeta.md create mode 100644 docs/Models/Components/Source.md create mode 100644 docs/Models/Components/UpdateAllNotificationsStatusResponseSchema.md create mode 100644 docs/Models/Components/UpdateAllNotificationsStatusSchema.md create mode 100644 docs/Models/Components/UpdateAllNotificationsStatusSchemaStatus.md create mode 100644 docs/Models/Errors/ConflictException.md create mode 100644 docs/Models/Errors/CreateInvoiceBadRequestException.md create mode 100644 docs/Models/Errors/CreateInvoiceInternalServerError.md create mode 100644 docs/Models/Errors/CreateInvoiceNotFoundException.md create mode 100644 docs/Models/Errors/GetDocumentPreSignedUrlBadRequestException.md create mode 100644 docs/Models/Errors/GetDocumentPreSignedUrlInternalServerError.md create mode 100644 docs/Models/Errors/GetDocumentPreSignedUrlNotFoundException.md create mode 100644 docs/Models/Errors/GetInboxPreSignedUrlBadRequestException.md create mode 100644 docs/Models/Errors/GetInboxPreSignedUrlInternalServerError.md create mode 100644 docs/Models/Errors/GetInboxPreSignedUrlNotFoundException.md create mode 100644 docs/Models/Errors/GetOAuthAuthorizationBadRequestException.md create mode 100644 docs/Models/Errors/GetTransactionAttachmentPreSignedUrlBadRequestException.md create mode 100644 docs/Models/Errors/GetTransactionAttachmentPreSignedUrlInternalServerError.md create mode 100644 docs/Models/Errors/GetTransactionAttachmentPreSignedUrlNotFoundException.md create mode 100644 docs/Models/Errors/PostOAuthAuthorizationBadRequestException.md create mode 100644 docs/Models/Errors/PostOAuthTokenBadRequestException.md create mode 100644 docs/Models/Errors/UnauthorizedException.md create mode 100644 docs/Models/Operations/AuthorizationCode.md create mode 100644 docs/Models/Operations/BottomBlock.md create mode 100644 docs/Models/Operations/CreateInvoiceRequest.md create mode 100644 docs/Models/Operations/CreateInvoiceResponse.md create mode 100644 docs/Models/Operations/CreateInvoiceResponseBody.md create mode 100644 docs/Models/Operations/CreateInvoiceStatus.md create mode 100644 docs/Models/Operations/Decision.md create mode 100644 docs/Models/Operations/DeliveryType.md create mode 100644 docs/Models/Operations/FromDetails.md create mode 100644 docs/Models/Operations/GetBurnRateReportsRequest.md create mode 100644 docs/Models/Operations/GetBurnRateReportsResponse.md create mode 100644 docs/Models/Operations/GetDocumentPreSignedUrlRequest.md create mode 100644 docs/Models/Operations/GetDocumentPreSignedUrlResponse.md create mode 100644 docs/Models/Operations/GetDocumentPreSignedUrlResponseBody.md create mode 100644 docs/Models/Operations/GetExpensesReportsRequest.md create mode 100644 docs/Models/Operations/GetExpensesReportsResponse.md create mode 100644 docs/Models/Operations/GetInboxPreSignedUrlRequest.md create mode 100644 docs/Models/Operations/GetInboxPreSignedUrlResponse.md create mode 100644 docs/Models/Operations/GetInboxPreSignedUrlResponseBody.md create mode 100644 docs/Models/Operations/GetOAuthAuthorizationRequest.md create mode 100644 docs/Models/Operations/GetOAuthAuthorizationResponse.md create mode 100644 docs/Models/Operations/GetOAuthAuthorizationResponseBody.md create mode 100644 docs/Models/Operations/GetOAuthAuthorizationStatus.md create mode 100644 docs/Models/Operations/GetProfitReportsRequest.md create mode 100644 docs/Models/Operations/GetProfitReportsResponse.md create mode 100644 docs/Models/Operations/GetRevenueReportsRequest.md create mode 100644 docs/Models/Operations/GetRevenueReportsResponse.md create mode 100644 docs/Models/Operations/GetRunwayReportsRequest.md create mode 100644 docs/Models/Operations/GetRunwayReportsResponse.md create mode 100644 docs/Models/Operations/GetSpendingReportsRequest.md create mode 100644 docs/Models/Operations/GetSpendingReportsResponse.md create mode 100644 docs/Models/Operations/GetTransactionAttachmentPreSignedUrlRequest.md create mode 100644 docs/Models/Operations/GetTransactionAttachmentPreSignedUrlResponse.md create mode 100644 docs/Models/Operations/GetTransactionAttachmentPreSignedUrlResponseBody.md create mode 100644 docs/Models/Operations/GrantTypeAuthorizationCode.md create mode 100644 docs/Models/Operations/GrantTypeRefreshToken.md create mode 100644 docs/Models/Operations/LineItem.md create mode 100644 docs/Models/Operations/ListNotificationsRequest.md create mode 100644 docs/Models/Operations/ListNotificationsResponse.md create mode 100644 docs/Models/Operations/ListNotificationsStatusEnum1.md create mode 100644 docs/Models/Operations/ListNotificationsStatusEnum2.md create mode 100644 docs/Models/Operations/Name.md create mode 100644 docs/Models/Operations/NoteDetails.md create mode 100644 docs/Models/Operations/PaymentDetails.md create mode 100644 docs/Models/Operations/PostOAuthAuthorizationRequest.md create mode 100644 docs/Models/Operations/PostOAuthAuthorizationResponse.md create mode 100644 docs/Models/Operations/PostOAuthAuthorizationResponseBody.md create mode 100644 docs/Models/Operations/PostOAuthRevokeRequest.md create mode 100644 docs/Models/Operations/PostOAuthRevokeResponse.md create mode 100644 docs/Models/Operations/PostOAuthRevokeResponseBody.md create mode 100644 docs/Models/Operations/PostOAuthTokenRequest.md create mode 100644 docs/Models/Operations/PostOAuthTokenResponse.md create mode 100644 docs/Models/Operations/PostOAuthTokenResponseBody.md create mode 100644 docs/Models/Operations/RefreshToken.md create mode 100644 docs/Models/Operations/ResponseType.md create mode 100644 docs/Models/Operations/Scope.md create mode 100644 docs/Models/Operations/Size.md create mode 100644 docs/Models/Operations/Status.md create mode 100644 docs/Models/Operations/Template.md create mode 100644 docs/Models/Operations/TemplateDeliveryType.md create mode 100644 docs/Models/Operations/TemplateFromDetails.md create mode 100644 docs/Models/Operations/TemplatePaymentDetails.md create mode 100644 docs/Models/Operations/TokenType.md create mode 100644 docs/Models/Operations/TokenTypeHint.md create mode 100644 docs/Models/Operations/TopBlock.md create mode 100644 docs/Models/Operations/UpdateAllNotificationsStatusResponse.md create mode 100644 docs/Models/Operations/UpdateInvoiceCustomer.md create mode 100644 docs/Models/Operations/UpdateInvoiceRequest.md create mode 100644 docs/Models/Operations/UpdateInvoiceRequestBody.md create mode 100644 docs/Models/Operations/UpdateInvoiceResponse.md create mode 100644 docs/Models/Operations/UpdateInvoiceResponseBody.md create mode 100644 docs/Models/Operations/UpdateInvoiceStatusRequest.md create mode 100644 docs/Models/Operations/UpdateInvoiceStatusResponse.md create mode 100644 docs/Models/Operations/UpdateNotificationStatusRequest.md create mode 100644 docs/Models/Operations/UpdateNotificationStatusRequestBody.md create mode 100644 docs/Models/Operations/UpdateNotificationStatusResponse.md create mode 100644 docs/Models/Operations/UpdateNotificationStatusStatus.md create mode 100644 docs/sdks/notifications/README.md create mode 100644 docs/sdks/oauth/README.md create mode 100644 docs/sdks/reports/README.md create mode 100644 src/Models/Components/NotificationResponseSchema.php create mode 100644 src/Models/Components/NotificationSchema.php create mode 100644 src/Models/Components/NotificationSchemaStatus.php create mode 100644 src/Models/Components/NotificationsResponseSchema.php create mode 100644 src/Models/Components/NotificationsResponseSchemaMeta.php create mode 100644 src/Models/Components/Source.php create mode 100644 src/Models/Components/UpdateAllNotificationsStatusResponseSchema.php create mode 100644 src/Models/Components/UpdateAllNotificationsStatusSchema.php create mode 100644 src/Models/Components/UpdateAllNotificationsStatusSchemaStatus.php create mode 100644 src/Models/Errors/ConflictException.php create mode 100644 src/Models/Errors/ConflictExceptionThrowable.php create mode 100644 src/Models/Errors/CreateInvoiceBadRequestException.php create mode 100644 src/Models/Errors/CreateInvoiceBadRequestExceptionThrowable.php create mode 100644 src/Models/Errors/CreateInvoiceInternalServerError.php create mode 100644 src/Models/Errors/CreateInvoiceInternalServerErrorThrowable.php create mode 100644 src/Models/Errors/CreateInvoiceNotFoundException.php create mode 100644 src/Models/Errors/CreateInvoiceNotFoundExceptionThrowable.php create mode 100644 src/Models/Errors/GetDocumentPreSignedUrlBadRequestException.php create mode 100644 src/Models/Errors/GetDocumentPreSignedUrlBadRequestExceptionThrowable.php create mode 100644 src/Models/Errors/GetDocumentPreSignedUrlInternalServerError.php create mode 100644 src/Models/Errors/GetDocumentPreSignedUrlInternalServerErrorThrowable.php create mode 100644 src/Models/Errors/GetDocumentPreSignedUrlNotFoundException.php create mode 100644 src/Models/Errors/GetDocumentPreSignedUrlNotFoundExceptionThrowable.php create mode 100644 src/Models/Errors/GetInboxPreSignedUrlBadRequestException.php create mode 100644 src/Models/Errors/GetInboxPreSignedUrlBadRequestExceptionThrowable.php create mode 100644 src/Models/Errors/GetInboxPreSignedUrlInternalServerError.php create mode 100644 src/Models/Errors/GetInboxPreSignedUrlInternalServerErrorThrowable.php create mode 100644 src/Models/Errors/GetInboxPreSignedUrlNotFoundException.php create mode 100644 src/Models/Errors/GetInboxPreSignedUrlNotFoundExceptionThrowable.php create mode 100644 src/Models/Errors/GetOAuthAuthorizationBadRequestException.php create mode 100644 src/Models/Errors/GetOAuthAuthorizationBadRequestExceptionThrowable.php create mode 100644 src/Models/Errors/GetTransactionAttachmentPreSignedUrlBadRequestException.php create mode 100644 src/Models/Errors/GetTransactionAttachmentPreSignedUrlBadRequestExceptionThrowable.php create mode 100644 src/Models/Errors/GetTransactionAttachmentPreSignedUrlInternalServerError.php create mode 100644 src/Models/Errors/GetTransactionAttachmentPreSignedUrlInternalServerErrorThrowable.php create mode 100644 src/Models/Errors/GetTransactionAttachmentPreSignedUrlNotFoundException.php create mode 100644 src/Models/Errors/GetTransactionAttachmentPreSignedUrlNotFoundExceptionThrowable.php create mode 100644 src/Models/Errors/PostOAuthAuthorizationBadRequestException.php create mode 100644 src/Models/Errors/PostOAuthAuthorizationBadRequestExceptionThrowable.php create mode 100644 src/Models/Errors/PostOAuthTokenBadRequestException.php create mode 100644 src/Models/Errors/PostOAuthTokenBadRequestExceptionThrowable.php create mode 100644 src/Models/Errors/UnauthorizedException.php create mode 100644 src/Models/Errors/UnauthorizedExceptionThrowable.php create mode 100644 src/Models/Operations/AuthorizationCode.php create mode 100644 src/Models/Operations/BottomBlock.php create mode 100644 src/Models/Operations/CreateInvoiceRequest.php create mode 100644 src/Models/Operations/CreateInvoiceResponse.php create mode 100644 src/Models/Operations/CreateInvoiceResponseBody.php create mode 100644 src/Models/Operations/CreateInvoiceStatus.php create mode 100644 src/Models/Operations/Decision.php create mode 100644 src/Models/Operations/DeliveryType.php create mode 100644 src/Models/Operations/FromDetails.php create mode 100644 src/Models/Operations/GetBurnRateReportsRequest.php create mode 100644 src/Models/Operations/GetBurnRateReportsResponse.php create mode 100644 src/Models/Operations/GetDocumentPreSignedUrlRequest.php create mode 100644 src/Models/Operations/GetDocumentPreSignedUrlResponse.php create mode 100644 src/Models/Operations/GetDocumentPreSignedUrlResponseBody.php create mode 100644 src/Models/Operations/GetExpensesReportsRequest.php create mode 100644 src/Models/Operations/GetExpensesReportsResponse.php create mode 100644 src/Models/Operations/GetInboxPreSignedUrlRequest.php create mode 100644 src/Models/Operations/GetInboxPreSignedUrlResponse.php create mode 100644 src/Models/Operations/GetInboxPreSignedUrlResponseBody.php create mode 100644 src/Models/Operations/GetOAuthAuthorizationRequest.php create mode 100644 src/Models/Operations/GetOAuthAuthorizationResponse.php create mode 100644 src/Models/Operations/GetOAuthAuthorizationResponseBody.php create mode 100644 src/Models/Operations/GetOAuthAuthorizationStatus.php create mode 100644 src/Models/Operations/GetProfitReportsRequest.php create mode 100644 src/Models/Operations/GetProfitReportsResponse.php create mode 100644 src/Models/Operations/GetRevenueReportsRequest.php create mode 100644 src/Models/Operations/GetRevenueReportsResponse.php create mode 100644 src/Models/Operations/GetRunwayReportsRequest.php create mode 100644 src/Models/Operations/GetRunwayReportsResponse.php create mode 100644 src/Models/Operations/GetSpendingReportsRequest.php create mode 100644 src/Models/Operations/GetSpendingReportsResponse.php create mode 100644 src/Models/Operations/GetTransactionAttachmentPreSignedUrlRequest.php create mode 100644 src/Models/Operations/GetTransactionAttachmentPreSignedUrlResponse.php create mode 100644 src/Models/Operations/GetTransactionAttachmentPreSignedUrlResponseBody.php create mode 100644 src/Models/Operations/GrantTypeAuthorizationCode.php create mode 100644 src/Models/Operations/GrantTypeRefreshToken.php create mode 100644 src/Models/Operations/LineItem.php create mode 100644 src/Models/Operations/ListNotificationsRequest.php create mode 100644 src/Models/Operations/ListNotificationsResponse.php create mode 100644 src/Models/Operations/ListNotificationsStatusEnum1.php create mode 100644 src/Models/Operations/ListNotificationsStatusEnum2.php create mode 100644 src/Models/Operations/Name.php create mode 100644 src/Models/Operations/NoteDetails.php create mode 100644 src/Models/Operations/PaymentDetails.php create mode 100644 src/Models/Operations/PostOAuthAuthorizationRequest.php create mode 100644 src/Models/Operations/PostOAuthAuthorizationResponse.php create mode 100644 src/Models/Operations/PostOAuthAuthorizationResponseBody.php create mode 100644 src/Models/Operations/PostOAuthRevokeRequest.php create mode 100644 src/Models/Operations/PostOAuthRevokeResponse.php create mode 100644 src/Models/Operations/PostOAuthRevokeResponseBody.php create mode 100644 src/Models/Operations/PostOAuthTokenResponse.php create mode 100644 src/Models/Operations/PostOAuthTokenResponseBody.php create mode 100644 src/Models/Operations/RefreshToken.php create mode 100644 src/Models/Operations/ResponseType.php create mode 100644 src/Models/Operations/Scope.php create mode 100644 src/Models/Operations/Size.php create mode 100644 src/Models/Operations/Template.php create mode 100644 src/Models/Operations/TemplateDeliveryType.php create mode 100644 src/Models/Operations/TemplateFromDetails.php create mode 100644 src/Models/Operations/TemplatePaymentDetails.php create mode 100644 src/Models/Operations/TokenType.php create mode 100644 src/Models/Operations/TokenTypeHint.php create mode 100644 src/Models/Operations/TopBlock.php create mode 100644 src/Models/Operations/UpdateAllNotificationsStatusResponse.php create mode 100644 src/Models/Operations/UpdateInvoiceCustomer.php create mode 100644 src/Models/Operations/UpdateInvoiceRequest.php create mode 100644 src/Models/Operations/UpdateInvoiceRequestBody.php create mode 100644 src/Models/Operations/UpdateInvoiceResponse.php create mode 100644 src/Models/Operations/UpdateInvoiceResponseBody.php create mode 100644 src/Models/Operations/UpdateInvoiceStatusRequest.php create mode 100644 src/Models/Operations/UpdateInvoiceStatusResponse.php create mode 100644 src/Models/Operations/UpdateNotificationStatusRequest.php create mode 100644 src/Models/Operations/UpdateNotificationStatusRequestBody.php create mode 100644 src/Models/Operations/UpdateNotificationStatusResponse.php create mode 100644 src/Models/Operations/UpdateNotificationStatusStatus.php create mode 100644 src/Notifications.php create mode 100644 src/OAuth.php create mode 100644 src/Reports.php diff --git a/.gitignore b/.gitignore index 5259923..5d5ad5e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +.env +.env.local composer.lock vendor .DS_Store diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 86eec88..442c974 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,716 +1,3578 @@ lockVersion: 2.0.0 id: 9afefabe-3857-46d4-b54b-d468fd10a25d management: - docChecksum: dd329bc0918b4bf1ae9f9d626db08cfb + docChecksum: b7ac057234b8cfcbb0d66d31179e13cf docVersion: 0.0.1 - speakeasyVersion: 1.606.0 - generationVersion: 2.686.7 - releaseVersion: 0.0.2 - configChecksum: 34c719766f1d388c89a3205c42248b65 + speakeasyVersion: 1.675.4 + generationVersion: 2.779.2 + releaseVersion: 0.1.0 + configChecksum: 88d1043da232699b79259492e895ccf8 repoURL: https://github.com/midday-ai/midday-php.git installationURL: https://github.com/midday-ai/midday-php published: true +persistentEdits: + generation_id: 2a0f6170-0528-44d3-97aa-7c66d6529545 + pristine_commit_hash: a2dcd7dbd21abe169893192589a91bd4189a3f88 + pristine_tree_hash: 924cd23c7bcb8831676bcb71623e30b4c5bd18ad features: php: constsAndDefaults: 0.2.0 - core: 3.8.9 - enums: 2.81.1 + core: 3.9.5 + enums: 2.82.0 examples: 2.81.6 flattening: 2.81.1 - globalSecurity: 2.81.8 - globalSecurityFlattening: 0.1.2 - globalServerURLs: 2.82.2 + globalSecurity: 2.81.9 + globalServerURLs: 2.83.0 methodArguments: 0.1.0 nameOverrides: 2.81.2 nullables: 1.0.1 responseFormat: 0.1.0 -generatedFiles: - - .gitattributes - - USAGE.md - - composer.json - - docs/Models/Components/Account.md - - docs/Models/Components/Attachment.md - - docs/Models/Components/Category.md - - docs/Models/Components/Connection.md - - docs/Models/Components/CreateTag.md - - docs/Models/Components/Customer.md - - docs/Models/Components/ExpensesResultArray.md - - docs/Models/Components/GetBurnRateResponseSchema.md - - docs/Models/Components/GetExpensesResponseSchema.md - - docs/Models/Components/GetExpensesResponseSchemaMeta.md - - docs/Models/Components/GetProfitResponseSchema.md - - docs/Models/Components/GetRevenueResponseSchema.md - - docs/Models/Components/ProfitCurrent.md - - docs/Models/Components/ProfitMeta.md - - docs/Models/Components/ProfitMetaType.md - - docs/Models/Components/ProfitPercentage.md - - docs/Models/Components/ProfitPercentageStatus.md - - docs/Models/Components/ProfitPrevious.md - - docs/Models/Components/ProfitResultItem.md - - docs/Models/Components/ProfitSummary.md - - docs/Models/Components/RevenueCurrent.md - - docs/Models/Components/RevenueMeta.md - - docs/Models/Components/RevenueMetaType.md - - docs/Models/Components/RevenuePercentage.md - - docs/Models/Components/RevenuePercentageStatus.md - - docs/Models/Components/RevenuePrevious.md - - docs/Models/Components/RevenueResultItem.md - - docs/Models/Components/RevenueSummary.md - - docs/Models/Components/Security.md - - docs/Models/Components/SpendingResultArray.md - - docs/Models/Components/Summary.md - - docs/Models/Components/TagResponse.md - - docs/Models/Components/TagsResponse.md - - docs/Models/Components/TrackerProjectResponse.md - - docs/Models/Components/TrackerProjectResponseStatus.md - - docs/Models/Components/TrackerProjectResponseTag.md - - docs/Models/Components/TrackerProjectsResponse.md - - docs/Models/Components/TrackerProjectsResponseMeta.md - - docs/Models/Components/TransactionResponse.md - - docs/Models/Components/TransactionResponseTag.md - - docs/Models/Components/User.md - - docs/Models/Operations/Attachments.md - - docs/Models/Operations/CreateBankAccountRequest.md - - docs/Models/Operations/CreateBankAccountResponse.md - - docs/Models/Operations/CreateBankAccountResponseBody.md - - docs/Models/Operations/CreateCustomerRequest.md - - docs/Models/Operations/CreateCustomerResponse.md - - docs/Models/Operations/CreateCustomerResponseBody.md - - docs/Models/Operations/CreateCustomerTagRequest.md - - docs/Models/Operations/CreateCustomerTagResponse.md - - docs/Models/Operations/CreateTagResponse.md - - docs/Models/Operations/CreateTrackerEntriesBulkCustomer.md - - docs/Models/Operations/CreateTrackerEntriesBulkData.md - - docs/Models/Operations/CreateTrackerEntriesBulkProject.md - - docs/Models/Operations/CreateTrackerEntriesBulkRequest.md - - docs/Models/Operations/CreateTrackerEntriesBulkResponse.md - - docs/Models/Operations/CreateTrackerEntriesBulkResponseBody.md - - docs/Models/Operations/CreateTrackerEntriesBulkUser.md - - docs/Models/Operations/CreateTrackerEntryCustomer.md - - docs/Models/Operations/CreateTrackerEntryData.md - - docs/Models/Operations/CreateTrackerEntryProject.md - - docs/Models/Operations/CreateTrackerEntryRequest.md - - docs/Models/Operations/CreateTrackerEntryResponse.md - - docs/Models/Operations/CreateTrackerEntryResponseBody.md - - docs/Models/Operations/CreateTrackerEntryUser.md - - docs/Models/Operations/CreateTrackerProjectRequest.md - - docs/Models/Operations/CreateTrackerProjectResponse.md - - docs/Models/Operations/CreateTrackerProjectStatus.md - - docs/Models/Operations/CreateTrackerProjectTag.md - - docs/Models/Operations/CreateTransactionAttachment.md - - docs/Models/Operations/CreateTransactionRequest.md - - docs/Models/Operations/CreateTransactionResponse.md - - docs/Models/Operations/CreateTransactionsAttachment.md - - docs/Models/Operations/CreateTransactionsResponse.md - - docs/Models/Operations/CurrentEntry.md - - docs/Models/Operations/DateFormatRequest.md - - docs/Models/Operations/DeleteBankAccountRequest.md - - docs/Models/Operations/DeleteBankAccountResponse.md - - docs/Models/Operations/DeleteBankAccountResponseBody.md - - docs/Models/Operations/DeleteCustomerRequest.md - - docs/Models/Operations/DeleteCustomerResponse.md - - docs/Models/Operations/DeleteCustomerResponseBody.md - - docs/Models/Operations/DeleteCustomerTag.md - - docs/Models/Operations/DeleteDocumentRequest.md - - docs/Models/Operations/DeleteDocumentResponse.md - - docs/Models/Operations/DeleteDocumentResponseBody.md - - docs/Models/Operations/DeleteInboxItemRequest.md - - docs/Models/Operations/DeleteInboxItemResponse.md - - docs/Models/Operations/DeleteInboxItemResponseBody.md - - docs/Models/Operations/DeleteInvoiceRequest.md - - docs/Models/Operations/DeleteInvoiceResponse.md - - docs/Models/Operations/DeleteInvoiceResponseBody.md - - docs/Models/Operations/DeleteTagRequest.md - - docs/Models/Operations/DeleteTagResponse.md - - docs/Models/Operations/DeleteTrackerEntryRequest.md - - docs/Models/Operations/DeleteTrackerEntryResponse.md - - docs/Models/Operations/DeleteTrackerEntryResponseBody.md - - docs/Models/Operations/DeleteTrackerProjectRequest.md - - docs/Models/Operations/DeleteTrackerProjectResponse.md - - docs/Models/Operations/DeleteTrackerProjectResponseBody.md - - docs/Models/Operations/DeleteTransactionRequest.md - - docs/Models/Operations/DeleteTransactionResponse.md - - docs/Models/Operations/DeleteTransactionResponseBody.md - - docs/Models/Operations/DeleteTransactionsResponse.md - - docs/Models/Operations/DeleteTransactionsResponseBody.md - - docs/Models/Operations/Entry.md - - docs/Models/Operations/GetBankAccountByIdRequest.md - - docs/Models/Operations/GetBankAccountByIdResponse.md - - docs/Models/Operations/GetBankAccountByIdResponseBody.md - - docs/Models/Operations/GetBurnRateMetricsRequest.md - - docs/Models/Operations/GetBurnRateMetricsResponse.md - - docs/Models/Operations/GetCurrentTimerCustomer.md - - docs/Models/Operations/GetCurrentTimerData.md - - docs/Models/Operations/GetCurrentTimerProject.md - - docs/Models/Operations/GetCurrentTimerRequest.md - - docs/Models/Operations/GetCurrentTimerResponse.md - - docs/Models/Operations/GetCurrentTimerResponseBody.md - - docs/Models/Operations/GetCurrentTimerUser.md - - docs/Models/Operations/GetCurrentUserDateFormat.md - - docs/Models/Operations/GetCurrentUserResponse.md - - docs/Models/Operations/GetCurrentUserResponseBody.md - - docs/Models/Operations/GetCurrentUserTeam.md - - docs/Models/Operations/GetCustomerByIdRequest.md - - docs/Models/Operations/GetCustomerByIdResponse.md - - docs/Models/Operations/GetCustomerByIdResponseBody.md - - docs/Models/Operations/GetCustomerByIdTag.md - - docs/Models/Operations/GetDocumentByIdMetadata.md - - docs/Models/Operations/GetDocumentByIdRequest.md - - docs/Models/Operations/GetDocumentByIdResponse.md - - docs/Models/Operations/GetDocumentByIdResponseBody.md - - docs/Models/Operations/GetExpensesMetricsRequest.md - - docs/Models/Operations/GetExpensesMetricsResponse.md - - docs/Models/Operations/GetInboxItemByIdRequest.md - - docs/Models/Operations/GetInboxItemByIdResponse.md - - docs/Models/Operations/GetInboxItemByIdResponseBody.md - - docs/Models/Operations/GetInboxItemByIdTransaction.md - - docs/Models/Operations/GetInvoiceByIdCustomer.md - - docs/Models/Operations/GetInvoiceByIdRequest.md - - docs/Models/Operations/GetInvoiceByIdResponse.md - - docs/Models/Operations/GetInvoiceByIdResponseBody.md - - docs/Models/Operations/GetInvoiceByIdStatus.md - - docs/Models/Operations/GetInvoiceSummaryRequest.md - - docs/Models/Operations/GetInvoiceSummaryResponse.md - - docs/Models/Operations/GetInvoiceSummaryResponseBody.md - - docs/Models/Operations/GetInvoiceSummaryStatus.md - - docs/Models/Operations/GetInvoicesPaymentStatusResponse.md - - docs/Models/Operations/GetInvoicesPaymentStatusResponseBody.md - - docs/Models/Operations/GetProfitMetricsRequest.md - - docs/Models/Operations/GetProfitMetricsResponse.md - - docs/Models/Operations/GetRevenueMetricsRequest.md - - docs/Models/Operations/GetRevenueMetricsResponse.md - - docs/Models/Operations/GetRunwayMetricsRequest.md - - docs/Models/Operations/GetRunwayMetricsResponse.md - - docs/Models/Operations/GetSpendingMetricsRequest.md - - docs/Models/Operations/GetSpendingMetricsResponse.md - - docs/Models/Operations/GetTagByIdRequest.md - - docs/Models/Operations/GetTagByIdResponse.md - - docs/Models/Operations/GetTeamByIdPlan.md - - docs/Models/Operations/GetTeamByIdRequest.md - - docs/Models/Operations/GetTeamByIdResponse.md - - docs/Models/Operations/GetTeamByIdResponseBody.md - - docs/Models/Operations/GetTimerStatusData.md - - docs/Models/Operations/GetTimerStatusRequest.md - - docs/Models/Operations/GetTimerStatusResponse.md - - docs/Models/Operations/GetTimerStatusResponseBody.md - - docs/Models/Operations/GetTrackerProjectByIdRequest.md - - docs/Models/Operations/GetTrackerProjectByIdResponse.md - - docs/Models/Operations/GetTransactionByIdRequest.md - - docs/Models/Operations/GetTransactionByIdResponse.md - - docs/Models/Operations/ListBankAccountsData.md - - docs/Models/Operations/ListBankAccountsRequest.md - - docs/Models/Operations/ListBankAccountsResponse.md - - docs/Models/Operations/ListBankAccountsResponseBody.md - - docs/Models/Operations/ListCustomersData.md - - docs/Models/Operations/ListCustomersMeta.md - - docs/Models/Operations/ListCustomersRequest.md - - docs/Models/Operations/ListCustomersResponse.md - - docs/Models/Operations/ListCustomersResponseBody.md - - docs/Models/Operations/ListCustomersTag.md - - docs/Models/Operations/ListDocumentsData.md - - docs/Models/Operations/ListDocumentsMeta.md - - docs/Models/Operations/ListDocumentsMetadata.md - - docs/Models/Operations/ListDocumentsRequest.md - - docs/Models/Operations/ListDocumentsResponse.md - - docs/Models/Operations/ListDocumentsResponseBody.md - - docs/Models/Operations/ListInboxItemsData.md - - docs/Models/Operations/ListInboxItemsMeta.md - - docs/Models/Operations/ListInboxItemsRequest.md - - docs/Models/Operations/ListInboxItemsResponse.md - - docs/Models/Operations/ListInboxItemsResponseBody.md - - docs/Models/Operations/ListInboxItemsStatus.md - - docs/Models/Operations/ListInboxItemsTransaction.md - - docs/Models/Operations/ListInvoicesCustomer.md - - docs/Models/Operations/ListInvoicesData.md - - docs/Models/Operations/ListInvoicesMeta.md - - docs/Models/Operations/ListInvoicesRequest.md - - docs/Models/Operations/ListInvoicesResponse.md - - docs/Models/Operations/ListInvoicesResponseBody.md - - docs/Models/Operations/ListInvoicesStatus.md - - docs/Models/Operations/ListTagsResponse.md - - docs/Models/Operations/ListTeamMembersData.md - - docs/Models/Operations/ListTeamMembersRequest.md - - docs/Models/Operations/ListTeamMembersResponse.md - - docs/Models/Operations/ListTeamMembersResponseBody.md - - docs/Models/Operations/ListTeamsData.md - - docs/Models/Operations/ListTeamsPlan.md - - docs/Models/Operations/ListTeamsResponse.md - - docs/Models/Operations/ListTeamsResponseBody.md - - docs/Models/Operations/ListTrackerEntriesCustomer.md - - docs/Models/Operations/ListTrackerEntriesMeta.md - - docs/Models/Operations/ListTrackerEntriesProject.md - - docs/Models/Operations/ListTrackerEntriesRequest.md - - docs/Models/Operations/ListTrackerEntriesResponse.md - - docs/Models/Operations/ListTrackerEntriesResponseBody.md - - docs/Models/Operations/ListTrackerEntriesUser.md - - docs/Models/Operations/ListTrackerProjectsRequest.md - - docs/Models/Operations/ListTrackerProjectsResponse.md - - docs/Models/Operations/ListTrackerProjectsStatus.md - - docs/Models/Operations/ListTransactionsMeta.md - - docs/Models/Operations/ListTransactionsRequest.md - - docs/Models/Operations/ListTransactionsResponse.md - - docs/Models/Operations/ListTransactionsResponseBody.md - - docs/Models/Operations/ListTransactionsType.md - - docs/Models/Operations/RequestBody.md - - docs/Models/Operations/Result.md - - docs/Models/Operations/Role.md - - docs/Models/Operations/SearchRequest.md - - docs/Models/Operations/SearchResponse.md - - docs/Models/Operations/SearchResponseBody.md - - docs/Models/Operations/StartTimerCustomer.md - - docs/Models/Operations/StartTimerData.md - - docs/Models/Operations/StartTimerProject.md - - docs/Models/Operations/StartTimerRequest.md - - docs/Models/Operations/StartTimerResponse.md - - docs/Models/Operations/StartTimerResponseBody.md - - docs/Models/Operations/StartTimerUser.md - - docs/Models/Operations/StopTimerCustomer.md - - docs/Models/Operations/StopTimerData.md - - docs/Models/Operations/StopTimerProject.md - - docs/Models/Operations/StopTimerRequest.md - - docs/Models/Operations/StopTimerResponse.md - - docs/Models/Operations/StopTimerResponseBody.md - - docs/Models/Operations/StopTimerUser.md - - docs/Models/Operations/TrackerProject.md - - docs/Models/Operations/UpdateBankAccountRequest.md - - docs/Models/Operations/UpdateBankAccountRequestBody.md - - docs/Models/Operations/UpdateBankAccountResponse.md - - docs/Models/Operations/UpdateBankAccountResponseBody.md - - docs/Models/Operations/UpdateBankAccountType.md - - docs/Models/Operations/UpdateCurrentUserDateFormatResponse.md - - docs/Models/Operations/UpdateCurrentUserRequest.md - - docs/Models/Operations/UpdateCurrentUserResponse.md - - docs/Models/Operations/UpdateCurrentUserResponseBody.md - - docs/Models/Operations/UpdateCurrentUserTeam.md - - docs/Models/Operations/UpdateCustomerRequest.md - - docs/Models/Operations/UpdateCustomerRequestBody.md - - docs/Models/Operations/UpdateCustomerResponse.md - - docs/Models/Operations/UpdateCustomerResponseBody.md - - docs/Models/Operations/UpdateCustomerTagRequest.md - - docs/Models/Operations/UpdateCustomerTagResponse.md - - docs/Models/Operations/UpdateInboxItemRequest.md - - docs/Models/Operations/UpdateInboxItemRequestBody.md - - docs/Models/Operations/UpdateInboxItemResponse.md - - docs/Models/Operations/UpdateInboxItemResponseBody.md - - docs/Models/Operations/UpdateInboxItemStatus.md - - docs/Models/Operations/UpdateInboxItemTransaction.md - - docs/Models/Operations/UpdateTagRequest.md - - docs/Models/Operations/UpdateTagRequestBody.md - - docs/Models/Operations/UpdateTagResponse.md - - docs/Models/Operations/UpdateTeamByIdPlan.md - - docs/Models/Operations/UpdateTeamByIdRequest.md - - docs/Models/Operations/UpdateTeamByIdRequestBody.md - - docs/Models/Operations/UpdateTeamByIdResponse.md - - docs/Models/Operations/UpdateTeamByIdResponseBody.md - - docs/Models/Operations/UpdateTrackerEntryCustomer.md - - docs/Models/Operations/UpdateTrackerEntryData.md - - docs/Models/Operations/UpdateTrackerEntryProject.md - - docs/Models/Operations/UpdateTrackerEntryRequest.md - - docs/Models/Operations/UpdateTrackerEntryRequestBody.md - - docs/Models/Operations/UpdateTrackerEntryResponse.md - - docs/Models/Operations/UpdateTrackerEntryResponseBody.md - - docs/Models/Operations/UpdateTrackerEntryUser.md - - docs/Models/Operations/UpdateTrackerProjectRequest.md - - docs/Models/Operations/UpdateTrackerProjectRequestBody.md - - docs/Models/Operations/UpdateTrackerProjectResponse.md - - docs/Models/Operations/UpdateTrackerProjectStatus.md - - docs/Models/Operations/UpdateTrackerProjectTag.md - - docs/Models/Operations/UpdateTransactionFrequency.md - - docs/Models/Operations/UpdateTransactionRequest.md - - docs/Models/Operations/UpdateTransactionRequestBody.md - - docs/Models/Operations/UpdateTransactionResponse.md - - docs/Models/Operations/UpdateTransactionStatus.md - - docs/Models/Operations/UpdateTransactionsFrequency.md - - docs/Models/Operations/UpdateTransactionsMeta.md - - docs/Models/Operations/UpdateTransactionsRequest.md - - docs/Models/Operations/UpdateTransactionsResponse.md - - docs/Models/Operations/UpdateTransactionsResponseBody.md - - docs/Models/Operations/UpdateTransactionsStatus.md - - docs/sdks/bankaccounts/README.md - - docs/sdks/customers/README.md - - docs/sdks/documents/README.md - - docs/sdks/inbox/README.md - - docs/sdks/invoices/README.md - - docs/sdks/metrics/README.md - - docs/sdks/midday/README.md - - docs/sdks/search/README.md - - docs/sdks/tags/README.md - - docs/sdks/teams/README.md - - docs/sdks/trackerentries/README.md - - docs/sdks/trackerprojects/README.md - - docs/sdks/trackertimer/README.md - - docs/sdks/transactions/README.md - - docs/sdks/users/README.md - - phpstan.neon - - phpunit.xml - - pint.json - - rector.php - - src/BankAccounts.php - - src/Customers.php - - src/Documents.php - - src/Hooks/AfterErrorContext.php - - src/Hooks/AfterErrorHook.php - - src/Hooks/AfterSuccessContext.php - - src/Hooks/AfterSuccessHook.php - - src/Hooks/BeforeRequestContext.php - - src/Hooks/BeforeRequestHook.php - - src/Hooks/Credentials.php - - src/Hooks/ErrorResponseContext.php - - src/Hooks/FailEarlyException.php - - src/Hooks/HookContext.php - - src/Hooks/Hooks.php - - src/Hooks/SDKHooks.php - - src/Hooks/SDKInitHook.php - - src/Hooks/Session.php - - src/Hooks/TokenResponse.php - - src/Inbox.php - - src/Invoices.php - - src/Metrics.php - - src/Midday.php - - src/MiddayBuilder.php - - src/Models/Components/Account.php - - src/Models/Components/Attachment.php - - src/Models/Components/Category.php - - src/Models/Components/Connection.php - - src/Models/Components/CreateTag.php - - src/Models/Components/Customer.php - - src/Models/Components/ExpensesResultArray.php - - src/Models/Components/GetBurnRateResponseSchema.php - - src/Models/Components/GetExpensesResponseSchema.php - - src/Models/Components/GetExpensesResponseSchemaMeta.php - - src/Models/Components/GetProfitResponseSchema.php - - src/Models/Components/GetRevenueResponseSchema.php - - src/Models/Components/ProfitCurrent.php - - src/Models/Components/ProfitMeta.php - - src/Models/Components/ProfitMetaType.php - - src/Models/Components/ProfitPercentage.php - - src/Models/Components/ProfitPercentageStatus.php - - src/Models/Components/ProfitPrevious.php - - src/Models/Components/ProfitResultItem.php - - src/Models/Components/ProfitSummary.php - - src/Models/Components/RevenueCurrent.php - - src/Models/Components/RevenueMeta.php - - src/Models/Components/RevenueMetaType.php - - src/Models/Components/RevenuePercentage.php - - src/Models/Components/RevenuePercentageStatus.php - - src/Models/Components/RevenuePrevious.php - - src/Models/Components/RevenueResultItem.php - - src/Models/Components/RevenueSummary.php - - src/Models/Components/Security.php - - src/Models/Components/SpendingResultArray.php - - src/Models/Components/Summary.php - - src/Models/Components/TagResponse.php - - src/Models/Components/TagsResponse.php - - src/Models/Components/TrackerProjectResponse.php - - src/Models/Components/TrackerProjectResponseStatus.php - - src/Models/Components/TrackerProjectResponseTag.php - - src/Models/Components/TrackerProjectsResponse.php - - src/Models/Components/TrackerProjectsResponseMeta.php - - src/Models/Components/TransactionResponse.php - - src/Models/Components/TransactionResponseTag.php - - src/Models/Components/User.php - - src/Models/Errors/APIException.php - - src/Models/Operations/Attachments.php - - src/Models/Operations/CreateBankAccountRequest.php - - src/Models/Operations/CreateBankAccountResponse.php - - src/Models/Operations/CreateBankAccountResponseBody.php - - src/Models/Operations/CreateCustomerRequest.php - - src/Models/Operations/CreateCustomerResponse.php - - src/Models/Operations/CreateCustomerResponseBody.php - - src/Models/Operations/CreateCustomerTagRequest.php - - src/Models/Operations/CreateCustomerTagResponse.php - - src/Models/Operations/CreateTagResponse.php - - src/Models/Operations/CreateTrackerEntriesBulkCustomer.php - - src/Models/Operations/CreateTrackerEntriesBulkData.php - - src/Models/Operations/CreateTrackerEntriesBulkProject.php - - src/Models/Operations/CreateTrackerEntriesBulkRequest.php - - src/Models/Operations/CreateTrackerEntriesBulkResponse.php - - src/Models/Operations/CreateTrackerEntriesBulkResponseBody.php - - src/Models/Operations/CreateTrackerEntriesBulkUser.php - - src/Models/Operations/CreateTrackerEntryCustomer.php - - src/Models/Operations/CreateTrackerEntryData.php - - src/Models/Operations/CreateTrackerEntryProject.php - - src/Models/Operations/CreateTrackerEntryRequest.php - - src/Models/Operations/CreateTrackerEntryResponse.php - - src/Models/Operations/CreateTrackerEntryResponseBody.php - - src/Models/Operations/CreateTrackerEntryUser.php - - src/Models/Operations/CreateTrackerProjectRequest.php - - src/Models/Operations/CreateTrackerProjectResponse.php - - src/Models/Operations/CreateTrackerProjectStatus.php - - src/Models/Operations/CreateTrackerProjectTag.php - - src/Models/Operations/CreateTransactionAttachment.php - - src/Models/Operations/CreateTransactionRequest.php - - src/Models/Operations/CreateTransactionResponse.php - - src/Models/Operations/CreateTransactionsAttachment.php - - src/Models/Operations/CreateTransactionsResponse.php - - src/Models/Operations/CurrentEntry.php - - src/Models/Operations/DateFormatRequest.php - - src/Models/Operations/DeleteBankAccountRequest.php - - src/Models/Operations/DeleteBankAccountResponse.php - - src/Models/Operations/DeleteBankAccountResponseBody.php - - src/Models/Operations/DeleteCustomerRequest.php - - src/Models/Operations/DeleteCustomerResponse.php - - src/Models/Operations/DeleteCustomerResponseBody.php - - src/Models/Operations/DeleteCustomerTag.php - - src/Models/Operations/DeleteDocumentRequest.php - - src/Models/Operations/DeleteDocumentResponse.php - - src/Models/Operations/DeleteDocumentResponseBody.php - - src/Models/Operations/DeleteInboxItemRequest.php - - src/Models/Operations/DeleteInboxItemResponse.php - - src/Models/Operations/DeleteInboxItemResponseBody.php - - src/Models/Operations/DeleteInvoiceRequest.php - - src/Models/Operations/DeleteInvoiceResponse.php - - src/Models/Operations/DeleteInvoiceResponseBody.php - - src/Models/Operations/DeleteTagRequest.php - - src/Models/Operations/DeleteTagResponse.php - - src/Models/Operations/DeleteTrackerEntryRequest.php - - src/Models/Operations/DeleteTrackerEntryResponse.php - - src/Models/Operations/DeleteTrackerEntryResponseBody.php - - src/Models/Operations/DeleteTrackerProjectRequest.php - - src/Models/Operations/DeleteTrackerProjectResponse.php - - src/Models/Operations/DeleteTrackerProjectResponseBody.php - - src/Models/Operations/DeleteTransactionRequest.php - - src/Models/Operations/DeleteTransactionResponse.php - - src/Models/Operations/DeleteTransactionResponseBody.php - - src/Models/Operations/DeleteTransactionsResponse.php - - src/Models/Operations/DeleteTransactionsResponseBody.php - - src/Models/Operations/Entry.php - - src/Models/Operations/GetBankAccountByIdRequest.php - - src/Models/Operations/GetBankAccountByIdResponse.php - - src/Models/Operations/GetBankAccountByIdResponseBody.php - - src/Models/Operations/GetBurnRateMetricsRequest.php - - src/Models/Operations/GetBurnRateMetricsResponse.php - - src/Models/Operations/GetCurrentTimerCustomer.php - - src/Models/Operations/GetCurrentTimerData.php - - src/Models/Operations/GetCurrentTimerProject.php - - src/Models/Operations/GetCurrentTimerRequest.php - - src/Models/Operations/GetCurrentTimerResponse.php - - src/Models/Operations/GetCurrentTimerResponseBody.php - - src/Models/Operations/GetCurrentTimerUser.php - - src/Models/Operations/GetCurrentUserDateFormat.php - - src/Models/Operations/GetCurrentUserResponse.php - - src/Models/Operations/GetCurrentUserResponseBody.php - - src/Models/Operations/GetCurrentUserTeam.php - - src/Models/Operations/GetCustomerByIdRequest.php - - src/Models/Operations/GetCustomerByIdResponse.php - - src/Models/Operations/GetCustomerByIdResponseBody.php - - src/Models/Operations/GetCustomerByIdTag.php - - src/Models/Operations/GetDocumentByIdMetadata.php - - src/Models/Operations/GetDocumentByIdRequest.php - - src/Models/Operations/GetDocumentByIdResponse.php - - src/Models/Operations/GetDocumentByIdResponseBody.php - - src/Models/Operations/GetExpensesMetricsRequest.php - - src/Models/Operations/GetExpensesMetricsResponse.php - - src/Models/Operations/GetInboxItemByIdRequest.php - - src/Models/Operations/GetInboxItemByIdResponse.php - - src/Models/Operations/GetInboxItemByIdResponseBody.php - - src/Models/Operations/GetInboxItemByIdTransaction.php - - src/Models/Operations/GetInvoiceByIdCustomer.php - - src/Models/Operations/GetInvoiceByIdRequest.php - - src/Models/Operations/GetInvoiceByIdResponse.php - - src/Models/Operations/GetInvoiceByIdResponseBody.php - - src/Models/Operations/GetInvoiceByIdStatus.php - - src/Models/Operations/GetInvoiceSummaryRequest.php - - src/Models/Operations/GetInvoiceSummaryResponse.php - - src/Models/Operations/GetInvoiceSummaryResponseBody.php - - src/Models/Operations/GetInvoiceSummaryStatus.php - - src/Models/Operations/GetInvoicesPaymentStatusResponse.php - - src/Models/Operations/GetInvoicesPaymentStatusResponseBody.php - - src/Models/Operations/GetProfitMetricsRequest.php - - src/Models/Operations/GetProfitMetricsResponse.php - - src/Models/Operations/GetRevenueMetricsRequest.php - - src/Models/Operations/GetRevenueMetricsResponse.php - - src/Models/Operations/GetRunwayMetricsRequest.php - - src/Models/Operations/GetRunwayMetricsResponse.php - - src/Models/Operations/GetSpendingMetricsRequest.php - - src/Models/Operations/GetSpendingMetricsResponse.php - - src/Models/Operations/GetTagByIdRequest.php - - src/Models/Operations/GetTagByIdResponse.php - - src/Models/Operations/GetTeamByIdPlan.php - - src/Models/Operations/GetTeamByIdRequest.php - - src/Models/Operations/GetTeamByIdResponse.php - - src/Models/Operations/GetTeamByIdResponseBody.php - - src/Models/Operations/GetTimerStatusData.php - - src/Models/Operations/GetTimerStatusRequest.php - - src/Models/Operations/GetTimerStatusResponse.php - - src/Models/Operations/GetTimerStatusResponseBody.php - - src/Models/Operations/GetTrackerProjectByIdRequest.php - - src/Models/Operations/GetTrackerProjectByIdResponse.php - - src/Models/Operations/GetTransactionByIdRequest.php - - src/Models/Operations/GetTransactionByIdResponse.php - - src/Models/Operations/ListBankAccountsData.php - - src/Models/Operations/ListBankAccountsRequest.php - - src/Models/Operations/ListBankAccountsResponse.php - - src/Models/Operations/ListBankAccountsResponseBody.php - - src/Models/Operations/ListCustomersData.php - - src/Models/Operations/ListCustomersMeta.php - - src/Models/Operations/ListCustomersRequest.php - - src/Models/Operations/ListCustomersResponse.php - - src/Models/Operations/ListCustomersResponseBody.php - - src/Models/Operations/ListCustomersTag.php - - src/Models/Operations/ListDocumentsData.php - - src/Models/Operations/ListDocumentsMeta.php - - src/Models/Operations/ListDocumentsMetadata.php - - src/Models/Operations/ListDocumentsRequest.php - - src/Models/Operations/ListDocumentsResponse.php - - src/Models/Operations/ListDocumentsResponseBody.php - - src/Models/Operations/ListInboxItemsData.php - - src/Models/Operations/ListInboxItemsMeta.php - - src/Models/Operations/ListInboxItemsRequest.php - - src/Models/Operations/ListInboxItemsResponse.php - - src/Models/Operations/ListInboxItemsResponseBody.php - - src/Models/Operations/ListInboxItemsStatus.php - - src/Models/Operations/ListInboxItemsTransaction.php - - src/Models/Operations/ListInvoicesCustomer.php - - src/Models/Operations/ListInvoicesData.php - - src/Models/Operations/ListInvoicesMeta.php - - src/Models/Operations/ListInvoicesRequest.php - - src/Models/Operations/ListInvoicesResponse.php - - src/Models/Operations/ListInvoicesResponseBody.php - - src/Models/Operations/ListInvoicesStatus.php - - src/Models/Operations/ListTagsResponse.php - - src/Models/Operations/ListTeamMembersData.php - - src/Models/Operations/ListTeamMembersRequest.php - - src/Models/Operations/ListTeamMembersResponse.php - - src/Models/Operations/ListTeamMembersResponseBody.php - - src/Models/Operations/ListTeamsData.php - - src/Models/Operations/ListTeamsPlan.php - - src/Models/Operations/ListTeamsResponse.php - - src/Models/Operations/ListTeamsResponseBody.php - - src/Models/Operations/ListTrackerEntriesCustomer.php - - src/Models/Operations/ListTrackerEntriesMeta.php - - src/Models/Operations/ListTrackerEntriesProject.php - - src/Models/Operations/ListTrackerEntriesRequest.php - - src/Models/Operations/ListTrackerEntriesResponse.php - - src/Models/Operations/ListTrackerEntriesResponseBody.php - - src/Models/Operations/ListTrackerEntriesUser.php - - src/Models/Operations/ListTrackerProjectsRequest.php - - src/Models/Operations/ListTrackerProjectsResponse.php - - src/Models/Operations/ListTrackerProjectsStatus.php - - src/Models/Operations/ListTransactionsMeta.php - - src/Models/Operations/ListTransactionsRequest.php - - src/Models/Operations/ListTransactionsResponse.php - - src/Models/Operations/ListTransactionsResponseBody.php - - src/Models/Operations/ListTransactionsType.php - - src/Models/Operations/RequestBody.php - - src/Models/Operations/Result.php - - src/Models/Operations/Role.php - - src/Models/Operations/SearchRequest.php - - src/Models/Operations/SearchResponse.php - - src/Models/Operations/SearchResponseBody.php - - src/Models/Operations/StartTimerCustomer.php - - src/Models/Operations/StartTimerData.php - - src/Models/Operations/StartTimerProject.php - - src/Models/Operations/StartTimerRequest.php - - src/Models/Operations/StartTimerResponse.php - - src/Models/Operations/StartTimerResponseBody.php - - src/Models/Operations/StartTimerUser.php - - src/Models/Operations/StopTimerCustomer.php - - src/Models/Operations/StopTimerData.php - - src/Models/Operations/StopTimerProject.php - - src/Models/Operations/StopTimerRequest.php - - src/Models/Operations/StopTimerResponse.php - - src/Models/Operations/StopTimerResponseBody.php - - src/Models/Operations/StopTimerUser.php - - src/Models/Operations/TrackerProject.php - - src/Models/Operations/UpdateBankAccountRequest.php - - src/Models/Operations/UpdateBankAccountRequestBody.php - - src/Models/Operations/UpdateBankAccountResponse.php - - src/Models/Operations/UpdateBankAccountResponseBody.php - - src/Models/Operations/UpdateBankAccountType.php - - src/Models/Operations/UpdateCurrentUserDateFormatResponse.php - - src/Models/Operations/UpdateCurrentUserRequest.php - - src/Models/Operations/UpdateCurrentUserResponse.php - - src/Models/Operations/UpdateCurrentUserResponseBody.php - - src/Models/Operations/UpdateCurrentUserTeam.php - - src/Models/Operations/UpdateCustomerRequest.php - - src/Models/Operations/UpdateCustomerRequestBody.php - - src/Models/Operations/UpdateCustomerResponse.php - - src/Models/Operations/UpdateCustomerResponseBody.php - - src/Models/Operations/UpdateCustomerTagRequest.php - - src/Models/Operations/UpdateCustomerTagResponse.php - - src/Models/Operations/UpdateInboxItemRequest.php - - src/Models/Operations/UpdateInboxItemRequestBody.php - - src/Models/Operations/UpdateInboxItemResponse.php - - src/Models/Operations/UpdateInboxItemResponseBody.php - - src/Models/Operations/UpdateInboxItemStatus.php - - src/Models/Operations/UpdateInboxItemTransaction.php - - src/Models/Operations/UpdateTagRequest.php - - src/Models/Operations/UpdateTagRequestBody.php - - src/Models/Operations/UpdateTagResponse.php - - src/Models/Operations/UpdateTeamByIdPlan.php - - src/Models/Operations/UpdateTeamByIdRequest.php - - src/Models/Operations/UpdateTeamByIdRequestBody.php - - src/Models/Operations/UpdateTeamByIdResponse.php - - src/Models/Operations/UpdateTeamByIdResponseBody.php - - src/Models/Operations/UpdateTrackerEntryCustomer.php - - src/Models/Operations/UpdateTrackerEntryData.php - - src/Models/Operations/UpdateTrackerEntryProject.php - - src/Models/Operations/UpdateTrackerEntryRequest.php - - src/Models/Operations/UpdateTrackerEntryRequestBody.php - - src/Models/Operations/UpdateTrackerEntryResponse.php - - src/Models/Operations/UpdateTrackerEntryResponseBody.php - - src/Models/Operations/UpdateTrackerEntryUser.php - - src/Models/Operations/UpdateTrackerProjectRequest.php - - src/Models/Operations/UpdateTrackerProjectRequestBody.php - - src/Models/Operations/UpdateTrackerProjectResponse.php - - src/Models/Operations/UpdateTrackerProjectStatus.php - - src/Models/Operations/UpdateTrackerProjectTag.php - - src/Models/Operations/UpdateTransactionFrequency.php - - src/Models/Operations/UpdateTransactionRequest.php - - src/Models/Operations/UpdateTransactionRequestBody.php - - src/Models/Operations/UpdateTransactionResponse.php - - src/Models/Operations/UpdateTransactionStatus.php - - src/Models/Operations/UpdateTransactionsFrequency.php - - src/Models/Operations/UpdateTransactionsMeta.php - - src/Models/Operations/UpdateTransactionsRequest.php - - src/Models/Operations/UpdateTransactionsResponse.php - - src/Models/Operations/UpdateTransactionsResponseBody.php - - src/Models/Operations/UpdateTransactionsStatus.php - - src/SDKConfiguration.php - - src/Search.php - - src/Tags.php - - src/Teams.php - - src/TrackerEntries.php - - src/TrackerProjects.php - - src/TrackerTimer.php - - src/Transactions.php - - src/Users.php - - src/Utils/BigDecimalHandler.php - - src/Utils/BigIntHandler.php - - src/Utils/DateHandler.php - - src/Utils/DateTimeHandler.php - - src/Utils/DefaultRequest.php - - src/Utils/DefaultResponse.php - - src/Utils/DefaultStream.php - - src/Utils/DefaultUri.php - - src/Utils/EnumHandler.php - - src/Utils/FormMetadata.php - - src/Utils/Headers.php - - src/Utils/JSON.php - - src/Utils/MixedJSONHandler.php - - src/Utils/MultipartMetadata.php - - src/Utils/Options.php - - src/Utils/ParamsMetadata.php - - src/Utils/PathParameters.php - - src/Utils/PhpDocTypeParser.php - - src/Utils/QueryParameters.php - - src/Utils/RequestBodies.php - - src/Utils/RequestMetadata.php - - src/Utils/Retry/PermanentError.php - - src/Utils/Retry/RetryConfig.php - - src/Utils/Retry/RetryConfigBackoff.php - - src/Utils/Retry/RetryConfigNone.php - - src/Utils/Retry/RetryStrategy.php - - src/Utils/Retry/RetryUtils.php - - src/Utils/Retry/TemporaryError.php - - src/Utils/Security.php - - src/Utils/SecurityClient.php - - src/Utils/SecurityMetadata.php - - src/Utils/ServerDetails.php - - src/Utils/SpeakeasyMetadata.php - - src/Utils/UnionHandler.php - - src/Utils/Utils.php + unions: 0.1.7 +trackedFiles: + .gitattributes: + id: 24139dae6567 + last_write_checksum: sha1:d1d000f6673e5838a636562dceffa2d9dec820df + pristine_git_object: e672f6ec6e8fb43d8886a12d531eb19ee8aaf881 + USAGE.md: + id: 3aed33ce6e6f + last_write_checksum: sha1:533f0d35358ccfa1dc7fcfe953d4a26ca4f24553 + pristine_git_object: eaaeef0e1d1132e8072569ebbbe9565da1fa28f7 + composer.json: + id: 3957b91a0d84 + last_write_checksum: sha1:fc125c9450e33afc41223079810c0afec4657a3f + pristine_git_object: 88e4c99118a61f936be439f3ec607e767722cd7a + docs/Models/Components/Account.md: + id: 510eb8e02969 + last_write_checksum: sha1:4748ad67106a0132ba3e3782ce80a0415567e866 + pristine_git_object: b0182a811a58d1ef00761b6be0a2b1baaba9b7a5 + docs/Models/Components/Attachment.md: + id: df237b715365 + last_write_checksum: sha1:deb60f73b5f290bd64874fefc22dc75a18e6fca4 + pristine_git_object: 44c888ada8409ad7748a8ca345985054db86369f + docs/Models/Components/Category.md: + id: ebe31e3199fe + last_write_checksum: sha1:68d41eac2191543638b6536718b5203f3161d2b9 + pristine_git_object: 5aff229907b917c0bd9491db91a724eec6d04909 + docs/Models/Components/Connection.md: + id: 5688c7e8f7e9 + last_write_checksum: sha1:390eef240895d9bdfd9d8f98eef7f8e8a739d1e8 + pristine_git_object: 8399749efaff8d349a77898c88c5709078a31904 + docs/Models/Components/CreateTag.md: + id: 96d98130f853 + last_write_checksum: sha1:2360f1543c94227c00ea3bffc246bfab124697b9 + pristine_git_object: 1be67e4e8416b5e4e7f90d5ff36ee5d9a655b6a2 + docs/Models/Components/Customer.md: + id: 83d0cae7e9bc + last_write_checksum: sha1:f5b2e59a4aeb71b99798ee489fbabb6c43942c64 + pristine_git_object: de702b4bf628f434d82673ac315137c1cd82641c + docs/Models/Components/ExpensesResultArray.md: + id: 71a5d18f9768 + last_write_checksum: sha1:7401d2f536c9f4cee8fd678c4eabf94fab27b9ac + pristine_git_object: 6f5d8c341134f87ccecea7951a9f43d06b31d651 + docs/Models/Components/GetBurnRateResponseSchema.md: + id: ae3e783c9807 + last_write_checksum: sha1:46dbaaf384d1948c687ee35ed6205b645b8e3f0e + pristine_git_object: 7cffd9e297276de516262ab34d1a3ceed0634dac + docs/Models/Components/GetExpensesResponseSchema.md: + id: cac15718dc77 + last_write_checksum: sha1:ab1045d68f02f89bd42759cfd1370e7635740d6e + pristine_git_object: 1356c8c9c179f51fe17cc66f1837e1ff007f0540 + docs/Models/Components/GetExpensesResponseSchemaMeta.md: + id: c638ec1528b0 + last_write_checksum: sha1:3dc562b9a8998614ed2f4cf69b38aef2e12c7bc1 + pristine_git_object: 8f154f120dc6cfd2be0c2c277b13bb6a108a6a9b + docs/Models/Components/GetProfitResponseSchema.md: + id: 948b02665bf0 + last_write_checksum: sha1:4d1977f938a200a709332946f9cc9c16814f8343 + pristine_git_object: 6773df13c5107514db3a877b6f521297da0c5c07 + docs/Models/Components/GetRevenueResponseSchema.md: + id: 2cfec7b42118 + last_write_checksum: sha1:4ea89d314d7b867128487be212694493820046fa + pristine_git_object: 690d0a922b887a98c949e85c655a68277a1a7124 + docs/Models/Components/NotificationResponseSchema.md: + id: 245a3995c7ea + last_write_checksum: sha1:6afa5338db687322ee78e27519631e957d6bab21 + pristine_git_object: 60525cb2eb21c979f9b77ec33a67e4d09d0d68c2 + docs/Models/Components/NotificationSchema.md: + id: fcdc47f3ce1e + last_write_checksum: sha1:d914eebae734dc1a6e312f5d7ac5b64cdc15c53b + pristine_git_object: 639f1dd54ddb38fcc4eaa7ef4d06364e026d90ae + docs/Models/Components/NotificationSchemaStatus.md: + id: e16a721f6f96 + last_write_checksum: sha1:dfb319d252607cb21a10e60c2806e1e53984b5a4 + pristine_git_object: fb6a1a541a37c42a26b572027c668999162fe153 + docs/Models/Components/NotificationsResponseSchema.md: + id: 407df155a6cf + last_write_checksum: sha1:5f507698bce3885e759b3449cc4ddccdb5cc7738 + pristine_git_object: 84aaad7c6d6592fe1dc6a0e5edd20eb115a329ce + docs/Models/Components/NotificationsResponseSchemaMeta.md: + id: 5d1d1a957a52 + last_write_checksum: sha1:2ed4feb358bee3f8b27aefcd5302186baaee0cd0 + pristine_git_object: 1c2338afd1ffb03c5da4cb1161c1d6e054e624a9 + docs/Models/Components/ProfitCurrent.md: + id: aff9e1bf4a17 + last_write_checksum: sha1:a9a8c0326fc22bbf58fb8218f60abefbd1108e5e + pristine_git_object: 56898dd5b70eb8e810ee7215f1440038f5091ebc + docs/Models/Components/ProfitMeta.md: + id: 51ef0b5bd7f4 + last_write_checksum: sha1:c66081ebae4ae59fa58bf7984d9b4d61a8d9f490 + pristine_git_object: 6340743699e766510148d6b980d977e221150358 + docs/Models/Components/ProfitMetaType.md: + id: ac4e3c0a28e4 + last_write_checksum: sha1:605d603f28ef2ecdb39b7b69d56224e7d6496451 + pristine_git_object: 6cb4ea5b47887b2dd5f1fc1c4b7640d4bfb1d7d5 + docs/Models/Components/ProfitPercentage.md: + id: 3256c5ec9f86 + last_write_checksum: sha1:4df3896c2656f555432a46ed493503765e9aa8cd + pristine_git_object: 669e82267e1b180732f3220b75ef55a387938337 + docs/Models/Components/ProfitPercentageStatus.md: + id: d1d1be6e9663 + last_write_checksum: sha1:b519792844bb13fab7329f33e238173c37998cc3 + pristine_git_object: af435e46060fcf06decc1222e8243c791af4c36d + docs/Models/Components/ProfitPrevious.md: + id: 1823fdd4f77a + last_write_checksum: sha1:412f76681226460b26adc379c15c01811852cd16 + pristine_git_object: 193f99a468eb112d2f116280bed6e6a37dd6ceaf + docs/Models/Components/ProfitResultItem.md: + id: e61eeb4cba0c + last_write_checksum: sha1:4f12ac8118081c7a5fff1fefdeffb2c6d932b834 + pristine_git_object: a9387f935c1b600ed48b187dbc13b3cea0d52a30 + docs/Models/Components/ProfitSummary.md: + id: 45fb6ada9f3b + last_write_checksum: sha1:e281c213a06f8583cff0a9fe9aed51c9ab2c1690 + pristine_git_object: f490f7077c8edd215979ff191c398c8f06210ce8 + docs/Models/Components/RevenueCurrent.md: + id: 80ea8751eb11 + last_write_checksum: sha1:87cfc8d43a4fba3abffb8e9ddd9f6e811c64d9d9 + pristine_git_object: 699e4fb8293f72cc7fe6da599ac492bcc00105dc + docs/Models/Components/RevenueMeta.md: + id: b6a47a5b9556 + last_write_checksum: sha1:ae3ede839bc7e04b2eff35c3e7d472a6ce82d02e + pristine_git_object: ca42a8bf0bbb1f79f6ba5fe6ef866008c3b9f686 + docs/Models/Components/RevenueMetaType.md: + id: 6d5a8a9e0a1d + last_write_checksum: sha1:371ef8872c29330505d121811bc82c2e90088b5d + pristine_git_object: d5442beee53d8e4c766926543774de7ecd4605e8 + docs/Models/Components/RevenuePercentage.md: + id: ba33f80bddcf + last_write_checksum: sha1:505948fd11ff1dc4709a4530fccfc3f3886bbda0 + pristine_git_object: c8aea03e24ad6303d70d06876c8d66fb7263dfbe + docs/Models/Components/RevenuePercentageStatus.md: + id: d3cf7551ae80 + last_write_checksum: sha1:4f822c8d977a730053d170aab74768df695965f8 + pristine_git_object: e03ed0509c3290194546cd8818d4ba552d4adfb3 + docs/Models/Components/RevenuePrevious.md: + id: 5d3c81f980b2 + last_write_checksum: sha1:98a125be5be16785c4f3e88e10d1477db5e57953 + pristine_git_object: bb3e88545b571e0991c822cc943a92b52bca8774 + docs/Models/Components/RevenueResultItem.md: + id: b247beac5dca + last_write_checksum: sha1:469fae1938d0aa1e318b707afa6668037150bc11 + pristine_git_object: 58335b0bc3f28b068e2dde4939b529c96469e913 + docs/Models/Components/RevenueSummary.md: + id: 0be78c1ae92e + last_write_checksum: sha1:3b5f4c6aaa1a7cc21f90eef820104a9bfa56c008 + pristine_git_object: 4e01569e14a873d3210c3acbcd2a797712388450 + docs/Models/Components/Security.md: + id: 7bcd54fda13a + last_write_checksum: sha1:fa961d52c2fff80461ed6b6642fac2295839fb7f + pristine_git_object: b17baad75314587be73ba17dbeecdb7db8fad6ba + docs/Models/Components/Source.md: + id: def1b71a1b02 + last_write_checksum: sha1:ac10005d804c449d2533b5148271f7d9f0eaee1e + pristine_git_object: ee197d5ee07ce19854dda7cb9b96a4b8ca150027 + docs/Models/Components/SpendingResultArray.md: + id: 5260e276a7d6 + last_write_checksum: sha1:ab50a6996777db2eca230ff268e1cbb5c2a9c2be + pristine_git_object: 7f4b0ba2eaff97557e5468b5e2903bb9e8552901 + docs/Models/Components/Summary.md: + id: e564c031016d + last_write_checksum: sha1:de2add5a466ac50ad72ced619d6ee462ac00b0f8 + pristine_git_object: dc57212a35c4ad6ee994404ab37515f612eec6ac + docs/Models/Components/TagResponse.md: + id: 012205dba71d + last_write_checksum: sha1:e95ab4b13a8ffa03e0a9898f8aa6b49d5ee40f80 + pristine_git_object: cf1f306a21dd2c557e79e2c95ed6ea17b0df99fa + docs/Models/Components/TagsResponse.md: + id: fd8b152bdb08 + last_write_checksum: sha1:bfa1df55defe77caaf1267ee381adbacae653067 + pristine_git_object: 6d90897c70254b81a19860e614c2abf257840d13 + docs/Models/Components/TrackerProjectResponse.md: + id: 3b13daddd5f5 + last_write_checksum: sha1:8990fa83fecde24d96ddee41282410f325194fbc + pristine_git_object: 174e9ac0ba656dbae26f12ef0ac5fb896af0c09d + docs/Models/Components/TrackerProjectResponseStatus.md: + id: 334a0b0f466a + last_write_checksum: sha1:6e29b80a390db7bf1f585c691f6fdd8438fbbc8d + pristine_git_object: 6be144fbf7f8fba2b4ad98ee2617b07e63c38262 + docs/Models/Components/TrackerProjectResponseTag.md: + id: 5ea260b1ceae + last_write_checksum: sha1:733f2595fa9399acfe09f5c9c515ef2ba19fbc97 + pristine_git_object: 6c3f5f6cdccddeb30b693954c13b26b3882f31b4 + docs/Models/Components/TrackerProjectsResponse.md: + id: 85945f896f1b + last_write_checksum: sha1:00df0450c72da665243e6160a27c02fa9f315693 + pristine_git_object: 3e4c2ffb8977c7c64d09ce899a6d1f08f8aac73a + docs/Models/Components/TrackerProjectsResponseMeta.md: + id: 7337bee45b6f + last_write_checksum: sha1:6f83697620d1cf0ad56242e9b4ec01c78c58ddc2 + pristine_git_object: 2dea9b3e7ac85ed1d24965eee1e548a34429fba5 + docs/Models/Components/TransactionResponse.md: + id: a559c93bbef1 + last_write_checksum: sha1:3dce6cb943d3e5a545d970ef14de84de51e2be77 + pristine_git_object: e4b097c13b88c3247392d6e1c116610e4a2c82a3 + docs/Models/Components/TransactionResponseTag.md: + id: ef7a1cc7ccb1 + last_write_checksum: sha1:acdabdcdc313a57b5a36ab35959690eb60fc0723 + pristine_git_object: 5f23de2e67fdec894e23c2eeb52fbe023851e1a5 + docs/Models/Components/UpdateAllNotificationsStatusResponseSchema.md: + id: 97876e5385d3 + last_write_checksum: sha1:470bb3c50f71ba6b6c612652636984b82c8ed9ed + pristine_git_object: 5cd3c5fdb311ec4bdd485033ea21a46594541100 + docs/Models/Components/UpdateAllNotificationsStatusSchema.md: + id: 4790d9948c86 + last_write_checksum: sha1:43faa259e2109cb5698bab0931786b756c240eb9 + pristine_git_object: ddc5483f7bbb6c48d8797227d5067b8e7824022e + docs/Models/Components/UpdateAllNotificationsStatusSchemaStatus.md: + id: f8969db451fa + last_write_checksum: sha1:75cb6a45dde461bbc1aca5d48f9b23799624bbb0 + pristine_git_object: 3aaecdeb3ba2ad978889c3339b210abc4dd27f10 + docs/Models/Components/User.md: + id: d91a5ce53244 + last_write_checksum: sha1:d81eb0808a901b7b6a2caa9e1559bcb5f796a70e + pristine_git_object: fcb3e5d421c50df647942bb00e7247c415e28de2 + docs/Models/Errors/ConflictException.md: + id: e824738cb4bc + last_write_checksum: sha1:1effe64089502bc5a15f383b66420955a950fcdc + pristine_git_object: c86dd4cc5c103f44134c2ed0a2682b0a0bd38404 + docs/Models/Errors/CreateInvoiceBadRequestException.md: + id: 5cd47e04e78b + last_write_checksum: sha1:1d487c7e7d4d44c370a96d35392c6a569e5e9dc9 + pristine_git_object: 7e6c5ab5c7dd8147e5cf92a78fcc80b1ebb50061 + docs/Models/Errors/CreateInvoiceInternalServerError.md: + id: 4109ba6ed42f + last_write_checksum: sha1:96a34dd6bcd779b50448c22923f1a7cafbf5b4c6 + pristine_git_object: ec6413be30071587e49f69075957272aaa0f6bc3 + docs/Models/Errors/CreateInvoiceNotFoundException.md: + id: 99c7c7269b65 + last_write_checksum: sha1:da8b34b3d3038d2bd775815067e086dfe4e47a71 + pristine_git_object: 9da0b10bc5f1f6af072ab898381add0b3745aa23 + docs/Models/Errors/GetDocumentPreSignedUrlBadRequestException.md: + id: a7d0812e9b1d + last_write_checksum: sha1:6578f5254199846c3d57e7d17a2f6076f1f89ef0 + pristine_git_object: 5037e08b269251101aefe724d352d6f0ecf76462 + docs/Models/Errors/GetDocumentPreSignedUrlInternalServerError.md: + id: 6538bde6df5a + last_write_checksum: sha1:62765b75ac1fbca641eac7a319333b081ee93c69 + pristine_git_object: 4343967318e44dd79071d51387f241929568a8b2 + docs/Models/Errors/GetDocumentPreSignedUrlNotFoundException.md: + id: 17bf632feed0 + last_write_checksum: sha1:d0a3adb5369bc52b881e92c71a5ace0632a3a35e + pristine_git_object: 678c9306c0ad798596a920460b1ca85a984b3826 + docs/Models/Errors/GetInboxPreSignedUrlBadRequestException.md: + id: 75c7b7c6dc5d + last_write_checksum: sha1:0724d71d56c6a9974cfde4025fb459f394cb83ef + pristine_git_object: 9ce982a35d831d72362d88f443840ddc9fba71dd + docs/Models/Errors/GetInboxPreSignedUrlInternalServerError.md: + id: 3cf1b57c12bb + last_write_checksum: sha1:3c604d2e45a6f272e0795e0c8f9068fc12bc7a8e + pristine_git_object: 7471bac0bc5568969d40e548ac7d966d5814cf6d + docs/Models/Errors/GetInboxPreSignedUrlNotFoundException.md: + id: 7b83737d48ca + last_write_checksum: sha1:e38ca79f6f9b54f9f86875653314e399234c48fa + pristine_git_object: a31ff10ad8dbd9fffbfa3485e0274a2a41e9b946 + docs/Models/Errors/GetOAuthAuthorizationBadRequestException.md: + id: ae778b36f6d7 + last_write_checksum: sha1:f2dfddac3f01aac09d369c90022359022bfd5cdc + pristine_git_object: b051c7b7d408faeca7e163fcb2f1b0b012f66374 + docs/Models/Errors/GetTransactionAttachmentPreSignedUrlBadRequestException.md: + id: 759fbacb6b14 + last_write_checksum: sha1:0b65699c792a6afd96c49725290207fb163a3f97 + pristine_git_object: 7eb1b2e649d322185891683a3ee1cee345be9385 + docs/Models/Errors/GetTransactionAttachmentPreSignedUrlInternalServerError.md: + id: c076b3f0fd7c + last_write_checksum: sha1:41aedafb65184c29af2c4f3f819a778e2bd4b4cd + pristine_git_object: b935bd154d48ec220099858e754f94494f7e5ac3 + docs/Models/Errors/GetTransactionAttachmentPreSignedUrlNotFoundException.md: + id: 894fcb96411a + last_write_checksum: sha1:2bd27053e9e5f0ac281551043966ba33c21bed7f + pristine_git_object: da0c746f69d5453cd56e35100640ca4e2ee06a7c + docs/Models/Errors/PostOAuthAuthorizationBadRequestException.md: + id: 87e74f508525 + last_write_checksum: sha1:e3315664431ef16a61ede5a3c3ca71e3a482bb9d + pristine_git_object: 1990bf894d9214beb5863e890d502c7d80144057 + docs/Models/Errors/PostOAuthTokenBadRequestException.md: + id: b02b65ba0c34 + last_write_checksum: sha1:0cd9015f7ca66d356b418ea52f498f08fb4a7501 + pristine_git_object: cab67b32570eb8d583ee34e8ffde17cb88b64ec4 + docs/Models/Errors/UnauthorizedException.md: + id: 3988c5544012 + last_write_checksum: sha1:a5b38a47f307b788e1574e8582ad93009e103fb3 + pristine_git_object: d41db56f35f87762a3e7672602fe85baba6feffe + docs/Models/Operations/Attachments.md: + id: f9bf6a2bc47b + last_write_checksum: sha1:7599fb05ed0e6a3a8b7a6a8dd31feb4c180073a7 + pristine_git_object: 3a15a998749ec0e99a0523c04bbb33e751304d4e + docs/Models/Operations/AuthorizationCode.md: + id: 803310d735aa + last_write_checksum: sha1:665f24b6417cc2dca71e080db16915676c1882b7 + pristine_git_object: 237b8cd70cfa1e8a05d87a725a331e8ffe231c97 + docs/Models/Operations/BottomBlock.md: + id: 6067849a48c3 + last_write_checksum: sha1:bf5d8f9bedb0c3b3022cb99df98ee5e2e9f9368d + pristine_git_object: af53462ebb02076a351ea42a5a87bf587e9c15ea + docs/Models/Operations/CreateBankAccountRequest.md: + id: 064b6689a815 + last_write_checksum: sha1:64abcc04698c7e81c4f0de4fcf30c64c13be8db5 + pristine_git_object: 50531dd867de817034cf1d49a06d3285b344f345 + docs/Models/Operations/CreateBankAccountResponse.md: + id: 6afaaef2e57f + last_write_checksum: sha1:67c7f75983a07a898ec13da8ad36d582fa676155 + pristine_git_object: 6b609d9041f805f752cc135280511c2d13fe0b29 + docs/Models/Operations/CreateBankAccountResponseBody.md: + id: d6dc9a88f43c + last_write_checksum: sha1:5dfdbd7c69638051081ffc3121e9a6e67ca4f73c + pristine_git_object: 2e6ef0251e2a55bbafc6bc90a9ffd79b02ad9c9b + docs/Models/Operations/CreateCustomerRequest.md: + id: 1e00f26ad909 + last_write_checksum: sha1:ec4ebe148b067d3ddf3fc7c888f6a65d82ffdeee + pristine_git_object: 6a618617e30f86d9c468bbcd3c3f95a77d375c0a + docs/Models/Operations/CreateCustomerResponse.md: + id: 702d610c9735 + last_write_checksum: sha1:f4a6e1eca418fc8e43e41677c32fa2603fafc7e3 + pristine_git_object: ecf53f029fec6d5aaadcfb9fc0b47c0f1aa6de02 + docs/Models/Operations/CreateCustomerResponseBody.md: + id: 30d20f4ba160 + last_write_checksum: sha1:bee3d2e74235beb7df136c6bc40b6e4f7c5cd5ea + pristine_git_object: d11c53b56edf6f3041443664523b8eb90822ef50 + docs/Models/Operations/CreateCustomerTagRequest.md: + id: 32f84464601b + last_write_checksum: sha1:569132e31933658297fbfde864bcae2e3c6c0b41 + pristine_git_object: 801f6645c852993e5a8057577bc7831072320f1b + docs/Models/Operations/CreateCustomerTagResponse.md: + id: 2e52a5cfd42a + last_write_checksum: sha1:c8eae7691620f661dd4eea1278843ab0de6aa9a2 + pristine_git_object: 96af9a84e6525bedba8b8b31e00efe9149b04287 + docs/Models/Operations/CreateInvoiceRequest.md: + id: abd15bb5d8e2 + last_write_checksum: sha1:d54c74a83947dab98eefbc11dfa02c3ee9dc4a22 + pristine_git_object: 3ff201a5805b48c1039bfb4e9621306515350f0a + docs/Models/Operations/CreateInvoiceResponse.md: + id: dff8240a7798 + last_write_checksum: sha1:3127962935b4e8d97327ecb4d8ce6230f4986733 + pristine_git_object: 0624dd53bf292b3f603a9f9e6b3464184e043670 + docs/Models/Operations/CreateInvoiceResponseBody.md: + id: 21b9ac42bef4 + last_write_checksum: sha1:d5c7e3e1d4a911d4e9118db6bb1e6a06674df29a + pristine_git_object: 92f635853ac0f69d07818ef9674a870f795f414b + docs/Models/Operations/CreateInvoiceStatus.md: + id: 642842b461eb + last_write_checksum: sha1:27a40f2ed146a964bba3f8c6de6e17a567a77b21 + pristine_git_object: b1ea97c45669c68fd5c32ff6cf94fd54006c481f + docs/Models/Operations/CreateTagResponse.md: + id: 1c3aa83fd07d + last_write_checksum: sha1:2b0d2d4b441de75ffcd9744be26f777ad53bc3fd + pristine_git_object: a9f35c700cdf0e4db38fb51f4d697cfb79ae91fe + docs/Models/Operations/CreateTrackerEntriesBulkCustomer.md: + id: 5db4e45691f0 + last_write_checksum: sha1:2d5ac759e69c1192f4ca3684d3013311523fe5f9 + pristine_git_object: d097eb2f627b6c2674321bf699111437781d2a58 + docs/Models/Operations/CreateTrackerEntriesBulkData.md: + id: f6ce47bcf5f7 + last_write_checksum: sha1:f8cd953725668093cd6fbb554c7c2ba241596971 + pristine_git_object: 42c49970d3df5fba693b1ed5ab5d89d7e6dffd82 + docs/Models/Operations/CreateTrackerEntriesBulkProject.md: + id: c61c084f49d8 + last_write_checksum: sha1:974e883b2353740eb2198e04132e8a0a538d6f94 + pristine_git_object: df662bbd07afbbc30efc0cdecbf1f678a6e21b01 + docs/Models/Operations/CreateTrackerEntriesBulkRequest.md: + id: d25f6741f29f + last_write_checksum: sha1:93ce33d3b2c6a4c22a6608bd90c3584292ea8046 + pristine_git_object: d3e7dce7303be9a340e36b65ae4431c5a77da8f5 + docs/Models/Operations/CreateTrackerEntriesBulkResponse.md: + id: 8dda0c812d52 + last_write_checksum: sha1:e0b0f4adf8b6f1e75c63831b9057e86c6a9e4941 + pristine_git_object: 15a6cd4a658c228001e3af5e31dcef25a5460b85 + docs/Models/Operations/CreateTrackerEntriesBulkResponseBody.md: + id: 50f6fe8320d2 + last_write_checksum: sha1:cf720f3bcd4f8fd5adfaa48befcf4708eb08c1e3 + pristine_git_object: dcb1ea3eb3fdb40d19883a46505576f6fa13c6f9 + docs/Models/Operations/CreateTrackerEntriesBulkUser.md: + id: 449bbc1a2932 + last_write_checksum: sha1:ccda41d737d2134e28a816c515e402f5c48ddc39 + pristine_git_object: 2dc7a5296a72ce6fbb63b8ec0381e591f2ad69c8 + docs/Models/Operations/CreateTrackerEntryCustomer.md: + id: 285d107f05fc + last_write_checksum: sha1:dee2f7ab1d06d7b402420334a3b32bfa82f3f38e + pristine_git_object: 13ce8d1acd0cda297fae939b5f05254a27ef4df7 + docs/Models/Operations/CreateTrackerEntryData.md: + id: abe47b7ba2c9 + last_write_checksum: sha1:626529590ca9309de6db4180511ba1829d917b99 + pristine_git_object: c1c29cd5a5a27d053c2137927cb55f84a3b1baf6 + docs/Models/Operations/CreateTrackerEntryProject.md: + id: 8c8955c882b6 + last_write_checksum: sha1:7ccbe54955d66ae4361f2c9f1036b5d030bd3151 + pristine_git_object: aa0561c627e7887326d3ef0064afb18120c24a3c + docs/Models/Operations/CreateTrackerEntryRequest.md: + id: 91b2fbf4227a + last_write_checksum: sha1:39c0ea439ac64c48a3587adcaf28045a0913f199 + pristine_git_object: d5bdcb2e8a55c5c4f030380ac0c151324cea9174 + docs/Models/Operations/CreateTrackerEntryResponse.md: + id: 02b194c3fdfd + last_write_checksum: sha1:bc4c202c60ff153c25d2754ef6697037c36f0320 + pristine_git_object: 221bbbde512eed80ddac2cfac37b5943ce6ee92f + docs/Models/Operations/CreateTrackerEntryResponseBody.md: + id: dffb7f3a0001 + last_write_checksum: sha1:6c48741b93b202dc886b7d1a6ba7bb7c85c96deb + pristine_git_object: dec0683c18450243e21e14bc38b00c67a92d4aac + docs/Models/Operations/CreateTrackerEntryUser.md: + id: ef933753f72e + last_write_checksum: sha1:2bac0f9d6c7e0cbf323c70aca1d80b84a522c7e7 + pristine_git_object: 0486b2feba118b25f0bc0dbc15d889e8141b18f9 + docs/Models/Operations/CreateTrackerProjectRequest.md: + id: 05f396608706 + last_write_checksum: sha1:5d5f04feb661424dc4a97be5cb94607b5d80ae13 + pristine_git_object: b7f8892bb94dffd26df44764ed7b17d436dc958a + docs/Models/Operations/CreateTrackerProjectResponse.md: + id: e7e75d0c8fa9 + last_write_checksum: sha1:0946e0c7aa3d4ea491f6882d73a8a7546536e8f5 + pristine_git_object: f9abbebbfc3062ae4ec4b3666735598d983505ec + docs/Models/Operations/CreateTrackerProjectStatus.md: + id: a9a02f089236 + last_write_checksum: sha1:1c35d236eb7183a1fb87dadfddd021b2e884c987 + pristine_git_object: ed862d38d3108e9c279f016b9ab2ad2a863591d4 + docs/Models/Operations/CreateTrackerProjectTag.md: + id: 5d95fbada3d3 + last_write_checksum: sha1:fbda3bdc991c956268bf98f0acfac22f2a4e5ba9 + pristine_git_object: cd2e7c1af9773252b46d96651d77e799a0b2db42 + docs/Models/Operations/CreateTransactionAttachment.md: + id: 9fd8e7664fa6 + last_write_checksum: sha1:1c0d16cc051c9bf4cb756737c21e676da22c2a3a + pristine_git_object: 9765c091a5f3f585b8257c2121c94d5bd175cad7 + docs/Models/Operations/CreateTransactionRequest.md: + id: 9b1490e6a2f1 + last_write_checksum: sha1:52813a6515593b2d14a5339a808367f37d898076 + pristine_git_object: 996ca598ddcf77db286d5a0d4290036cfe1fbb7e + docs/Models/Operations/CreateTransactionResponse.md: + id: 67cba25931fb + last_write_checksum: sha1:434c4176719d7ca05c9e83c64605ac62e879509c + pristine_git_object: 2de426f9031be2734dbf7fb47f3533eb43a056a7 + docs/Models/Operations/CreateTransactionsAttachment.md: + id: 12eafb6988ba + last_write_checksum: sha1:68f74d71d8dbbacbf9d9f445dbc9192ee1a46f2b + pristine_git_object: 693e8e8809a498b4928f4de5ae1bcaa38c25fe02 + docs/Models/Operations/CreateTransactionsResponse.md: + id: 1e439309968a + last_write_checksum: sha1:40653adb8c06835d87e413525b1b622b28887ba4 + pristine_git_object: 25977cbffa245ed1877f74fdfef77ecf435c5216 + docs/Models/Operations/CurrentEntry.md: + id: dad8dbb72c13 + last_write_checksum: sha1:7fa7b8f49c8a638007309cfcecc506a65e142cbc + pristine_git_object: 1653cee23df411b29525a58bb2d50b499d2b1ee1 + docs/Models/Operations/DateFormatRequest.md: + id: dd77d360700a + last_write_checksum: sha1:2e00c0f0dccc159854d0a1d32c5cae168cb99b03 + pristine_git_object: 41d89be767a942379247251d2cfd3f7a5623d1f4 + docs/Models/Operations/Decision.md: + id: aa62086dc253 + last_write_checksum: sha1:e9337c8e8801017835ee9ba6daf5510eefd5aefb + pristine_git_object: 90c5c15178215a34795ef7b7c26ad72e8de69040 + docs/Models/Operations/DeleteBankAccountRequest.md: + id: 7d4cc3dfe5c6 + last_write_checksum: sha1:22f9950629cfb4c35aba0c631ffb29d023d28c65 + pristine_git_object: 1344a1fbe0c19cc19229855fee763c5dc0d02fc6 + docs/Models/Operations/DeleteBankAccountResponse.md: + id: 04b7bde3df4f + last_write_checksum: sha1:0dd3c3692eaa76a4d4ed4e1f07195b5066b2fd33 + pristine_git_object: a42a8895d5f757182b7984c97cc53c301d3f08e0 + docs/Models/Operations/DeleteBankAccountResponseBody.md: + id: 6fae46d27a92 + last_write_checksum: sha1:fce93dbbc6d489152f74918675f8f37d10e8ab47 + pristine_git_object: 6ab04949423cb7eda045be973d37fe670b989307 + docs/Models/Operations/DeleteCustomerRequest.md: + id: 35da4a11b254 + last_write_checksum: sha1:9e14e247b724b4e35afaf21cc791564bc264a805 + pristine_git_object: 7307357a548eddfba7dc1deff17b7f3c839eec2e + docs/Models/Operations/DeleteCustomerResponse.md: + id: 485f87162f2a + last_write_checksum: sha1:c230fb5c2c28d5175b11526976eef06b7400db62 + pristine_git_object: e44d6033ad9f9939ee8c0d6c0b157f0d9f6b3dda + docs/Models/Operations/DeleteCustomerResponseBody.md: + id: 4f6ae594ecf7 + last_write_checksum: sha1:3412dea98f2499f52cf5a3ba18ff1f51442725e5 + pristine_git_object: 71aaeabb0f2cc3ab76502da6aacd0ecc2139f267 + docs/Models/Operations/DeleteCustomerTag.md: + id: 84d590455aea + last_write_checksum: sha1:c2ad0ad3e90e7c8caed8f84ec065c3f7b997538e + pristine_git_object: a226c19f731bf6d43b3bd463fbc6e9f51a07fa53 + docs/Models/Operations/DeleteDocumentRequest.md: + id: fa573ec16af4 + last_write_checksum: sha1:76139954825b6d1d8070c276b475c90b7f2029a4 + pristine_git_object: 685841ebfa5bedd93c5a3610f510b98dbb0cb2fd + docs/Models/Operations/DeleteDocumentResponse.md: + id: c8907184639c + last_write_checksum: sha1:dc9899c45d29b35e6eb2916906ca74eeb41f7aa5 + pristine_git_object: d3e0e1bc37625f0c4025ef6fcec5ca047bc452f6 + docs/Models/Operations/DeleteDocumentResponseBody.md: + id: a8ef727b7482 + last_write_checksum: sha1:b3c12dda29bd37a279a571d1fa427075ac77adc2 + pristine_git_object: 1f942b74bc4c0f9581a04a7b4a8a9db3d4d975df + docs/Models/Operations/DeleteInboxItemRequest.md: + id: d93827a81da9 + last_write_checksum: sha1:909dcccc465b3d8cf9887b9410e5dea531de3ee9 + pristine_git_object: b3c6049e965cce5579b4d8a7c9c8845902edc281 + docs/Models/Operations/DeleteInboxItemResponse.md: + id: 2e4102ec483e + last_write_checksum: sha1:74178da8cd7a17ac8bb4516dba5d9734cecf2df3 + pristine_git_object: a83f31a70b4aa5c81819422d5e74fac253caf7d7 + docs/Models/Operations/DeleteInboxItemResponseBody.md: + id: 9d960b58d54e + last_write_checksum: sha1:2d57a5ef4d1379c56f05870c8e310ea9c82a202f + pristine_git_object: 73cb5d303e1ea22bdc3a98213c05d234bf2eb7d5 + docs/Models/Operations/DeleteInvoiceRequest.md: + id: 4d7ba2dd23c8 + last_write_checksum: sha1:c657f7ffa65a2bb4a61d1ebd98b68ec21a0b41b5 + pristine_git_object: 548e1dd3a4fab543e52b87eb0761383fe465d776 + docs/Models/Operations/DeleteInvoiceResponse.md: + id: ec6c6cb19916 + last_write_checksum: sha1:b699c0c4552fb47b0becfdc41191ac16ded9cafe + pristine_git_object: 34b56f260ae475defc2732dbfaf6b0ecbec80b74 + docs/Models/Operations/DeleteInvoiceResponseBody.md: + id: 84b0761b888e + last_write_checksum: sha1:751a5f42d639abb697542b6a252f871349597577 + pristine_git_object: 532063e56fece3d2b0a31a3b8dbc848269f117fc + docs/Models/Operations/DeleteTagRequest.md: + id: dfad1fc544d4 + last_write_checksum: sha1:6d879b331df06697fdca88ef9eca5f0cdb17821d + pristine_git_object: 503282c8c2c8277eba5f8d7864fb985e7392c48d + docs/Models/Operations/DeleteTagResponse.md: + id: 25c6a64c028f + last_write_checksum: sha1:cd37fa3740dd23b2c522262ffd64f3ad7cb9cd84 + pristine_git_object: 6d2ffa21d63c50bc09a2d7985a18ee295f43729b + docs/Models/Operations/DeleteTrackerEntryRequest.md: + id: 6fb4eda94007 + last_write_checksum: sha1:193ad13102ae54b148f2843d99b55b554dcbf271 + pristine_git_object: 1685b1634c0979cf0486090f82a8e0cef68d8cc5 + docs/Models/Operations/DeleteTrackerEntryResponse.md: + id: b0d3d8b2303a + last_write_checksum: sha1:b8ea14387b24eeeae6c7a43e18f1f52e51c8f010 + pristine_git_object: 14473c3f1b5ee81c14a6bc010db244e7f6db63c1 + docs/Models/Operations/DeleteTrackerEntryResponseBody.md: + id: b347f74041b7 + last_write_checksum: sha1:fd8cc21d0e3a911dcd76e5128ebf5b24ef799c67 + pristine_git_object: 39cee1920ede362dc429c7c1090f9612e4b0c4ec + docs/Models/Operations/DeleteTrackerProjectRequest.md: + id: f2031ea1deaf + last_write_checksum: sha1:fda7807f9b0e4d369f9931dd4ba5571d4d84ef60 + pristine_git_object: 106b5cc55f7e61851f43ec163003dc92ccbfa265 + docs/Models/Operations/DeleteTrackerProjectResponse.md: + id: 0618a3927e5d + last_write_checksum: sha1:7a8baa5c328bc730134715174f1dfe38055ea8bd + pristine_git_object: 0073f1f56f458c7cf5132827584c4eaa4da8b83d + docs/Models/Operations/DeleteTrackerProjectResponseBody.md: + id: 068c40247537 + last_write_checksum: sha1:becd45bed4c64a5c5694a9d89f9210d0eb194389 + pristine_git_object: ddc864304345cee95f7f7f196eeb7a786e8b266e + docs/Models/Operations/DeleteTransactionRequest.md: + id: 91dde66a87c9 + last_write_checksum: sha1:426998a503b6afd07a943e136e99fd666258b2cc + pristine_git_object: 7c5ae62f475c27c1d22282909e0483c0b44fc7bc + docs/Models/Operations/DeleteTransactionResponse.md: + id: bc8469e6171b + last_write_checksum: sha1:57c6170c7549cac4e2b94758250590cdd8eab9a3 + pristine_git_object: 26049732eedb1cd34002b9bf7cb060576b28c0b9 + docs/Models/Operations/DeleteTransactionResponseBody.md: + id: 54de4017807b + last_write_checksum: sha1:3cd95adea0dceb65b908d3840eb225bed3e7565d + pristine_git_object: 164fdcbf02026e9d0d7f4de7ea3acd2c06e64274 + docs/Models/Operations/DeleteTransactionsResponse.md: + id: 2fdeb4c4cae2 + last_write_checksum: sha1:b3e8967b2237f35ef949f29de2f390a9bd9a7525 + pristine_git_object: 37b79c6c3ae4e55209aea73e3dfd9d927f017919 + docs/Models/Operations/DeleteTransactionsResponseBody.md: + id: 289c9abb344e + last_write_checksum: sha1:5de48eecab700ffb4efaf041c646211dd6dabef8 + pristine_git_object: 0c630ac274f434df64e14a875ad7d52cd20d616e + docs/Models/Operations/DeliveryType.md: + id: e2ba16c91428 + last_write_checksum: sha1:74c568515cc160e1ff6609584255b3a3b9e0b700 + pristine_git_object: ca7f2856fa004e55e1cc39674a48d38882f7aecb + docs/Models/Operations/Entry.md: + id: 7736be48f0db + last_write_checksum: sha1:bdf112552d37ad1932996336ea6e6a019a93043b + pristine_git_object: 76ef7320ccd4daeb82b0ed167f1956065e78494b + docs/Models/Operations/FromDetails.md: + id: 55a97aa08507 + last_write_checksum: sha1:ec5337a9fb30c0d9918166f74e609307493346ff + pristine_git_object: 4ddb1d8ce3d5ca1dead627900b5faeff49ae4871 + docs/Models/Operations/GetBankAccountByIdRequest.md: + id: a80864f943fc + last_write_checksum: sha1:84b2a703d89ac25f3c2d46fa0536d0d5720abeae + pristine_git_object: e9445d3f410bc0943920e814b0e47afc3a4057d2 + docs/Models/Operations/GetBankAccountByIdResponse.md: + id: 999b922f88b8 + last_write_checksum: sha1:be05c3f731145e27653bfcb84c8907703576862a + pristine_git_object: 8557c405424f1c053f80f810eadfa51b424196e8 + docs/Models/Operations/GetBankAccountByIdResponseBody.md: + id: 38bcb881ec81 + last_write_checksum: sha1:06b5e54d2e7165fb82a2e489a5a569d13e4f7db6 + pristine_git_object: 5e508466b845bf5d3625c9f0dd0b44ba6c4fa4f3 + docs/Models/Operations/GetBurnRateReportsRequest.md: + id: 516ee2848667 + last_write_checksum: sha1:adea31a5317cf11d427ca6dafd0493a3ec2034a8 + pristine_git_object: dae692b11e9d958268bfed557c046aca84395b64 + docs/Models/Operations/GetBurnRateReportsResponse.md: + id: 79505e8c8f8b + last_write_checksum: sha1:5807aa2aa73b8c1797842fb04aa818704716822e + pristine_git_object: 918229a32f39bac51edf70afb1833b4c2ef397da + docs/Models/Operations/GetCurrentTimerCustomer.md: + id: b06e0b497a96 + last_write_checksum: sha1:209cd6cf9341436a562dffe842afb9ecefe3d4fe + pristine_git_object: ada72bff765553f390852e037fc1ffa2d2c60b1c + docs/Models/Operations/GetCurrentTimerData.md: + id: 0f5bc75f55b6 + last_write_checksum: sha1:fd7c67a9112cc3d1c3eb42286517211ad947a96f + pristine_git_object: 19a58d45183ad14385873aa3b993cf6a0bdb27ef + docs/Models/Operations/GetCurrentTimerProject.md: + id: 1b9e653b8d01 + last_write_checksum: sha1:cb539e4be35a34218ee21be84232d768e0b3e35e + pristine_git_object: 8e9ee6cf719647bdb163ffda32c412eba91c2145 + docs/Models/Operations/GetCurrentTimerRequest.md: + id: 2766b5f4f2de + last_write_checksum: sha1:4af8b0cde1a693c20c20e9d801c012beb8959aa8 + pristine_git_object: 6e2bc9301d1477196036de0a26692d9681ab31f1 + docs/Models/Operations/GetCurrentTimerResponse.md: + id: 83f5716d9649 + last_write_checksum: sha1:ae5f2878015422f981c9ef02d71ddc504a13e320 + pristine_git_object: 5408674ada112fdbab1560a361ba9c00f32697f9 + docs/Models/Operations/GetCurrentTimerResponseBody.md: + id: 666e0ee0e611 + last_write_checksum: sha1:5fdbbfd00e9cc728b5585f3a00ab364132108f4e + pristine_git_object: fb3f5d95507f166b187e0078e946f2273d7dd3da + docs/Models/Operations/GetCurrentTimerUser.md: + id: 15592a6f8775 + last_write_checksum: sha1:32b71fd773f30eed34dee187b08ffe014e85b181 + pristine_git_object: f8f33d08604d3f2926025b3cdfda9a7bfbd345a1 + docs/Models/Operations/GetCurrentUserDateFormat.md: + id: fbfc157d5a5b + last_write_checksum: sha1:7eafb22583d3090343816aceca8eab30cc77a01b + pristine_git_object: 4c9aac254a3d63331591e676915f0dc855e92681 + docs/Models/Operations/GetCurrentUserResponse.md: + id: 0a89410959a6 + last_write_checksum: sha1:c2078a0786d84e1fbf6c48d1b54bb8e220eff846 + pristine_git_object: d7b853789dec844a1227705b904358f1fb256560 + docs/Models/Operations/GetCurrentUserResponseBody.md: + id: 50770407f464 + last_write_checksum: sha1:14b2c431b251481642635d25ef6484c26f408c00 + pristine_git_object: 8d9e457a585a2ebf6440f100310606bae8aa05ae + docs/Models/Operations/GetCurrentUserTeam.md: + id: f4db667407b5 + last_write_checksum: sha1:a580adaf8a39a2342972c4d4ae412b535153d41d + pristine_git_object: 5819d3aeafb60e4d5c72638b7a6fbbc45fa7790e + docs/Models/Operations/GetCustomerByIdRequest.md: + id: 86e8ec77bc77 + last_write_checksum: sha1:6bb2375ed226dc9b4090816c3b76fa73ba22c082 + pristine_git_object: 4baa5f9e5ff32340ae9e2b0f36ecfa321d9760b4 + docs/Models/Operations/GetCustomerByIdResponse.md: + id: 84d735b1a07c + last_write_checksum: sha1:96038c7e4223f72c9ffb0dca740ebaacbe004f24 + pristine_git_object: 5d5a998f5dc3b78abe54ae56158213806068b2b0 + docs/Models/Operations/GetCustomerByIdResponseBody.md: + id: 0f7b3c696bc6 + last_write_checksum: sha1:de30cce7e75ccfa71cb0406ea07adc7122397fc8 + pristine_git_object: f725dee206ab74874e07ad0201b76bb0814d5eed + docs/Models/Operations/GetCustomerByIdTag.md: + id: 4dae1537053f + last_write_checksum: sha1:e06c56d4d51e2665ceec7401c9b0a74acaa60d34 + pristine_git_object: 99eb7c7f939ebdf7e289a1cc3a709cfd553288d7 + docs/Models/Operations/GetDocumentByIdMetadata.md: + id: ad4c0a01d6ad + last_write_checksum: sha1:9f8525e8f12f02c7d8c25ff9072309398e2b9bad + pristine_git_object: 60c962f1cf6e222e01e88e1566afa7dbd6f4c537 + docs/Models/Operations/GetDocumentByIdRequest.md: + id: 05d6001098c0 + last_write_checksum: sha1:c03be9a1d29c7673918eee77a3ea565e2d41cf6d + pristine_git_object: 131c08296f720a842833768b6c6f3efaaa64abd1 + docs/Models/Operations/GetDocumentByIdResponse.md: + id: 6fde3eeaccb9 + last_write_checksum: sha1:1f1ac1bbad5cfd7abec9ea6e483577ca594b67e0 + pristine_git_object: f41a03675574ce34532d8911f8cbf589bea70066 + docs/Models/Operations/GetDocumentByIdResponseBody.md: + id: 939507618a94 + last_write_checksum: sha1:52b3971ef3301a3e891ad97aa19ae64cca64b18a + pristine_git_object: 04ce82c1c7f62d028ca7a34d766512e0d9b47834 + docs/Models/Operations/GetDocumentPreSignedUrlRequest.md: + id: a32de4353efa + last_write_checksum: sha1:dde2284b4a2018caab4ffb132d4d74ded514669b + pristine_git_object: 920ce3abc7fa43f88482eeb6d37609904ced7250 + docs/Models/Operations/GetDocumentPreSignedUrlResponse.md: + id: 0049068e7e6b + last_write_checksum: sha1:fd06b01ad6253164f0a12ded5ae994f393aa1269 + pristine_git_object: 756d68806ac6605afe5724ec7a35bbca3474dae6 + docs/Models/Operations/GetDocumentPreSignedUrlResponseBody.md: + id: d9eb996d58f3 + last_write_checksum: sha1:0c82fafa6ec7fdb716014445f06f738370185adb + pristine_git_object: beb401cec65832fe1a89e4c014597aaab68af9ee + docs/Models/Operations/GetExpensesReportsRequest.md: + id: 49ff545c7a29 + last_write_checksum: sha1:82075744eccfc3b0fbacd9ada5bb26ccd85d16e8 + pristine_git_object: b28718e895d5e864065d6792843255dc85977cd4 + docs/Models/Operations/GetExpensesReportsResponse.md: + id: 1da78626503d + last_write_checksum: sha1:b0cc018a0d5ea3ec4e42d1df65978054b630c4f3 + pristine_git_object: 7ff6af1038993dd424b8a5bdf95d2195f6187a6d + docs/Models/Operations/GetInboxItemByIdRequest.md: + id: e511e09b3c90 + last_write_checksum: sha1:441f26fb762fab498d752368cdaf824b9f9dc577 + pristine_git_object: cbc4a42205da4ecd7cbdc8d14c60979237fce159 + docs/Models/Operations/GetInboxItemByIdResponse.md: + id: 3d8d9d7e96d9 + last_write_checksum: sha1:e78e2a120047b093980b38dab43b122c7d3c7983 + pristine_git_object: eb8670d68950095622ae749febd3af184266d44b + docs/Models/Operations/GetInboxItemByIdResponseBody.md: + id: 76176e05d38e + last_write_checksum: sha1:ef00c165491936d61911620305192c4f29ec27cd + pristine_git_object: 0e5380cbcd166ebe6b89885a65f4e02118215fc3 + docs/Models/Operations/GetInboxItemByIdTransaction.md: + id: 4a93dcff2b55 + last_write_checksum: sha1:d4203bf9270fa2f0f3be34c1d7898c94c3ba5e9e + pristine_git_object: 76187448bd52ed884a6cacedc2591215f683577e + docs/Models/Operations/GetInboxPreSignedUrlRequest.md: + id: 9ad39595e5f7 + last_write_checksum: sha1:770bafcd92d22dd01003c6111a9128df5e6ef7a7 + pristine_git_object: 5348f928e4ad04d61b88f59e7e7ef4e8320cf0bd + docs/Models/Operations/GetInboxPreSignedUrlResponse.md: + id: f77078053cd8 + last_write_checksum: sha1:904f54f32d288ab405b95a9f64889c93d4ce5008 + pristine_git_object: 86eec5eaeb91f3a4b38938d29e731656a81c1b03 + docs/Models/Operations/GetInboxPreSignedUrlResponseBody.md: + id: fe77cdcf9cf5 + last_write_checksum: sha1:549aa8bc0b06dab995f2c94bba908e02424ff8c6 + pristine_git_object: b36ff0f7450de44798ded54bae588063fcb0e2de + docs/Models/Operations/GetInvoiceByIdCustomer.md: + id: f45bf8597717 + last_write_checksum: sha1:c0cb20d18581356770af7ac42db91dec6b1bba71 + pristine_git_object: 36b317b0a5ca855c701f2ad1c29229a6882ce4a7 + docs/Models/Operations/GetInvoiceByIdRequest.md: + id: ccbc858d18af + last_write_checksum: sha1:ddc9eb89583148ca92472b0b0c9c5150fb8c94ef + pristine_git_object: 040658e02c8aa211d7890a53010c3fb15a73efa3 + docs/Models/Operations/GetInvoiceByIdResponse.md: + id: 05b7e7e823ec + last_write_checksum: sha1:e3d656510ae674e49030914ae4cb8cc280823ad7 + pristine_git_object: c88cf61af8a32a7a408d254c66e05a9c06f89a77 + docs/Models/Operations/GetInvoiceByIdResponseBody.md: + id: 2a19509820ca + last_write_checksum: sha1:32919afa539e94c0d13a09441f95c62aef2472b6 + pristine_git_object: f07629cbd0109f38b099944451a913f7a2198541 + docs/Models/Operations/GetInvoiceByIdStatus.md: + id: ad30df38e6ba + last_write_checksum: sha1:1e0a12383267b102793580e37cf7e4f9d49c18f7 + pristine_git_object: 349c75410b890bd95518947075b0569e799f2e22 + docs/Models/Operations/GetInvoiceSummaryRequest.md: + id: a2763c110901 + last_write_checksum: sha1:6e040a4e8c089b468af1298a1c39ebe0766e01ed + pristine_git_object: dc7833309a3770b87c910ab4b83905268744a8d0 + docs/Models/Operations/GetInvoiceSummaryResponse.md: + id: f4713b92cfe8 + last_write_checksum: sha1:54a371e19d23c4ca8200961de83e3a6741076f29 + pristine_git_object: b02e533b2dcec4b79bc0a4bb54fa88a2be4fa9a8 + docs/Models/Operations/GetInvoiceSummaryResponseBody.md: + id: be3ffb7d5163 + last_write_checksum: sha1:7d808752d6b05bf24dfa4355f7bef45e3e760f32 + pristine_git_object: fc628297e97b573d62ebaa498b1d248e54e92064 + docs/Models/Operations/GetInvoiceSummaryStatus.md: + id: 2b8d46662e4e + last_write_checksum: sha1:20615a9da7bc9a98967f54a0b03acdf2c4f518d5 + pristine_git_object: 0311efefd9ec445bacb7f04436ea80499a5a9280 + docs/Models/Operations/GetInvoicesPaymentStatusResponse.md: + id: aa39c0e35e46 + last_write_checksum: sha1:5fa92170d50d57e820007f9097d5935ecbfc96b0 + pristine_git_object: 0d3f023f3c1670721c5ce64dcb0519557255e335 + docs/Models/Operations/GetInvoicesPaymentStatusResponseBody.md: + id: 63b142076b0d + last_write_checksum: sha1:de34783c31f55a98412de3b178a4a9a21f6a148f + pristine_git_object: 84fd969813e3ca9df0a1ae8d821e21bec7b486c5 + docs/Models/Operations/GetOAuthAuthorizationRequest.md: + id: 6ac95b0eade6 + last_write_checksum: sha1:6a28673e871891baf2b77697f6e9b0740549440f + pristine_git_object: ce774816185c28fb729501446e09f77c08d39f16 + docs/Models/Operations/GetOAuthAuthorizationResponse.md: + id: 86463845c78e + last_write_checksum: sha1:acac14d69bf802a7188a153a575f6769ba0e339b + pristine_git_object: 9128b802d2bf6414cbd195b94873ca1171881437 + docs/Models/Operations/GetOAuthAuthorizationResponseBody.md: + id: 2268538d22e2 + last_write_checksum: sha1:efde34b86e24035472b13bcca4ddbd33765b31d0 + pristine_git_object: c2dbfb6f40b530107aa390fdd0f4500e9fb0304b + docs/Models/Operations/GetOAuthAuthorizationStatus.md: + id: cf676bb2e0d2 + last_write_checksum: sha1:324572b6fef754530dc968e087de545dc4477e92 + pristine_git_object: 7bef85bef83aad16e262350b012f5075972b2501 + docs/Models/Operations/GetProfitReportsRequest.md: + id: 174e5122f41a + last_write_checksum: sha1:c12b3880ec2cb5f119e528a8f2b5393f97952f19 + pristine_git_object: 700334dd764a0b62a08a32f9d012b0cfc644dc23 + docs/Models/Operations/GetProfitReportsResponse.md: + id: d5918bf5356d + last_write_checksum: sha1:3d069b00c900bd8132c6e2be6b9f67278215401e + pristine_git_object: dc62b9f519accd5f5ebf23aa844a3cb70ca3da02 + docs/Models/Operations/GetRevenueReportsRequest.md: + id: 864b4bc4a6c3 + last_write_checksum: sha1:daf53dad0eaaf2a48da802a5c0abe24fc964c8ca + pristine_git_object: cbc97630503c23beeea0d3b78d6856033d06d8b8 + docs/Models/Operations/GetRevenueReportsResponse.md: + id: 38150508abe7 + last_write_checksum: sha1:89ac8f7a8db10a20e74f34bb35179219a1b4a240 + pristine_git_object: 2f7cf9f5e7efd95a39534c9d4a538ea5a71ebd93 + docs/Models/Operations/GetRunwayReportsRequest.md: + id: a28dd3201444 + last_write_checksum: sha1:67c52c5ffd8a3836cbed369fa40748d1de4d3fa0 + pristine_git_object: 8b5d6778026aad8bfbfcc3eb60dab7f1aa671a54 + docs/Models/Operations/GetRunwayReportsResponse.md: + id: e161ce5c7dab + last_write_checksum: sha1:8fae9d873427bf25e01e844a2f4541bed8e0f44e + pristine_git_object: cdefc9bd82fb2d38b75aad0e608d34d4d3ccf3a1 + docs/Models/Operations/GetSpendingReportsRequest.md: + id: 14c94b75b85b + last_write_checksum: sha1:d4b9e4e460cf83eded8badfc2a4c436ec3201a8f + pristine_git_object: 7605e32fa40f3855b963845ff421c72ace0e251b + docs/Models/Operations/GetSpendingReportsResponse.md: + id: 81dd5a8eb2eb + last_write_checksum: sha1:330db32ffb45765031af86cddae015ae501c34dc + pristine_git_object: b0d33b74614cef7c1a0519fff4e03fff16b422fb + docs/Models/Operations/GetTagByIdRequest.md: + id: 25f78102b765 + last_write_checksum: sha1:31a584ed51824f1f454010f33ca3195952a63c26 + pristine_git_object: 809dce2314570ea76fa1476cf900200e2ac4f75b + docs/Models/Operations/GetTagByIdResponse.md: + id: "222915816648" + last_write_checksum: sha1:e2a19045792d82767534c87cac44db00c776da96 + pristine_git_object: 24c905da0f82348553298c125070eb528138d1ce + docs/Models/Operations/GetTeamByIdPlan.md: + id: 7f4e920b4b73 + last_write_checksum: sha1:450c0daa518d95cd5027d4be3fc2650bd5947fd9 + pristine_git_object: 41d88ba8a83abb6c97ffa960d18f7ffe10d82c9f + docs/Models/Operations/GetTeamByIdRequest.md: + id: e22ba422e1ce + last_write_checksum: sha1:b1d1000c96007d7ec7d164774b201dc6378adddc + pristine_git_object: 1e7135261deb4336f73d47b9eb34465a7c53023f + docs/Models/Operations/GetTeamByIdResponse.md: + id: b1d78f05664b + last_write_checksum: sha1:976df4b0a95da59bb906c60c4327973a7e821647 + pristine_git_object: 04b97ff61f91c0bf008c16d0ce3e5811b4d64271 + docs/Models/Operations/GetTeamByIdResponseBody.md: + id: 4c413498045c + last_write_checksum: sha1:4d20cc8ee55053dace5575e5aa838e0a60ff6c04 + pristine_git_object: e499dfc5f79f03d09bdf371fd4f79c3a828040e7 + docs/Models/Operations/GetTimerStatusData.md: + id: a5a82d4ca288 + last_write_checksum: sha1:760af4ddb5fadba788e60a25e9c709868200d1ea + pristine_git_object: 184a48c36439b49538e5cda0c660075c894bf783 + docs/Models/Operations/GetTimerStatusRequest.md: + id: a53bad7df62e + last_write_checksum: sha1:656f38dffa2b5fd4f1a2f60d09cd7dd30d1712c8 + pristine_git_object: 9c8f1bd8a1521e5ba528da6d5fcd463c52964bd6 + docs/Models/Operations/GetTimerStatusResponse.md: + id: e004995bcd6b + last_write_checksum: sha1:a4be37d10e1feccb2ee72d89a420dbb3e2814a1f + pristine_git_object: 8c2d98e0545e886aec2cc983992854ac84699d05 + docs/Models/Operations/GetTimerStatusResponseBody.md: + id: adaf08a79015 + last_write_checksum: sha1:9a8c1b23df4836cec6b4a45080145128398d8ab2 + pristine_git_object: 5c7fa975f85f5fd152b4fce9aa569861e5eb2aaf + docs/Models/Operations/GetTrackerProjectByIdRequest.md: + id: 11220442deed + last_write_checksum: sha1:4ecfcc9dffe91b092db8c573ae5ddd8149efd01d + pristine_git_object: debb1738e21b74c7af3b53dac3e6ffb9d83d442a + docs/Models/Operations/GetTrackerProjectByIdResponse.md: + id: b29278574cf6 + last_write_checksum: sha1:4984082c5d556775ca876f7289a5b6d3804d3b1e + pristine_git_object: 540099b2b60b6dd0a0b41cd76b45c825e6063096 + docs/Models/Operations/GetTransactionAttachmentPreSignedUrlRequest.md: + id: 0c436db5bb64 + last_write_checksum: sha1:bccac24537a82cdc5906d82f48084af882d31efb + pristine_git_object: e766661a5bf4dc78cc83025db14c8245ab58e90e + docs/Models/Operations/GetTransactionAttachmentPreSignedUrlResponse.md: + id: 61e828de5c7e + last_write_checksum: sha1:aafa5e5dbf2238083d5422d94959521fcc14dda5 + pristine_git_object: 51b13214cf5bee0075dd9b409ebb9bdb5330f202 + docs/Models/Operations/GetTransactionAttachmentPreSignedUrlResponseBody.md: + id: 62208978e831 + last_write_checksum: sha1:6d61f84da8b63cec6a1deb98c10955e14131ebff + pristine_git_object: 33cba806cbb1280abebd9eb423c8f96469f8c02d + docs/Models/Operations/GetTransactionByIdRequest.md: + id: 1118f725db09 + last_write_checksum: sha1:284e5f9f7aa7639a1bd69c928437fc8615f51958 + pristine_git_object: 0efe1c92fcf22b7485088f27c1924f796965efe7 + docs/Models/Operations/GetTransactionByIdResponse.md: + id: 20d5d567c5df + last_write_checksum: sha1:5146437fa62c2e87a40ec205a30694d037fc273f + pristine_git_object: a88b1cd23ee468113b11d5646a097e4d0ff7fb28 + docs/Models/Operations/GrantTypeAuthorizationCode.md: + id: 297a8c13d907 + last_write_checksum: sha1:ef23bd588282e37eb6c8adc700b40c32aa2ce1cb + pristine_git_object: decc388cf768f24ec38fd62e49db22760a09ff46 + docs/Models/Operations/GrantTypeRefreshToken.md: + id: 5064615faf8d + last_write_checksum: sha1:5206b6dfe35f1d50b84fd117a4438d552cb89802 + pristine_git_object: 33573defa427874341cc2f58057687aef50d890a + docs/Models/Operations/LineItem.md: + id: d5b9f8f9d6a3 + last_write_checksum: sha1:a634f0340d215e8a4128cd0e1cd43c44bba56f42 + pristine_git_object: cb0c13e0945cb15daafc6a3dfe37e385a6772d22 + docs/Models/Operations/ListBankAccountsData.md: + id: a9658207643a + last_write_checksum: sha1:f22528b9f628c06f0bf9c05aa16d83a78f4b8235 + pristine_git_object: e61de0cf10ac2eca55a79c6147ecd11dbffe0d93 + docs/Models/Operations/ListBankAccountsRequest.md: + id: a06949e568af + last_write_checksum: sha1:97dcdc688c3f28c449849fda4e77a4bc455622e2 + pristine_git_object: ac898184e0a93511ec9c749286792ecf0845f4e7 + docs/Models/Operations/ListBankAccountsResponse.md: + id: d9283999d605 + last_write_checksum: sha1:1a0d55e83aa331e174e77a7329d0a29091e76d61 + pristine_git_object: 20d8043747571d58f7a2c467238e54220a1e7232 + docs/Models/Operations/ListBankAccountsResponseBody.md: + id: 3e9b35929d79 + last_write_checksum: sha1:797a507ac1b636c8122c6c7acc1e1abb5a3fb98d + pristine_git_object: b9628fca062eed45069d7e1b9124579526496165 + docs/Models/Operations/ListCustomersData.md: + id: 55ef476dc1d4 + last_write_checksum: sha1:a317de906660189d6ecb032d34ba54fdc0dc9957 + pristine_git_object: 11236fa2698840985235e849de3307235e7bceeb + docs/Models/Operations/ListCustomersMeta.md: + id: acedb704149e + last_write_checksum: sha1:8aa714c6268a89dca76fd3b18daaf2eb7c1625d5 + pristine_git_object: 9cad15cd7fc8118763456ae5a00ede4c7c20ed6a + docs/Models/Operations/ListCustomersRequest.md: + id: 14dfea8d498f + last_write_checksum: sha1:6de1e2205dae8a304dfeae51eadd95580d43343e + pristine_git_object: ad9d4b94d4792990316d0f37a6587593f026b2b4 + docs/Models/Operations/ListCustomersResponse.md: + id: 811ba8126a88 + last_write_checksum: sha1:469f1205d34cb6367261dad93e8f30c26f804484 + pristine_git_object: 23d2d672b57b6d0d04472984a98c8ea4043d1019 + docs/Models/Operations/ListCustomersResponseBody.md: + id: d70afaed93a7 + last_write_checksum: sha1:92937e901bde3faa1972e5ac34010f21c6693b95 + pristine_git_object: 1ca30cb0a626b7f735a56a657429a8d2ae23b3da + docs/Models/Operations/ListCustomersTag.md: + id: 19d4aa973704 + last_write_checksum: sha1:451e7000fb82028b13373b63ea1a42ae56b00225 + pristine_git_object: 169589092c0b7135da5a31baa1124319a772aa78 + docs/Models/Operations/ListDocumentsData.md: + id: 0e82135ab070 + last_write_checksum: sha1:40967315ed7151afe58a5d637794790b0570031a + pristine_git_object: 8957a8b10ed467ca76d79e1ab4a0c0b87300ca43 + docs/Models/Operations/ListDocumentsMeta.md: + id: b935610c6043 + last_write_checksum: sha1:766b1bb578eb39cde5615b42233619a18dcdebfa + pristine_git_object: 1ff86c045bdd4806981a2bf3467eba472b6f3838 + docs/Models/Operations/ListDocumentsMetadata.md: + id: 420aaf034840 + last_write_checksum: sha1:fead2db7b15656a5af5e31dcec8daa8408a68945 + pristine_git_object: 39b942ad92a15fc47be05892ae74215bb42ec399 + docs/Models/Operations/ListDocumentsRequest.md: + id: 73d3a5056e0b + last_write_checksum: sha1:98a4c83ad25e474aac37d52df090294a65994a1d + pristine_git_object: 07972fa6a3ee13dc273cbda29d6d52b23ce7f846 + docs/Models/Operations/ListDocumentsResponse.md: + id: 5f9803c90bce + last_write_checksum: sha1:b471bd87bba89c5f93854ce313f24a428f9f51fe + pristine_git_object: c4786489556d3cf5e264d2582ca4e99c0a4db10f + docs/Models/Operations/ListDocumentsResponseBody.md: + id: b03867c2134b + last_write_checksum: sha1:172e6806568073136e6e818490afe8bd3d5d21dd + pristine_git_object: 3f3b7785b9a38fba8c307f885d8aaba0434b6ba2 + docs/Models/Operations/ListInboxItemsData.md: + id: c929d830f8a2 + last_write_checksum: sha1:f16c1e98d5ee7eec94e11c96c76adb56a7f8e51e + pristine_git_object: 00de8a25c1a6532bc82dad309d7ec30e8b99dc05 + docs/Models/Operations/ListInboxItemsMeta.md: + id: bb017f9f5109 + last_write_checksum: sha1:b3bde3a60c5df9cd0323b3bb8274493bd7087cbe + pristine_git_object: e660abe69f72ee421a61f4807233435c12348fbf + docs/Models/Operations/ListInboxItemsRequest.md: + id: 2d47b032172e + last_write_checksum: sha1:d636135e97c51a2c1f8a45e5bc2281f1d2fb9893 + pristine_git_object: d0b33ffd44f10ac97502d463b233a3de40d1aa8f + docs/Models/Operations/ListInboxItemsResponse.md: + id: 8cafa455eb73 + last_write_checksum: sha1:ba4b288ccfde35f07ec5552606979f6b6991a460 + pristine_git_object: 3db9e8f1e3b0ab5fe85d4d0dc3ab4ffc8df6d58e + docs/Models/Operations/ListInboxItemsResponseBody.md: + id: c7815ff5a97e + last_write_checksum: sha1:fee5520329af9d5cbcd13fb9482d637d23c4842e + pristine_git_object: b817285c6c45a450b22f495415d2d3a70e323829 + docs/Models/Operations/ListInboxItemsStatus.md: + id: d6625a26e42e + last_write_checksum: sha1:7c59dbfc9946cc16c678fea06e5cda749ac26ea7 + pristine_git_object: b559cc8948e1877ec9b45cbe0b6f9972ebc82f68 + docs/Models/Operations/ListInboxItemsTransaction.md: + id: 8dc631520017 + last_write_checksum: sha1:4d52953a96cd188ddba97bb81468e5864de195e4 + pristine_git_object: 822c69937b79329c95bc6a93db0cb1cc1251607b + docs/Models/Operations/ListInvoicesCustomer.md: + id: 9e675b2d215b + last_write_checksum: sha1:8f790010bd6468cafe504308c945f47329a01089 + pristine_git_object: bdb5f8aff8b30e73aa8ebb15734bac887b0cb568 + docs/Models/Operations/ListInvoicesData.md: + id: e3f779afcb17 + last_write_checksum: sha1:6164171bccfaf817f98a6b68dc6cafb2827b846d + pristine_git_object: 70b81e2b11676ea60cd33d2b832c9b27b2d4685b + docs/Models/Operations/ListInvoicesMeta.md: + id: 71ed76b047bb + last_write_checksum: sha1:89a5227385a6b4cf024f041196d52fcf31717fdd + pristine_git_object: 7ad69a39550773162d734980560fb620b0cf8442 + docs/Models/Operations/ListInvoicesRequest.md: + id: ca636d005698 + last_write_checksum: sha1:871dbbe40413317c91693480dfa5113d51418c2c + pristine_git_object: 85a5b538fc4a9e5efbc4c8482f6fe93aa9790ae5 + docs/Models/Operations/ListInvoicesResponse.md: + id: ad6eabf34a54 + last_write_checksum: sha1:01e07bf1c98104536c05add12d2bc24ddeb6c753 + pristine_git_object: 646daac164aac981bbd71002d48901434deecd9b + docs/Models/Operations/ListInvoicesResponseBody.md: + id: 08c1f9719f2d + last_write_checksum: sha1:f49c2ba2ab3749251081d2cd52e1a2c27a7df6e5 + pristine_git_object: c05582fc66c2f2ce173218153a3145b9fd929df7 + docs/Models/Operations/ListInvoicesStatus.md: + id: af792e5fcad4 + last_write_checksum: sha1:2b88834150c71c831c890878419f0beee8771b84 + pristine_git_object: 981fd151137fcd33558e76c7172ac708c653e6ee + docs/Models/Operations/ListNotificationsRequest.md: + id: ea802a637786 + last_write_checksum: sha1:e65a2dedf95dc4def13d0b5a6808d42db69764f2 + pristine_git_object: a7889e37ce03e73b1fcbf85baab1f37000fe9a0e + docs/Models/Operations/ListNotificationsResponse.md: + id: e5af45267268 + last_write_checksum: sha1:27433a0761e41768bf027de4f2f4462d923ed99f + pristine_git_object: 1527dbac3ce55c6903835d34e7b7fac816ab755a + docs/Models/Operations/ListNotificationsStatusEnum1.md: + id: 4d34cd494e6f + last_write_checksum: sha1:8f8a44f8c10f6dba084f43f945f450aacafa751e + pristine_git_object: 7142df2a8049ebcd238b4fd4717367ee0a3f7da4 + docs/Models/Operations/ListNotificationsStatusEnum2.md: + id: 155eb3604f3d + last_write_checksum: sha1:c6e7c8e7197bb63c4d4724cc30a051234e6243e9 + pristine_git_object: d653245c9579615b0313a905b5c577caec61a49d + docs/Models/Operations/ListTagsResponse.md: + id: 73ed32535b7c + last_write_checksum: sha1:01ddd90f0ed34e567558ecb7dca1be6d60acde56 + pristine_git_object: 4bfcbf94ddbc967013a523f94d2aa3df0d58b5fc + docs/Models/Operations/ListTeamMembersData.md: + id: 99748a67d46c + last_write_checksum: sha1:983f83e0a9a91be13b77097e4d2f512222af369a + pristine_git_object: 0ffe0955b21a03f61f4610b6ba0cb4b1fb946f4d + docs/Models/Operations/ListTeamMembersRequest.md: + id: 4f0db6ac5fcb + last_write_checksum: sha1:702e98ddedbc2d0288fc90b96cbd79fca41941d6 + pristine_git_object: 0519dd5e52c0c784493f1c8075c46b5f4e6f929b + docs/Models/Operations/ListTeamMembersResponse.md: + id: ee7b638c70e1 + last_write_checksum: sha1:97f91247144a643476cc7d34eeb1d22fa4c0aef9 + pristine_git_object: 0eaf455cc28b84395a81f4c683769f1185167ac7 + docs/Models/Operations/ListTeamMembersResponseBody.md: + id: 4aa731c21ed1 + last_write_checksum: sha1:2194fce9692f1c17a8b0ab990ccdafae35c68496 + pristine_git_object: cb3db2083e1a477cbdf60c7d495031437d06c21f + docs/Models/Operations/ListTeamsData.md: + id: 6bc61e3347e6 + last_write_checksum: sha1:8f7a6190260eb9ed3aa3b983980dffc2f254a18e + pristine_git_object: 358858ee470a7481fb0c88b60a8d851cd09da309 + docs/Models/Operations/ListTeamsPlan.md: + id: bf80f89bd407 + last_write_checksum: sha1:6aae7cd60de9a48145075a00ddca3ba0b038d76d + pristine_git_object: 1683aec331a0be483061242a94a91faecc76b67b + docs/Models/Operations/ListTeamsResponse.md: + id: c5b0651f1743 + last_write_checksum: sha1:20a24755444923ae185084bb857725f9980d79d3 + pristine_git_object: 3ce6ef57881271f07dc3b1bdf2325a1c8a4e3d37 + docs/Models/Operations/ListTeamsResponseBody.md: + id: d907b8c0e458 + last_write_checksum: sha1:8defb48cbe8881a29b56a7628d440c5a63136168 + pristine_git_object: 631c046a630d3d87cfd1f2d4bc449a3a979fa051 + docs/Models/Operations/ListTrackerEntriesCustomer.md: + id: 5f18d8a283c9 + last_write_checksum: sha1:259c65e8257c8b2e84ef30e61757010b46a4746d + pristine_git_object: 2b5ca750ba787e53cca2fffdd9b1d708d083d821 + docs/Models/Operations/ListTrackerEntriesMeta.md: + id: 6b3b90d33aee + last_write_checksum: sha1:96216aeda8ad3da1207843ce6f8317a35c0c85b3 + pristine_git_object: 2808534a8c5753efdea57263bfd2aa114d5811ff + docs/Models/Operations/ListTrackerEntriesProject.md: + id: 6eebc39aed6f + last_write_checksum: sha1:f081c952aea1ae1c0fafed0b2404afef4ef456c7 + pristine_git_object: c41189d2ea6f84e16b19607f0217859b0f29c2df + docs/Models/Operations/ListTrackerEntriesRequest.md: + id: b99284509b9d + last_write_checksum: sha1:2939442ded81a9350973ff1570a44be75a76b05b + pristine_git_object: 0e4a3cb7fd5f2d7ba1d49e05ada0c58c8ffd9a16 + docs/Models/Operations/ListTrackerEntriesResponse.md: + id: 35852021c95e + last_write_checksum: sha1:464c713f5857651b6e59bd12b1e6c98c33b458e8 + pristine_git_object: 4041a3e71a9ce8fee9f075701c8cfcee61bc0326 + docs/Models/Operations/ListTrackerEntriesResponseBody.md: + id: c525608e6c5a + last_write_checksum: sha1:a91bfc9c4b30990da27e75f5460e73374d371e3a + pristine_git_object: f8359814fafc2ff5c3c4b9938a1c6ec07d181faa + docs/Models/Operations/ListTrackerEntriesUser.md: + id: fb6756caac2b + last_write_checksum: sha1:2a3787a5834e6def4b1db2898a951f1aedf4cc5b + pristine_git_object: ba1255b4a1a720079f69b32074d3a7e86cc4e9a4 + docs/Models/Operations/ListTrackerProjectsRequest.md: + id: 26b9708646a4 + last_write_checksum: sha1:8f3bb6209f7b090a7bbe38dc3e49632189ed4845 + pristine_git_object: 20d3de3940dce0b97d1410dbc7db30b364c80704 + docs/Models/Operations/ListTrackerProjectsResponse.md: + id: d9cc56010041 + last_write_checksum: sha1:d6ec2b69dee01ab0c7413bca2138330030aeee9f + pristine_git_object: c819653e3d2e93ef33fcb091ceb685c40b894326 + docs/Models/Operations/ListTrackerProjectsStatus.md: + id: 51f3a65f2d4c + last_write_checksum: sha1:50f68e7702663d2a1aa8d2d607ba9f5c9639d502 + pristine_git_object: 36f7427e8f55d95d3a59fce12e52a139b05b168c + docs/Models/Operations/ListTransactionsMeta.md: + id: d36c6aa1f41d + last_write_checksum: sha1:d1df595cd1e09998d6e1b125f0c31032af4dfd19 + pristine_git_object: 364075e8640b9467f2827183c60661c2ba04c7b7 + docs/Models/Operations/ListTransactionsRequest.md: + id: ba72c64ab88a + last_write_checksum: sha1:6a7231a958013b2851e2a15fa56e1151cd6b14db + pristine_git_object: b67bb049b961260917c048d7dab4f5294e46ec05 + docs/Models/Operations/ListTransactionsResponse.md: + id: c7dbd3cda3d7 + last_write_checksum: sha1:53a7f48c6236b412f3f9492999715f3714e159f3 + pristine_git_object: 20f07f96e9df3b4bc798b13a8f8f2ecc638425cc + docs/Models/Operations/ListTransactionsResponseBody.md: + id: 0733e6f048a7 + last_write_checksum: sha1:75bf3508ee1d325a0bfc0470728c780780e85bbd + pristine_git_object: 7447e8a1ded44096214005516e0089fbb985a656 + docs/Models/Operations/ListTransactionsType.md: + id: 0c3634efe960 + last_write_checksum: sha1:0425b3546599bbd9d706bc4dd68cc2518cf146f3 + pristine_git_object: 9349b0fc7e7fb7bf74921443ed83f748e8508216 + docs/Models/Operations/Name.md: + id: 6ee46f7477f3 + last_write_checksum: sha1:85254e500d6f0078458a3347a30508be125d4ddd + pristine_git_object: d755936f745fbeb1a3f0a0380eba71a14dd48f83 + docs/Models/Operations/NoteDetails.md: + id: 21807720216a + last_write_checksum: sha1:53e5e1b907338fc700d5cac1fe59163cdce04de7 + pristine_git_object: 0a94190e0b4088cd4ac725d86fcf327a3552c8e5 + docs/Models/Operations/PaymentDetails.md: + id: e074c19e5ed4 + last_write_checksum: sha1:bb421918a11ce344ffd0d72df81088848758ac2b + pristine_git_object: 1895a2111628d0ebb664591ba0a7952f5bd2a0e9 + docs/Models/Operations/PostOAuthAuthorizationRequest.md: + id: 929ee17a0dc7 + last_write_checksum: sha1:81415a72cd5e451f666ca226b990b93e6f7be7a8 + pristine_git_object: a2c22970d62ba5db9495b5f66b777ac70fefee18 + docs/Models/Operations/PostOAuthAuthorizationResponse.md: + id: 4933b03e0dfb + last_write_checksum: sha1:db82b5ff4cec788782080e68aa12056d8ae7bab9 + pristine_git_object: 434b7a3a3ecae491e0c14762a0794f4f2c93da53 + docs/Models/Operations/PostOAuthAuthorizationResponseBody.md: + id: 9492ef4d4161 + last_write_checksum: sha1:641319d4f3aef6f689e12cfbf1a7646c89702cef + pristine_git_object: 7dab27e2e2ae38b402b2042cd9fb830ac72e87b2 + docs/Models/Operations/PostOAuthRevokeRequest.md: + id: 7714ce08a0ce + last_write_checksum: sha1:b5d41f70446e8dfa19cf95185100b575acc88d76 + pristine_git_object: 69318ea347553b88863ff1086c5489a919d3d81d + docs/Models/Operations/PostOAuthRevokeResponse.md: + id: 277fabd1e011 + last_write_checksum: sha1:6d762b2d5830b7af2f8c18b0d7b34064e6ff059b + pristine_git_object: 60fddae3eef5d3f062bcd8058d3a61de4f73e83c + docs/Models/Operations/PostOAuthRevokeResponseBody.md: + id: 0bc149cf47f7 + last_write_checksum: sha1:f874722184aef4f0859cba2b847bc86b259d6a67 + pristine_git_object: 8e34479f4a6960250608d61046e9402d8d314950 + docs/Models/Operations/PostOAuthTokenRequest.md: + id: 6dad7ff3843a + last_write_checksum: sha1:973588ab13e2286624016defdc757ed2446c5ec2 + pristine_git_object: 4a56455f9c15cf49593f8f5b4eee6a108dba0e3e + docs/Models/Operations/PostOAuthTokenResponse.md: + id: e4c97f29f435 + last_write_checksum: sha1:6abcdcfd792d1de5fbb37f480e0b1207308fb8a0 + pristine_git_object: c19c0870aa9c9b75f3e1719c3ec671d9f45e1cef + docs/Models/Operations/PostOAuthTokenResponseBody.md: + id: 4ea3c4af05b5 + last_write_checksum: sha1:4d698ac7a202ec01314a6c33344410b5d19f2654 + pristine_git_object: d2f1d78127041fb7de93b9b82b52c43af170b0b6 + docs/Models/Operations/RefreshToken.md: + id: 4424b9df91f4 + last_write_checksum: sha1:71075231fa909e73d504f545bd0ffaf89c349627 + pristine_git_object: e997a9c974b79454f5757c810ce689bfe3eeb9b4 + docs/Models/Operations/RequestBody.md: + id: 206a32e16c1a + last_write_checksum: sha1:db6d4bdf5ae9564ac147321d0fb782b2106142ad + pristine_git_object: 9c5c380206f7e3fe07c5538a5ded23e6eee5c4dc + docs/Models/Operations/ResponseType.md: + id: ca56c33ee3cf + last_write_checksum: sha1:0719d3a4d4ad966774b584c20ff71c23c130390e + pristine_git_object: a3b2920e1cb18665d01f457b72d3d589c763d609 + docs/Models/Operations/Result.md: + id: 5b872067e742 + last_write_checksum: sha1:be47274cf8c4bc1b5a34237b6dbf276eed0c7fe0 + pristine_git_object: abc11eaf8d03b093be7fcc84c32a0e60df7b2ab4 + docs/Models/Operations/Role.md: + id: f51cb62fa5ea + last_write_checksum: sha1:2145597849ea2ca4bbb19217bd4149f245433154 + pristine_git_object: bc614bfc0d966e2ce21f6ed72473d16d6e0461ef + docs/Models/Operations/Scope.md: + id: b476063958c3 + last_write_checksum: sha1:43ec27f1b82c9c60fe17527303c428b92bc10714 + pristine_git_object: 8601e1c3d9515a712664992dd43f9bdd1fbf89b3 + docs/Models/Operations/SearchRequest.md: + id: dc8beba6bd02 + last_write_checksum: sha1:a31a234723ff282cca02b5f0e4369f6f933b225e + pristine_git_object: 99e5de80da0706aa57421070c14d2094c1f618bc + docs/Models/Operations/SearchResponse.md: + id: b56cc7afe50a + last_write_checksum: sha1:b8d10f55eee0c1f2c70069ca4834b16635f61000 + pristine_git_object: 13d86f1cf65daaefc1d3db4a337191e5da2facc9 + docs/Models/Operations/SearchResponseBody.md: + id: edb65be2e61d + last_write_checksum: sha1:f10ba4da256c75f1226e7d6e15dffb09a07ea04d + pristine_git_object: 5d602d1ba69933e71dad0435209573167b97ac42 + docs/Models/Operations/Size.md: + id: 64616d1e2030 + last_write_checksum: sha1:769eb8243999575a63089ef65188fcc2cf651729 + pristine_git_object: 14c3789c8d8387dc300fc1f1b795910e2cc31b1b + docs/Models/Operations/StartTimerCustomer.md: + id: 09475eb56f2a + last_write_checksum: sha1:5a24e6f7d80cbe851f03d6b5d21e2c8469d90901 + pristine_git_object: 2d44cf2551d0ab324b0416d422b7f73087ae80fd + docs/Models/Operations/StartTimerData.md: + id: d8f22f673523 + last_write_checksum: sha1:0ac50439415321cc53d7b83925ca6eb93313ba5c + pristine_git_object: fb0dae494116b185549385db5ab03bc00d3ae945 + docs/Models/Operations/StartTimerProject.md: + id: b524bde3f2de + last_write_checksum: sha1:20d73fc07045d42e5b48d06cf239e9c8763c6e77 + pristine_git_object: f782c7bac4c43e01ffba2a6e41fc77fd54276953 + docs/Models/Operations/StartTimerRequest.md: + id: 747435315b08 + last_write_checksum: sha1:5569792a70787f1c649596075245b98e8c6bd902 + pristine_git_object: a1ec34c57212544b5d06a97e7a00874383bedaee + docs/Models/Operations/StartTimerResponse.md: + id: 6337cc24da0b + last_write_checksum: sha1:7127901883ca7e3ff359a32fe413b51c1cd1d4b0 + pristine_git_object: 4c880dfed628065387133dad9b6fa5d83a0e85da + docs/Models/Operations/StartTimerResponseBody.md: + id: 3d6ff3e004c2 + last_write_checksum: sha1:1396a6522879260ac28f49ed25512a4b6e32b24b + pristine_git_object: 8e40264bd8d5f578f382d3846301b3f7213964bd + docs/Models/Operations/StartTimerUser.md: + id: f0fe223783b8 + last_write_checksum: sha1:b6c4f8b7ea07657c5ef2415ee7a91ebac7bedf43 + pristine_git_object: ba42adb29b6471dd34f75e75cf935eff0ef415ef + docs/Models/Operations/Status.md: + id: 892ee3feeb61 + last_write_checksum: sha1:385f6d136a36d64cf6e0f1069435964f11656951 + pristine_git_object: 191f420a3e2108ef0a059bac5744888699e967a1 + docs/Models/Operations/StopTimerCustomer.md: + id: b4fcf1763440 + last_write_checksum: sha1:c3080dc9e6c29203b7bd6ab4ef177dbf004347e7 + pristine_git_object: ab53b6d6f9db6324e9a7890a353c8a6207098b5d + docs/Models/Operations/StopTimerData.md: + id: ad4e7fc0a50f + last_write_checksum: sha1:aa6cc39540f9608221b708ffb1fd5d6396e1ad07 + pristine_git_object: 42d2693cee5ff5bdb9a2f6f2b6f9c9c0e6170273 + docs/Models/Operations/StopTimerProject.md: + id: 0057ecf80b81 + last_write_checksum: sha1:7edbcf01f7f28543e336497d4cb053bdbb3fde56 + pristine_git_object: 78fe2d2009561aeeab47d16db83e052dae53bf1c + docs/Models/Operations/StopTimerRequest.md: + id: d6dff9bd2b55 + last_write_checksum: sha1:1d19f5a2c5dc8806072b02d388fd3df73eb8d46c + pristine_git_object: 082fb95b4353f594170a80f169607ee88cce74a9 + docs/Models/Operations/StopTimerResponse.md: + id: 62cbd4ea5441 + last_write_checksum: sha1:46769f9b051575843d086ea36dc43402dc5b4323 + pristine_git_object: 148af00b9c426fd565eb526ba0dbe948e3a48c92 + docs/Models/Operations/StopTimerResponseBody.md: + id: 3df702869703 + last_write_checksum: sha1:0b76e96036b4c9fe872cd2f455d54580bf59a312 + pristine_git_object: 5233fda2861ed83c109e747dfe0f954a2e2c40df + docs/Models/Operations/StopTimerUser.md: + id: 4e7158f06101 + last_write_checksum: sha1:0ad07fb5f5e7f96bd3e90d7e941a994f01e03b90 + pristine_git_object: b58746332e6ccc6e534e7d2717b56ce3dce7cfd1 + docs/Models/Operations/Template.md: + id: 010114d608c6 + last_write_checksum: sha1:72d24437c552c915850c8d8bea0e22e7ebb37b02 + pristine_git_object: 76b33faaa26885c6b2bc9a11157981b27a0d60f2 + docs/Models/Operations/TemplateDeliveryType.md: + id: 859f50a13406 + last_write_checksum: sha1:8900c1a58ea5b6d35b11a4a504625f783eee821c + pristine_git_object: 3e50a72ca7a5b1589a6304a57f09a102dbad6c7c + docs/Models/Operations/TemplateFromDetails.md: + id: fcf07e1ba5bd + last_write_checksum: sha1:35403dcff0ddeb7d396997d53c6f8f5e9dcf7e13 + pristine_git_object: a9f16b8a2db6a55ac71465800da3d9fa46ccaee0 + docs/Models/Operations/TemplatePaymentDetails.md: + id: 030099229fd1 + last_write_checksum: sha1:31c0ae88fa52de595c4f1d32f47efdb0fd3c1459 + pristine_git_object: d09b58029a22f8c41143e68627c12e12ac8d80cb + docs/Models/Operations/TokenType.md: + id: b2366bce33bc + last_write_checksum: sha1:34c293de4c8a61d95de5665a2e9fc54455a87cf4 + pristine_git_object: 1d3d0bf44729d8b5afa0e931b0d4c262355cdc65 + docs/Models/Operations/TokenTypeHint.md: + id: 1fe00940f945 + last_write_checksum: sha1:1a67ee436c8e87ea7df3b54a2816b46294e19ade + pristine_git_object: 8e91b8b849ead3084dabb0170084744b2a2cc0b2 + docs/Models/Operations/TopBlock.md: + id: 5785824062df + last_write_checksum: sha1:e6dcf0b47fb9bd13daa0a4c2101101befe7d815c + pristine_git_object: 140c3ba72101d0c4dae9ee0f1e4fff0a8b27a2b7 + docs/Models/Operations/TrackerProject.md: + id: 0c5091b2c149 + last_write_checksum: sha1:b236151a77c1b06ed9edc91d9fde9353d2aa6d63 + pristine_git_object: a553328e69687a783af087a30565b1fec262c9dc + docs/Models/Operations/UpdateAllNotificationsStatusResponse.md: + id: 0da4fa5372e9 + last_write_checksum: sha1:8e7b1eed3677f9adfd07707a1f9e29cc4ca309fb + pristine_git_object: 65aff4ac832d38461110ce811c3c1dd19648f7d3 + docs/Models/Operations/UpdateBankAccountRequest.md: + id: 7f62dc7d6d6b + last_write_checksum: sha1:fe6945ab4c81cbef8de5c0d75536f6c59668bbab + pristine_git_object: cc0b78e61c89a8651df849c8d84c8b9cabbc3c47 + docs/Models/Operations/UpdateBankAccountRequestBody.md: + id: d2a02e6ff69b + last_write_checksum: sha1:960a193b04cee74c081c3fd310b7c8f345824cab + pristine_git_object: 5477015c988c09bbb623e401533a80fcd545a43f + docs/Models/Operations/UpdateBankAccountResponse.md: + id: bc80ca9748e4 + last_write_checksum: sha1:6720328f7b2c50e3390dedd4bf8866e320bb30e8 + pristine_git_object: c1d5a051d3610ec7aa2bf9105ef168e898d53327 + docs/Models/Operations/UpdateBankAccountResponseBody.md: + id: ea00fcb05fa9 + last_write_checksum: sha1:c47c97d427c383e4f990949d0309fad86b44954f + pristine_git_object: 30c3db0e31dc5257b917abf0bc3cb099dd4fedcc + docs/Models/Operations/UpdateBankAccountType.md: + id: d63b13791f17 + last_write_checksum: sha1:1aa43154817138e271726fa5f671aeddc5c62354 + pristine_git_object: 5fe53f590715829fd1c433628b0a644fe51895bc + docs/Models/Operations/UpdateCurrentUserDateFormatResponse.md: + id: 1a536f78a022 + last_write_checksum: sha1:34fe9907c2219ef1be62a54900e9ebb53870a5bf + pristine_git_object: 63015f2097361f683e794f14da6f58e01beaadf9 + docs/Models/Operations/UpdateCurrentUserRequest.md: + id: 972bd11159bb + last_write_checksum: sha1:0e69ce5edfbcf457230ec659f5ff1f1f065d9ba3 + pristine_git_object: 2a5b67e6c1daf4f51cbdf532575729708e6d0d14 + docs/Models/Operations/UpdateCurrentUserResponse.md: + id: b8b45b3e9dab + last_write_checksum: sha1:c7fae4f09d138ec5749901e5e04e45f4b25f1bb0 + pristine_git_object: 74eaffa83706585dde5aaffb40e57c0478c627e9 + docs/Models/Operations/UpdateCurrentUserResponseBody.md: + id: 266cce0cac4b + last_write_checksum: sha1:f1bf930c0239fd43ae2b7d7c97dc9026ba5bf904 + pristine_git_object: 24de827e40b28e8c654873a97c37ac5121776501 + docs/Models/Operations/UpdateCurrentUserTeam.md: + id: 17f7e853b7f4 + last_write_checksum: sha1:5585f3cdbfa34f78f3bc2c1bf6be4dc2109ac363 + pristine_git_object: 84da8b5390480185c855bfd05aaa55323416a47d + docs/Models/Operations/UpdateCustomerRequest.md: + id: d1eb1a80cede + last_write_checksum: sha1:75b39b77ba482af3f65b646033ab0bc2722616d5 + pristine_git_object: 20184f9338247f23d4e0160d3ce5f85ac56128ae + docs/Models/Operations/UpdateCustomerRequestBody.md: + id: 5c1e364aa585 + last_write_checksum: sha1:1cfaa6d08fe172a2452b4162e16d1562c3f2fe0f + pristine_git_object: 350989af8916087cd25a4fdefd736b06b2e3a401 + docs/Models/Operations/UpdateCustomerResponse.md: + id: 640035487f7f + last_write_checksum: sha1:3053faae1c3cb805b1c7db9e44ff84ecd7523366 + pristine_git_object: d2909cd549620b6f13449b38d28a45dd45bb6c93 + docs/Models/Operations/UpdateCustomerResponseBody.md: + id: 0f29b966bbce + last_write_checksum: sha1:87d5d3269dd0062b2beb0d640e1acd67e0162f80 + pristine_git_object: ae86e6c9893178d82ce7b4d38ce1d36fb62ab279 + docs/Models/Operations/UpdateCustomerTagRequest.md: + id: c198ab0fb375 + last_write_checksum: sha1:2379520cb1887a042a77d62a696bc270476b30ff + pristine_git_object: 9c4e81aedb7c34591ae60050576f002c501a1515 + docs/Models/Operations/UpdateCustomerTagResponse.md: + id: fe2f87c8e255 + last_write_checksum: sha1:c55dce6f7805d5b0020fc47c8c7cf7e1d0ec2252 + pristine_git_object: 12a5822c9561260b5f09e232758577c307216537 + docs/Models/Operations/UpdateInboxItemRequest.md: + id: eef2676fa6fc + last_write_checksum: sha1:7565bd9a3eb61a64707a7ddb07b87a4aa999aab4 + pristine_git_object: fafcef155c8b6f503e75de5cd35284122ba03570 + docs/Models/Operations/UpdateInboxItemRequestBody.md: + id: 24ab63e957f0 + last_write_checksum: sha1:f2aebc97db5855ed4526246b839f27ecfce5f5e6 + pristine_git_object: 79be098f8cba80d9e5ea89899ac14fed424ba75e + docs/Models/Operations/UpdateInboxItemResponse.md: + id: 8b7ba6377b43 + last_write_checksum: sha1:856027073ca7390c22c173d20a2137b19d0748f1 + pristine_git_object: 0912b60e20284fb8c94810a448a379af54bd4bc2 + docs/Models/Operations/UpdateInboxItemResponseBody.md: + id: edec613c6c36 + last_write_checksum: sha1:eb7738af47694e43656a42c41e4c87c09d2e2b6c + pristine_git_object: c28f30f7f2e73677b44c0c69dc64ff0e40188d02 + docs/Models/Operations/UpdateInboxItemStatus.md: + id: 2ec2d6a934ef + last_write_checksum: sha1:6c8d27a78aaff468c500389443d0dc76fdf4ff7d + pristine_git_object: f7e65a6b57966aca40f6732ad00ad998d8d5a2c5 + docs/Models/Operations/UpdateInboxItemTransaction.md: + id: a52c06f82674 + last_write_checksum: sha1:597a063fb4a04946c96c8cb5788852ab9a8fe965 + pristine_git_object: 4d482fc9232250c8ad8756deac0523fabe9d83bf + docs/Models/Operations/UpdateInvoiceCustomer.md: + id: 552619e707ca + last_write_checksum: sha1:a52a7edef60543488542a87a54bd08fa2d00c8ab + pristine_git_object: b3639b73bbc4a864ed3a6764c4d1c8233bd19fc5 + docs/Models/Operations/UpdateInvoiceRequest.md: + id: 2d61d891705e + last_write_checksum: sha1:f8c5b1bec310cad900b7e302ccf3dfe98c76569b + pristine_git_object: 52b7381e8b4612f7c3d95bdbb6bdc87bde21a1ca + docs/Models/Operations/UpdateInvoiceRequestBody.md: + id: 14c8934439e0 + last_write_checksum: sha1:d3f2ce783f8d9a32ec9c9683f5485384c8f8494e + pristine_git_object: 098a0045b92e2fdf721d21b6ef138200ea07ba22 + docs/Models/Operations/UpdateInvoiceResponse.md: + id: c029f47f4ddd + last_write_checksum: sha1:62429a1b771afb0cd0317bfa1e6e0eeb055294a1 + pristine_git_object: a4fdf0630f74d4b3c439bb460edc65af23035733 + docs/Models/Operations/UpdateInvoiceResponseBody.md: + id: de8dc0d7ec5d + last_write_checksum: sha1:98c34070164d5ce6230b07084b1c0209197c6dc9 + pristine_git_object: a77b48259d737ecce0635ecab5d928616aabf1bb + docs/Models/Operations/UpdateInvoiceStatusRequest.md: + id: 3cee8ed1dbb7 + last_write_checksum: sha1:92efa689bd25dfe1d35261fe7387102ec9f63085 + pristine_git_object: aeadbb4607210fa01b3bd748fbaa51ed6cb34acd + docs/Models/Operations/UpdateInvoiceStatusResponse.md: + id: 57f0b7c4708f + last_write_checksum: sha1:c4e17f3b2d8b45bd7d5d5dd3d5ece7ef49eca61f + pristine_git_object: d04746e78a3a8eec0d674c19d0d8378a2f437d7f + docs/Models/Operations/UpdateNotificationStatusRequest.md: + id: bcec08ae3fdb + last_write_checksum: sha1:3a323167146b0a5dbe069b6bc14002d93ca1eb66 + pristine_git_object: 573d6b5da0f8fcb7d2c533c7f6f9ad1bd4c194a0 + docs/Models/Operations/UpdateNotificationStatusRequestBody.md: + id: 45a4acac38a2 + last_write_checksum: sha1:bc58f6f80696d8d870e39db80c7aeb1ce8ea589d + pristine_git_object: 988927e5933fde10682ec9df36fc37fbc05b044f + docs/Models/Operations/UpdateNotificationStatusResponse.md: + id: c9d68e2dd62e + last_write_checksum: sha1:ec044fc22c0c09ed3498438a85b8255d5f5e8527 + pristine_git_object: 4522d03e3219c0ad00f3eb96a02b376836237f96 + docs/Models/Operations/UpdateNotificationStatusStatus.md: + id: 73809587170e + last_write_checksum: sha1:dd59f83edddbc9412894e18891bf5242486820c9 + pristine_git_object: b04b4af5c406a2ba2d9b4eae255e370f9d156b75 + docs/Models/Operations/UpdateTagRequest.md: + id: 3807f7972edf + last_write_checksum: sha1:3c680d1cc33585dd9494beba5c6d236df373805f + pristine_git_object: b376fa41fb9ff6b50012a75deb1bcfb3df8dd633 + docs/Models/Operations/UpdateTagRequestBody.md: + id: 879bcce57cdc + last_write_checksum: sha1:007ba4702c3547f7f37f57bc5658c583f686e6b6 + pristine_git_object: aed6b369cf44199020867121df500d8f50b93dfe + docs/Models/Operations/UpdateTagResponse.md: + id: c95e83a48281 + last_write_checksum: sha1:1f35976451a809c73f765253f358910eff56f26b + pristine_git_object: 9e67c1427f489071f1c969085e7273bb39d84aa7 + docs/Models/Operations/UpdateTeamByIdPlan.md: + id: 8a3d817f4e40 + last_write_checksum: sha1:c099cf435b8f59d2a68c96b1b60e0c1f397044e9 + pristine_git_object: 75720aa3b20eb4670eea3ac1de933ce61ff89458 + docs/Models/Operations/UpdateTeamByIdRequest.md: + id: 41f6f8ce7a8b + last_write_checksum: sha1:ab1c01b80ecad226e4c15d75eed4abb020b6050a + pristine_git_object: ac1a23608d59767437493e76ac8273ef755e5664 + docs/Models/Operations/UpdateTeamByIdRequestBody.md: + id: 9e0ff605a140 + last_write_checksum: sha1:ea841ea0d58b5b6ca45612a1806251d9a7b511c2 + pristine_git_object: 34763312fcb91e1a40c3bac9fd51c344f1b2327a + docs/Models/Operations/UpdateTeamByIdResponse.md: + id: e31b29b406d4 + last_write_checksum: sha1:6e95f438b5b4e1d6bd4707c07037f2eb9c1c1b5f + pristine_git_object: c743128d5b860db61bf7617c71571cd1c6b5821f + docs/Models/Operations/UpdateTeamByIdResponseBody.md: + id: f6ce6cffea8f + last_write_checksum: sha1:822e3c64f513a5667358e98b98ba5c57b16c9389 + pristine_git_object: 31ef5479db568b094082730abd0862b5aa7332bc + docs/Models/Operations/UpdateTrackerEntryCustomer.md: + id: c7113423da4c + last_write_checksum: sha1:e1980fdb952cfe7ca7ce3cdc1aae522ac1c39695 + pristine_git_object: 14d967bec10cae8a29097d4efca250d598946334 + docs/Models/Operations/UpdateTrackerEntryData.md: + id: 1c9914da46a6 + last_write_checksum: sha1:997cf4ac4399a3aa29ffed85d68cca019d4ef694 + pristine_git_object: 4e7eb01bb9fbe6a966d96c5e31ae09c4481c49e8 + docs/Models/Operations/UpdateTrackerEntryProject.md: + id: 7d5623340ea0 + last_write_checksum: sha1:4c9f2577fbfe8dd278f157f61200853b23357fde + pristine_git_object: 2e7110ccb08dd8dad444a94cb80e0cf77d4eb76e + docs/Models/Operations/UpdateTrackerEntryRequest.md: + id: 088f1926d79c + last_write_checksum: sha1:fb7e903f5bfa6844565c61c3247dca1a38d03c83 + pristine_git_object: cda83154310abbd44887826afcb7f5c61beaf5e2 + docs/Models/Operations/UpdateTrackerEntryRequestBody.md: + id: 9e1aea3a5e6b + last_write_checksum: sha1:c9eec11719d442e379f1d2be333c0b2247fc1cdb + pristine_git_object: 9366320d4b3d70b4cdbbf005c8bf6d6803d1e05c + docs/Models/Operations/UpdateTrackerEntryResponse.md: + id: 1a09feea8256 + last_write_checksum: sha1:e7370136872e6c09a38573d2b15fd22af9912b16 + pristine_git_object: f3d6b14aa75c97f3c6081683926f84f42f8f97e4 + docs/Models/Operations/UpdateTrackerEntryResponseBody.md: + id: 912ccc890d46 + last_write_checksum: sha1:038ca8ae4deb7e8756c23bbe2ad9c106235b857b + pristine_git_object: 840f3aedd9e2172405021ad453bdff33af5f5b17 + docs/Models/Operations/UpdateTrackerEntryUser.md: + id: 4eec58a97843 + last_write_checksum: sha1:5cda5868abb77916eb92e244f51403fa7e8473e1 + pristine_git_object: a30c1458016696b935e53e9167952fd9db8b4c8f + docs/Models/Operations/UpdateTrackerProjectRequest.md: + id: d64bfd3c2623 + last_write_checksum: sha1:347d3d0df2e727891645f324e99d52aa75c68fd5 + pristine_git_object: 572f949c747f15bbded941e6d7b9a53f4a8411ec + docs/Models/Operations/UpdateTrackerProjectRequestBody.md: + id: 3cad3919bf79 + last_write_checksum: sha1:b102318d144a4f442624fc18dbcacc647afd3146 + pristine_git_object: 557be71d2737952e8f5044bb32ced08afd3fe94c + docs/Models/Operations/UpdateTrackerProjectResponse.md: + id: 61138d1b364f + last_write_checksum: sha1:42d04b18b96d4b53f6abdea9ad2c08ccb3bb5d14 + pristine_git_object: 4e3a80e21297d08b59801ab14b131dde506ab7eb + docs/Models/Operations/UpdateTrackerProjectStatus.md: + id: 2d3e1ab4cbf0 + last_write_checksum: sha1:94dc957175bb0bf07790d58412dea2b4004d5390 + pristine_git_object: 376804bb96c8d041a222abd38b7cd4886d7d63b6 + docs/Models/Operations/UpdateTrackerProjectTag.md: + id: 60f549cd1f9d + last_write_checksum: sha1:a5c20cf89871bad3a8dc091ac7b6fcba3037b9bf + pristine_git_object: 71fb62c6e1c90ab02e37454601afee9739c0821d + docs/Models/Operations/UpdateTransactionFrequency.md: + id: 4aaa688bc29c + last_write_checksum: sha1:faadb8152de7ba26be5ad090012be93426a008fc + pristine_git_object: 15fc42b1f44e06f7b7b16824f11bddbebc941c01 + docs/Models/Operations/UpdateTransactionRequest.md: + id: 515f388d1aa8 + last_write_checksum: sha1:2d3c433d057afaa13e5addebe7f0afc9301eeb90 + pristine_git_object: 69ff278a9b235c4dd3ae08a999328ad23d29a322 + docs/Models/Operations/UpdateTransactionRequestBody.md: + id: 0ea5b125f0eb + last_write_checksum: sha1:f4aed61df22ae2c2cdf3d137f70e9979ee7446eb + pristine_git_object: e1b25168c1d461e0b20a43cdfcd91783349ee4a2 + docs/Models/Operations/UpdateTransactionResponse.md: + id: 90eb712a5c2c + last_write_checksum: sha1:149ece62cc70649a67b1d73dc4ff51ebb63e908a + pristine_git_object: dd5b3e1cfb0e0dd849dc8a2f9f4b43f80669063f + docs/Models/Operations/UpdateTransactionStatus.md: + id: e75d677b92ac + last_write_checksum: sha1:eb50962af49c1601d4e4ab4a215a17fbe7b7af15 + pristine_git_object: 3f0f23c27cf25028bdf5b14f617b1917ee647e99 + docs/Models/Operations/UpdateTransactionsFrequency.md: + id: ea2d005c4e44 + last_write_checksum: sha1:659cc73f7fa48bb21d54ba5407534c32487910e4 + pristine_git_object: e5ff36b3f56301efb21e4fcdc6f276ce74ff1180 + docs/Models/Operations/UpdateTransactionsMeta.md: + id: ef3d6e97c7ad + last_write_checksum: sha1:ef9772cd4a78e7f74fd71e8b1f5d4c81f391fc16 + pristine_git_object: 41d65af19e84bcbea3448d76442a75166afd74ae + docs/Models/Operations/UpdateTransactionsRequest.md: + id: f22a5708f209 + last_write_checksum: sha1:7542033902e6727d2071ec15b35265f251eab8da + pristine_git_object: bdabe9bbe0ddd8737d56f5e459925d71b9130d1b + docs/Models/Operations/UpdateTransactionsResponse.md: + id: 8dfa5b8d267d + last_write_checksum: sha1:8277d46b7e77a0606fee541fbdd0d96c61793b5d + pristine_git_object: 4fe18db271fb29609098f193103c5aba80d3837f + docs/Models/Operations/UpdateTransactionsResponseBody.md: + id: 912667f335c7 + last_write_checksum: sha1:9a64c2847db50635bb573e5bd7fe01020a7fb894 + pristine_git_object: 00f3c5a3ba2d7bc8d1ba87b20ba6c854197c2381 + docs/Models/Operations/UpdateTransactionsStatus.md: + id: ef4483f02e73 + last_write_checksum: sha1:014b4bd8ec8446ede05fea043f319cb10cbc5c36 + pristine_git_object: f6e762870eb615e4b32f85d05b9e3a404971f0d8 + docs/sdks/bankaccounts/README.md: + id: 510ffee224ea + last_write_checksum: sha1:9dfde24458cf3ea687399d97f177af750a279377 + pristine_git_object: b32d8db9ac5c413a523fc63610198e836575f264 + docs/sdks/customers/README.md: + id: 9332759cffc2 + last_write_checksum: sha1:6fa683fd645e1dd57f71f8fd8136cfe4fe1c8e47 + pristine_git_object: 2ae9cf7b793a14aeee22ff837648faaaaa11a74d + docs/sdks/documents/README.md: + id: 9758e88a0a9d + last_write_checksum: sha1:4fee8dfa6bc01e636779d72ca01764bec7731b3c + pristine_git_object: 1a109334fdbe78d227a5cacbae1af0d5e8140081 + docs/sdks/inbox/README.md: + id: a2701db9e190 + last_write_checksum: sha1:fa7f952ff56bd261b1ec7cfbba946420b58b7419 + pristine_git_object: ac884863ee1a6277fbb6fab53bd90ba0af37b05f + docs/sdks/invoices/README.md: + id: a3f76a06eded + last_write_checksum: sha1:2db3500a01fbe30047317e75516640b185125153 + pristine_git_object: 840b6a74348d9f3230824314dbaa83c36134a330 + docs/sdks/notifications/README.md: + id: 271bac956045 + last_write_checksum: sha1:40a04042c228cbc700f3661d94da4b99c2f3ad8c + pristine_git_object: 1f04c9f34fcb3d13dc25c6d4804f03eb59385c9a + docs/sdks/oauth/README.md: + id: 80ad2c1a7b62 + last_write_checksum: sha1:d9bb8b462170c4dc6c0e874d429ee28a3f9c31aa + pristine_git_object: f9af74172fed44ab876ba7e0d8f54f13ed701253 + docs/sdks/reports/README.md: + id: 66bfd66f1efc + last_write_checksum: sha1:6747d650563399acdd85fab5e0b3b995b0f5e9f2 + pristine_git_object: b7d00018e11fd1605db65a1d2a35810eca3a8ac2 + docs/sdks/search/README.md: + id: 5c534716244c + last_write_checksum: sha1:15888bb42b38cf6c10ff06778189cb3103a6e6ff + pristine_git_object: bdcdc3337794199ca536253e4b55b61cb59e794d + docs/sdks/tags/README.md: + id: 971f8a95d807 + last_write_checksum: sha1:d37673d6f2f33010f8f47375bb80a9df578deff8 + pristine_git_object: e66a2828fa2bf3ff66834868b5faf6a2a8aae4ec + docs/sdks/teams/README.md: + id: aad657749b4d + last_write_checksum: sha1:dcc59e219ddf415c579c4d57ec2232480a7098e6 + pristine_git_object: e991358e3d3bc8005009f171ca69374f7d9a6cc8 + docs/sdks/trackerentries/README.md: + id: 7aedc4d41da3 + last_write_checksum: sha1:66b55f3c615b32ff586c07baf15c5ea5fccad41c + pristine_git_object: 7ea4cb7ee6bf2734496754c001dac1e806446da4 + docs/sdks/trackerprojects/README.md: + id: 1a7d9a810833 + last_write_checksum: sha1:cff1abe983c2248b3ca1ca2e77d664833eea78d7 + pristine_git_object: b08cec47c419b6878b096a3d445715d9312c4926 + docs/sdks/trackertimer/README.md: + id: 7d4ddcc5e3d8 + last_write_checksum: sha1:97f2e5d2525b2e389f96126e52456922f18bc2db + pristine_git_object: 4c81b0cc9a517fb4b43c9ddfc1bd3af3aca5357a + docs/sdks/transactions/README.md: + id: 85592abe3c6b + last_write_checksum: sha1:43a14d83d98941c15031f3ee820f51f8b5ed3d78 + pristine_git_object: a374651cb5b5d78a90b6413e6d428d268f1e0a03 + docs/sdks/users/README.md: + id: 5d80027045fe + last_write_checksum: sha1:460f3a40e0c7a0adad49525a049ca0a45e5fc028 + pristine_git_object: 28c03150fecb342f64734107749abc42d9ed37f6 + phpstan.neon: + id: 9503203c22f7 + last_write_checksum: sha1:36c7aff86142888cf147c7dceed4bbc02049e8fd + pristine_git_object: f623fd192fd882958041cfa10f202c5303cd9ea8 + phpunit.xml: + id: 357499abc6fd + last_write_checksum: sha1:1a2f73f76c0929634baf4e48f5718b9a2449be79 + pristine_git_object: d3f71bfa07200801d6b6a0b7a94576259d12ab31 + pint.json: + id: 62bb227d0546 + last_write_checksum: sha1:fc5919a12e8478ad039f103190710e526e680d73 + pristine_git_object: e34fd80ce946c6edd9cd68e379392296c0fe796c + rector.php: + id: 6615ad7e99dd + last_write_checksum: sha1:2c0586f29783d1cdf80ea09f3ed0f4693329f3e6 + pristine_git_object: 40eb9bfbea10383ae16ce195da9113bb2abfc586 + src/BankAccounts.php: + id: 9c54bfa86e7e + last_write_checksum: sha1:707633fdb910fd28ab3671f7a93b51883943739a + pristine_git_object: b1bbe8f248d3e77ce06640c79be4b621a915f4e6 + src/Customers.php: + id: e30600fa045b + last_write_checksum: sha1:e13a4276d9a4c9d88c6b707aa61ccc84921b710e + pristine_git_object: 092a740b76b3e3b7aa56069ffa6f48d65eeccd44 + src/Documents.php: + id: c5396ed96d1d + last_write_checksum: sha1:3a72e439ab18bb7b9a7598bd04b50cade44f0f72 + pristine_git_object: 86b30f4adb1a922780813b1ca6c43b60068d5f3e + src/Hooks/AfterErrorContext.php: + id: d3767eb93096 + last_write_checksum: sha1:a7e081abcf48da44096be6a73cd9f4d12d184d9a + pristine_git_object: 520a43b45213ff1babaa9f5bb2fc32c8cdf3697b + src/Hooks/AfterErrorHook.php: + id: b6f229875029 + last_write_checksum: sha1:0ba929bb48e2971b6079214ea15bc27a3766f2e6 + pristine_git_object: 12c3d80bdeb23ad93dba01f5d791a70ea7935525 + src/Hooks/AfterSuccessContext.php: + id: 1297ed8410e9 + last_write_checksum: sha1:7fc0b1d72d664188ef5e00443b42ce97422e5b5e + pristine_git_object: 16eb1f8aca9673e1dfc9f9e2e91b892fe01b1cfd + src/Hooks/AfterSuccessHook.php: + id: 3f9dd7b31c3a + last_write_checksum: sha1:bf62f7f53cbe39016f9baa7ad712d4ccfa9cbe65 + pristine_git_object: bfd3a01a8874281fd53a22e304f7ab2a2d5b786b + src/Hooks/BeforeRequestContext.php: + id: 62d4f2980d2d + last_write_checksum: sha1:3a70baba719c420d5b74e9a3d256a4934c062dd9 + pristine_git_object: 9bc777fff987608903df8dc846e45672185078bb + src/Hooks/BeforeRequestHook.php: + id: 55e17f24cc34 + last_write_checksum: sha1:47c7b523f33917ef61158d0b4b2924f299a1be32 + pristine_git_object: 09bb04334bc914312d8c806c515c5dd7879c72b1 + src/Hooks/Credentials.php: + id: b37a16c555af + last_write_checksum: sha1:9bcd735028692c401d4144ddba23cdf683b85b32 + pristine_git_object: 4f24fb60316b3ec02046d6502c1dd8370839ec94 + src/Hooks/ErrorResponseContext.php: + id: 2ba4c41dd54c + last_write_checksum: sha1:2cb6c549f03804792ab368647815c2d393e3a257 + pristine_git_object: c7962c74ff6e870c283300a76bed415a9f12d68c + src/Hooks/FailEarlyException.php: + id: 0ae1bdaec63f + last_write_checksum: sha1:a89d1b1d3688c1dfd17648c607410db8255559fa + pristine_git_object: 63340d380e159e0434b7737ee25ff0cd57a1ac65 + src/Hooks/HookContext.php: + id: 279c02d439a6 + last_write_checksum: sha1:967b162db663481c1ed8a9e9db28f5be8f745843 + pristine_git_object: 1e36ea0b12fccf9ec354f23aedb668564938493a + src/Hooks/Hooks.php: + id: 6cf174b736b4 + last_write_checksum: sha1:be1c68d2700344ee740002d1725dd03fc0a49fee + pristine_git_object: 41a2492a4e7b039c261c0ab902d15cc018ea3032 + src/Hooks/SDKHooks.php: + id: d31b27b84f0b + last_write_checksum: sha1:8e61b7e827f81176a48d4f7f093d22aa708268d4 + pristine_git_object: dcdb40d0751a5d76ae32e0635855f1a0404f31ad + src/Hooks/SDKInitHook.php: + id: 16729a806274 + last_write_checksum: sha1:08b36a064c0598bc86543583115e30bcb8b61349 + pristine_git_object: 6aef0b67dbfc528cfaade6d578d1557092b5e5e9 + src/Hooks/Session.php: + id: dc21f349b594 + last_write_checksum: sha1:07aaa00897300c55aea2556eaf35e6f1a8e8a533 + pristine_git_object: 8354060e8fc420f9babad4ff4ee46d3452a85ae4 + src/Hooks/TokenResponse.php: + id: aad5e2b1d06f + last_write_checksum: sha1:932ecbb4d6aab4ccf6ae14c03bb2745034ae3126 + pristine_git_object: a08fca4324c90a43860eaa9041aff03ce136bdef + src/Inbox.php: + id: aeb37b7256a1 + last_write_checksum: sha1:414088b5bb60df2187fcbfe4348745c63f1fdbbd + pristine_git_object: cbf6e837c14ff355f336e61c39c49ed8e7eb1e6f + src/Invoices.php: + id: 60340ce922ba + last_write_checksum: sha1:4e30f0d14e768c246e2a5d5d65e6d07165602c85 + pristine_git_object: 049e4dbfd6a0ad55de62276dcfeba87f5fb47165 + src/Midday.php: + id: 81fac05ae3bc + last_write_checksum: sha1:93ce16b7ab5a8e3e12e071f3e7ca12464ad691a1 + pristine_git_object: 5905be460d18e35c224f3db4b4e4ae584e932554 + src/MiddayBuilder.php: + id: 96931f04036c + last_write_checksum: sha1:dba596fc9f89502dfa0e684d97960e18cc5b2de6 + pristine_git_object: 810469159a9556c706354a7b0abec0d44e8077e3 + src/Models/Components/Account.php: + id: c3f1f8675ec8 + last_write_checksum: sha1:223d7fe8ac1db7b4be1297f1feb592fc099fcd7a + pristine_git_object: 579d4b30b4338fd623585809f5deb9168ab412fa + src/Models/Components/Attachment.php: + id: d5fd56e37aa9 + last_write_checksum: sha1:5929b1a554aacf878f00dd49683bc86e43137d58 + pristine_git_object: 614496c441a5db858d33de0fb03e6ef7ea1e7e68 + src/Models/Components/Category.php: + id: d32893c08e5a + last_write_checksum: sha1:c4c2ab9e67b825acd847d6159c8bec317bc124cf + pristine_git_object: 46afb96a75d7b7f0abb1757844a63a6e8417057f + src/Models/Components/Connection.php: + id: f824428fceb2 + last_write_checksum: sha1:3835b36a5989d98c666e9aa2c9b3938c5dc2ed5a + pristine_git_object: dc691698fbe743efe0be695e1c9af81384990946 + src/Models/Components/CreateTag.php: + id: af723d014ff8 + last_write_checksum: sha1:1674f3e8095017b545862ed2557fb63471689514 + pristine_git_object: be1603467f59ca3c94339ab62e816722f82d70fa + src/Models/Components/Customer.php: + id: 495977daf365 + last_write_checksum: sha1:5ef68614162a9a7699f950f465eee1c1da3f7b80 + pristine_git_object: 4e7a24e3bf8117192174cc98f63170b1c10e73fa + src/Models/Components/ExpensesResultArray.php: + id: 2795c7f98b4b + last_write_checksum: sha1:047f80475e1f0a5317b56c0112c368289e8020f8 + pristine_git_object: 82b753ac8cfc33fdf8ca8b869cb46011d7057eab + src/Models/Components/GetBurnRateResponseSchema.php: + id: 05332e4824be + last_write_checksum: sha1:fc5891d2cb7bbd76763c29a65af583aabb0583f9 + pristine_git_object: 8edca95569b626568478f450b825501705f5cae1 + src/Models/Components/GetExpensesResponseSchema.php: + id: 948c9c6b590f + last_write_checksum: sha1:d755ae35b11d29faf0dcf9c262a7de8d2078ea46 + pristine_git_object: b05b532eca58730eef6d06bffabd62890b7ec195 + src/Models/Components/GetExpensesResponseSchemaMeta.php: + id: a1eb2e4130d7 + last_write_checksum: sha1:02aeb753c3d7d9dda288316f3e52f3d9afce65b5 + pristine_git_object: 3e2a845fac8a03fb5f9b7d6930e9399a158e68f7 + src/Models/Components/GetProfitResponseSchema.php: + id: 2d9cfa031e4b + last_write_checksum: sha1:b28243a427889b85bec8fb0c68655b8a5fc8cf5a + pristine_git_object: 7cddf60c14dfdabc7b5b6f4e83ef2eca8d22f4de + src/Models/Components/GetRevenueResponseSchema.php: + id: 298506193a5a + last_write_checksum: sha1:dd5443555efb3fc51f1c481605c1ee5f36edd6dd + pristine_git_object: ca43a8c5f790732e1377a0c843762e0a3c728620 + src/Models/Components/NotificationResponseSchema.php: + id: 933bb48d97d2 + last_write_checksum: sha1:266e8aef8d22b8e5acfc873146959787f0eb5097 + pristine_git_object: 20b626835323d697ead4fd38124c10fba6bc1b87 + src/Models/Components/NotificationSchema.php: + id: b1bc09cec3df + last_write_checksum: sha1:09820f49a91090f8f0abf602de1c144fa2fd9046 + pristine_git_object: be9545a1ad185dc9d9c3b9666e46d2572864d3e2 + src/Models/Components/NotificationSchemaStatus.php: + id: 6ce699c6c0ba + last_write_checksum: sha1:7eeea55b5724a760781cd8b4869403c336d5f184 + pristine_git_object: dfbcbab7f50ffba32d5d8470d37d2ebdcc7bd31f + src/Models/Components/NotificationsResponseSchema.php: + id: 1b11ccaa4b60 + last_write_checksum: sha1:331612363753259c0396bfb79dad8db6a5affea3 + pristine_git_object: 50d1a8f26bc6a6538cfdc4940a6d576a7c3cd5e2 + src/Models/Components/NotificationsResponseSchemaMeta.php: + id: 2dc853777d59 + last_write_checksum: sha1:f14f4933d46c0de43cf974c7d394a31ea266e7b4 + pristine_git_object: dbfa40da185df34b3484fab7fac13d64c0a76076 + src/Models/Components/ProfitCurrent.php: + id: bf714578de93 + last_write_checksum: sha1:f8a7117e2a1e1f29c4b53904fae475be45dd6a3c + pristine_git_object: 4d18d9467a46f5a406d2b2c8909a8141cb25d534 + src/Models/Components/ProfitMeta.php: + id: a738641525e4 + last_write_checksum: sha1:a7422eac323916474834e215b8eaf3a48c74d0b1 + pristine_git_object: 30ee5cde31ba992b20a955a904be22568887c03e + src/Models/Components/ProfitMetaType.php: + id: b63ca0e8c680 + last_write_checksum: sha1:3234ae14488d1273129463ee709043f02d683d79 + pristine_git_object: 6bf5994ea6d7015d5db22bdf3441b354e962ac36 + src/Models/Components/ProfitPercentage.php: + id: 1250f50033f6 + last_write_checksum: sha1:71ae089fbfe3f9698bad50ccc69c2cc334b64cdd + pristine_git_object: 8f33568db2e6fb1ceaafd4101b24a43dd5b052ba + src/Models/Components/ProfitPercentageStatus.php: + id: 2473cdbe4c76 + last_write_checksum: sha1:96f64393d8677ce1d6c0563d0869ac2854c08964 + pristine_git_object: 105010a680d8d008ba24891cb4e72a29853220d2 + src/Models/Components/ProfitPrevious.php: + id: 950cccfa2e7a + last_write_checksum: sha1:fa982cf8063f2bff4a82e31025bb5c6b99df4b2d + pristine_git_object: 56cf13f3e955d4eb611524eead0d484ba4457cd1 + src/Models/Components/ProfitResultItem.php: + id: 3cc34bb53a04 + last_write_checksum: sha1:222e9fa449d759220ff72cdde7aa6db3e2a621e1 + pristine_git_object: 944abfa13bb82df014fd54efbbc20bc0eb9001c9 + src/Models/Components/ProfitSummary.php: + id: b96ddbfd6792 + last_write_checksum: sha1:1429790a0ab7dc653ff383f210a1fbdb1fa46b31 + pristine_git_object: 0559090dfd02fabb8954b4f88730a611653561ca + src/Models/Components/RevenueCurrent.php: + id: 4c642ef5bd65 + last_write_checksum: sha1:ca71d378d2469c59f647314b155247adcb2f6bc5 + pristine_git_object: 3c71b5e6fa3d4539154c72e980b41e04011f799a + src/Models/Components/RevenueMeta.php: + id: c33fb3b399f8 + last_write_checksum: sha1:e2ad8cce03893b41025295e3d3c1f6bfce52e1be + pristine_git_object: 7d2441dc55e32674b228205d4995be5e974e2b04 + src/Models/Components/RevenueMetaType.php: + id: 95d3ee60fd16 + last_write_checksum: sha1:4e31fb2dc2c6c28c39e3571e2d18536b57f6d0a7 + pristine_git_object: 6d21914b13c080ff2167a1e3d3046592051f2920 + src/Models/Components/RevenuePercentage.php: + id: a4d533814080 + last_write_checksum: sha1:2843ee1ea9cc5ccde78d7790b100f3f67ac731d6 + pristine_git_object: 23575b77f4f91af4809b4864704c7030e39e5a68 + src/Models/Components/RevenuePercentageStatus.php: + id: 3c3c7f523df7 + last_write_checksum: sha1:561c6d2319d420653367f2604c9557972494dd8b + pristine_git_object: cdf42eccc80e8fdd7f8a3e4e5ccce18ae9fe0f7c + src/Models/Components/RevenuePrevious.php: + id: 0d2795166a70 + last_write_checksum: sha1:f83220b4b3c70c87513a8a447d200f899030d5eb + pristine_git_object: a1243239290b0bfba5a2766a69a028ecd3765639 + src/Models/Components/RevenueResultItem.php: + id: 5d5deed2ca85 + last_write_checksum: sha1:29ab73f9b767cb1cc409fc76806a47775c188c51 + pristine_git_object: 46964b7ea259fcc2521bc2a566072f9cc18127bb + src/Models/Components/RevenueSummary.php: + id: 369becd9782b + last_write_checksum: sha1:ee79726314b1db430d78d0eae0dab17922a922a3 + pristine_git_object: a35ab03fcc346fed9a34c2acd440eca6cf8dc29b + src/Models/Components/Security.php: + id: 7c1ef2c6cbb3 + last_write_checksum: sha1:7d94fedf6f706b39c4ee1cd10592718793dce2a4 + pristine_git_object: ae3662625ff265cce03e77324542a84122c9ac7e + src/Models/Components/Source.php: + id: cab82372c9cf + last_write_checksum: sha1:0d8003350587740e7f1096f26abc71cc5325811e + pristine_git_object: c486244a6912192590bd9b2177de78dbd948ff2d + src/Models/Components/SpendingResultArray.php: + id: c82b61a38884 + last_write_checksum: sha1:11423481b63dc3be6c81ed53ee32624e7a680608 + pristine_git_object: 8d6f6ecec18e40c646105961c7a4bad90778ce54 + src/Models/Components/Summary.php: + id: e29dd2f351c4 + last_write_checksum: sha1:083f7f6177c18ba9bbfc2e50be03cd5557c98c8a + pristine_git_object: d1d8cf16ea0d6185802bb2eed19470b8d3858c3f + src/Models/Components/TagResponse.php: + id: fb8925c41616 + last_write_checksum: sha1:e86ede19c8e9f0554f1af824c99f9c45f9205313 + pristine_git_object: 6c412f0989dd17f0cea28e44c44eeb2f0aabbf7b + src/Models/Components/TagsResponse.php: + id: dfb9c6fb5e33 + last_write_checksum: sha1:4d5137a6c190b492130db62e7cfa285187ecb622 + pristine_git_object: f960516601edb859955f6fa097fa3f98f606e8bb + src/Models/Components/TrackerProjectResponse.php: + id: f1b16b7e1bdb + last_write_checksum: sha1:c1ad050ea010ba67319e891ded64d0e78387b3d4 + pristine_git_object: b39b745bf09eeab4b46321ce75f77a2bb196f9fc + src/Models/Components/TrackerProjectResponseStatus.php: + id: 0a25fa42340c + last_write_checksum: sha1:ecf2f2b925d930b88e2b87602f426768816bb79f + pristine_git_object: 2370fc4c49266d1153d13f4628bed8cf941f7864 + src/Models/Components/TrackerProjectResponseTag.php: + id: 3bebcf88db06 + last_write_checksum: sha1:954d7c3b4c13d07283f4cc42f7e553e813826527 + pristine_git_object: fd5d7836091adb35dc9b9bbd8ca2c2eaab69ecd0 + src/Models/Components/TrackerProjectsResponse.php: + id: b029c7bff425 + last_write_checksum: sha1:c1fa5c8f657093d40e380eec469d252134c80f00 + pristine_git_object: 9dd55cd764f59b00b9e2e73332cd484157000d1a + src/Models/Components/TrackerProjectsResponseMeta.php: + id: f963abc90136 + last_write_checksum: sha1:5d5aa08e69d61f524bd45ab942019716935ac9b8 + pristine_git_object: 56255f331f072b8c8e580b0bb196165cddfd3184 + src/Models/Components/TransactionResponse.php: + id: 895ee08b039b + last_write_checksum: sha1:0491d6136ec940564208d4decca24844a3aa8666 + pristine_git_object: 7fc8ae165e88bdc4d76d24ed99e7965ba2e182f8 + src/Models/Components/TransactionResponseTag.php: + id: 3af416a1c167 + last_write_checksum: sha1:55f9d0d2289af7ff5cf652f25d1ed5ad03e5fb8f + pristine_git_object: 4f6e6e607f4238ebdf8a75775099d04797bc4fb8 + src/Models/Components/UpdateAllNotificationsStatusResponseSchema.php: + id: 0d173dac279e + last_write_checksum: sha1:db4a8f45440587b7ff62052b5808dbcafa51acf3 + pristine_git_object: b8f1da146ca54a7091fa226704fa4bfbe5c51026 + src/Models/Components/UpdateAllNotificationsStatusSchema.php: + id: f915e2a00840 + last_write_checksum: sha1:6df19fea457f990202fb5890cb02c17896f9dfb0 + pristine_git_object: 411e084d8b4ec5f35a80b89e9ce9dcff4f880a86 + src/Models/Components/UpdateAllNotificationsStatusSchemaStatus.php: + id: 046489543b20 + last_write_checksum: sha1:58491db366d61eaba819af3b8af5ff5e8a53fbc0 + pristine_git_object: 979a8770afe43185d788d45a5f43f44c692eec47 + src/Models/Components/User.php: + id: 0b144258882a + last_write_checksum: sha1:1fff7c67bbd8a344c9944f67868f9cc50b0d888c + pristine_git_object: 8bf8110bcaf532280f6ea6896095f42ad70b211d + src/Models/Errors/APIException.php: + id: 9ce9f9c7a8d6 + last_write_checksum: sha1:eb3ba674c753874813848183489bc49693b67310 + pristine_git_object: bdf6fb68fa6e8da0553a1255b01b08e168fbfb31 + src/Models/Errors/ConflictException.php: + id: f53848f1629b + last_write_checksum: sha1:f89ac8f8dcb1a850b86bdc7e088caff82f44c1b4 + pristine_git_object: bc7c22466c15d47b1123f38698d3c63685736af8 + src/Models/Errors/ConflictExceptionThrowable.php: + id: 2d08f35b3535 + last_write_checksum: sha1:9685168858b1a2cf4c73cf088cecda731db8fa82 + pristine_git_object: b6546244f3b7ff220b773fb8857c9361cafee8e7 + src/Models/Errors/CreateInvoiceBadRequestException.php: + id: a9b1ed6dd9ed + last_write_checksum: sha1:7fd13ee3a0ee5df7c2a2c371816768bfb259913b + pristine_git_object: 2e1c99bd4144b90c51c24fe315ef0a5343b7496b + src/Models/Errors/CreateInvoiceBadRequestExceptionThrowable.php: + id: 8e046c2a2a23 + last_write_checksum: sha1:ae4fee3f747cad91b452e877696b17abce587dd9 + pristine_git_object: 088c4825df25b6a3d655f99c0d326d429c9517f7 + src/Models/Errors/CreateInvoiceInternalServerError.php: + id: 2679090f5548 + last_write_checksum: sha1:410221638a70524bcad314a115632540edb4a023 + pristine_git_object: b07077049183c28c8e2a5da9a0a874fe84441a51 + src/Models/Errors/CreateInvoiceInternalServerErrorThrowable.php: + id: 9e9146bbb720 + last_write_checksum: sha1:c508984d8d01c14f17e04bb6354fdb5fc9eae392 + pristine_git_object: 63d86c7db9c1e51db57c3688ae2bceb4ba142eea + src/Models/Errors/CreateInvoiceNotFoundException.php: + id: af7d9bd55382 + last_write_checksum: sha1:0fc8c77c2c1a972fa550baf1d7476ebe9577740a + pristine_git_object: 82066a328742c17bfa02299875b03730575f9b83 + src/Models/Errors/CreateInvoiceNotFoundExceptionThrowable.php: + id: bee60eacdd68 + last_write_checksum: sha1:6ed5801823710edc4b2b53bf1a5fcc66eaf2e9cc + pristine_git_object: 8057a15b41d4ec91e6f4caea2fa99ab3a1c684fd + src/Models/Errors/GetDocumentPreSignedUrlBadRequestException.php: + id: 3f6f28781867 + last_write_checksum: sha1:33a009ad8a7bd8a3e25a2ef693144c34543affd5 + pristine_git_object: 5ad1735cbf8e5ac624c90674cb7c51c6987e9040 + src/Models/Errors/GetDocumentPreSignedUrlBadRequestExceptionThrowable.php: + id: 80fe1aff0cb0 + last_write_checksum: sha1:49a85209ed18bbe31348f9022e4fe7cd29880851 + pristine_git_object: 865a1dbfc481b0d6eaa75cd623f11dba6826bb11 + src/Models/Errors/GetDocumentPreSignedUrlInternalServerError.php: + id: dd61219f555c + last_write_checksum: sha1:141220a1554ecebdd4545c1c7211425f678f164c + pristine_git_object: 4deac93cafa765452360754ca61bf63369f6e41d + src/Models/Errors/GetDocumentPreSignedUrlInternalServerErrorThrowable.php: + id: ba5913ce20de + last_write_checksum: sha1:44ebd09bb2ed19799ad9117d98f37e583fba2cc1 + pristine_git_object: a2ac579c948754e0a4f0dee251b6c1268f537e5e + src/Models/Errors/GetDocumentPreSignedUrlNotFoundException.php: + id: 9461f1c80cee + last_write_checksum: sha1:5134d571500e61d17592d51c13c2722740980783 + pristine_git_object: 9046bf90a6f2a06eb2798635f7ce940fc33280e7 + src/Models/Errors/GetDocumentPreSignedUrlNotFoundExceptionThrowable.php: + id: 69cae13c001a + last_write_checksum: sha1:563e08983e60b99a9b1586a0d78da4331e314067 + pristine_git_object: f93ae5c5aaf105f4bad35aa001c5f442f230a0e0 + src/Models/Errors/GetInboxPreSignedUrlBadRequestException.php: + id: 5fc936f75d09 + last_write_checksum: sha1:de646c2def272b710a919b546c7d417130697972 + pristine_git_object: e257c226ce09206c24323e4141ae24027052af9c + src/Models/Errors/GetInboxPreSignedUrlBadRequestExceptionThrowable.php: + id: b57d7e485026 + last_write_checksum: sha1:3030bbaaad31b6d3de3e6df96d0434858719809e + pristine_git_object: 8fb7e60ab9f3b0433ebf47f3ef671d210555d058 + src/Models/Errors/GetInboxPreSignedUrlInternalServerError.php: + id: 8fb33586975a + last_write_checksum: sha1:15b1c84a00b5928097b222fb7010a24f771724ba + pristine_git_object: c9a5937767e0769f42fdd3bc2303780ac4907ebc + src/Models/Errors/GetInboxPreSignedUrlInternalServerErrorThrowable.php: + id: a9fef84dba5a + last_write_checksum: sha1:c119159b3b2b44f23f3cd7277de9dcdf999992a2 + pristine_git_object: a1b632262ea96ce4ac1665cf6891daf8b0efc761 + src/Models/Errors/GetInboxPreSignedUrlNotFoundException.php: + id: f2a6a6d2cb8d + last_write_checksum: sha1:d34bbd7eadbb6b83a8655cbdae668185d53a2d42 + pristine_git_object: 1feea45d10d1c9d09b0c3ed3d3c8279c54a46752 + src/Models/Errors/GetInboxPreSignedUrlNotFoundExceptionThrowable.php: + id: 5ea9874fbef9 + last_write_checksum: sha1:0e84c4972d20e7fc8a73f023d87fa6632ec73693 + pristine_git_object: 7e796f57ccf4317f2665778cdabe279f85767461 + src/Models/Errors/GetOAuthAuthorizationBadRequestException.php: + id: 242b47354357 + last_write_checksum: sha1:d8453c093ee1402e0b2707352be10296649c0bb6 + pristine_git_object: 2b9b7445c9ccdfe3a5cde98612e6dd9c72446c7b + src/Models/Errors/GetOAuthAuthorizationBadRequestExceptionThrowable.php: + id: 05793c638d8c + last_write_checksum: sha1:35976c922d7401c1e90d052ce4e7bec89272de19 + pristine_git_object: fa7da6244a998c3330dabeee4cd882c1d024f5f2 + src/Models/Errors/GetTransactionAttachmentPreSignedUrlBadRequestException.php: + id: c5b099e1aef0 + last_write_checksum: sha1:d38aa06e682c4fc1d5f5935a6a4d4ac7a5657876 + pristine_git_object: 5680d4779e4580912003aa64f016334727ccd7a4 + src/Models/Errors/GetTransactionAttachmentPreSignedUrlBadRequestExceptionThrowable.php: + id: a7f1d6ca0708 + last_write_checksum: sha1:be1572d5c4b48d31cf1416d4c48172a30924b4d6 + pristine_git_object: 805d9ad4d9619fc20a89165c0b0bc7f610513b89 + src/Models/Errors/GetTransactionAttachmentPreSignedUrlInternalServerError.php: + id: 8861aa92df69 + last_write_checksum: sha1:d68b0f15584b447759ff3c1f5cec3232c0b212c2 + pristine_git_object: 25550be435f34651ff03aa6d80198d84b0a4fad2 + src/Models/Errors/GetTransactionAttachmentPreSignedUrlInternalServerErrorThrowable.php: + id: 83441c04573d + last_write_checksum: sha1:01f6dbf8fc58a5498a55c90b44f24c82615aa25e + pristine_git_object: 8279ac436df33a39348ca194eaf1793b93f1a529 + src/Models/Errors/GetTransactionAttachmentPreSignedUrlNotFoundException.php: + id: 878bfb917249 + last_write_checksum: sha1:9a67ea641ba65b8b9ef470761782c6b2076b017c + pristine_git_object: 4443f2f90b319229d63e3edc24111e2e74f49331 + src/Models/Errors/GetTransactionAttachmentPreSignedUrlNotFoundExceptionThrowable.php: + id: f9225264e7e8 + last_write_checksum: sha1:8cfaae5e27099d97263390827f47684780ad4594 + pristine_git_object: 90bb73788cf75a0d68986d8944b304520257fd59 + src/Models/Errors/PostOAuthAuthorizationBadRequestException.php: + id: 8b09c3ec2393 + last_write_checksum: sha1:aff8faebf097c96d89453f2ebcdd7d9d0f9f2ff8 + pristine_git_object: 354bcee5e3e7bdee73276045dde1189aa6125120 + src/Models/Errors/PostOAuthAuthorizationBadRequestExceptionThrowable.php: + id: 6d2f471a362d + last_write_checksum: sha1:7f4c254eecf63db17e651fccf426137515590328 + pristine_git_object: 86108298f94c8325bc5036c66297dc868fc69b3e + src/Models/Errors/PostOAuthTokenBadRequestException.php: + id: 6b47846a74d1 + last_write_checksum: sha1:5b4dfc811638b611566e2ed53009b7b16dbf3bda + pristine_git_object: 77c409fd8181a5d507e64f9ca5b5e7d031663525 + src/Models/Errors/PostOAuthTokenBadRequestExceptionThrowable.php: + id: be147149ac25 + last_write_checksum: sha1:620c678d8fb551af79d796aa8e816230e62ec23d + pristine_git_object: bc68a5f00add31e6e0b66cbd53ba537c2950dbfb + src/Models/Errors/UnauthorizedException.php: + id: 29e35d44196d + last_write_checksum: sha1:53d22e9d891f1a7da41c7a6ae34fdf381401761c + pristine_git_object: 78c9840123f700e2b143b3750cd41e37b44b8b72 + src/Models/Errors/UnauthorizedExceptionThrowable.php: + id: f09cc1f732ed + last_write_checksum: sha1:d8e8bb0685803182e79a2c7c2f168f3798d4cfea + pristine_git_object: 0c28ab9de279d810032cc71d19d18fa246b3b351 + src/Models/Operations/Attachments.php: + id: 9c82b0e6689c + last_write_checksum: sha1:26462d93855314ae642bfd4881c5ad10d0f4d45e + pristine_git_object: be94f32326f5ef5a72bae8bdc54cc526d7d240e4 + src/Models/Operations/AuthorizationCode.php: + id: 40f42e8ed5fc + last_write_checksum: sha1:e01154e9f1897cd350a884b40291e5a0fb2b1850 + pristine_git_object: e103ac5844fac854d98b2d08b02a02710722b32e + src/Models/Operations/BottomBlock.php: + id: 46f6e59dca76 + last_write_checksum: sha1:af014d049e408672985a7fb8a6d983568b9fd3bb + pristine_git_object: 14acf5b193a0c4659749d8cbc969646d7e2f9a77 + src/Models/Operations/CreateBankAccountRequest.php: + id: 80ff59d894dd + last_write_checksum: sha1:1909a112d7bc317aa33843761eb9a0c5508c6ea0 + pristine_git_object: 842910920defe44f407e5d9d1c71029f96de8c7c + src/Models/Operations/CreateBankAccountResponse.php: + id: 0669c20096cf + last_write_checksum: sha1:bff8c26180214edadf3595576f8b3f02d2038cae + pristine_git_object: 59cd93fa4c8eeb2b4f51539e90c28563a90b037c + src/Models/Operations/CreateBankAccountResponseBody.php: + id: 6c64a43df3c7 + last_write_checksum: sha1:116b7ed91860a510a3a13b948ffb8cb21ee7f54a + pristine_git_object: 84c371fc0ea00b7dc20043ed6e484bed1b4ee419 + src/Models/Operations/CreateCustomerRequest.php: + id: 17d866ab9dea + last_write_checksum: sha1:657c9a4e17412dc6b61e3c9efe3fd1aade6308ec + pristine_git_object: de169d11da28e03e1eab9e7439bc2cc1502ce761 + src/Models/Operations/CreateCustomerResponse.php: + id: d8d962e4fe93 + last_write_checksum: sha1:77561f8d42811660815f5d3adcc6b5f64af43466 + pristine_git_object: 2035a2da36b20ea0cf782f5e83a0803e143ef7f7 + src/Models/Operations/CreateCustomerResponseBody.php: + id: 68df19b12385 + last_write_checksum: sha1:1fff1065bc5264aa72a8c940e8d41e8a955548d3 + pristine_git_object: e23b4c153a6b9ff8bae3e3210142065ee31d70e2 + src/Models/Operations/CreateCustomerTagRequest.php: + id: 1db6023b01aa + last_write_checksum: sha1:bcc9613886ba54042cbff7a6998a8d3e82bf9595 + pristine_git_object: e63d8257fd534fa443f21260d5c5c32a169a02dd + src/Models/Operations/CreateCustomerTagResponse.php: + id: 36dfb9656a1d + last_write_checksum: sha1:a597185eb44291811044201a4b93c47d6c1c4be4 + pristine_git_object: 490f489349633adad76999fd38574ca955ba15b0 + src/Models/Operations/CreateInvoiceRequest.php: + id: af8f40d78d70 + last_write_checksum: sha1:2a441c4e46d78a88eb39524077671f3eae38ba25 + pristine_git_object: 3333bc3e0ba5661d16cffdb2370103d3677b9018 + src/Models/Operations/CreateInvoiceResponse.php: + id: 919ebce320f7 + last_write_checksum: sha1:c106cdb522ed17b10464cc120c8f7a344116b405 + pristine_git_object: 800b96b009ebe2feddb4a1f0ba38be2b5651bec4 + src/Models/Operations/CreateInvoiceResponseBody.php: + id: 3731a683a470 + last_write_checksum: sha1:8d369319ae135fc927d013cd4f6aff30ab3d9427 + pristine_git_object: 71a1462203701dd785c1e38ac4da0b5842a8b52b + src/Models/Operations/CreateInvoiceStatus.php: + id: 0812f56985c6 + last_write_checksum: sha1:ceec1f41ea5a942cdfc2a136bdbc343356f45d33 + pristine_git_object: f4d4121f05dfcbd7e2bf8966f9d50c0065fc2a42 + src/Models/Operations/CreateTagResponse.php: + id: 049721cf591c + last_write_checksum: sha1:7ea4f6949e5af46a2933c52822b452911829be5d + pristine_git_object: 04c8c5d9dd9ce2e6a5b8eb4a561356c678b2c5b2 + src/Models/Operations/CreateTrackerEntriesBulkCustomer.php: + id: bf649335abbb + last_write_checksum: sha1:0dfc8382f90c7da3f63aaecb57db3beedae3d7a8 + pristine_git_object: 14a641372a99282b47f7b96852e515ca174048f3 + src/Models/Operations/CreateTrackerEntriesBulkData.php: + id: 8e07a87fa004 + last_write_checksum: sha1:be912ad844615ac0ff8a0b70644e9969912fd374 + pristine_git_object: f8a6ac4796a563ae0ccf15e2c0def5ee1dd99693 + src/Models/Operations/CreateTrackerEntriesBulkProject.php: + id: 54ba01a8f33c + last_write_checksum: sha1:09928f7ad4de9ad231ac03eb5aa9351dc203ac61 + pristine_git_object: 4ab179c59f25560b1810eb5ac17a5d94c0f025fe + src/Models/Operations/CreateTrackerEntriesBulkRequest.php: + id: a3b1a61363df + last_write_checksum: sha1:9a3f85790bcb3f2d7548ccd44180c140a247d43a + pristine_git_object: a3da143a74af6d424d895ffbecfab7163a77811c + src/Models/Operations/CreateTrackerEntriesBulkResponse.php: + id: ef812c064164 + last_write_checksum: sha1:c984b84d97567726fdaa023bc686b388ad267df4 + pristine_git_object: 363003a9b8db39cbe378716f571ac6d49866c4a5 + src/Models/Operations/CreateTrackerEntriesBulkResponseBody.php: + id: 76a9b8051eb2 + last_write_checksum: sha1:3893ac16b02c3ea7350958918e981de00dc4b01a + pristine_git_object: 41ec2341ad1dd5dcba088b39dd9852d3ecaa071a + src/Models/Operations/CreateTrackerEntriesBulkUser.php: + id: cb210f3b1996 + last_write_checksum: sha1:a56d57ea5b780dce74c7c64a9b5fc37216842086 + pristine_git_object: 5270be3adcb94fa87c76647fd31d70d537dd28f5 + src/Models/Operations/CreateTrackerEntryCustomer.php: + id: 47dfb026eb15 + last_write_checksum: sha1:84ec83319c02001947ad0553eb1b8e776fa82859 + pristine_git_object: 3e75d6112106f5c0738edc6225a4e9ac3effb2ca + src/Models/Operations/CreateTrackerEntryData.php: + id: 25de695b7a36 + last_write_checksum: sha1:a8bd8ead40f0394c8b1cb1445063570eb8077857 + pristine_git_object: e72c8a7e9af888cd5d0d59b06f5f1367719e1cbd + src/Models/Operations/CreateTrackerEntryProject.php: + id: 6017627c9d92 + last_write_checksum: sha1:ff959d39ec30d290049126a1235c111b9b5dd413 + pristine_git_object: 558bf12d605d236c61c845dac163ff57f9b13647 + src/Models/Operations/CreateTrackerEntryRequest.php: + id: ca26b4bc400d + last_write_checksum: sha1:487a551a025ef673f5b478b9ff34613fd26cfffe + pristine_git_object: a479418f2164330e85b48a6cf2cd3e30d0c3e898 + src/Models/Operations/CreateTrackerEntryResponse.php: + id: 5a7f9ddf7ca2 + last_write_checksum: sha1:ae6be0777d4a4ae1e7f07991ad36dace517ed6dc + pristine_git_object: 3deceba37c7f51b1b2a7d47092a392b9907b4a1e + src/Models/Operations/CreateTrackerEntryResponseBody.php: + id: 116519219c61 + last_write_checksum: sha1:263cfb4e5b3011e22f81b96176ebbb6cb4af6777 + pristine_git_object: 1c497f244dc71326bf29e64972b384ee0c8a5141 + src/Models/Operations/CreateTrackerEntryUser.php: + id: a9c14cc30631 + last_write_checksum: sha1:ee566e3facc92c88cdc8bd7c2c136ef74cdbefd7 + pristine_git_object: e3db06cb0ffb35242ac090f27f65c7305e4d1e7f + src/Models/Operations/CreateTrackerProjectRequest.php: + id: c2d5b91b3c31 + last_write_checksum: sha1:0d24b5e6de2692648a42ef3815b3ebabb851a38a + pristine_git_object: e3ec49bd290563632c5814fa39422f88dba37e45 + src/Models/Operations/CreateTrackerProjectResponse.php: + id: b69d0005db7d + last_write_checksum: sha1:2bf5457acb1bb8eb151cdda4932f02c317ec3a41 + pristine_git_object: 0a91f11293116db2d6b68b0bb0d4b1e8d489ab16 + src/Models/Operations/CreateTrackerProjectStatus.php: + id: c1fef7da7d20 + last_write_checksum: sha1:f311fa03f1736516ce9576567cb24b71f8724957 + pristine_git_object: 501858a3c54447720f79bc01d8e520306be0304a + src/Models/Operations/CreateTrackerProjectTag.php: + id: 796a63f5ea3e + last_write_checksum: sha1:022f29746339dffa631e364210b4fee70a03ecc5 + pristine_git_object: ed01163c0b3a8facd11fbd3d6f0521d4166bcf1f + src/Models/Operations/CreateTransactionAttachment.php: + id: 85ecb0644bbd + last_write_checksum: sha1:5e31238b7bb29e9dd049368aa782f554192d8951 + pristine_git_object: 5f2e5f813c1f4dc24168e9be21739abaed2e928b + src/Models/Operations/CreateTransactionRequest.php: + id: 376ae3bb5b07 + last_write_checksum: sha1:e6a7e934a7deb15c3bd83fe0ac667705bd4e9e70 + pristine_git_object: d0d379e04e5594abbf3005702cd0cd904c4e1ad7 + src/Models/Operations/CreateTransactionResponse.php: + id: 4729f62e7900 + last_write_checksum: sha1:d98420504818b66b9207ec46b891487dcd55e8e6 + pristine_git_object: 7fde113a9567600985973a04e31adbd6ddcf0d17 + src/Models/Operations/CreateTransactionsAttachment.php: + id: b9003f87fba6 + last_write_checksum: sha1:14f55aaa7c30cbd5cae8fab51200908fe64aff26 + pristine_git_object: f7ae59efacd2af78e65230029536fd255466cc8d + src/Models/Operations/CreateTransactionsResponse.php: + id: 8099be7b3758 + last_write_checksum: sha1:1f61e2b3b121cc5c86b778d7543ed85a6c305cd0 + pristine_git_object: c5f98c751e6f1652785e2beacc73411faa5dfb3c + src/Models/Operations/CurrentEntry.php: + id: eeb336a64398 + last_write_checksum: sha1:858560e42b5d41b509a91e0e02a1fed2b0549611 + pristine_git_object: d8eea87e18e7b3f41635dd5cf1faac91070dac68 + src/Models/Operations/DateFormatRequest.php: + id: 06fb3e1aa432 + last_write_checksum: sha1:94edc37c3e43358bc56c0f65fd4ab06967bcd77a + pristine_git_object: a7fb33c5e7bf3211a7356de86695f2353711ee4c + src/Models/Operations/Decision.php: + id: 3efb4ddb0216 + last_write_checksum: sha1:9e6ccc7d68ac67ac36e002bfdcb1f202614ecbcc + pristine_git_object: da7ca0b03bcaa0ed1e755ae345c808aad3dc040c + src/Models/Operations/DeleteBankAccountRequest.php: + id: 7d3e46b83bfa + last_write_checksum: sha1:eab1976030fc7c8d00adfd9fb1d521c4c9a4045f + pristine_git_object: a6fb13d9a98a942165a45b498c084dd9bfcd10e4 + src/Models/Operations/DeleteBankAccountResponse.php: + id: 707a3854e816 + last_write_checksum: sha1:b7df9c4d20c6f9da46c3fea0f6f25dec58e4096d + pristine_git_object: 5fb475caaa021266b9cebb5310e15efb56fa8e62 + src/Models/Operations/DeleteBankAccountResponseBody.php: + id: 8718702ea0ef + last_write_checksum: sha1:5019bf57326f0d6a54577bb5bd1c51c8fee33482 + pristine_git_object: d6c311ed0e826cdb24376c2ed561f1f4b0a43259 + src/Models/Operations/DeleteCustomerRequest.php: + id: 3da9bd5476b5 + last_write_checksum: sha1:3e81ca1305462544a4687cc2ed99190e1ddd9b44 + pristine_git_object: ab103d2ab7ec5959e72f27336961b8632a7305c1 + src/Models/Operations/DeleteCustomerResponse.php: + id: 8705be8f666a + last_write_checksum: sha1:fea916e10ccde69acc8e159704ee0782afd78bcb + pristine_git_object: 83c2dbec0503ec1dd85ab4b95c8d475103b68d31 + src/Models/Operations/DeleteCustomerResponseBody.php: + id: 12d905b47d84 + last_write_checksum: sha1:253b2372671be8e70caba418a444f985c8c853e3 + pristine_git_object: 550c8622927392c49a3931a2949388b02a58637b + src/Models/Operations/DeleteCustomerTag.php: + id: e0cf42f15a76 + last_write_checksum: sha1:d39ea569c9639abc6a09943003966a994a511c91 + pristine_git_object: b36efe081de6d63834850036ceca912da2e8d5fd + src/Models/Operations/DeleteDocumentRequest.php: + id: 19ddb96e6408 + last_write_checksum: sha1:336fcf4a2e755f1a88fce9fb08a6c5146b5a28f6 + pristine_git_object: a0a4ac41051cf43c50e746d72042871f8b1cb369 + src/Models/Operations/DeleteDocumentResponse.php: + id: d1d4906ddbf7 + last_write_checksum: sha1:fef6ede5e40a901f62b96e539596903d5b977216 + pristine_git_object: 2a8d25c9b71f4d4e877f46890aa02eb99e064088 + src/Models/Operations/DeleteDocumentResponseBody.php: + id: 1962128b6b58 + last_write_checksum: sha1:800c9e58168b6f81da8b7be82c1f25b99acbc226 + pristine_git_object: e6f0162f34c80d3b978f1383a3b2f3f6663f0ef8 + src/Models/Operations/DeleteInboxItemRequest.php: + id: 039867ded771 + last_write_checksum: sha1:4a8d4ee1ab92a2647e083c8a8a97a09c428aa336 + pristine_git_object: 5ebb1b91a682fd6713135013303a21602a07780b + src/Models/Operations/DeleteInboxItemResponse.php: + id: 78d5b3d04c62 + last_write_checksum: sha1:d7040545b2eafc58becfca756c58fd5ac5245925 + pristine_git_object: de622ef3b365b68d515e685246e5219ed3778658 + src/Models/Operations/DeleteInboxItemResponseBody.php: + id: 840e206d4551 + last_write_checksum: sha1:9c47ba8cc9a178edc4c6c59453abf00cd07e41e4 + pristine_git_object: 5e00d100b92b711a7cd3c874f5ec02381814db7b + src/Models/Operations/DeleteInvoiceRequest.php: + id: b3b398de4dd6 + last_write_checksum: sha1:8e23d24bfde0a1d9571f8587cae229da664c67e9 + pristine_git_object: 0de58628e595a7e9ae5d576ee5a083de04cea1d4 + src/Models/Operations/DeleteInvoiceResponse.php: + id: 3e78a3c6fbf3 + last_write_checksum: sha1:7964f1eb5fd80efd701c63322a8982af6ab8e044 + pristine_git_object: 0719c4de6bbeb1e729466457c4caea74118fca6d + src/Models/Operations/DeleteInvoiceResponseBody.php: + id: e7f2e2c84ce7 + last_write_checksum: sha1:5f58e7346455501ac34da41d40566735e6f6d2c8 + pristine_git_object: 260ee67ee9777ffaad699a706a224fbc83c39dcb + src/Models/Operations/DeleteTagRequest.php: + id: 6498f48fbd51 + last_write_checksum: sha1:fa32c24ddfd71fcb9500663bdd20efe963c230a9 + pristine_git_object: b173512688b041c2042939621180475e8c2ea353 + src/Models/Operations/DeleteTagResponse.php: + id: dfe8fe10c7a3 + last_write_checksum: sha1:d58cc612db7a671c2a0070f1d9e215e0d1362715 + pristine_git_object: 912e4c26e96e404e4d8c85d5162da453ecd3226d + src/Models/Operations/DeleteTrackerEntryRequest.php: + id: 228bbf5e0e24 + last_write_checksum: sha1:009b36aa8a60807931cf748892d9b95a4cbc71ec + pristine_git_object: 851ad341ffb2bf053001d3f97dfd5a534cf14e11 + src/Models/Operations/DeleteTrackerEntryResponse.php: + id: 880994d4f2da + last_write_checksum: sha1:e425dc65f610b10a5436e64e3abd8a3c60f22346 + pristine_git_object: 01d22a55228baaae7c027c9434ee2403900d8144 + src/Models/Operations/DeleteTrackerEntryResponseBody.php: + id: 654a767eb878 + last_write_checksum: sha1:bced68c65362560f34f3a6059c7ac0a32e436036 + pristine_git_object: 0f2bba1b811c8113879e3bc72c94bbdcc0641dc1 + src/Models/Operations/DeleteTrackerProjectRequest.php: + id: 0e7bd4b8e4d9 + last_write_checksum: sha1:b8e2a365b8ee8624a4b24f7bf6ec4dbca673fe2b + pristine_git_object: 24467ab78ff888b9f416c16dea93ceee4452b608 + src/Models/Operations/DeleteTrackerProjectResponse.php: + id: 062573a1ae01 + last_write_checksum: sha1:03d3a8186c151c7be5a24d407da81e200af20e30 + pristine_git_object: e8a6b850efbbdee6ccf984e11e6b675c7e75157b + src/Models/Operations/DeleteTrackerProjectResponseBody.php: + id: dc65ca91a97c + last_write_checksum: sha1:fe9f254fbf11a53a84bb7dbbcfbbc554093e15c5 + pristine_git_object: 282ec7707c32a9b45e39cfa16af4058060292d0d + src/Models/Operations/DeleteTransactionRequest.php: + id: a73b25e02abe + last_write_checksum: sha1:ae65ffe34d15abee4c2e8195d83e4fa71bfa7a00 + pristine_git_object: 261916cdbcd9c415f6b1333803b0919858ec2738 + src/Models/Operations/DeleteTransactionResponse.php: + id: 53ec9fd30d79 + last_write_checksum: sha1:83dbcd6c2c505936bc89235a43b6e4ec03ac39e5 + pristine_git_object: ed5a469bcef4790b19ac9ecc7cafe6189bd24662 + src/Models/Operations/DeleteTransactionResponseBody.php: + id: 639e4493d366 + last_write_checksum: sha1:b74cf474956bda1360271317cf2901035ca111fe + pristine_git_object: 63ba7ef8a4bb1a49799058f486e6248dfc4f99a6 + src/Models/Operations/DeleteTransactionsResponse.php: + id: c9008b435d23 + last_write_checksum: sha1:8bcfbd8f2deff7958ebc7666320101198a1ba5b7 + pristine_git_object: bfff60dadae8a475130d9d22f3e2da47f7e4279c + src/Models/Operations/DeleteTransactionsResponseBody.php: + id: 6d5cca9883a0 + last_write_checksum: sha1:d6b050ec0420d3e1c5daf2bd95c2341ac165f060 + pristine_git_object: 7d549054e37fc0cbe609ccd7897e7d8c84439a42 + src/Models/Operations/DeliveryType.php: + id: df1db567eab1 + last_write_checksum: sha1:ba28035407078838f9918a869bc70af94b051c4b + pristine_git_object: 5e07ba1b0211eb80a94003244a7b97ee49d83bfa + src/Models/Operations/Entry.php: + id: ab367026e3ef + last_write_checksum: sha1:53e9afbc9af35bd8f481549fabbd17852b1bf043 + pristine_git_object: b846d4b568a27bb8399313e0c339acbb4f1f1cc0 + src/Models/Operations/FromDetails.php: + id: 8e846818b210 + last_write_checksum: sha1:ce3ac785d0830440603c8c7b5383d819b9440da9 + pristine_git_object: 6a3242676e30439f05492adf2cda1e27c6220d76 + src/Models/Operations/GetBankAccountByIdRequest.php: + id: 48e276174fbd + last_write_checksum: sha1:dc402e46055484b50b7bb12c15b73295e787742f + pristine_git_object: 888c72e81fe8de5ce7e868808c9f7a50627f559d + src/Models/Operations/GetBankAccountByIdResponse.php: + id: 28cc3b7739f1 + last_write_checksum: sha1:f5709220fd18bba3e62a666c49450bff839d5c1d + pristine_git_object: fdf13a75ec07f11739feb5a73db87018970b97fe + src/Models/Operations/GetBankAccountByIdResponseBody.php: + id: 5d7956e046b4 + last_write_checksum: sha1:3b0fa1241943fb947536ace8cf743a06cfb8c929 + pristine_git_object: 0e3a034c5a20326422e688742cbb00f5a3da7f3e + src/Models/Operations/GetBurnRateReportsRequest.php: + id: a2fc42ee49cd + last_write_checksum: sha1:a2fd70a51c5a16bc0a7eae56940a5c97643d32a6 + pristine_git_object: e553eb540ac86c28ae932ff1706175ecf9e49cdc + src/Models/Operations/GetBurnRateReportsResponse.php: + id: 1fc5e68a390b + last_write_checksum: sha1:89c36f19c8401f851a97ed30f489b1b404e597aa + pristine_git_object: b1ff692036ae077403b037dff2ec05797270e93e + src/Models/Operations/GetCurrentTimerCustomer.php: + id: 29522c0227e5 + last_write_checksum: sha1:2b68f3ae1864b73bc8f0e901fbd65e62c3960fd8 + pristine_git_object: f503aa9fa6af3fab10cea0785ae6e1615e53dcf2 + src/Models/Operations/GetCurrentTimerData.php: + id: 73647a786cd5 + last_write_checksum: sha1:47ac936899cc5858ca7fc14bf0416bc28e7b7884 + pristine_git_object: 98134c395ff92b6440e00ee724d4ffe93d0f19f8 + src/Models/Operations/GetCurrentTimerProject.php: + id: 9b759dfd9174 + last_write_checksum: sha1:4384a5596f733dbe4325bf4e50f5552bddf10793 + pristine_git_object: c2177609a78f74bc16cabce96d14998ecb4956b7 + src/Models/Operations/GetCurrentTimerRequest.php: + id: c3d874d25a36 + last_write_checksum: sha1:0de1710cb5a6fe97032dbbe6516b3c836ca6541b + pristine_git_object: c41acff84c972b88375714b681665fb9a14704c6 + src/Models/Operations/GetCurrentTimerResponse.php: + id: abff99fb60af + last_write_checksum: sha1:37680b1cb89494bc9475ea36869d5c7794e729a3 + pristine_git_object: 15e518502bc16c91996436c079c2e4e04c6b6c03 + src/Models/Operations/GetCurrentTimerResponseBody.php: + id: 19652ee460ca + last_write_checksum: sha1:8642ea02cb418b5cc35067f16411956f0ac1eaaa + pristine_git_object: 1ff930de641a3651af3d15b7bce2fcdae539a74e + src/Models/Operations/GetCurrentTimerUser.php: + id: e607e627d08d + last_write_checksum: sha1:d4636e63b15042aee29d8f59e5c047960ad61449 + pristine_git_object: 5cd0ad7b9c37f28b3cef0813189b31b487500fd4 + src/Models/Operations/GetCurrentUserDateFormat.php: + id: 1d86cb13fff8 + last_write_checksum: sha1:b06d303b87057530e7dbaa0878f2c4309aa6c546 + pristine_git_object: 898258157b90eb7a8e583f08a02ef52b89a82daa + src/Models/Operations/GetCurrentUserResponse.php: + id: 434447558b33 + last_write_checksum: sha1:4f4114efbca3b2a6423611a495490305edf7bc32 + pristine_git_object: 75d26cc6c686ce9d00538e5a92d483e984f6b894 + src/Models/Operations/GetCurrentUserResponseBody.php: + id: "302435666956" + last_write_checksum: sha1:7f232f5bb7ab908e8e8bd36e59da54a820fa1a95 + pristine_git_object: 306d03909bdbf0e671d3924c25536fa2b5815998 + src/Models/Operations/GetCurrentUserTeam.php: + id: bd1ee2ce9943 + last_write_checksum: sha1:82863957671b08924f9b0edf87379a630f6e4a25 + pristine_git_object: 02e21929294d9ab36e7f6fe36851f78b69a7bdfc + src/Models/Operations/GetCustomerByIdRequest.php: + id: bd0d5a9ef700 + last_write_checksum: sha1:5be30b1f254f46c8cca83dd32c99a8a44661888a + pristine_git_object: b85b3d1353e04a9f828f1aaeec580223c406e2ca + src/Models/Operations/GetCustomerByIdResponse.php: + id: 1ea4d739c4d9 + last_write_checksum: sha1:11b0921ac4d01cfb6bc7b39279ee51d78abf8fdb + pristine_git_object: 3d96e561b41cf80412e46219aed392a3947305ec + src/Models/Operations/GetCustomerByIdResponseBody.php: + id: c376a6b997cf + last_write_checksum: sha1:eb5c4847b86a831d9cc2830e0638858ea595397c + pristine_git_object: 74fa89aa49fd3fbaff993a31dcbabe88d99d20bf + src/Models/Operations/GetCustomerByIdTag.php: + id: 6946e71986ac + last_write_checksum: sha1:c1686b19d034ed8d87ed05aa8a69103835f43f3d + pristine_git_object: df31f11f68da093a4668c7535ecb5a6d81a80115 + src/Models/Operations/GetDocumentByIdMetadata.php: + id: 7c3feb47cedc + last_write_checksum: sha1:25a43e288b37400e161e4c68b160c51aa7e16569 + pristine_git_object: b7183b17daad0e7fe0ed76366c3f37a76c07e9f0 + src/Models/Operations/GetDocumentByIdRequest.php: + id: cc40bd0c1edc + last_write_checksum: sha1:33f39f74a791e55158c8d1814c7215db21c1d887 + pristine_git_object: e263ba5ff2915de88f1a60df1d3d995fd7993427 + src/Models/Operations/GetDocumentByIdResponse.php: + id: a92e738b4975 + last_write_checksum: sha1:7ffdc6340346cc7606e810e08f60d1fdba031d36 + pristine_git_object: 4fad0ffa431b1c33b2bb1ffdbb89b9ad5971fd9f + src/Models/Operations/GetDocumentByIdResponseBody.php: + id: cb874590c629 + last_write_checksum: sha1:ec65566a68ebaccedb47b4db703e79eed27604a5 + pristine_git_object: 75f44bd6ced638f8a6c56b5a9149e3bfd9e0a30e + src/Models/Operations/GetDocumentPreSignedUrlRequest.php: + id: bca19b91433d + last_write_checksum: sha1:e4a6b08ff166bcf125077986925a87aaba838b0a + pristine_git_object: 11073f95007bc43ae3eba5884fd564aace5a624d + src/Models/Operations/GetDocumentPreSignedUrlResponse.php: + id: 768bcad2a932 + last_write_checksum: sha1:7d8426b02003388b111b18066b5fecb06afdc75a + pristine_git_object: 1bd60e722cadcb5497eb5ceae63dcc79254133e3 + src/Models/Operations/GetDocumentPreSignedUrlResponseBody.php: + id: 3713917120cd + last_write_checksum: sha1:1575915a454b55147401916255366d78c2914c16 + pristine_git_object: c1ee5674597a788dd2835145afdf4965b34e0f7e + src/Models/Operations/GetExpensesReportsRequest.php: + id: 4b0a5f4f68c9 + last_write_checksum: sha1:526d05e2a2826749a9006ab1d4ea692d453c05b9 + pristine_git_object: 1e35555d7001d27217c1b8038140180880909fab + src/Models/Operations/GetExpensesReportsResponse.php: + id: 2c81a1c3a5f6 + last_write_checksum: sha1:d8250e06af71966aa2c07e1b6ce57dd4c11cfdd6 + pristine_git_object: 3d1923dab297b74974f4252130f0ed0a025ec245 + src/Models/Operations/GetInboxItemByIdRequest.php: + id: 71963599f3c8 + last_write_checksum: sha1:30eeaf401d45d4f6aa28caad69be7091d05d55ab + pristine_git_object: 7120bc8bd7826b057192454f3951b46773fdaffe + src/Models/Operations/GetInboxItemByIdResponse.php: + id: e53906c55013 + last_write_checksum: sha1:b8575fb8cface58c2e189eafb7e6d2be57368108 + pristine_git_object: e24e1a066c6b02e014d7d3c36f8cf53bd0b236fb + src/Models/Operations/GetInboxItemByIdResponseBody.php: + id: 1b3fb1cd9da7 + last_write_checksum: sha1:2e820d41d75f0f6e7198e03e42bd5f8ac7bb7532 + pristine_git_object: 2e89df100200d0d3aa1ac4d42f4c7a2cdd758a41 + src/Models/Operations/GetInboxItemByIdTransaction.php: + id: 1ce432c55ea5 + last_write_checksum: sha1:08904ad83f8d4354ff47dde9e2d72d41bb9382c4 + pristine_git_object: 1fccd76d22cccf34871ece8e8f5fc64c1749e923 + src/Models/Operations/GetInboxPreSignedUrlRequest.php: + id: 0cf2d0ad7fff + last_write_checksum: sha1:7ac9c6ea7f7f7af4dd10b578d90d8784598fc5ae + pristine_git_object: 7bd3a7316b1ed61fb40fe88623cf35859bb1bcb7 + src/Models/Operations/GetInboxPreSignedUrlResponse.php: + id: 3bee53aa9b84 + last_write_checksum: sha1:06fc9f7cd335a929228363dc330de240d215c448 + pristine_git_object: 5691c0b6de46f94d354b3887dade92ff959c6ee3 + src/Models/Operations/GetInboxPreSignedUrlResponseBody.php: + id: d104a350a9e2 + last_write_checksum: sha1:40ef7585c15109667c6675b36eb6ef1acb67d93a + pristine_git_object: 841bbc9f4893aaeb490c68ebb7602d54d7033593 + src/Models/Operations/GetInvoiceByIdCustomer.php: + id: 4a49afb5ef14 + last_write_checksum: sha1:d8fd0eb3e08a13e36520830845e27046fd6a4123 + pristine_git_object: 38379647244198eade76a9bfa8e25b801a199e0f + src/Models/Operations/GetInvoiceByIdRequest.php: + id: a9c3aafd15b9 + last_write_checksum: sha1:917f01396a17103feaca3cd134181321a9abec84 + pristine_git_object: 8b48c98c8f536941b7ee6ec5e3e3412449b9d9af + src/Models/Operations/GetInvoiceByIdResponse.php: + id: 7afa07ba7cd1 + last_write_checksum: sha1:4e7ff5e83b0e4ece156b0659c0f40749c806eab2 + pristine_git_object: 5bcaf079072ce1117765acaa5aa20fade159c737 + src/Models/Operations/GetInvoiceByIdResponseBody.php: + id: 9574800a0211 + last_write_checksum: sha1:6b29e63b803d458d06d2fb3bc7c81eb1ad4d55c7 + pristine_git_object: 5040c3474463492cf0ac3da1a2d4bcf5510316eb + src/Models/Operations/GetInvoiceByIdStatus.php: + id: e36c29ee3d49 + last_write_checksum: sha1:5a1e14d0bd264a08edaf70931e8399916d38a8a4 + pristine_git_object: e8d957e660c0fef1fbc7383a8e2dff58bbba4fdc + src/Models/Operations/GetInvoiceSummaryRequest.php: + id: 0172988d8cd6 + last_write_checksum: sha1:c7a21b3a39b2c777ead4c85343a24c43c0ecf74c + pristine_git_object: 6da2b76d5a6704117f4b33e33da8f73f9e16f4e4 + src/Models/Operations/GetInvoiceSummaryResponse.php: + id: bb0e4405afd4 + last_write_checksum: sha1:e44274de2906c721b70a347337182becce5bfebd + pristine_git_object: 5e5bb597807cefe0a0f4d76fa877fd0ecad57657 + src/Models/Operations/GetInvoiceSummaryResponseBody.php: + id: 8aa738d8da1b + last_write_checksum: sha1:74dcd809234a8d6a056741cc82ca40d6f2067e43 + pristine_git_object: d60ded773d2bd4c125b730dbc5c1e9668a5557df + src/Models/Operations/GetInvoiceSummaryStatus.php: + id: 861159bd91ad + last_write_checksum: sha1:276f6a8dbdf34ca37a0b2d389587e4fc9cb43ea9 + pristine_git_object: dc01f3d22fdf34beae59322b02d89f2b06bd9b3a + src/Models/Operations/GetInvoicesPaymentStatusResponse.php: + id: cf3448fabc85 + last_write_checksum: sha1:02f9e0d6b73b28480b0ade7a16e52423b0363d9c + pristine_git_object: 9f1e2d7d70efdcf7f314d556426ade152eebfe49 + src/Models/Operations/GetInvoicesPaymentStatusResponseBody.php: + id: effdbd1a22ed + last_write_checksum: sha1:e7f9a6d3ce535fa80a7d392c64117f61cf2a938e + pristine_git_object: f38ea6a471333bbf97865ee3e17cb6d665d6cb24 + src/Models/Operations/GetOAuthAuthorizationRequest.php: + id: 5bc484274fd6 + last_write_checksum: sha1:c6d2f413e72885d75497db7efa060e61dd9f0035 + pristine_git_object: 849e632a51f49304bb4a9dbbaf55dd50349ccb68 + src/Models/Operations/GetOAuthAuthorizationResponse.php: + id: af67e4eb1fa5 + last_write_checksum: sha1:f0fa624a957afa0d56e3e3239dc92d877396c64e + pristine_git_object: 9c109791a3b82ec9ab628e0abb213c67e51dec43 + src/Models/Operations/GetOAuthAuthorizationResponseBody.php: + id: b3b04dc696d4 + last_write_checksum: sha1:a58f0363abeb53407793d05964ee7a45503f553f + pristine_git_object: 044eb5a6423118f5e440c0d70d43b25d2ecac3b4 + src/Models/Operations/GetOAuthAuthorizationStatus.php: + id: ed43a38f8d66 + last_write_checksum: sha1:5055e264b423c0fb07d70f62733dc8a16a663b7a + pristine_git_object: c4bc488233ca82e00281aee0ff7f4fa0a54246cd + src/Models/Operations/GetProfitReportsRequest.php: + id: 423a28c7d6c2 + last_write_checksum: sha1:45edb34713647eb1bdb975c71220536396359e6b + pristine_git_object: c8adaa61f8ff90c6d78357cf8311ccc028bab79a + src/Models/Operations/GetProfitReportsResponse.php: + id: 8a960a0313e9 + last_write_checksum: sha1:0cf5bcd8b31be59e0b1e389e06002204b79d6bfb + pristine_git_object: f605eeec6f65f6eb41ef90735afd681d0a06dde0 + src/Models/Operations/GetRevenueReportsRequest.php: + id: 05addc7ce458 + last_write_checksum: sha1:02585c7e11028240f97a340500d71cfe6223ec22 + pristine_git_object: 6c384c43821fad6531fad80b287f231bfb5528e7 + src/Models/Operations/GetRevenueReportsResponse.php: + id: 9fa59ff602dd + last_write_checksum: sha1:96ad9eb4962a3fa81d2c87b1c6e30f68a800eae6 + pristine_git_object: c36caf2d28e2d85b8a9068c494aee759e237c448 + src/Models/Operations/GetRunwayReportsRequest.php: + id: caa2f6593191 + last_write_checksum: sha1:b21218f34ac6e39c7ef1970c1c17e8657e62171a + pristine_git_object: 7425eed02ab147a9a84ad25873f9a7a64763b21c + src/Models/Operations/GetRunwayReportsResponse.php: + id: 08a3f8327315 + last_write_checksum: sha1:b2888d9b1037d642471289e7d6b5632982207681 + pristine_git_object: d4e7fc7f0750579211fee9860e1b523baa516323 + src/Models/Operations/GetSpendingReportsRequest.php: + id: ff42e85f6936 + last_write_checksum: sha1:c4f78e5df55db5145cc34c4541d4c1dcdc5321d9 + pristine_git_object: 0384476ef50ddb493053e90ddde8c709599bfef1 + src/Models/Operations/GetSpendingReportsResponse.php: + id: db5b1193bf1b + last_write_checksum: sha1:7e5d68ee6356540cfa71085e938c604bc97c449f + pristine_git_object: f47b6db78bc4ccb6893555e4dd6cc32182a03885 + src/Models/Operations/GetTagByIdRequest.php: + id: 07f7a35e6265 + last_write_checksum: sha1:588f784f93a48ef342662f0b8d5bbb7be23f5c36 + pristine_git_object: c5189e461b3aaead7de7d5eeb9106b7d8470436d + src/Models/Operations/GetTagByIdResponse.php: + id: c88682645342 + last_write_checksum: sha1:8b644ee4982180a1ad34f16df14bff616a5496f0 + pristine_git_object: d5d112ce58d3e08d5a9ea9b9232689c67b33c807 + src/Models/Operations/GetTeamByIdPlan.php: + id: a68de52f5816 + last_write_checksum: sha1:58daf192ca08de17c00d1636e6bca75063c3b542 + pristine_git_object: 3367107bdc6e0e14c14f2b3220648fb7e73ddae2 + src/Models/Operations/GetTeamByIdRequest.php: + id: 6456215bf12f + last_write_checksum: sha1:949eecfa3159c906266577fa9263a7545d3f07c7 + pristine_git_object: 28d97cd29873107223157a7d4610be01e1fee365 + src/Models/Operations/GetTeamByIdResponse.php: + id: 462f94c224ec + last_write_checksum: sha1:c3aca2c3b2f70b74709359e4b9934f3a9b384252 + pristine_git_object: 1103eb28deae3f660f6081aeb520751b5d35e65b + src/Models/Operations/GetTeamByIdResponseBody.php: + id: 330dcc536df3 + last_write_checksum: sha1:2403dc4ce6af712198738114c824dff3a2f93903 + pristine_git_object: ac928b95dd7e50bd80a018d6cd47d57d1d509657 + src/Models/Operations/GetTimerStatusData.php: + id: 32e971b83a77 + last_write_checksum: sha1:3b6203bcb42b373feed48866a527fbe599103864 + pristine_git_object: 8390fbc3a71f65293ab78f7bfd18973be7f9293a + src/Models/Operations/GetTimerStatusRequest.php: + id: 12eab4712014 + last_write_checksum: sha1:5a6ed296b5f0aad11ab4909149e016c33e02e46b + pristine_git_object: 714a7d0032ec310789305123e9af34896094c645 + src/Models/Operations/GetTimerStatusResponse.php: + id: 431d853416b2 + last_write_checksum: sha1:d3f3196db5567adeddf911d859f5b253f47e526e + pristine_git_object: fdfaac341fa65c9aeef01eb41011c901898cc82f + src/Models/Operations/GetTimerStatusResponseBody.php: + id: e329f8ab08b3 + last_write_checksum: sha1:70ddcbef101893df6bcb22f838ce975ba2ee5def + pristine_git_object: f7444590c82d903276910f9226d26fdf44dea1a4 + src/Models/Operations/GetTrackerProjectByIdRequest.php: + id: 51ea0a4dcb17 + last_write_checksum: sha1:0db3ca45f5e758c2ffedb579590d6c403bed7088 + pristine_git_object: 4df0da0faf99d62e19683e9eb673d505760e9a47 + src/Models/Operations/GetTrackerProjectByIdResponse.php: + id: 45c3d372ce1b + last_write_checksum: sha1:159198dd52b5d644781f4b9a82b1132c535d93b4 + pristine_git_object: 3c5009dc68c662fd1d35daedac3a1f15fef41489 + src/Models/Operations/GetTransactionAttachmentPreSignedUrlRequest.php: + id: 53056d372f4d + last_write_checksum: sha1:7053f24236af09ddf131547737584229a3c335ca + pristine_git_object: a735dd25fd7f8aed1ce611c699f0e1d73006c690 + src/Models/Operations/GetTransactionAttachmentPreSignedUrlResponse.php: + id: 83d979a4c604 + last_write_checksum: sha1:b3bf1e86f14d08bd9b75ef8415dc91f22e148975 + pristine_git_object: 1b0d4e4cc9da9dbd35eb4f007000392d4184a54e + src/Models/Operations/GetTransactionAttachmentPreSignedUrlResponseBody.php: + id: c60dda788c79 + last_write_checksum: sha1:210d40b8bb6bba2bf4c705536a5ea69c13d6351c + pristine_git_object: 1c1bda6f5004f2c735790b5acb2afed6a9c53155 + src/Models/Operations/GetTransactionByIdRequest.php: + id: 8a5e176c8b85 + last_write_checksum: sha1:be4768ddc038938a0c6f7757f441e1b38e136429 + pristine_git_object: 4d09b23c6b1e7316a3d977433be8cad487a6ffe7 + src/Models/Operations/GetTransactionByIdResponse.php: + id: 1d68270cf069 + last_write_checksum: sha1:b7a28558dab233152e933317cae0453901b8874d + pristine_git_object: 084af07b86877ba05e5becec79ba6121b95bb0f3 + src/Models/Operations/GrantTypeAuthorizationCode.php: + id: 25a783816d6b + last_write_checksum: sha1:0d0ad9adea18eec452ba817101081e990c333bb7 + pristine_git_object: d20980ad72556868d5a61bfd843f98512bcbc1f8 + src/Models/Operations/GrantTypeRefreshToken.php: + id: ff4c95bacb9b + last_write_checksum: sha1:c0c786ce2ab3b35f3078b5d7cae8c15db9ee89f5 + pristine_git_object: 02d2fb06f54991ef0abac2e1b019429519821973 + src/Models/Operations/LineItem.php: + id: fd911d552450 + last_write_checksum: sha1:43d04ce6cc9d3afa3ab00673823b2d29d855e70b + pristine_git_object: 563588404cdb36aafc5ff914e8263dd0724be274 + src/Models/Operations/ListBankAccountsData.php: + id: 3a1860ca273e + last_write_checksum: sha1:a494e84b9ade7b0570fe2635e8379ccc3ca965aa + pristine_git_object: 117e2060d20006f35aec6b824de4cf210973634c + src/Models/Operations/ListBankAccountsRequest.php: + id: baa12600f367 + last_write_checksum: sha1:9adc6e82e43374d1f5cf0a0d9057a9f6c6c150c0 + pristine_git_object: 1d62169620e51620e233c435eb4809f3da9f6912 + src/Models/Operations/ListBankAccountsResponse.php: + id: 3c3f5097475f + last_write_checksum: sha1:52875d92275e4920a24bbe81529559ab9d383b48 + pristine_git_object: d86f2fffad82a278c16d663bcf12b7740a28a3b2 + src/Models/Operations/ListBankAccountsResponseBody.php: + id: 92f3f33050a5 + last_write_checksum: sha1:789be23502fdf7fcdb9b218b41b0ee39e0b73050 + pristine_git_object: f611e44413ffadc12bc51118067ca4cc0c346f94 + src/Models/Operations/ListCustomersData.php: + id: 16da91a1eb0b + last_write_checksum: sha1:59f78865581deac80d022574d58c0e165560e8df + pristine_git_object: 05ea02703360581930d6f11912c59313eadfb955 + src/Models/Operations/ListCustomersMeta.php: + id: 3c6b5db90066 + last_write_checksum: sha1:e9b488fd581aa82f66a760c8eb8708af5914bc75 + pristine_git_object: b035345db12ca457756d8251f3a680c88e07450d + src/Models/Operations/ListCustomersRequest.php: + id: 2a048846f412 + last_write_checksum: sha1:8e851e2329e83cace7d9372091b511c320b89a56 + pristine_git_object: 1661d352bffb1b7c19fd0779040a9fbdef2738ff + src/Models/Operations/ListCustomersResponse.php: + id: f72c3b2aa983 + last_write_checksum: sha1:d5ae0e040abc4ead17b8eb91fe16b2a4b5723b1f + pristine_git_object: bdce435a987cdb2348f64f58ad46d161f00755b9 + src/Models/Operations/ListCustomersResponseBody.php: + id: 52bdb292a3ad + last_write_checksum: sha1:23c556b01987259ea5847d40f0d031af494c0a7b + pristine_git_object: ecffb86722035c46d9c208c2bf86838d66dd52c5 + src/Models/Operations/ListCustomersTag.php: + id: 6b016f4e69ec + last_write_checksum: sha1:a2c798fd1f81ec42e9fc81935a448fd3a87ae1a5 + pristine_git_object: 1613b054bcf6a085c012d57a18f73f8c225fd71e + src/Models/Operations/ListDocumentsData.php: + id: f6ab819d28db + last_write_checksum: sha1:e5b795e12cbeca6d917ae9a099fc16e918a05b6c + pristine_git_object: 7dbbef0def5ea837e08d5be13ab7f5d0304215be + src/Models/Operations/ListDocumentsMeta.php: + id: d44f9b3cbf69 + last_write_checksum: sha1:0a9524dfc3e58ca0e4ab3346fc7fb1e46c771c5f + pristine_git_object: 8a7107fcb1b92add83626f5c7eac07b94b81cca4 + src/Models/Operations/ListDocumentsMetadata.php: + id: 2ef3f50a9b4d + last_write_checksum: sha1:282bcf7929e1eeea540c90a4bb232ef123447537 + pristine_git_object: 31583c5f12fedb6d9167990493bbe9afeabfd1f9 + src/Models/Operations/ListDocumentsRequest.php: + id: ebcd34c7f418 + last_write_checksum: sha1:ab8912a1f13ee8f0e334cb10f7ade16b4fe0280f + pristine_git_object: 117aedd2e51117aba14cf8698068cbffb6cd91af + src/Models/Operations/ListDocumentsResponse.php: + id: 57193487c368 + last_write_checksum: sha1:18d9d329aacbe2f76f954efdf43ee2a893dc132d + pristine_git_object: 565edae8fa3753081e48d49f285e982f8c02ed99 + src/Models/Operations/ListDocumentsResponseBody.php: + id: "48004676e214" + last_write_checksum: sha1:fbd3ece1995b65ed9381e79ecd3bcc282b3c6a2b + pristine_git_object: b2cc5a59af1fb7a02de6cc5171152d6ff38c1403 + src/Models/Operations/ListInboxItemsData.php: + id: e4d51fd9d986 + last_write_checksum: sha1:f2bf60590c0ab5747128981e01a9d36ae4b6d952 + pristine_git_object: 1c229eeab133cc4afb04cbee78499bf5c1a1c04e + src/Models/Operations/ListInboxItemsMeta.php: + id: 07367f126742 + last_write_checksum: sha1:7b0f8dfaacb32c40b5df00bf58a50e8ee0697e3b + pristine_git_object: c10f365e3f9366e66dd5dc51916cedbaf343c140 + src/Models/Operations/ListInboxItemsRequest.php: + id: 66fe127e6883 + last_write_checksum: sha1:86ac58d44b08d1bc19bcd4c11587e9c6dc32fc73 + pristine_git_object: af93ec208cae1e7e171de7cef7e31fc11b225ac6 + src/Models/Operations/ListInboxItemsResponse.php: + id: cb323c67f64a + last_write_checksum: sha1:fb21dcb20957bf611629bc5a2db8f1b58a814554 + pristine_git_object: c4478f42cae9e2a4fc5d5e9a13729e4ece33e80c + src/Models/Operations/ListInboxItemsResponseBody.php: + id: 144e52b7059f + last_write_checksum: sha1:e465657a8177e86535e89419c881badb3f544898 + pristine_git_object: 366cc514c92de9c0e64ae76081191230a0d69162 + src/Models/Operations/ListInboxItemsStatus.php: + id: 35a22894e96b + last_write_checksum: sha1:4ab88ba58d60cbd79d90377f1b2790dda1b4570a + pristine_git_object: 1198e5a141bc30ebfe81eff38f15ddc51d5b085f + src/Models/Operations/ListInboxItemsTransaction.php: + id: a2e7221a3ca8 + last_write_checksum: sha1:43b38a2a1adb7ac570f74864a2ddcd3fc8b4c1c6 + pristine_git_object: fe8e86668e26c37a8f1888dc2f8d1da1d40bca0d + src/Models/Operations/ListInvoicesCustomer.php: + id: 8005c0a9c4c3 + last_write_checksum: sha1:7bdb42c25245ada5111952e5e04408eac552d84c + pristine_git_object: 869caaf9c1c20a0bfb793f31116f33f9dc485631 + src/Models/Operations/ListInvoicesData.php: + id: 5281fcf30375 + last_write_checksum: sha1:4a1c5a3f0c2577fac0491cc11352f5224e4cc308 + pristine_git_object: caaa8047703d48542f66356c131ed52a78c43b37 + src/Models/Operations/ListInvoicesMeta.php: + id: 8c1dea43046c + last_write_checksum: sha1:21537fefdf5cb47899d3050422116e60006a1fe3 + pristine_git_object: 09fe530ac8125cbd9ae445e5cd6d111727c6082f + src/Models/Operations/ListInvoicesRequest.php: + id: 277460660a77 + last_write_checksum: sha1:e99706abb3b109e4ca87f89bf0690ad0c1514416 + pristine_git_object: 185b6c9408e983042cbbfed756469c54b2cfa906 + src/Models/Operations/ListInvoicesResponse.php: + id: d6421c5cc164 + last_write_checksum: sha1:df1e3368908be347292f595c3a98212b78cef20a + pristine_git_object: 22bc293a34e2c331745c5615ab054e04cbb57139 + src/Models/Operations/ListInvoicesResponseBody.php: + id: 0d9b5355a948 + last_write_checksum: sha1:4cc3a24037c52c938efc9012fedfacd792bc243b + pristine_git_object: df1c5d8ecee4d9ef1c878fb3f6cf3021b21729e6 + src/Models/Operations/ListInvoicesStatus.php: + id: 9a740a3f7160 + last_write_checksum: sha1:f2e374f88d02bd82a0d2241d72bac7a813e2072e + pristine_git_object: 1c238e20ec4c0cd827f7d75c182d1d4d73ad5da4 + src/Models/Operations/ListNotificationsRequest.php: + id: a1ecaec4590e + last_write_checksum: sha1:c64337301264a9b11b7f471b2dc81a952f3faa57 + pristine_git_object: 80bc3af909d53d8ed3859f1348dea83aa4cbf182 + src/Models/Operations/ListNotificationsResponse.php: + id: d00d80eed049 + last_write_checksum: sha1:8378aa19c0ee636a59bda1d7a4c6c6bc881195f5 + pristine_git_object: 86e7a23c4e6c3ae6ce552cfb0a1220bf66e89055 + src/Models/Operations/ListNotificationsStatusEnum1.php: + id: fe6b261c5e5e + last_write_checksum: sha1:ece7ff97efff5a2d5fd3f9d42f5f257a3e5d9bb9 + pristine_git_object: 3777572157747807af3e8c2d000d00914ae802fa + src/Models/Operations/ListNotificationsStatusEnum2.php: + id: c7de11461230 + last_write_checksum: sha1:956473cee56d5e1dbe66e589b272b9a39d79d683 + pristine_git_object: d1c055755abad017b39b135bec3b5695a1609ac3 + src/Models/Operations/ListTagsResponse.php: + id: bb29e0e2643f + last_write_checksum: sha1:92312a22c94178c026cf73b107a83c8a7c3591bf + pristine_git_object: 1ba01570f48f92e81c5329d9dc148be646ac0529 + src/Models/Operations/ListTeamMembersData.php: + id: 6ae4f0b65bd8 + last_write_checksum: sha1:fc16e25176f040d174f800a793bdc5cd79749ee4 + pristine_git_object: 468b9f778a4232b467b35df109bddd0a8941ce25 + src/Models/Operations/ListTeamMembersRequest.php: + id: b02c197be243 + last_write_checksum: sha1:4035a2018d824c5db0e16341fe5c5c02960e2485 + pristine_git_object: 820368663d3961dd3143bbc510a0868b404b8e5b + src/Models/Operations/ListTeamMembersResponse.php: + id: 7a107f899ed8 + last_write_checksum: sha1:8b3bd4fd759c6e9dad1776bf00f04ce6571faf8d + pristine_git_object: 166347e858dadfcd80baff44ddb62cf3e6c99949 + src/Models/Operations/ListTeamMembersResponseBody.php: + id: fcc62c11df54 + last_write_checksum: sha1:709c9034007172ac4ce160c2a5c959172b4c475c + pristine_git_object: 6195f10d70b7699671e766cfde883a519f04be4f + src/Models/Operations/ListTeamsData.php: + id: df5796fe1eb2 + last_write_checksum: sha1:91b2ac323362208ea1c8281ad26b47471c459459 + pristine_git_object: 4d537eb915d30c47036379e0d3a5c5bfed1c2036 + src/Models/Operations/ListTeamsPlan.php: + id: 8cb7664f7169 + last_write_checksum: sha1:f93042f1ecbe6c5e2ed242f7ba21376d68e1296b + pristine_git_object: 596fc7c48f58189eec4b2907573e3a17b297a7e5 + src/Models/Operations/ListTeamsResponse.php: + id: 95bd91d8da77 + last_write_checksum: sha1:78ff6d38a7bc30ebd1ef7e1ae777d5e93331eb85 + pristine_git_object: 0f97ee0ccc28ba4a49c4e8b2d7919cdf6864f3f8 + src/Models/Operations/ListTeamsResponseBody.php: + id: b6dee18a6613 + last_write_checksum: sha1:5473c74497840abcf7ba1e3e51275c43ce5c760e + pristine_git_object: b1ad421c15981464c544db6ec0b0ba2a7da41a9e + src/Models/Operations/ListTrackerEntriesCustomer.php: + id: 1a41f4722ffa + last_write_checksum: sha1:1763e8b9af7292815add30f501bc9750280aa699 + pristine_git_object: c2d4b0ed07954004d8c828c490d1df5ddec98a7d + src/Models/Operations/ListTrackerEntriesMeta.php: + id: 1789f840ba50 + last_write_checksum: sha1:913f5d0c4d1f2fbd7f877ff0ef2ee29e90ab7cdd + pristine_git_object: 4a2bcb2551da851cb05088914f4ea2b0b4b9cfbf + src/Models/Operations/ListTrackerEntriesProject.php: + id: 0a7ebf32e150 + last_write_checksum: sha1:db2de16d5f1affad08a0d1e3fb4c1d6335c0a87a + pristine_git_object: 8e06ec725441372072bdb47c976a66cfe30ea292 + src/Models/Operations/ListTrackerEntriesRequest.php: + id: b2618b513eaa + last_write_checksum: sha1:ae9bbf8f87589626ee90caa504708f8693e25854 + pristine_git_object: 876ce5746eb5b0f50958cb3725556a83e8adf6cd + src/Models/Operations/ListTrackerEntriesResponse.php: + id: 310d0708ec54 + last_write_checksum: sha1:78ec895634d8e8ffc24e79127b12ef6af9ea3303 + pristine_git_object: a153a50fc573eb8f55c651537bd049e7b74b2844 + src/Models/Operations/ListTrackerEntriesResponseBody.php: + id: 1779c94822c0 + last_write_checksum: sha1:de3d5d5e363ced2277eba26cb190e9f52e4afc1e + pristine_git_object: 15290c370a3902298cac6fc779fe3d721d00666e + src/Models/Operations/ListTrackerEntriesUser.php: + id: "068664069677" + last_write_checksum: sha1:ffc6abd42d643b542f54d834fe00a739b61df66b + pristine_git_object: bc8bba175507f8f97dbc468c8d60df921299c674 + src/Models/Operations/ListTrackerProjectsRequest.php: + id: a9df9050f9ec + last_write_checksum: sha1:4742e691da5f07fc4966922d3df00e52fe4e2e6d + pristine_git_object: 8846fff556efa62b0524040a2fdc009d21567251 + src/Models/Operations/ListTrackerProjectsResponse.php: + id: 216def4d8ce3 + last_write_checksum: sha1:ec30c1b6b1db7580fd740abb9a939c2a6e5ea3bf + pristine_git_object: c40d712842c2c17536fcad14ffe7fd4abaabad94 + src/Models/Operations/ListTrackerProjectsStatus.php: + id: ec80b1dffc44 + last_write_checksum: sha1:6c6c16a033b341a329a5d6836bc1b9dac755438f + pristine_git_object: 751812cbce846885eab622ea5b50f5e61933879a + src/Models/Operations/ListTransactionsMeta.php: + id: e25526ffa3c3 + last_write_checksum: sha1:f9ef54977d815ea2a0401582736aebd18a9f46db + pristine_git_object: f17ff027f0cc713aeeec1c3a87c80b2715663524 + src/Models/Operations/ListTransactionsRequest.php: + id: 753862bfeb98 + last_write_checksum: sha1:f4f7f5b579c063f0be39b13a09969c5fc685a048 + pristine_git_object: 77f24ba1c04048064ba53f4859498dc75e007376 + src/Models/Operations/ListTransactionsResponse.php: + id: 1e97aeef9046 + last_write_checksum: sha1:15459c18482b1201ffb27132fce8dbacb21f430c + pristine_git_object: a5ec64c819de538a07ec02b87e8e0e797b6bd2b0 + src/Models/Operations/ListTransactionsResponseBody.php: + id: fe3dc388ba59 + last_write_checksum: sha1:520a109e08ba2623a91f4bebb0d9f7333ef9c172 + pristine_git_object: 9b3855160b7cbe54517e580ce5e788389420f712 + src/Models/Operations/ListTransactionsType.php: + id: cb9527e2744e + last_write_checksum: sha1:3c486d0a8123fd0cec15a949649c41ce7cff37bd + pristine_git_object: 034fde3081966cc7deb6b21ac7a508a1734d48d3 + src/Models/Operations/Name.php: + id: b649c2d467c0 + last_write_checksum: sha1:9fe7eda1056458d59e05ed88c4989a675165daa4 + pristine_git_object: fff17b3fd018e99de37fd99c2676929af7cbbf26 + src/Models/Operations/NoteDetails.php: + id: 6cbf6774415d + last_write_checksum: sha1:926a507d11337c87ace1d20465fa5fd6dee1bab1 + pristine_git_object: 69fe0800b1920b5e2e156013850ca5f3849760eb + src/Models/Operations/PaymentDetails.php: + id: 42de65600cb1 + last_write_checksum: sha1:a8939da33c3a01bb61dcecd589278a44da78b1bb + pristine_git_object: 867c5c8fd67995b5892bfbe6392f5f80eed31ef1 + src/Models/Operations/PostOAuthAuthorizationRequest.php: + id: 7039a9fdb46c + last_write_checksum: sha1:1d3e25e42f4c955dd073e3397d929cf9522a9264 + pristine_git_object: 0a9d5220b90bcc733928d0da2ab4715ee7771082 + src/Models/Operations/PostOAuthAuthorizationResponse.php: + id: 40ae6a801056 + last_write_checksum: sha1:d5ac4f8a2d392380c846c83d41cc16356cb4a099 + pristine_git_object: 6ecf43dafcc600d195413a5875b48bf9445c9ab6 + src/Models/Operations/PostOAuthAuthorizationResponseBody.php: + id: 75a9f720eef9 + last_write_checksum: sha1:4f24d6857ab3d2ffd788390acd272f0953c9706b + pristine_git_object: 438236537a9174f9ebde099b0bf8d50167adc91f + src/Models/Operations/PostOAuthRevokeRequest.php: + id: 37eedf85331d + last_write_checksum: sha1:1e5a771d6f763f090474accbcdd21bd1bde65f17 + pristine_git_object: d13ebf90a5328c420743cd3e7fbf118356ee2ea6 + src/Models/Operations/PostOAuthRevokeResponse.php: + id: 8337968bc272 + last_write_checksum: sha1:8a039ba67f0ba792a7bd157d9bd25131574dc6c6 + pristine_git_object: cf300b650c0a9808ebe232a6c10a362943ff883a + src/Models/Operations/PostOAuthRevokeResponseBody.php: + id: 7c9daebc6b9b + last_write_checksum: sha1:7a0f725c920bf445a89dc25417fa7ee2d8adfa24 + pristine_git_object: 56e9503f8ebc7ee947b37abe6494fcbaffc2f3f1 + src/Models/Operations/PostOAuthTokenResponse.php: + id: addb15c32194 + last_write_checksum: sha1:39351436e45a0f0bce7d81982ecb64393a5c2687 + pristine_git_object: 12efcc9a4ed723462d90d9eda7cdcbc42604dffc + src/Models/Operations/PostOAuthTokenResponseBody.php: + id: f366d0da611e + last_write_checksum: sha1:9f3e69b16541d98b46ff31994920d556185a3cf0 + pristine_git_object: 12af3c107c875fd7c34348d030d18badc1a4f110 + src/Models/Operations/RefreshToken.php: + id: 0864be67b72c + last_write_checksum: sha1:0ee40aeacd8d0f6f7ca39354dd18c210cd4a0c91 + pristine_git_object: 686a933eeffa6c3a616192976443b1513a647e82 + src/Models/Operations/RequestBody.php: + id: 8fdc13a58346 + last_write_checksum: sha1:93fe4f60ad4be536ae6977ae6bc784fc5ae0ba83 + pristine_git_object: 34cfdad3c5b47c1dc574d661555633b270a4fd05 + src/Models/Operations/ResponseType.php: + id: 6ef0b05d18f6 + last_write_checksum: sha1:935861af3a823308d59ac072d681e1244a7dbf00 + pristine_git_object: fc66769a21d6fe3a3bd72c87b1fc155f01d8b05d + src/Models/Operations/Result.php: + id: 7951cb7defd8 + last_write_checksum: sha1:5744fddf81d3ac02f311e9b5d8456aaadc0aea25 + pristine_git_object: 009e5db188e1fa1ae72f41c599d5e262a0a5f1ee + src/Models/Operations/Role.php: + id: bc91fd2075e5 + last_write_checksum: sha1:467efe03c91d6f739bd6c5df7fa7efb7f58f69eb + pristine_git_object: 4c587e85d4f442a1aac6f1f8015e1d6d43f13f72 + src/Models/Operations/Scope.php: + id: b73d61653aff + last_write_checksum: sha1:0a67631af4e66bd22b3e7265ed8d78eb06669f3b + pristine_git_object: 7be00c936561ad4cb12f091d10e63cc993739b9e + src/Models/Operations/SearchRequest.php: + id: aa7e64b849c1 + last_write_checksum: sha1:463b0a819ac88b364208315aad6c6713ce1525fa + pristine_git_object: f168df55cb6dc75863a061c54c89c5c2af8f74a6 + src/Models/Operations/SearchResponse.php: + id: 26936c216265 + last_write_checksum: sha1:f2e1ab55a71b22f6a6a79095925f132c6e65cde1 + pristine_git_object: d2f9e620540866a797163a68690ce3560c918124 + src/Models/Operations/SearchResponseBody.php: + id: ea4d21d1bf0d + last_write_checksum: sha1:8765255e80172166009f5122424afa385de4303a + pristine_git_object: 2c781f36033d587667b93b57dab20425948da123 + src/Models/Operations/Size.php: + id: 43ac29b0b61c + last_write_checksum: sha1:7715c50715f25b7984b8bb2d66bee92716873159 + pristine_git_object: 66ab826716221757041ddfeb4714cb200ba790b7 + src/Models/Operations/StartTimerCustomer.php: + id: 8cd3d05329b7 + last_write_checksum: sha1:03140adcdd0876ae1e428004a10d053a48ffbcd0 + pristine_git_object: d0392993393cb6797fe1509d07d57aa2414cd170 + src/Models/Operations/StartTimerData.php: + id: 438257e7046b + last_write_checksum: sha1:d304ec29f60ef2393b3ff8da642822c05b799069 + pristine_git_object: 58474aedce984feb6acb8829d8eabdc0b988475c + src/Models/Operations/StartTimerProject.php: + id: aa42281b6acf + last_write_checksum: sha1:b0232c30601e7f6cebfb562c78cb51c315d703e1 + pristine_git_object: ec27177adec8f93a973953aa139b44c23a97cfbe + src/Models/Operations/StartTimerRequest.php: + id: 638475164e8d + last_write_checksum: sha1:0b84fe32c2f432b1c1f7b2dd4189ece9e95d7a41 + pristine_git_object: 1be288548eb25c1e97f67764a8fdc15f0601d094 + src/Models/Operations/StartTimerResponse.php: + id: fe1046d64acd + last_write_checksum: sha1:7954a9dc129700fdfe9453d66394fd1940215cca + pristine_git_object: 10e8ca4a4d85ae2374c1955d261caa53f1f16186 + src/Models/Operations/StartTimerResponseBody.php: + id: 241d64df7da7 + last_write_checksum: sha1:170f454d8c62c93c5e984e3cd6a5397ab4a6aea0 + pristine_git_object: 9fbd3c316e58633b0a0e743ad4b4c23754b8d9a7 + src/Models/Operations/StartTimerUser.php: + id: 8c19ebb950f5 + last_write_checksum: sha1:4b614609b2fb876bd820c20f81bd286e7dc00d6c + pristine_git_object: 7530df7228b4a727bf72eb659acbfe18c072b35f + src/Models/Operations/StopTimerCustomer.php: + id: 76b9bf711eb2 + last_write_checksum: sha1:ff2ad697d93c61b483c6697fbbf1752686019bd9 + pristine_git_object: 401664e8c71edee670decd3e084af1d17d9e587b + src/Models/Operations/StopTimerData.php: + id: a16930837501 + last_write_checksum: sha1:490d633b0a9f4384f4fe94382690e520f343a614 + pristine_git_object: 42e7c01d572eda9a5fa38713d3cf2968c156fbd8 + src/Models/Operations/StopTimerProject.php: + id: 30115bfa83a1 + last_write_checksum: sha1:1aaa497383396196251a813bab9b2d99b34601c5 + pristine_git_object: 1eca25a5e037df52ddfd7ce8a365ea6865e40978 + src/Models/Operations/StopTimerRequest.php: + id: f8424e343afe + last_write_checksum: sha1:34af641ea38d7f89f6fb1fb9e37c6ac11c5ad57f + pristine_git_object: b4bf3f3e1c64b2f972d481f9a4ddf4794333f9af + src/Models/Operations/StopTimerResponse.php: + id: bf324657e4cb + last_write_checksum: sha1:fd6ba6cf6299f1ca36d7ed85f0ade401bbf59795 + pristine_git_object: 884576df84cad0d849e4db056db5be1852835117 + src/Models/Operations/StopTimerResponseBody.php: + id: a7fff9a19f5f + last_write_checksum: sha1:a6af931578f763cc2d4f93eb90f9b776b2c323c2 + pristine_git_object: 8782563e688f23fb7ec42e971347681937ecb170 + src/Models/Operations/StopTimerUser.php: + id: 9df2eced2e98 + last_write_checksum: sha1:cd81bf6b0857f084d63fe7a9139809accad22fd2 + pristine_git_object: 94c1e91fdb08d3c507048e131487991ce44dafd7 + src/Models/Operations/Template.php: + id: c8b9571d3993 + last_write_checksum: sha1:f523b9fe60d7bd8926ddaa222a3302bd398383b6 + pristine_git_object: b0d5867850af15b8a96c774f00d124a90bef8775 + src/Models/Operations/TemplateDeliveryType.php: + id: cdae05816521 + last_write_checksum: sha1:9cfaa803ce8c04d77a61830cac95f1803a86c07a + pristine_git_object: 5bf7a7b4754051877d325a482fa4be777ed43b3e + src/Models/Operations/TemplateFromDetails.php: + id: 9920744afadb + last_write_checksum: sha1:250613bbb3d6392425e6d3b4a1af3aafa10ef42d + pristine_git_object: 29d9c321790fdd80e6eb9fc61a1f6b7a1d900d97 + src/Models/Operations/TemplatePaymentDetails.php: + id: 31d910efb433 + last_write_checksum: sha1:11bcb0872d7973ced91a043dd43e75e6ae877c64 + pristine_git_object: 59f816b4a37e6cc2ab7a37a7a6e216c5f9413576 + src/Models/Operations/TokenType.php: + id: 71e0ae60a338 + last_write_checksum: sha1:5a98719b9ea932523a7745f2405a737932e0f342 + pristine_git_object: 928cbea294151633224b29a7965263871a527ff6 + src/Models/Operations/TokenTypeHint.php: + id: 5b38cc02bf2d + last_write_checksum: sha1:7fce78bbf8507501af24a60f1ba4c37b15f73b16 + pristine_git_object: 2b4b78f90e254c494026b6b05c439bd828f14bdc + src/Models/Operations/TopBlock.php: + id: bcab3e7b86a4 + last_write_checksum: sha1:857c75230346b779b76855ecd842f9eb39ba3184 + pristine_git_object: f11c7ecd94a94cfa7415fa9d2c88d5e95f097871 + src/Models/Operations/TrackerProject.php: + id: 057ebb7fb08c + last_write_checksum: sha1:a5fcbc1bc1278d41e06ffe0db01f6750eb02becf + pristine_git_object: 9ee5d45d3db1aa2c5af56cdc32dbc9ff0bb62a42 + src/Models/Operations/UpdateAllNotificationsStatusResponse.php: + id: 0b5876d15737 + last_write_checksum: sha1:e083a0310b29e336f678f4c9bee4b784586bb718 + pristine_git_object: c22467dc331d692c0d8c475613d1c1cfdde6a64b + src/Models/Operations/UpdateBankAccountRequest.php: + id: 1431b99a7616 + last_write_checksum: sha1:b410c2feebeda95486a1eb043b897d88a6a7280f + pristine_git_object: c61c81baa3f7b8221da69bf26a17b68dc142c760 + src/Models/Operations/UpdateBankAccountRequestBody.php: + id: 528caaa8fada + last_write_checksum: sha1:9067413186f1f19ce664995171ac7b9cf199b0d0 + pristine_git_object: 0a8a037599eb288ff1ad38fc3db9f9d0a6e39c89 + src/Models/Operations/UpdateBankAccountResponse.php: + id: d03cd594f6fe + last_write_checksum: sha1:59741cdc0ace725757a4919619c1e4815bc02a66 + pristine_git_object: 4cd2f97c1767890811da66aaf2068e6f7b759b19 + src/Models/Operations/UpdateBankAccountResponseBody.php: + id: b48dc7d6b132 + last_write_checksum: sha1:2a7197ff770a06dfceae25442341183a1a1274e6 + pristine_git_object: b8280de5a2f233024cf4674dce8c440eb9b0bf2d + src/Models/Operations/UpdateBankAccountType.php: + id: e54ba03aa83e + last_write_checksum: sha1:7d1516ac052daa2da30454e34e4e02ee887010d9 + pristine_git_object: 654f6ea200219bc722710513ae1bfabcc30ecca3 + src/Models/Operations/UpdateCurrentUserDateFormatResponse.php: + id: c686eea03be6 + last_write_checksum: sha1:013ea27220fa13a9587b24885793467abd8b5440 + pristine_git_object: 46b1eb28110847dd450c1a2e966173d55feaeea3 + src/Models/Operations/UpdateCurrentUserRequest.php: + id: 4c9302fa8eaa + last_write_checksum: sha1:a2fbd87a2dc94fe2d33d8dbea0bbb2307d8925f1 + pristine_git_object: 6aaa3665afc00cfe19a8913eeac0a6db474a52ce + src/Models/Operations/UpdateCurrentUserResponse.php: + id: 69d8e8ebfcd7 + last_write_checksum: sha1:d122fd9e3a801f064e06d5dd12011e7a1ae6f6d5 + pristine_git_object: 34cd51df2098b73ac090a239bdea2ff5ae0cf67d + src/Models/Operations/UpdateCurrentUserResponseBody.php: + id: 517135b5daa8 + last_write_checksum: sha1:3c6f766952eb7a669f6e9f0b37527a4c59190a5e + pristine_git_object: ab507a8072d1c55df35f2d983f7d7b4f1bbd7bcb + src/Models/Operations/UpdateCurrentUserTeam.php: + id: 7026d0aa5311 + last_write_checksum: sha1:e202edb2c1a2b52f200599c5a0ca1d436d8c9d3a + pristine_git_object: ea685d069d68aa2107c7c35cd2125ea4efad95cd + src/Models/Operations/UpdateCustomerRequest.php: + id: a03f3ea44449 + last_write_checksum: sha1:ee01cab124b5bbb75fac8ab2edcc49206cbb72c2 + pristine_git_object: cda058922929c687b64a208fb274f974835a80cb + src/Models/Operations/UpdateCustomerRequestBody.php: + id: 34fa507161f4 + last_write_checksum: sha1:8d411ff9587ff355168d79cef26f6c6516dd504c + pristine_git_object: 99ecc8c8b5d33f6e0e7cd7fd4e7d56e706edfa45 + src/Models/Operations/UpdateCustomerResponse.php: + id: 11ad1470d998 + last_write_checksum: sha1:f38d73b350d09e2ca2bace42a81fff9ebbdd7a66 + pristine_git_object: 0d63b8441e7c70133fe1ab052015d2677aa0f8af + src/Models/Operations/UpdateCustomerResponseBody.php: + id: 014ba60d7602 + last_write_checksum: sha1:e986cf76703b876bcf19928ffb9752acbeb4b0f2 + pristine_git_object: fe518a5415d07278ed718181578cad96e9012328 + src/Models/Operations/UpdateCustomerTagRequest.php: + id: 2fad3356b623 + last_write_checksum: sha1:b4c48aa7df49054b98b1ab01b2b458412193f1e3 + pristine_git_object: 5feaccdc3afc77e316f96fba7065fdce0d3ed91b + src/Models/Operations/UpdateCustomerTagResponse.php: + id: 3773b1c44ad0 + last_write_checksum: sha1:1583809fce51d314c2d8fce1ea94eba186c051f8 + pristine_git_object: 1bdc237ade9632617f2972eb4dc26a751cb25bce + src/Models/Operations/UpdateInboxItemRequest.php: + id: 0d85ccaf4c91 + last_write_checksum: sha1:da4b6e4e8f56e28341c3b6504879a7ef14e1c253 + pristine_git_object: c9006407f8645e41b1cf9cd999b3150f9c5d6b3d + src/Models/Operations/UpdateInboxItemRequestBody.php: + id: 2bbbc01893c6 + last_write_checksum: sha1:063617290dd4568d29edfc2bce6e84769ab64b85 + pristine_git_object: e58e295660551e8cbe54ecbd91002be32eb73603 + src/Models/Operations/UpdateInboxItemResponse.php: + id: 9c62c165a0f4 + last_write_checksum: sha1:367387ee3f57f53af65b886e1868d1c03ef9c077 + pristine_git_object: 0b9c86b32ec1d6c7bf10ce613862d04ffe0e1d1b + src/Models/Operations/UpdateInboxItemResponseBody.php: + id: 8fc9618f7996 + last_write_checksum: sha1:a8ebca7ab63d108856f233127073135ee42f884b + pristine_git_object: 6a0c6aa158784f72a1017456585d68c31cb44d57 + src/Models/Operations/UpdateInboxItemStatus.php: + id: 8313650d15fd + last_write_checksum: sha1:3dc30a6cde3fc7ebe2b101fe2ec981ed88233fe1 + pristine_git_object: b8ba7564f76b8f6d45de09aef6d9e55bc20d168d + src/Models/Operations/UpdateInboxItemTransaction.php: + id: cdb1e31731f3 + last_write_checksum: sha1:eba82d8827b4a610ba327ee86c25667e2c13134f + pristine_git_object: 4a3415759ffb6962e1009d79a5e8bd1d862149e1 + src/Models/Operations/UpdateInvoiceCustomer.php: + id: 583f9688dc1b + last_write_checksum: sha1:bb1849071b2ba2e12a9222a6487501807f5e5c3d + pristine_git_object: 4d3825ef6eaf4f98ee3e302a1acea38359b5e95f + src/Models/Operations/UpdateInvoiceRequest.php: + id: 43e427838a40 + last_write_checksum: sha1:f7faedbb46dad882c4996255ce83c4e96316da42 + pristine_git_object: 0025ead6820f673c6c1805779ea6f4241907de1d + src/Models/Operations/UpdateInvoiceRequestBody.php: + id: cf8cc9f16eaa + last_write_checksum: sha1:97f67c910d08a92b5470cc9d66c008ea35351b83 + pristine_git_object: db7b18bb4e7227a116f67314a363745564b8ad55 + src/Models/Operations/UpdateInvoiceResponse.php: + id: 00e5de6a9a30 + last_write_checksum: sha1:19a48c06fac2b4b3bae73c889420002d21be119c + pristine_git_object: 4609422e9e57412aeb7dff9d87bc62e7d8a81680 + src/Models/Operations/UpdateInvoiceResponseBody.php: + id: 6d55ca099c55 + last_write_checksum: sha1:86b7166f2780c3f9fd911b984d123d42c74db624 + pristine_git_object: dd914c241c841e33d3071834c34d358e3f473733 + src/Models/Operations/UpdateInvoiceStatusRequest.php: + id: e0db100f4a0a + last_write_checksum: sha1:c46129fe1aa9389d164a9f6f1ba3de0f17ed39af + pristine_git_object: cb2e8deea61b2611b5bc46daf5881cef5b67adfd + src/Models/Operations/UpdateInvoiceStatusResponse.php: + id: ef44d5c1ba66 + last_write_checksum: sha1:c8cacec4c875d6829ae820f17e5b93b676045900 + pristine_git_object: 4bdb576931888a6df7c1d6a9480dde3203f7415a + src/Models/Operations/UpdateNotificationStatusRequest.php: + id: b33d0fe9d919 + last_write_checksum: sha1:644ed29d46e63bfacdd8c74a1c6adbbbbb7917fd + pristine_git_object: 52cd148b0cd36414c5364d3e90510330749784d5 + src/Models/Operations/UpdateNotificationStatusRequestBody.php: + id: 968bd7e8925d + last_write_checksum: sha1:5f03cf018da0920d5e40e1441ac69c52f6f1baca + pristine_git_object: 62ebd847258bce54788e559076b6aeee4d872a9b + src/Models/Operations/UpdateNotificationStatusResponse.php: + id: 6256012ce63e + last_write_checksum: sha1:6217821a57a447c9622a963922752e70bfa8a0af + pristine_git_object: f6353dd20b75430c377dcb0d7b37cd1403162a81 + src/Models/Operations/UpdateNotificationStatusStatus.php: + id: e54f559fd34d + last_write_checksum: sha1:f6196f59da9964fadc60bf2d18c5f53743f0d749 + pristine_git_object: b201dd47cb659c0f6c4e6615cc6d46e8ab5e782d + src/Models/Operations/UpdateTagRequest.php: + id: a0bcc4463dd0 + last_write_checksum: sha1:ff1ac4b563dcd434bd645667420b6924fc15d9d0 + pristine_git_object: 60ad1eecd907d9ecd55a822f833f68d9e0895e6d + src/Models/Operations/UpdateTagRequestBody.php: + id: bbaee4095510 + last_write_checksum: sha1:74fddee064d55fd79140bc27ab3625a0068961d9 + pristine_git_object: 1cc045e587ee0503b3c7d0f800994b031b775ded + src/Models/Operations/UpdateTagResponse.php: + id: 974597336bfb + last_write_checksum: sha1:fd3251950dbb55ff7d4470e1d1070af77a89eeb1 + pristine_git_object: 091750a18bb2780c2c4cb45a472864b2376954c3 + src/Models/Operations/UpdateTeamByIdPlan.php: + id: 04f3fbf756ca + last_write_checksum: sha1:4482cc7559b9601e100d00dce133e432abb9c378 + pristine_git_object: d7e01fd288a591f1ad96272e0ba4cf7bd9991fe4 + src/Models/Operations/UpdateTeamByIdRequest.php: + id: 65abdeb54466 + last_write_checksum: sha1:cf5f726b2e4bec050108f882440ecd3d2afae610 + pristine_git_object: 3714d116d86a2ccfeba099a003ab436a00b053c9 + src/Models/Operations/UpdateTeamByIdRequestBody.php: + id: 4a2472417f06 + last_write_checksum: sha1:3b89cc9971cffa6d766fe6186f713791acbee9eb + pristine_git_object: ce270ca18f34981cb78a7ac8834322ec489fe473 + src/Models/Operations/UpdateTeamByIdResponse.php: + id: 25b1a59a707f + last_write_checksum: sha1:e2a9a770d59d6eb97c5633fbb6d34e4ebd14fc6a + pristine_git_object: bd8577f1e57d01af7377daf1f332a1168a17f0be + src/Models/Operations/UpdateTeamByIdResponseBody.php: + id: bf2d83a7a242 + last_write_checksum: sha1:f270267f9afcac98999f5a0c1725db7656fb6bf3 + pristine_git_object: c4f6a7fe5470dd8bce8885fc58db8101096d728f + src/Models/Operations/UpdateTrackerEntryCustomer.php: + id: 50b55929d972 + last_write_checksum: sha1:ed60232b1a820aa5a6c53f5bee86f0b818fdadef + pristine_git_object: 11594948797a02271e877cff2096a191237b7763 + src/Models/Operations/UpdateTrackerEntryData.php: + id: a968eb08acbf + last_write_checksum: sha1:01816c0f6978df000f85c5aff40c3982ce112984 + pristine_git_object: 0c8e0f46220796e2c1efe2603f1ec95d7d29d595 + src/Models/Operations/UpdateTrackerEntryProject.php: + id: 1d6a137f3c1b + last_write_checksum: sha1:8dd8949f7078cfa30e7575cbe3151019200ebcdf + pristine_git_object: 12867913946ca58450e70d0eddb02a3fb9dbd51f + src/Models/Operations/UpdateTrackerEntryRequest.php: + id: 62f5af797275 + last_write_checksum: sha1:b870456a7a1ffc006fceb8b7b710ffca5f3f5ddd + pristine_git_object: b903930570b153b7c1053a65080b2271b40a8ad0 + src/Models/Operations/UpdateTrackerEntryRequestBody.php: + id: f81b2d726172 + last_write_checksum: sha1:4b03bbbe4b4c96ea30b6726227c47e3cbb712c2b + pristine_git_object: c27011b78e33956c4fd6ddb9e1ec0a271d252ce3 + src/Models/Operations/UpdateTrackerEntryResponse.php: + id: 20085a00082c + last_write_checksum: sha1:66a0a88feff68c8e1417831f7d90a3846f856ba7 + pristine_git_object: 163e00e5233433f9432c02ace3f1c2d81182a8fc + src/Models/Operations/UpdateTrackerEntryResponseBody.php: + id: 641eb4fc77b0 + last_write_checksum: sha1:91f75e5a6510d8298837fa4cccd70ee84819e149 + pristine_git_object: 8084e458397a68424ddd873aebc37ed39034157d + src/Models/Operations/UpdateTrackerEntryUser.php: + id: "029062804018" + last_write_checksum: sha1:0e4524c2603f16fd8bf3f47643f83a0138818944 + pristine_git_object: 482ebff2f3821b41134d89d285ea4e00399580d0 + src/Models/Operations/UpdateTrackerProjectRequest.php: + id: db98f783b336 + last_write_checksum: sha1:e41f6339a92d453cf2eb728f68549b8f540f02a1 + pristine_git_object: 1dfec36a2545700c011504632d7f9db1014aa7f6 + src/Models/Operations/UpdateTrackerProjectRequestBody.php: + id: d718d00bb8c9 + last_write_checksum: sha1:5ac4e4f743f46af42847a55f59abbe2317447da9 + pristine_git_object: 75c0e762e4d1bda5fe2b1c1edeac38a8e4473255 + src/Models/Operations/UpdateTrackerProjectResponse.php: + id: d3f308b2ca45 + last_write_checksum: sha1:e5a0292761e1271c795c0178c5fad8dfd053d7a1 + pristine_git_object: 532fa9924398e18eec2cbeb3e08508b047cc95b7 + src/Models/Operations/UpdateTrackerProjectStatus.php: + id: 09dad3b9c14e + last_write_checksum: sha1:f00b710844947b385216efdda270cb35304fd4f1 + pristine_git_object: 617121b67c18e680cf0a4ae51103eaba2b46fb69 + src/Models/Operations/UpdateTrackerProjectTag.php: + id: ec9c88f97b7f + last_write_checksum: sha1:a0fc8523f9271e3867c3a5f3086a3dba884c62ff + pristine_git_object: f0da43e3f8f7ed6dfb59108677b34cc3309a8c7a + src/Models/Operations/UpdateTransactionFrequency.php: + id: a5a8e84396c8 + last_write_checksum: sha1:63589c57c1b6331cd52edf14c5bd4781a2a9a91b + pristine_git_object: dfb0558a5eafdf878bc799013870fb5473ac92e6 + src/Models/Operations/UpdateTransactionRequest.php: + id: 9ae01e848916 + last_write_checksum: sha1:b267dd9eed40ec9c99200a9d496e61635640f68e + pristine_git_object: 67cc7b9967443dec8d52c3d0dd7d9f0f6c1398d0 + src/Models/Operations/UpdateTransactionRequestBody.php: + id: 7cab2f5f16a2 + last_write_checksum: sha1:0dd04e18d3f62c02b08255b0f361c134206322f6 + pristine_git_object: c20af3f8b1e38853d872a7e26079879d47a14b89 + src/Models/Operations/UpdateTransactionResponse.php: + id: 09f4576c2393 + last_write_checksum: sha1:74fe62ca0ae16521c02648d23824e9c2e00ff689 + pristine_git_object: e8f33377f4bd098543c1bd4ed53db28b22a6062c + src/Models/Operations/UpdateTransactionStatus.php: + id: 6dee44c8f0bf + last_write_checksum: sha1:d34897ead568cc1201e22c011ce856e1c1ce9d40 + pristine_git_object: dd659a0d91ce12cb14aea69b2b965c1bf5f3da02 + src/Models/Operations/UpdateTransactionsFrequency.php: + id: 7f7b43d5170f + last_write_checksum: sha1:d8604a62421f9248fb03c6b763e37eb0e62c3bac + pristine_git_object: d92166ccb2856cda4216f1350eaa21c575919dda + src/Models/Operations/UpdateTransactionsMeta.php: + id: 6327c3c95d9d + last_write_checksum: sha1:91fe2c89c8ef1c2a19529280a746c4c86d94c1af + pristine_git_object: f47750094576e7e267b91faa76f87add38b22731 + src/Models/Operations/UpdateTransactionsRequest.php: + id: 80af6c0ae257 + last_write_checksum: sha1:dad318cb23230e799dacd0c80ffb4016c0bbbf28 + pristine_git_object: 4d475c3c8db3e5fb9b7d5b9da3aecf56a4582473 + src/Models/Operations/UpdateTransactionsResponse.php: + id: bf3d333729fe + last_write_checksum: sha1:2031be2fd5083389f54ba49dbb0657b4fe7fa0ac + pristine_git_object: 0b6b8875980a3c4ff3266059cb47b28e04d9d553 + src/Models/Operations/UpdateTransactionsResponseBody.php: + id: ae3f62440e76 + last_write_checksum: sha1:801bcb052f11633f20e69255285e7fbeae7f9eec + pristine_git_object: af37da74f32d4b9e88355d81b088468a2dae78ee + src/Models/Operations/UpdateTransactionsStatus.php: + id: 8ea0177d38ca + last_write_checksum: sha1:4379fb84834c85abf52484897203fcc796c64e3f + pristine_git_object: 44080ff1f597a2461db9c8f2f2b2abca0b4d8ec8 + src/Notifications.php: + id: 1d5da2d3f0b7 + last_write_checksum: sha1:9460877efee378a76ed51b8ba106661e985e585a + pristine_git_object: 1354f6aab2996a63173f1cf0ad6edfd300b6aa80 + src/OAuth.php: + id: 2b188b529f5b + last_write_checksum: sha1:a529619524c0a1ab63706614e602f0a0b91049f6 + pristine_git_object: 5813dfd9bdf9c17004c379139597840eb76b928d + src/Reports.php: + id: 5deba643a83c + last_write_checksum: sha1:bdd590a524cab0d9725c8f10332b8a4902680cf1 + pristine_git_object: 630f19fd8ed8970d6c02f24638edfe8b4350e0d7 + src/SDKConfiguration.php: + id: 9d60ab0bec0b + last_write_checksum: sha1:2a5e45402f9bf150b8f1a6065066490439f9e086 + pristine_git_object: 2943074f3f1d43eb065a6b8be79a789e72fff434 + src/Search.php: + id: 4c7a03f137cc + last_write_checksum: sha1:c45901f0d27b7ab87e5a9a46d663f1f1337a024d + pristine_git_object: 266bd94b1a08e329aecea01068a47d7123d14c3f + src/Tags.php: + id: 946b9974d4d1 + last_write_checksum: sha1:231c3494fe0453c6922ed825f4564021d8602b36 + pristine_git_object: 3053ae923688d40660c609ca188bbca02ff52a48 + src/Teams.php: + id: d647dc742705 + last_write_checksum: sha1:40b860751b1effdaa072059d81082331586efbaa + pristine_git_object: a3b73710d40f8d600945d8c7fd52ecc73c9a45a9 + src/TrackerEntries.php: + id: 31a96982a860 + last_write_checksum: sha1:bc83d660b74ab26524df1805f531b22e765c4e2e + pristine_git_object: d18a941decbed14f900b36d74804f68843871fa4 + src/TrackerProjects.php: + id: 1a8fdf85d38d + last_write_checksum: sha1:ec70a6c7e834ae4f7710f9fdd10af84284941419 + pristine_git_object: 750b814206e4d38de561d57027d10f5ff15a4c50 + src/TrackerTimer.php: + id: bb1fd84fdae4 + last_write_checksum: sha1:d44e37e75690353885a2aa17ea5a517ab93509f4 + pristine_git_object: 276be2016f5b2405d5fe307fc237cc08525ad373 + src/Transactions.php: + id: fb7274f4b525 + last_write_checksum: sha1:5c7ef9ab926c05bb52d6a1bedc3fb54655529cea + pristine_git_object: 123cd0f2c79d46c64a901a1562a4c250c8f7b826 + src/Users.php: + id: 8bfbc378c442 + last_write_checksum: sha1:28e12955cbde02ede473639249a43361fb71a7be + pristine_git_object: 91ce392f8f1f8c0e37eb5dddf5b3ed54f1d3386a + src/Utils/BigDecimalHandler.php: + id: cdcca3718e2e + last_write_checksum: sha1:7c9d88cdc5fa959308523373f3c1f051488cae1b + pristine_git_object: cae4c80265d82b3ecc60fe9295574080fa078c8a + src/Utils/BigIntHandler.php: + id: 190c4d16fa85 + last_write_checksum: sha1:9cdc47c88fd96346a6716b004ab81873d08be14f + pristine_git_object: 7d7a42d5e7422b7ba8dacca280328382f31a08d1 + src/Utils/DateHandler.php: + id: 3223e13fd506 + last_write_checksum: sha1:7326d8ea4865b753e7b31b0563f68af859b7d393 + pristine_git_object: b1ddfc1c10a3645ed53f947b72ea3e7c942eb2c9 + src/Utils/DateTimeHandler.php: + id: 7ca531e0aebd + last_write_checksum: sha1:b412624fb5dcf091baad35c27280187d55a5c08b + pristine_git_object: b954694a9bc781259fec23ca1a2bb174885a8a6f + src/Utils/DefaultRequest.php: + id: 6fe9607b243e + last_write_checksum: sha1:11fcdd7c1092721c637d9b18ed0d300814d86de7 + pristine_git_object: 25b2c8f914a0e5d84eccc22fbab2c87754d5d9e3 + src/Utils/DefaultResponse.php: + id: 0f196b8017df + last_write_checksum: sha1:0682125cff5b85821e35b99cf059616589b0cec5 + pristine_git_object: 4211eeea69c775270521fbfc4e9b7ec919eae372 + src/Utils/DefaultStream.php: + id: 14d2eedf020b + last_write_checksum: sha1:50e22ad9015920bbf92f1d832ffcb7422483250c + pristine_git_object: 760b337cb88ea92655d813cceb6a23233654b32c + src/Utils/DefaultUri.php: + id: 41b965402390 + last_write_checksum: sha1:65196cdd891387643e811efd97e383e9a1310988 + pristine_git_object: 38fd23809c83f545cf281806a761fdadf9450404 + src/Utils/EnumHandler.php: + id: 02e7893b40fb + last_write_checksum: sha1:30a8a4bfe3b419ae3c7ce18d4704f76dcf14c596 + pristine_git_object: 02726e71030c59dd34aaa7fd6218781eb1459587 + src/Utils/FormMetadata.php: + id: a439bdb795e2 + last_write_checksum: sha1:f3d91d6a8a6cdd17726e5d07066f8e86ef7d6ed3 + pristine_git_object: 4a249ebc10f38ef563a7a9db69ff156c8584d1ad + src/Utils/Headers.php: + id: 98710f1dd715 + last_write_checksum: sha1:067f004f7f4890bb76e493e1aeef4933fd9bcbd4 + pristine_git_object: 4ffa518aac6dd29d00f4a25eb3d52c1bf80f90a9 + src/Utils/JSON.php: + id: fb267328a809 + last_write_checksum: sha1:988f3462c8151796619ee70db0e7bb1b9a20a88b + pristine_git_object: 018e212b561427c7ee29e8ba61bb6d7ccbcbcced + src/Utils/MixedJSONHandler.php: + id: ceb58b45ce9f + last_write_checksum: sha1:6f706da0b012be8bbbc2e4b620e6a1080ce50d2e + pristine_git_object: f14fd2c54fab8c2fd66435535a0c8cd048f8d90b + src/Utils/MultipartMetadata.php: + id: 4b6a976cbd33 + last_write_checksum: sha1:2895e266f356dbed335fea57841c983362220775 + pristine_git_object: 148e10c0bdef2f36294adbefd96634d70c7548cd + src/Utils/Options.php: + id: c675c18e8d43 + last_write_checksum: sha1:df2c928ab6e290fafe5848010ddfa88a9d279ff5 + pristine_git_object: 4dc88977a695797fe6172968aa3f2a5cd76c91dc + src/Utils/ParamsMetadata.php: + id: 53200159d3ba + last_write_checksum: sha1:a688a2e77f360991d4bc2263c216fffee18a612d + pristine_git_object: 4d31cc13318f374e16eced0e41a4fe71655c6601 + src/Utils/PathParameters.php: + id: bed72f45a7d0 + last_write_checksum: sha1:226b89a934fe8119f57fbabd2e25a70aa2da40a8 + pristine_git_object: b52fa1240b525f9bfa57467d28074b7645fc780e + src/Utils/PhpDocTypeParser.php: + id: 2b60c7b364fb + last_write_checksum: sha1:736082b51a5012ce735defa695fca372f37be5de + pristine_git_object: 1aafd711db9dce682e44e13ab128547f45cd2bf0 + src/Utils/QueryParameters.php: + id: 4cfeb0a96efd + last_write_checksum: sha1:c7499c2a9539e1b3cf9dd6d865940092507d7373 + pristine_git_object: 4c3a0ecbac5388ed451e93ff57f7827a3d01ef4f + src/Utils/RequestBodies.php: + id: 30dc93a697d3 + last_write_checksum: sha1:262da33da7c3d368d6e42970b4e01300c400860a + pristine_git_object: 4c17f4c76b56cf04615652bd70bbef2140cc5681 + src/Utils/RequestMetadata.php: + id: 63c8deb4cf4a + last_write_checksum: sha1:5fc3357967aebfff5a98d838817add92a98e875c + pristine_git_object: 4ca19ff7abffc4776af63f797d0a6e3cae186a6d + src/Utils/Retry/PermanentError.php: + id: ced3cce6125c + last_write_checksum: sha1:16db7b70501871a68b0ec2f860e3ae57e65124fe + pristine_git_object: 8f95c73c64c58a198537589f9e30fe65068cb79a + src/Utils/Retry/RetryConfig.php: + id: 86ede313b205 + last_write_checksum: sha1:b2041cabae26ae52789d555f8a195539228b1839 + pristine_git_object: 1de9e2b23581c547cdd31c1a126ab955b7257205 + src/Utils/Retry/RetryConfigBackoff.php: + id: 9492a6123b6f + last_write_checksum: sha1:00ea110cd79e37cd47db2b5ce0ceae5292da67f3 + pristine_git_object: eb41545eb710cd4fb1ce26dfe4a0750897c599c3 + src/Utils/Retry/RetryConfigNone.php: + id: 97a086b67b34 + last_write_checksum: sha1:a4c3c880da25599515fd83435cc2305d8097f7b2 + pristine_git_object: 07ef61e9d1c229174620959ee9d12077bff21e66 + src/Utils/Retry/RetryStrategy.php: + id: 50fcd2c78a30 + last_write_checksum: sha1:1f6048e51704bf90d5d71c604c5b069daf9e2098 + pristine_git_object: 92d6d9eaf69698a865d17a0fc3255d99260251fe + src/Utils/Retry/RetryUtils.php: + id: 28597380e832 + last_write_checksum: sha1:02c2868a2ca00d38b14fb7df6a5aa2a7715322a6 + pristine_git_object: 82aae1baf49a8f4d9bdb237688af4046591acc8c + src/Utils/Retry/TemporaryError.php: + id: d58c3851b91f + last_write_checksum: sha1:f10f9285e97a0c5c6e6b875670daed7742639605 + pristine_git_object: 501a54d25738a5d6093510d553aa8ffc1a145121 + src/Utils/Security.php: + id: 564a31099977 + last_write_checksum: sha1:1108b761368b9000f76e09d342c8da560f2b79b4 + pristine_git_object: 232201e75bc9693d1fec28208c7d752c2ec7fce1 + src/Utils/SecurityClient.php: + id: de11afa826f4 + last_write_checksum: sha1:3284f40fa41d1cfe771c92c364156f02a9f047ed + pristine_git_object: 7301d8aba7c65a605bf6ef47d52f5b4ee2194129 + src/Utils/SecurityMetadata.php: + id: 55ec148715b3 + last_write_checksum: sha1:8eaf5e8f16ed17000c0d421f5624d7778cfae7d0 + pristine_git_object: f2ec1810ed07e0d9233a3fe6228fbf89e744acbe + src/Utils/ServerDetails.php: + id: 71ed88cf4f04 + last_write_checksum: sha1:43b210d40d2ece2bcd34159c492b568103e781d3 + pristine_git_object: 7371a9d5a74aed0f2cccef9e0c96a9c10aedcb02 + src/Utils/SpeakeasyMetadata.php: + id: a33363de3a1a + last_write_checksum: sha1:f4fe2cd96f657251c0523e4e044ff4c72f1b6101 + pristine_git_object: 4a9280ceefd55b0f759dae5dd9329b31ed2c644b + src/Utils/UnionHandler.php: + id: 5a76a946fe85 + last_write_checksum: sha1:edd00a5fb6767dffe02136199f98c8bb2b8aca32 + pristine_git_object: 8209d35186f9a144c2e8ad2329faa1ad7590cbe7 + src/Utils/Utils.php: + id: c902f57e2422 + last_write_checksum: sha1:13258b5ff9faf1772c25a0b81346d4520821c6de + pristine_git_object: bfd01a82d46bca1ccd0fa0c1e333758bf1d5a942 examples: listTransactions: speakeasy-default-list-transactions: @@ -1032,7 +3894,7 @@ examples: id: "" responses: "200": - application/json: {"id": "b3b7e6e2-8c2a-4e2a-9b1a-2e4b5c6d7f8a", "status": "paid", "dueDate": "2024-06-30T23:59:59.000Z", "issueDate": "2024-06-01T00:00:00.000Z", "invoiceNumber": "INV-2024-001", "amount": 1500.75, "currency": "USD", "customer": {"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "name": "Acme Corporation", "website": "https://acme.com", "email": "info@acme.com"}, "paidAt": "2024-06-15T12:00:00.000Z", "reminderSentAt": "2024-06-10T09:00:00.000Z", "note": "Thank you for your business.", "vat": 120, "tax": 80, "discount": 50, "subtotal": 1400, "viewedAt": "2024-06-05T14:30:00.000Z", "customerName": "Acme Corporation", "sentTo": "billing@acme.com", "sentAt": "2024-06-02T08:00:00.000Z", "createdAt": "2024-06-01T07:00:00.000Z", "updatedAt": "2024-06-15T10:00:00.000Z"} + application/json: {"id": "b3b7e6e2-8c2a-4e2a-9b1a-2e4b5c6d7f8a", "status": "paid", "dueDate": "2024-06-30T23:59:59.000Z", "issueDate": "2024-06-01T00:00:00.000Z", "invoiceNumber": "INV-2024-001", "amount": 1500.75, "currency": "USD", "customer": {"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "name": "Acme Corporation", "website": "https://acme.com", "email": "info@acme.com"}, "paidAt": "2024-06-15T12:00:00.000Z", "reminderSentAt": "2024-06-10T09:00:00.000Z", "note": "Thank you for your business.", "vat": 120, "tax": 80, "discount": 50, "subtotal": 1400, "viewedAt": "2024-06-05T14:30:00.000Z", "customerName": "Acme Corporation", "sentTo": "billing@acme.com", "sentAt": "2024-06-02T08:00:00.000Z", "createdAt": "2024-06-01T07:00:00.000Z", "updatedAt": "2024-06-15T10:00:00.000Z", "pdfUrl": "https://app.midday.ai/api/download/invoice?token=eef58951-1682-4062-b010-425866032390", "previewUrl": "https://app.midday.ai/i/eef58951-1682-4062-b010-425866032390"} deleteInvoice: speakeasy-default-delete-invoice: parameters: @@ -1177,69 +4039,964 @@ examples: projectId: "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2" responses: "200": - application/json: {"meta": {"totalDuration": 86400, "totalAmount": 1800, "from": "2024-04-01", "to": "2024-04-30"}, "result": {"key": [{"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-04-15T09:00:00.000Z", "duration": 28800, "start": "2024-04-15T09:00:00.000Z", "stop": "2024-04-15T17:00:00.000Z", "teamId": "team-1234", "description": "Worked on implementing user authentication feature", "rate": 75, "currency": "USD", "billed": false, "date": "2024-04-15", "user": {"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "fullName": "Jane Doe", "avatarUrl": "https://cdn.midday.ai/avatar.jpg"}, "project": {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-03-01T10:00:00.000Z", "rate": 75, "currency": "USD", "status": "in_progress", "description": "Complete website redesign with modern UI/UX", "name": "Website Redesign Project", "billable": true, "estimate": 120, "customer": {"id": "customer-1234", "name": "Acme Corporation"}}}, {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-04-15T09:00:00.000Z", "duration": 28800, "start": "2024-04-15T09:00:00.000Z", "stop": "2024-04-15T17:00:00.000Z", "teamId": "team-1234", "description": "Worked on implementing user authentication feature", "rate": 75, "currency": "USD", "billed": false, "date": "2024-04-15", "user": {"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "fullName": "Jane Doe", "avatarUrl": "https://cdn.midday.ai/avatar.jpg"}, "project": {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-03-01T10:00:00.000Z", "rate": 75, "currency": "USD", "status": "in_progress", "description": "Complete website redesign with modern UI/UX", "name": "Website Redesign Project", "billable": true, "estimate": 120, "customer": {"id": "customer-1234", "name": "Acme Corporation"}}}, {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-04-15T09:00:00.000Z", "duration": 28800, "start": "2024-04-15T09:00:00.000Z", "stop": "2024-04-15T17:00:00.000Z", "teamId": "team-1234", "description": "Worked on implementing user authentication feature", "rate": 75, "currency": "USD", "billed": false, "date": "2024-04-15", "user": {"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "fullName": "Jane Doe", "avatarUrl": "https://cdn.midday.ai/avatar.jpg"}, "project": {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-03-01T10:00:00.000Z", "rate": 75, "currency": "USD", "status": "in_progress", "description": "Complete website redesign with modern UI/UX", "name": "Website Redesign Project", "billable": true, "estimate": 120, "customer": {"id": "customer-1234", "name": "Acme Corporation"}}}], "key1": [], "key2": []}} - deleteTrackerEntry: - speakeasy-default-delete-tracker-entry: + application/json: {"meta": {"totalDuration": 86400, "totalAmount": 1800, "from": "2024-04-01", "to": "2024-04-30"}, "result": {"key": [{"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-04-15T09:00:00.000Z", "duration": 28800, "start": "2024-04-15T09:00:00.000Z", "stop": "2024-04-15T17:00:00.000Z", "teamId": "team-1234", "description": "Worked on implementing user authentication feature", "rate": 75, "currency": "USD", "billed": false, "date": "2024-04-15", "user": {"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "fullName": "Jane Doe", "avatarUrl": "https://cdn.midday.ai/avatar.jpg"}, "project": {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-03-01T10:00:00.000Z", "rate": 75, "currency": "USD", "status": "in_progress", "description": "Complete website redesign with modern UI/UX", "name": "Website Redesign Project", "billable": true, "estimate": 120, "customer": {"id": "customer-1234", "name": "Acme Corporation"}}}, {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-04-15T09:00:00.000Z", "duration": 28800, "start": "2024-04-15T09:00:00.000Z", "stop": "2024-04-15T17:00:00.000Z", "teamId": "team-1234", "description": "Worked on implementing user authentication feature", "rate": 75, "currency": "USD", "billed": false, "date": "2024-04-15", "user": {"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "fullName": "Jane Doe", "avatarUrl": "https://cdn.midday.ai/avatar.jpg"}, "project": {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-03-01T10:00:00.000Z", "rate": 75, "currency": "USD", "status": "in_progress", "description": "Complete website redesign with modern UI/UX", "name": "Website Redesign Project", "billable": true, "estimate": 120, "customer": {"id": "customer-1234", "name": "Acme Corporation"}}}, {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-04-15T09:00:00.000Z", "duration": 28800, "start": "2024-04-15T09:00:00.000Z", "stop": "2024-04-15T17:00:00.000Z", "teamId": "team-1234", "description": "Worked on implementing user authentication feature", "rate": 75, "currency": "USD", "billed": false, "date": "2024-04-15", "user": {"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "fullName": "Jane Doe", "avatarUrl": "https://cdn.midday.ai/avatar.jpg"}, "project": {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-03-01T10:00:00.000Z", "rate": 75, "currency": "USD", "status": "in_progress", "description": "Complete website redesign with modern UI/UX", "name": "Website Redesign Project", "billable": true, "estimate": 120, "customer": {"id": "customer-1234", "name": "Acme Corporation"}}}], "key1": [], "key2": []}} + deleteTrackerEntry: + speakeasy-default-delete-tracker-entry: + parameters: + path: + id: "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2" + responses: + "200": + application/json: {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2"} + createTrackerEntry: + speakeasy-default-create-tracker-entry: + requestBody: + application/json: {"start": "2024-04-15T09:00:00.000Z", "stop": "2024-04-15T17:00:00.000Z", "dates": ["2024-04-15", "2024-04-16"], "assignedId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "projectId": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "description": "Worked on implementing user authentication feature", "duration": 28800} + responses: + "201": + application/json: {"data": [{"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-04-15T09:00:00.000Z", "duration": 28800, "start": "2024-04-15T09:00:00.000Z", "stop": "2024-04-15T17:00:00.000Z", "teamId": "team-1234", "description": "Worked on implementing user authentication feature", "rate": 75, "currency": "USD", "billed": false, "date": "2024-04-15", "user": {"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "fullName": "Jane Doe", "avatarUrl": "https://cdn.midday.ai/avatar.jpg"}, "project": {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-03-01T10:00:00.000Z", "rate": 75, "currency": "USD", "status": "in_progress", "description": "Complete website redesign with modern UI/UX", "name": "Website Redesign Project", "billable": true, "estimate": 120, "customer": {"id": "customer-1234", "name": "Acme Corporation"}}}]} + createTrackerEntriesBulk: + speakeasy-default-create-tracker-entries-bulk: + requestBody: + application/json: {"entries": [{"start": "2024-04-15T09:00:00.000Z", "stop": "2024-04-15T17:00:00.000Z", "dates": ["2024-04-15"], "assignedId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "projectId": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "description": "Working on authentication feature", "duration": 28800}, {"start": "2024-04-16T09:00:00.000Z", "stop": "2024-04-16T17:00:00.000Z", "dates": ["2024-04-16"], "assignedId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "projectId": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "description": "Working on dashboard feature", "duration": 28800}]} + responses: + "201": + application/json: {"data": []} + updateTrackerEntry: + speakeasy-default-update-tracker-entry: + parameters: + path: + id: "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2" + requestBody: + application/json: {"start": "2024-04-15T09:00:00.000Z", "stop": "2024-04-15T17:00:00.000Z", "dates": ["2024-04-15", "2024-04-16"], "assignedId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "projectId": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "description": "Worked on implementing user authentication feature", "duration": 28800} + responses: + "200": + application/json: {"data": [{"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-04-15T09:00:00.000Z", "duration": 28800, "start": "2024-04-15T09:00:00.000Z", "stop": "2024-04-15T17:00:00.000Z", "teamId": "team-1234", "description": "Worked on implementing user authentication feature", "rate": 75, "currency": "USD", "billed": false, "date": "2024-04-15", "user": {"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "fullName": "Jane Doe", "avatarUrl": "https://cdn.midday.ai/avatar.jpg"}, "project": {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-03-01T10:00:00.000Z", "rate": 75, "currency": "USD", "status": "in_progress", "description": "Complete website redesign with modern UI/UX", "name": "Website Redesign Project", "billable": true, "estimate": 120, "customer": {"id": "customer-1234", "name": "Acme Corporation"}}}]} + startTimer: + speakeasy-default-start-timer: + requestBody: + application/json: {"projectId": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "assignedId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "description": "Working on implementing timer feature", "start": "2024-04-15T09:00:00.000Z", "continueFromEntry": "c4d5e6f7-2a3b-4c5d-8e9f-3a4b5c6d7e8f"} + responses: + "201": + application/json: {"data": {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-04-15T09:00:00.000Z", "duration": -1, "start": "2024-04-15T09:00:00.000Z", "stop": "2024-04-15T17:00:00.000Z", "teamId": "team-1234", "description": "Worked on implementing user authentication feature", "rate": 75, "currency": "USD", "billed": false, "date": "2024-04-15", "user": {"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "fullName": "Jane Doe", "avatarUrl": "https://cdn.midday.ai/avatar.jpg"}, "project": {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-03-01T10:00:00.000Z", "rate": 75, "currency": "USD", "status": "in_progress", "description": "Complete website redesign with modern UI/UX", "name": "Website Redesign Project", "billable": true, "estimate": 120, "customer": {"id": "customer-1234", "name": "Acme Corporation"}}}} + stopTimer: + speakeasy-default-stop-timer: + requestBody: + application/json: {"entryId": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "assignedId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "stop": "2024-04-15T17:00:00.000Z"} + responses: + "200": + application/json: {"data": {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-04-15T09:00:00.000Z", "duration": -1, "start": "2024-04-15T09:00:00.000Z", "stop": "2024-04-15T17:00:00.000Z", "teamId": "team-1234", "description": "Worked on implementing user authentication feature", "rate": 75, "currency": "USD", "billed": false, "date": "2024-04-15", "user": {"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "fullName": "Jane Doe", "avatarUrl": "https://cdn.midday.ai/avatar.jpg"}, "project": {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-03-01T10:00:00.000Z", "rate": 75, "currency": "USD", "status": "in_progress", "description": "Complete website redesign with modern UI/UX", "name": "Website Redesign Project", "billable": true, "estimate": 120, "customer": {"id": "customer-1234", "name": "Acme Corporation"}}}} + getCurrentTimer: + speakeasy-default-get-current-timer: + parameters: + query: + assignedId: "a1b2c3d4-e5f6-7890-abcd-ef1234567890" + responses: + "200": + application/json: {"data": {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-04-15T09:00:00.000Z", "duration": -1, "start": "2024-04-15T09:00:00.000Z", "stop": "2024-04-15T17:00:00.000Z", "teamId": "team-1234", "description": "Worked on implementing user authentication feature", "rate": 75, "currency": "USD", "billed": false, "date": "2024-04-15", "user": {"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "fullName": "Jane Doe", "avatarUrl": "https://cdn.midday.ai/avatar.jpg"}, "project": {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-03-01T10:00:00.000Z", "rate": 75, "currency": "USD", "status": "in_progress", "description": "Complete website redesign with modern UI/UX", "name": "Website Redesign Project", "billable": true, "estimate": 120, "customer": {"id": "customer-1234", "name": "Acme Corporation"}}}} + getTimerStatus: + speakeasy-default-get-timer-status: + parameters: + query: + assignedId: "a1b2c3d4-e5f6-7890-abcd-ef1234567890" + responses: + "200": + application/json: {"data": {"isRunning": true, "currentEntry": {"id": "a26a5a54-1e28-4c83-b854-2821b87e4a97", "start": "", "description": "brr debit greedy lasting because offset outset generously", "projectId": "f2d14591-a762-4edc-b444-ff2f1ff3b4b8", "trackerProject": {"id": "2cabaa5d-6000-419b-b904-099b57ddc208", "name": ""}}, "elapsedTime": 1800}} + getOAuthAuthorization: + speakeasy-default-get-O-auth-authorization: + parameters: + query: + response_type: "code" + client_id: "mid_client_abcdef123456789" + redirect_uri: "https://myapp.com/callback" + scope: "transactions.read invoices.read" + state: "abc123xyz789_secure-random-state-value-with-sufficient-entropy" + code_challenge: "E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM" + responses: + "200": + application/json: {"id": "123e4567-e89b-12d3-a456-426614174000", "name": "My Raycast Extension", "description": "A Raycast extension for managing transactions", "overview": "This application provides advanced transaction management features including:\n- Real-time sync\n- Advanced filtering", "developerName": "Acme Corp", "logoUrl": "https://example.com/logo.png", "website": "https://myapp.com", "installUrl": "https://myapp.com/install", "screenshots": ["https://example.com/screenshot1.png", "https://example.com/screenshot2.png"], "clientId": "mid_client_abcdef123456789", "scopes": ["transactions.read", "invoices.read"], "redirectUri": "https://myapp.com/callback", "state": "abc123xyz789_secure-random-state-value-with-sufficient-entropy", "status": "approved"} + "400": + application/json: {"error": "invalid_request", "error_description": "The request is missing a required parameter", "error_uri": "https://docs.midday.ai/errors/invalid_request", "state": "abc123xyz789_secure-random-state-value-with-sufficient-entropy"} + postOAuthAuthorization: + speakeasy-default-post-O-auth-authorization: + requestBody: + application/json: {"client_id": "mid_client_abcdef123456789", "decision": "allow", "scopes": ["transactions.read", "invoices.read"], "redirect_uri": "https://myapp.com/callback", "state": "abc123xyz789_secure-random-state-value-with-sufficient-entropy", "code_challenge": "E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM", "teamId": "123e4567-e89b-12d3-a456-426614174000"} + responses: + "200": + application/json: {"redirect_url": "https://trained-outset.info"} + "400": + application/json: {"redirect_url": "https://young-ferret.name/"} + "401": + application/json: {"redirect_url": "https://impressive-giant.info"} + postOAuthToken: + speakeasy-default-post-O-auth-token: + requestBody: + application/json: {"grant_type": "refresh_token", "refresh_token": "mid_rt_abcdef123456789", "client_id": "mid_client_abcdef123456789", "client_secret": "mid_secret_abcdef123456789", "scope": "transactions.read invoices.read"} + application/x-www-form-urlencoded: {"grant_type": "refresh_token", "refresh_token": "mid_rt_abcdef123456789", "client_id": "mid_client_abcdef123456789", "client_secret": "mid_secret_abcdef123456789", "scope": "transactions.read invoices.read"} + responses: + "200": + application/json: {"access_token": "mid_access_token_abcdef123456789", "token_type": "Bearer", "expires_in": 3600, "refresh_token": "mid_refresh_token_abcdef123456789", "scope": "transactions.read invoices.read"} + "400": + application/json: {"error": "invalid_request", "error_description": "The request is missing a required parameter", "error_uri": "https://docs.midday.ai/errors/invalid_request", "state": "abc123xyz789_secure-random-state-value-with-sufficient-entropy"} + postOAuthRevoke: + speakeasy-default-post-O-auth-revoke: + requestBody: + application/json: {"token": "mid_access_token_abcdef123456789", "token_type_hint": "access_token", "client_id": "mid_client_abcdef123456789", "client_secret": "mid_secret_abcdef123456789"} + application/x-www-form-urlencoded: {"token": "mid_access_token_abcdef123456789", "token_type_hint": "access_token", "client_id": "mid_client_abcdef123456789", "client_secret": "mid_secret_abcdef123456789"} + responses: + "200": + application/json: {"success": true} + listNotifications: + speakeasy-default-list-notifications: + parameters: + query: + cursor: "20" + pageSize: 20 + status: ["unread", "read"] + userId: "a1b2c3d4-e5f6-7890-abcd-ef1234567890" + priority: 5 + maxPriority: 3 + responses: + "200": + application/json: {"data": [], "meta": {"cursor": "40", "hasPreviousPage": true, "hasNextPage": false}} + updateNotificationStatus: + speakeasy-default-update-notification-status: + parameters: + path: + notificationId: "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2" + requestBody: + application/json: {"status": "read"} + responses: + "200": + application/json: {"data": {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-04-15T09:00:00.000Z", "teamId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "userId": "c2d3e4f5-a6b7-8901-bcde-f23456789012", "type": "transactions_created", "priority": 3, "source": "system", "status": "unread", "metadata": {"transactionCount": 5, "dateRange": {"from": "2024-04-01", "to": "2024-04-15"}}, "lastUsedAt": "2024-04-15T11:00:00.000Z"}} + updateAllNotificationsStatus: + speakeasy-default-update-all-notifications-status: + requestBody: + application/json: {"status": "read"} + responses: + "200": + application/json: {"data": []} + getTransactionAttachmentPreSignedUrl: + speakeasy-default-get-transaction-attachment-pre-signed-url: + parameters: + path: + transactionId: "b3b7c1e2-4c2a-4e7a-9c1a-2b7c1e24c2a4" + attachmentId: "a43dc3a5-6925-4d91-ac9c-4c1a34bdb388" + query: + download: true + responses: + "200": + application/json: {"url": "https://service.midday.ai/storage/v1/object/sign/vault/transactions/receipt.pdf?token=abc123&expires=1640995200", "expiresAt": "2024-04-15T10:01:00.000Z", "fileName": "receipt.pdf"} + "400": + application/json: {"error": ""} + "404": + application/json: {"error": ""} + "500": + application/json: {"error": ""} + getDocumentPreSignedUrl: + speakeasy-default-get-document-pre-signed-url: parameters: path: - id: "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2" + id: "b3b7c1e2-4c2a-4e7a-9c1a-2b7c1e24c2a4" + query: + download: true responses: "200": - application/json: {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2"} - createTrackerEntry: - speakeasy-default-create-tracker-entry: - requestBody: - application/json: {"start": "2024-04-15T09:00:00.000Z", "stop": "2024-04-15T17:00:00.000Z", "dates": ["2024-04-15", "2024-04-16"], "assignedId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "projectId": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "description": "Worked on implementing user authentication feature", "duration": 28800} + application/json: {"url": "https://service.midday.ai/storage/v1/object/sign/vault/documents/2024/invoice.pdf?token=abc123&expires=1640995200", "expiresAt": "2024-04-15T10:01:00.000Z", "fileName": "invoice-april-2024.pdf"} + "400": + application/json: {"error": ""} + "404": + application/json: {"error": ""} + "500": + application/json: {"error": ""} + getInboxPreSignedUrl: + speakeasy-default-get-inbox-pre-signed-url: + parameters: + path: + id: "b3b7c1e2-4c2a-4e7a-9c1a-2b7c1e24c2a4" + query: + download: true responses: - "201": - application/json: {"data": [{"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-04-15T09:00:00.000Z", "duration": 28800, "start": "2024-04-15T09:00:00.000Z", "stop": "2024-04-15T17:00:00.000Z", "teamId": "team-1234", "description": "Worked on implementing user authentication feature", "rate": 75, "currency": "USD", "billed": false, "date": "2024-04-15", "user": {"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "fullName": "Jane Doe", "avatarUrl": "https://cdn.midday.ai/avatar.jpg"}, "project": {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-03-01T10:00:00.000Z", "rate": 75, "currency": "USD", "status": "in_progress", "description": "Complete website redesign with modern UI/UX", "name": "Website Redesign Project", "billable": true, "estimate": 120, "customer": {"id": "customer-1234", "name": "Acme Corporation"}}}]} - createTrackerEntriesBulk: - speakeasy-default-create-tracker-entries-bulk: + "200": + application/json: {"url": "https://service.midday.ai/storage/v1/object/sign/vault/inbox/document.pdf?token=abc123&expires=1640995200", "expiresAt": "2024-04-15T10:01:00.000Z", "fileName": "invoice.pdf"} + "400": + application/json: {"error": ""} + "404": + application/json: {"error": ""} + "500": + application/json: {"error": ""} + createInvoice: + speakeasy-default-create-invoice: requestBody: - application/json: {"entries": [{"start": "2024-04-15T09:00:00.000Z", "stop": "2024-04-15T17:00:00.000Z", "dates": ["2024-04-15"], "assignedId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "projectId": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "description": "Working on authentication feature", "duration": 28800}, {"start": "2024-04-16T09:00:00.000Z", "stop": "2024-04-16T17:00:00.000Z", "dates": ["2024-04-16"], "assignedId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "projectId": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "description": "Working on dashboard feature", "duration": 28800}]} + application/json: {"template": {"customerLabel": "Bill To", "title": "Invoice", "fromLabel": "From", "invoiceNoLabel": "Invoice #", "issueDateLabel": "Issue Date", "dueDateLabel": "Due Date", "descriptionLabel": "Description", "priceLabel": "Rate", "quantityLabel": "Qty", "totalLabel": "Amount", "totalSummaryLabel": "Total", "vatLabel": "VAT", "taxLabel": "Sales Tax", "discountLabel": "Discount", "timezone": "America/Los_Angeles", "paymentLabel": "Payment Information", "noteLabel": "Notes", "logoUrl": "https://example.com/logo.png", "currency": "USD", "dateFormat": "MM/dd/yyyy", "includeVat": false, "includeTax": true, "includeDiscount": false, "includeDecimals": true, "includePdf": true, "sendCopy": true, "includeUnits": true, "includeQr": false, "taxRate": 8.5, "vatRate": 0, "size": "letter", "deliveryType": "create", "locale": "en-US", "paymentDetails": {}, "fromDetails": {}}, "fromDetails": {}, "customerId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "paymentDetails": {}, "noteDetails": {}, "dueDate": "2024-07-15T23:59:59.000Z", "issueDate": "2024-06-15T00:00:00.000Z", "invoiceNumber": "INV-2024-001", "logoUrl": "https://example.com/logo.png", "tax": 85, "topBlock": {}, "bottomBlock": {}, "amount": 1085, "lineItems": [{"quantity": 40, "price": 75, "tax": 8.5, "name": {}}, {"quantity": 20, "price": 50, "tax": 8.5, "name": {}}], "deliveryType": "create", "scheduledAt": "2024-07-01T09:00:00.000Z"} responses: "201": - application/json: {"data": []} - updateTrackerEntry: - speakeasy-default-update-tracker-entry: + application/json: {"id": "b3b7e6e2-8c2a-4e2a-9b1a-2e4b5c6d7f8a", "status": "draft", "createdAt": "2024-06-01T07:00:00.000Z", "updatedAt": "2024-06-01T07:00:00.000Z", "pdfUrl": "https://app.midday.ai/api/download/invoice?token=eyJ...", "previewUrl": "https://app.midday.ai/i/eyJ..."} + "400": + application/json: {"message": "scheduledAt is required for scheduled delivery"} + "404": + application/json: {"message": "Customer not found"} + "409": + application/json: {"message": "Invoice number 'INV-2024-001' is already used. Please provide a different invoice number or omit it to auto-generate one."} + "500": + application/json: {"message": "Failed to create invoice"} + updateInvoice: + speakeasy-default-update-invoice: parameters: path: - id: "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2" + id: "" requestBody: - application/json: {"start": "2024-04-15T09:00:00.000Z", "stop": "2024-04-15T17:00:00.000Z", "dates": ["2024-04-15", "2024-04-16"], "assignedId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "projectId": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "description": "Worked on implementing user authentication feature", "duration": 28800} + application/json: {"status": "paid", "paidAt": "2024-06-15T12:00:00.000Z", "internalNote": "Payment received via bank transfer"} responses: "200": - application/json: {"data": [{"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-04-15T09:00:00.000Z", "duration": 28800, "start": "2024-04-15T09:00:00.000Z", "stop": "2024-04-15T17:00:00.000Z", "teamId": "team-1234", "description": "Worked on implementing user authentication feature", "rate": 75, "currency": "USD", "billed": false, "date": "2024-04-15", "user": {"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "fullName": "Jane Doe", "avatarUrl": "https://cdn.midday.ai/avatar.jpg"}, "project": {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-03-01T10:00:00.000Z", "rate": 75, "currency": "USD", "status": "in_progress", "description": "Complete website redesign with modern UI/UX", "name": "Website Redesign Project", "billable": true, "estimate": 120, "customer": {"id": "customer-1234", "name": "Acme Corporation"}}}]} - startTimer: - speakeasy-default-start-timer: - requestBody: - application/json: {"projectId": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "assignedId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "description": "Working on implementing timer feature", "start": "2024-04-15T09:00:00.000Z", "continueFromEntry": "c4d5e6f7-2a3b-4c5d-8e9f-3a4b5c6d7e8f"} + application/json: {"id": "b3b7e6e2-8c2a-4e2a-9b1a-2e4b5c6d7f8a", "status": "paid", "dueDate": "2024-06-30T23:59:59.000Z", "issueDate": "2024-06-01T00:00:00.000Z", "invoiceNumber": "INV-2024-001", "amount": 1500.75, "currency": "USD", "customer": {"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "name": "Acme Corporation", "website": "https://acme.com", "email": "info@acme.com"}, "paidAt": "2024-06-15T12:00:00.000Z", "reminderSentAt": "2024-06-10T09:00:00.000Z", "note": "Thank you for your business.", "vat": 120, "tax": 80, "discount": 50, "subtotal": 1400, "viewedAt": "2024-06-05T14:30:00.000Z", "customerName": "Acme Corporation", "sentTo": "billing@acme.com", "sentAt": "2024-06-02T08:00:00.000Z", "createdAt": "2024-06-01T07:00:00.000Z", "updatedAt": "2024-06-15T10:00:00.000Z", "pdfUrl": "https://app.midday.ai/api/download/invoice?token=eef58951-1682-4062-b010-425866032390", "previewUrl": "https://app.midday.ai/i/eef58951-1682-4062-b010-425866032390"} + getRevenueReports: + speakeasy-default-get-revenue-reports: + parameters: + query: + from: "2023-01-01" + to: "2023-12-31" + currency: "USD" responses: - "201": - application/json: {"data": {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-04-15T09:00:00.000Z", "duration": -1, "start": "2024-04-15T09:00:00.000Z", "stop": "2024-04-15T17:00:00.000Z", "teamId": "team-1234", "description": "Worked on implementing user authentication feature", "rate": 75, "currency": "USD", "billed": false, "date": "2024-04-15", "user": {"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "fullName": "Jane Doe", "avatarUrl": "https://cdn.midday.ai/avatar.jpg"}, "project": {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-03-01T10:00:00.000Z", "rate": 75, "currency": "USD", "status": "in_progress", "description": "Complete website redesign with modern UI/UX", "name": "Website Redesign Project", "billable": true, "estimate": 120, "customer": {"id": "customer-1234", "name": "Acme Corporation"}}}} - stopTimer: - speakeasy-default-stop-timer: - requestBody: - application/json: {"entryId": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "assignedId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "stop": "2024-04-15T17:00:00.000Z"} + "200": + application/json: {"summary": {"currentTotal": 10000, "prevTotal": 8000, "currency": "USD"}, "meta": {"type": "revenue", "currency": "USD"}, "result": []} + getProfitReports: + speakeasy-default-get-profit-reports: + parameters: + query: + from: "2023-01-01" + to: "2023-12-31" + currency: "USD" responses: "200": - application/json: {"data": {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-04-15T09:00:00.000Z", "duration": -1, "start": "2024-04-15T09:00:00.000Z", "stop": "2024-04-15T17:00:00.000Z", "teamId": "team-1234", "description": "Worked on implementing user authentication feature", "rate": 75, "currency": "USD", "billed": false, "date": "2024-04-15", "user": {"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "fullName": "Jane Doe", "avatarUrl": "https://cdn.midday.ai/avatar.jpg"}, "project": {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-03-01T10:00:00.000Z", "rate": 75, "currency": "USD", "status": "in_progress", "description": "Complete website redesign with modern UI/UX", "name": "Website Redesign Project", "billable": true, "estimate": 120, "customer": {"id": "customer-1234", "name": "Acme Corporation"}}}} - getCurrentTimer: - speakeasy-default-get-current-timer: + application/json: {"summary": {"currentTotal": 10000, "prevTotal": 8000, "currency": "USD"}, "meta": {"type": "profit", "currency": "USD"}, "result": [{"date": "2023-01-31", "percentage": {"value": 25, "status": "positive"}, "current": {"date": "2023-01-31", "value": 1000, "currency": "USD"}, "previous": {"date": "2022-01-31", "value": 800, "currency": "USD"}}]} + getBurnRateReports: + speakeasy-default-get-burn-rate-reports: parameters: query: - assignedId: "a1b2c3d4-e5f6-7890-abcd-ef1234567890" + from: "2023-01-01" + to: "2023-12-31" + currency: "USD" responses: "200": - application/json: {"data": {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-04-15T09:00:00.000Z", "duration": -1, "start": "2024-04-15T09:00:00.000Z", "stop": "2024-04-15T17:00:00.000Z", "teamId": "team-1234", "description": "Worked on implementing user authentication feature", "rate": 75, "currency": "USD", "billed": false, "date": "2024-04-15", "user": {"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "fullName": "Jane Doe", "avatarUrl": "https://cdn.midday.ai/avatar.jpg"}, "project": {"id": "b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2", "createdAt": "2024-03-01T10:00:00.000Z", "rate": 75, "currency": "USD", "status": "in_progress", "description": "Complete website redesign with modern UI/UX", "name": "Website Redesign Project", "billable": true, "estimate": 120, "customer": {"id": "customer-1234", "name": "Acme Corporation"}}}} - getTimerStatus: - speakeasy-default-get-timer-status: + application/json: [{"date": "2024-01-01", "value": 647366.44, "currency": "SEK"}] + getRunwayReports: + speakeasy-default-get-runway-reports: parameters: query: - assignedId: "a1b2c3d4-e5f6-7890-abcd-ef1234567890" + from: "2023-01-01" + to: "2023-12-31" + currency: "USD" responses: "200": - application/json: {"data": {"isRunning": true, "currentEntry": {"id": "a26a5a54-1e28-4c83-b854-2821b87e4a97", "start": "", "description": "brr debit greedy lasting because offset outset generously", "projectId": "f2d14591-a762-4edc-b444-ff2f1ff3b4b8", "trackerProject": {"id": "2cabaa5d-6000-419b-b904-099b57ddc208", "name": ""}}, "elapsedTime": 1800}} + application/json: 12 + getExpensesReports: + speakeasy-default-get-expenses-reports: + parameters: + query: + from: "2023-01-01" + to: "2023-12-31" + currency: "USD" + responses: + "200": + application/json: {"summary": {"averageExpense": 121054.86, "currency": "SEK"}, "meta": {"type": "expense", "currency": "SEK"}, "result": [{"date": "2024-01-01 00:00:00", "value": 637898.68, "currency": "SEK", "recurring": 9467.76, "total": 647366.44}]} + getSpendingReports: + speakeasy-default-get-spending-reports: + parameters: + query: + from: "2023-01-01" + to: "2023-12-31" + currency: "USD" + responses: + "200": + application/json: [{"name": "Taxes", "slug": "taxes", "amount": -1256445, "currency": "SEK", "color": "#8492A6", "percentage": 44}] examplesVersion: 1.0.2 generatedTests: {} -releaseNotes: "## SDK Changes Detected:\n* `midday->metrics->revenue()`: `response.result->[]` **Changed** **Breaking** :warning:\n* `midday->tracker entries->list()`: `response.result->{}->[]->project` **Changed** **Breaking** :warning:\n* `midday->metrics->profit()`: `response.result->[]` **Changed** **Breaking** :warning:\n* `midday->transactions->update()`: `response` **Changed**\n* `midday->transactions->updateMany()`: `response.data->[]` **Changed**\n* `midday->tracker timer->stopTimer()`: **Added**\n* `midday->tracker timer->getCurrentTimer()`: **Added**\n* `midday->tracker timer->getTimerStatus()`: **Added**\n* `midday->tracker->delete()`: **Deleted** **Breaking** :warning:\n* `midday->transactions->list()`: `response.data->[]` **Changed**\n* `midday->transactions->create()`: `response` **Changed**\n* `midday->transactions->get()`: `response` **Changed**\n* `midday->tracker entries->create()`: **Added**\n* `midday->transactions->createMany()`: `response.[]` **Changed**\n* `midday->tracker timer->startTimer()`: **Added**\n* `midday->teams->update()`: \n * `requestBody->countryCode` **Added**\n* `midday->users->get()`: `response.timezoneAutoSync` **Added**\n* `midday->users->update()`: \n * `request->timezoneAutoSync` **Added**\n * `response.timezoneAutoSync` **Added**\n* `midday->customers->list()`: `response.data->[]->billingEmail` **Added**\n* `midday->customers->create()`: \n * `request->billingEmail` **Added**\n * `response.billingEmail` **Added**\n* `midday->customers->get()`: `response.billingEmail` **Added**\n* `midday->customers->delete()`: `response.billingEmail` **Added**\n* `midday->customers->update()`: \n * `requestBody->billingEmail` **Added**\n * `response.billingEmail` **Added**\n* `midday->inbox->update()`: `requestBody` **Changed**\n* `midday->tracker entries->update()`: **Added**\n* `midday->tracker entries->delete()`: **Added**\n* `midday->tracker entries->createBulk()`: **Added**\n" +releaseNotes: "## Php SDK Changes:\n* `midday->invoices->list()`: `response.data->[]` **Changed** **Breaking** :warning:\n* `midday->invoices->get()`: `response` **Changed** **Breaking** :warning:\n* `midday->reports->burn-rate()`: **Added**\n* `midday->metrics->runway()`: **Deleted** **Breaking** :warning:\n* `midday->notifications->list()`: **Added**\n* `midday->notifications->updateStatus()`: **Added**\n* `midday->notifications->updateAllStatus()`: **Added**\n* `midday->transactions->getAttachmentPreSignedUrl()`: **Added**\n* `midday->documents->getPreSignedUrl()`: **Added**\n* `midday->inbox->getPreSignedUrl()`: **Added**\n* `midday->invoices->create()`: **Added**\n* `midday->invoices->update()`: **Added**\n* `midday->reports->revenue()`: **Added**\n* `midday->reports->profit()`: **Added**\n* `midday->oauth->getOAuthAuthorization()`: **Added**\n* `midday->reports->runway()`: **Added**\n* `midday->oauth->postOAuthRevoke()`: **Added**\n* `midday->metrics->revenue()`: **Deleted** **Breaking** :warning:\n* `midday->reports->expenses()`: **Added**\n* `midday->metrics->profit()`: **Deleted** **Breaking** :warning:\n* `midday->metrics->burn-rate()`: **Deleted** **Breaking** :warning:\n* `midday->reports->spending()`: **Added**\n* `midday->metrics->expenses()`: **Deleted** **Breaking** :warning:\n* `midday->metrics->spending()`: **Deleted** **Breaking** :warning:\n* `midday->inbox->list()`: \n * `request->status` **Changed**\n* `midday->oauth->postOAuthToken()`: **Added**\n* `midday->oauth->postOAuthAuthorization()`: **Added**\n* `midday->search->search()`: \n * `request->relevanceThreshold` **Changed**\n* `midday->tracker entries->create()`: \n * `request->assignedId` **Changed**\n* `midday->tracker entries->createBulk()`: \n * `request->entries->[]->assignedId` **Changed**\n* `midday->tracker entries->update()`: \n * `requestBody->assignedId` **Changed**\n" +generatedFiles: + - .gitattributes + - USAGE.md + - composer.json + - docs/Models/Components/Account.md + - docs/Models/Components/Attachment.md + - docs/Models/Components/Category.md + - docs/Models/Components/Connection.md + - docs/Models/Components/CreateTag.md + - docs/Models/Components/Customer.md + - docs/Models/Components/ExpensesResultArray.md + - docs/Models/Components/GetBurnRateResponseSchema.md + - docs/Models/Components/GetExpensesResponseSchema.md + - docs/Models/Components/GetExpensesResponseSchemaMeta.md + - docs/Models/Components/GetProfitResponseSchema.md + - docs/Models/Components/GetRevenueResponseSchema.md + - docs/Models/Components/ProfitCurrent.md + - docs/Models/Components/ProfitMeta.md + - docs/Models/Components/ProfitMetaType.md + - docs/Models/Components/ProfitPercentage.md + - docs/Models/Components/ProfitPercentageStatus.md + - docs/Models/Components/ProfitPrevious.md + - docs/Models/Components/ProfitResultItem.md + - docs/Models/Components/ProfitSummary.md + - docs/Models/Components/RevenueCurrent.md + - docs/Models/Components/RevenueMeta.md + - docs/Models/Components/RevenueMetaType.md + - docs/Models/Components/RevenuePercentage.md + - docs/Models/Components/RevenuePercentageStatus.md + - docs/Models/Components/RevenuePrevious.md + - docs/Models/Components/RevenueResultItem.md + - docs/Models/Components/RevenueSummary.md + - docs/Models/Components/Security.md + - docs/Models/Components/SpendingResultArray.md + - docs/Models/Components/Summary.md + - docs/Models/Components/TagResponse.md + - docs/Models/Components/TagsResponse.md + - docs/Models/Components/TrackerProjectResponse.md + - docs/Models/Components/TrackerProjectResponseStatus.md + - docs/Models/Components/TrackerProjectResponseTag.md + - docs/Models/Components/TrackerProjectsResponse.md + - docs/Models/Components/TrackerProjectsResponseMeta.md + - docs/Models/Components/TransactionResponse.md + - docs/Models/Components/TransactionResponseTag.md + - docs/Models/Components/User.md + - docs/Models/Operations/Attachments.md + - docs/Models/Operations/CreateBankAccountRequest.md + - docs/Models/Operations/CreateBankAccountResponse.md + - docs/Models/Operations/CreateBankAccountResponseBody.md + - docs/Models/Operations/CreateCustomerRequest.md + - docs/Models/Operations/CreateCustomerResponse.md + - docs/Models/Operations/CreateCustomerResponseBody.md + - docs/Models/Operations/CreateCustomerTagRequest.md + - docs/Models/Operations/CreateCustomerTagResponse.md + - docs/Models/Operations/CreateTagResponse.md + - docs/Models/Operations/CreateTrackerEntriesBulkCustomer.md + - docs/Models/Operations/CreateTrackerEntriesBulkData.md + - docs/Models/Operations/CreateTrackerEntriesBulkProject.md + - docs/Models/Operations/CreateTrackerEntriesBulkRequest.md + - docs/Models/Operations/CreateTrackerEntriesBulkResponse.md + - docs/Models/Operations/CreateTrackerEntriesBulkResponseBody.md + - docs/Models/Operations/CreateTrackerEntriesBulkUser.md + - docs/Models/Operations/CreateTrackerEntryCustomer.md + - docs/Models/Operations/CreateTrackerEntryData.md + - docs/Models/Operations/CreateTrackerEntryProject.md + - docs/Models/Operations/CreateTrackerEntryRequest.md + - docs/Models/Operations/CreateTrackerEntryResponse.md + - docs/Models/Operations/CreateTrackerEntryResponseBody.md + - docs/Models/Operations/CreateTrackerEntryUser.md + - docs/Models/Operations/CreateTrackerProjectRequest.md + - docs/Models/Operations/CreateTrackerProjectResponse.md + - docs/Models/Operations/CreateTrackerProjectStatus.md + - docs/Models/Operations/CreateTrackerProjectTag.md + - docs/Models/Operations/CreateTransactionAttachment.md + - docs/Models/Operations/CreateTransactionRequest.md + - docs/Models/Operations/CreateTransactionResponse.md + - docs/Models/Operations/CreateTransactionsAttachment.md + - docs/Models/Operations/CreateTransactionsResponse.md + - docs/Models/Operations/CurrentEntry.md + - docs/Models/Operations/DateFormatRequest.md + - docs/Models/Operations/DeleteBankAccountRequest.md + - docs/Models/Operations/DeleteBankAccountResponse.md + - docs/Models/Operations/DeleteBankAccountResponseBody.md + - docs/Models/Operations/DeleteCustomerRequest.md + - docs/Models/Operations/DeleteCustomerResponse.md + - docs/Models/Operations/DeleteCustomerResponseBody.md + - docs/Models/Operations/DeleteCustomerTag.md + - docs/Models/Operations/DeleteDocumentRequest.md + - docs/Models/Operations/DeleteDocumentResponse.md + - docs/Models/Operations/DeleteDocumentResponseBody.md + - docs/Models/Operations/DeleteInboxItemRequest.md + - docs/Models/Operations/DeleteInboxItemResponse.md + - docs/Models/Operations/DeleteInboxItemResponseBody.md + - docs/Models/Operations/DeleteInvoiceRequest.md + - docs/Models/Operations/DeleteInvoiceResponse.md + - docs/Models/Operations/DeleteInvoiceResponseBody.md + - docs/Models/Operations/DeleteTagRequest.md + - docs/Models/Operations/DeleteTagResponse.md + - docs/Models/Operations/DeleteTrackerEntryRequest.md + - docs/Models/Operations/DeleteTrackerEntryResponse.md + - docs/Models/Operations/DeleteTrackerEntryResponseBody.md + - docs/Models/Operations/DeleteTrackerProjectRequest.md + - docs/Models/Operations/DeleteTrackerProjectResponse.md + - docs/Models/Operations/DeleteTrackerProjectResponseBody.md + - docs/Models/Operations/DeleteTransactionRequest.md + - docs/Models/Operations/DeleteTransactionResponse.md + - docs/Models/Operations/DeleteTransactionResponseBody.md + - docs/Models/Operations/DeleteTransactionsResponse.md + - docs/Models/Operations/DeleteTransactionsResponseBody.md + - docs/Models/Operations/Entry.md + - docs/Models/Operations/GetBankAccountByIdRequest.md + - docs/Models/Operations/GetBankAccountByIdResponse.md + - docs/Models/Operations/GetBankAccountByIdResponseBody.md + - docs/Models/Operations/GetBurnRateMetricsRequest.md + - docs/Models/Operations/GetBurnRateMetricsResponse.md + - docs/Models/Operations/GetCurrentTimerCustomer.md + - docs/Models/Operations/GetCurrentTimerData.md + - docs/Models/Operations/GetCurrentTimerProject.md + - docs/Models/Operations/GetCurrentTimerRequest.md + - docs/Models/Operations/GetCurrentTimerResponse.md + - docs/Models/Operations/GetCurrentTimerResponseBody.md + - docs/Models/Operations/GetCurrentTimerUser.md + - docs/Models/Operations/GetCurrentUserDateFormat.md + - docs/Models/Operations/GetCurrentUserResponse.md + - docs/Models/Operations/GetCurrentUserResponseBody.md + - docs/Models/Operations/GetCurrentUserTeam.md + - docs/Models/Operations/GetCustomerByIdRequest.md + - docs/Models/Operations/GetCustomerByIdResponse.md + - docs/Models/Operations/GetCustomerByIdResponseBody.md + - docs/Models/Operations/GetCustomerByIdTag.md + - docs/Models/Operations/GetDocumentByIdMetadata.md + - docs/Models/Operations/GetDocumentByIdRequest.md + - docs/Models/Operations/GetDocumentByIdResponse.md + - docs/Models/Operations/GetDocumentByIdResponseBody.md + - docs/Models/Operations/GetExpensesMetricsRequest.md + - docs/Models/Operations/GetExpensesMetricsResponse.md + - docs/Models/Operations/GetInboxItemByIdRequest.md + - docs/Models/Operations/GetInboxItemByIdResponse.md + - docs/Models/Operations/GetInboxItemByIdResponseBody.md + - docs/Models/Operations/GetInboxItemByIdTransaction.md + - docs/Models/Operations/GetInvoiceByIdCustomer.md + - docs/Models/Operations/GetInvoiceByIdRequest.md + - docs/Models/Operations/GetInvoiceByIdResponse.md + - docs/Models/Operations/GetInvoiceByIdResponseBody.md + - docs/Models/Operations/GetInvoiceByIdStatus.md + - docs/Models/Operations/GetInvoiceSummaryRequest.md + - docs/Models/Operations/GetInvoiceSummaryResponse.md + - docs/Models/Operations/GetInvoiceSummaryResponseBody.md + - docs/Models/Operations/GetInvoiceSummaryStatus.md + - docs/Models/Operations/GetInvoicesPaymentStatusResponse.md + - docs/Models/Operations/GetInvoicesPaymentStatusResponseBody.md + - docs/Models/Operations/GetProfitMetricsRequest.md + - docs/Models/Operations/GetProfitMetricsResponse.md + - docs/Models/Operations/GetRevenueMetricsRequest.md + - docs/Models/Operations/GetRevenueMetricsResponse.md + - docs/Models/Operations/GetRunwayMetricsRequest.md + - docs/Models/Operations/GetRunwayMetricsResponse.md + - docs/Models/Operations/GetSpendingMetricsRequest.md + - docs/Models/Operations/GetSpendingMetricsResponse.md + - docs/Models/Operations/GetTagByIdRequest.md + - docs/Models/Operations/GetTagByIdResponse.md + - docs/Models/Operations/GetTeamByIdPlan.md + - docs/Models/Operations/GetTeamByIdRequest.md + - docs/Models/Operations/GetTeamByIdResponse.md + - docs/Models/Operations/GetTeamByIdResponseBody.md + - docs/Models/Operations/GetTimerStatusData.md + - docs/Models/Operations/GetTimerStatusRequest.md + - docs/Models/Operations/GetTimerStatusResponse.md + - docs/Models/Operations/GetTimerStatusResponseBody.md + - docs/Models/Operations/GetTrackerProjectByIdRequest.md + - docs/Models/Operations/GetTrackerProjectByIdResponse.md + - docs/Models/Operations/GetTransactionByIdRequest.md + - docs/Models/Operations/GetTransactionByIdResponse.md + - docs/Models/Operations/ListBankAccountsData.md + - docs/Models/Operations/ListBankAccountsRequest.md + - docs/Models/Operations/ListBankAccountsResponse.md + - docs/Models/Operations/ListBankAccountsResponseBody.md + - docs/Models/Operations/ListCustomersData.md + - docs/Models/Operations/ListCustomersMeta.md + - docs/Models/Operations/ListCustomersRequest.md + - docs/Models/Operations/ListCustomersResponse.md + - docs/Models/Operations/ListCustomersResponseBody.md + - docs/Models/Operations/ListCustomersTag.md + - docs/Models/Operations/ListDocumentsData.md + - docs/Models/Operations/ListDocumentsMeta.md + - docs/Models/Operations/ListDocumentsMetadata.md + - docs/Models/Operations/ListDocumentsRequest.md + - docs/Models/Operations/ListDocumentsResponse.md + - docs/Models/Operations/ListDocumentsResponseBody.md + - docs/Models/Operations/ListInboxItemsData.md + - docs/Models/Operations/ListInboxItemsMeta.md + - docs/Models/Operations/ListInboxItemsRequest.md + - docs/Models/Operations/ListInboxItemsResponse.md + - docs/Models/Operations/ListInboxItemsResponseBody.md + - docs/Models/Operations/ListInboxItemsStatus.md + - docs/Models/Operations/ListInboxItemsTransaction.md + - docs/Models/Operations/ListInvoicesCustomer.md + - docs/Models/Operations/ListInvoicesData.md + - docs/Models/Operations/ListInvoicesMeta.md + - docs/Models/Operations/ListInvoicesRequest.md + - docs/Models/Operations/ListInvoicesResponse.md + - docs/Models/Operations/ListInvoicesResponseBody.md + - docs/Models/Operations/ListInvoicesStatus.md + - docs/Models/Operations/ListTagsResponse.md + - docs/Models/Operations/ListTeamMembersData.md + - docs/Models/Operations/ListTeamMembersRequest.md + - docs/Models/Operations/ListTeamMembersResponse.md + - docs/Models/Operations/ListTeamMembersResponseBody.md + - docs/Models/Operations/ListTeamsData.md + - docs/Models/Operations/ListTeamsPlan.md + - docs/Models/Operations/ListTeamsResponse.md + - docs/Models/Operations/ListTeamsResponseBody.md + - docs/Models/Operations/ListTrackerEntriesCustomer.md + - docs/Models/Operations/ListTrackerEntriesMeta.md + - docs/Models/Operations/ListTrackerEntriesProject.md + - docs/Models/Operations/ListTrackerEntriesRequest.md + - docs/Models/Operations/ListTrackerEntriesResponse.md + - docs/Models/Operations/ListTrackerEntriesResponseBody.md + - docs/Models/Operations/ListTrackerEntriesUser.md + - docs/Models/Operations/ListTrackerProjectsRequest.md + - docs/Models/Operations/ListTrackerProjectsResponse.md + - docs/Models/Operations/ListTrackerProjectsStatus.md + - docs/Models/Operations/ListTransactionsMeta.md + - docs/Models/Operations/ListTransactionsRequest.md + - docs/Models/Operations/ListTransactionsResponse.md + - docs/Models/Operations/ListTransactionsResponseBody.md + - docs/Models/Operations/ListTransactionsType.md + - docs/Models/Operations/RequestBody.md + - docs/Models/Operations/Result.md + - docs/Models/Operations/Role.md + - docs/Models/Operations/SearchRequest.md + - docs/Models/Operations/SearchResponse.md + - docs/Models/Operations/SearchResponseBody.md + - docs/Models/Operations/StartTimerCustomer.md + - docs/Models/Operations/StartTimerData.md + - docs/Models/Operations/StartTimerProject.md + - docs/Models/Operations/StartTimerRequest.md + - docs/Models/Operations/StartTimerResponse.md + - docs/Models/Operations/StartTimerResponseBody.md + - docs/Models/Operations/StartTimerUser.md + - docs/Models/Operations/StopTimerCustomer.md + - docs/Models/Operations/StopTimerData.md + - docs/Models/Operations/StopTimerProject.md + - docs/Models/Operations/StopTimerRequest.md + - docs/Models/Operations/StopTimerResponse.md + - docs/Models/Operations/StopTimerResponseBody.md + - docs/Models/Operations/StopTimerUser.md + - docs/Models/Operations/TrackerProject.md + - docs/Models/Operations/UpdateBankAccountRequest.md + - docs/Models/Operations/UpdateBankAccountRequestBody.md + - docs/Models/Operations/UpdateBankAccountResponse.md + - docs/Models/Operations/UpdateBankAccountResponseBody.md + - docs/Models/Operations/UpdateBankAccountType.md + - docs/Models/Operations/UpdateCurrentUserDateFormatResponse.md + - docs/Models/Operations/UpdateCurrentUserRequest.md + - docs/Models/Operations/UpdateCurrentUserResponse.md + - docs/Models/Operations/UpdateCurrentUserResponseBody.md + - docs/Models/Operations/UpdateCurrentUserTeam.md + - docs/Models/Operations/UpdateCustomerRequest.md + - docs/Models/Operations/UpdateCustomerRequestBody.md + - docs/Models/Operations/UpdateCustomerResponse.md + - docs/Models/Operations/UpdateCustomerResponseBody.md + - docs/Models/Operations/UpdateCustomerTagRequest.md + - docs/Models/Operations/UpdateCustomerTagResponse.md + - docs/Models/Operations/UpdateInboxItemRequest.md + - docs/Models/Operations/UpdateInboxItemRequestBody.md + - docs/Models/Operations/UpdateInboxItemResponse.md + - docs/Models/Operations/UpdateInboxItemResponseBody.md + - docs/Models/Operations/UpdateInboxItemStatus.md + - docs/Models/Operations/UpdateInboxItemTransaction.md + - docs/Models/Operations/UpdateTagRequest.md + - docs/Models/Operations/UpdateTagRequestBody.md + - docs/Models/Operations/UpdateTagResponse.md + - docs/Models/Operations/UpdateTeamByIdPlan.md + - docs/Models/Operations/UpdateTeamByIdRequest.md + - docs/Models/Operations/UpdateTeamByIdRequestBody.md + - docs/Models/Operations/UpdateTeamByIdResponse.md + - docs/Models/Operations/UpdateTeamByIdResponseBody.md + - docs/Models/Operations/UpdateTrackerEntryCustomer.md + - docs/Models/Operations/UpdateTrackerEntryData.md + - docs/Models/Operations/UpdateTrackerEntryProject.md + - docs/Models/Operations/UpdateTrackerEntryRequest.md + - docs/Models/Operations/UpdateTrackerEntryRequestBody.md + - docs/Models/Operations/UpdateTrackerEntryResponse.md + - docs/Models/Operations/UpdateTrackerEntryResponseBody.md + - docs/Models/Operations/UpdateTrackerEntryUser.md + - docs/Models/Operations/UpdateTrackerProjectRequest.md + - docs/Models/Operations/UpdateTrackerProjectRequestBody.md + - docs/Models/Operations/UpdateTrackerProjectResponse.md + - docs/Models/Operations/UpdateTrackerProjectStatus.md + - docs/Models/Operations/UpdateTrackerProjectTag.md + - docs/Models/Operations/UpdateTransactionFrequency.md + - docs/Models/Operations/UpdateTransactionRequest.md + - docs/Models/Operations/UpdateTransactionRequestBody.md + - docs/Models/Operations/UpdateTransactionResponse.md + - docs/Models/Operations/UpdateTransactionStatus.md + - docs/Models/Operations/UpdateTransactionsFrequency.md + - docs/Models/Operations/UpdateTransactionsMeta.md + - docs/Models/Operations/UpdateTransactionsRequest.md + - docs/Models/Operations/UpdateTransactionsResponse.md + - docs/Models/Operations/UpdateTransactionsResponseBody.md + - docs/Models/Operations/UpdateTransactionsStatus.md + - docs/sdks/bankaccounts/README.md + - docs/sdks/customers/README.md + - docs/sdks/documents/README.md + - docs/sdks/inbox/README.md + - docs/sdks/invoices/README.md + - docs/sdks/metrics/README.md + - docs/sdks/midday/README.md + - docs/sdks/search/README.md + - docs/sdks/tags/README.md + - docs/sdks/teams/README.md + - docs/sdks/trackerentries/README.md + - docs/sdks/trackerprojects/README.md + - docs/sdks/trackertimer/README.md + - docs/sdks/transactions/README.md + - docs/sdks/users/README.md + - phpstan.neon + - phpunit.xml + - pint.json + - rector.php + - src/BankAccounts.php + - src/Customers.php + - src/Documents.php + - src/Hooks/AfterErrorContext.php + - src/Hooks/AfterErrorHook.php + - src/Hooks/AfterSuccessContext.php + - src/Hooks/AfterSuccessHook.php + - src/Hooks/BeforeRequestContext.php + - src/Hooks/BeforeRequestHook.php + - src/Hooks/Credentials.php + - src/Hooks/ErrorResponseContext.php + - src/Hooks/FailEarlyException.php + - src/Hooks/HookContext.php + - src/Hooks/Hooks.php + - src/Hooks/SDKHooks.php + - src/Hooks/SDKInitHook.php + - src/Hooks/Session.php + - src/Hooks/TokenResponse.php + - src/Inbox.php + - src/Invoices.php + - src/Metrics.php + - src/Midday.php + - src/MiddayBuilder.php + - src/Models/Components/Account.php + - src/Models/Components/Attachment.php + - src/Models/Components/Category.php + - src/Models/Components/Connection.php + - src/Models/Components/CreateTag.php + - src/Models/Components/Customer.php + - src/Models/Components/ExpensesResultArray.php + - src/Models/Components/GetBurnRateResponseSchema.php + - src/Models/Components/GetExpensesResponseSchema.php + - src/Models/Components/GetExpensesResponseSchemaMeta.php + - src/Models/Components/GetProfitResponseSchema.php + - src/Models/Components/GetRevenueResponseSchema.php + - src/Models/Components/ProfitCurrent.php + - src/Models/Components/ProfitMeta.php + - src/Models/Components/ProfitMetaType.php + - src/Models/Components/ProfitPercentage.php + - src/Models/Components/ProfitPercentageStatus.php + - src/Models/Components/ProfitPrevious.php + - src/Models/Components/ProfitResultItem.php + - src/Models/Components/ProfitSummary.php + - src/Models/Components/RevenueCurrent.php + - src/Models/Components/RevenueMeta.php + - src/Models/Components/RevenueMetaType.php + - src/Models/Components/RevenuePercentage.php + - src/Models/Components/RevenuePercentageStatus.php + - src/Models/Components/RevenuePrevious.php + - src/Models/Components/RevenueResultItem.php + - src/Models/Components/RevenueSummary.php + - src/Models/Components/Security.php + - src/Models/Components/SpendingResultArray.php + - src/Models/Components/Summary.php + - src/Models/Components/TagResponse.php + - src/Models/Components/TagsResponse.php + - src/Models/Components/TrackerProjectResponse.php + - src/Models/Components/TrackerProjectResponseStatus.php + - src/Models/Components/TrackerProjectResponseTag.php + - src/Models/Components/TrackerProjectsResponse.php + - src/Models/Components/TrackerProjectsResponseMeta.php + - src/Models/Components/TransactionResponse.php + - src/Models/Components/TransactionResponseTag.php + - src/Models/Components/User.php + - src/Models/Errors/APIException.php + - src/Models/Operations/Attachments.php + - src/Models/Operations/CreateBankAccountRequest.php + - src/Models/Operations/CreateBankAccountResponse.php + - src/Models/Operations/CreateBankAccountResponseBody.php + - src/Models/Operations/CreateCustomerRequest.php + - src/Models/Operations/CreateCustomerResponse.php + - src/Models/Operations/CreateCustomerResponseBody.php + - src/Models/Operations/CreateCustomerTagRequest.php + - src/Models/Operations/CreateCustomerTagResponse.php + - src/Models/Operations/CreateTagResponse.php + - src/Models/Operations/CreateTrackerEntriesBulkCustomer.php + - src/Models/Operations/CreateTrackerEntriesBulkData.php + - src/Models/Operations/CreateTrackerEntriesBulkProject.php + - src/Models/Operations/CreateTrackerEntriesBulkRequest.php + - src/Models/Operations/CreateTrackerEntriesBulkResponse.php + - src/Models/Operations/CreateTrackerEntriesBulkResponseBody.php + - src/Models/Operations/CreateTrackerEntriesBulkUser.php + - src/Models/Operations/CreateTrackerEntryCustomer.php + - src/Models/Operations/CreateTrackerEntryData.php + - src/Models/Operations/CreateTrackerEntryProject.php + - src/Models/Operations/CreateTrackerEntryRequest.php + - src/Models/Operations/CreateTrackerEntryResponse.php + - src/Models/Operations/CreateTrackerEntryResponseBody.php + - src/Models/Operations/CreateTrackerEntryUser.php + - src/Models/Operations/CreateTrackerProjectRequest.php + - src/Models/Operations/CreateTrackerProjectResponse.php + - src/Models/Operations/CreateTrackerProjectStatus.php + - src/Models/Operations/CreateTrackerProjectTag.php + - src/Models/Operations/CreateTransactionAttachment.php + - src/Models/Operations/CreateTransactionRequest.php + - src/Models/Operations/CreateTransactionResponse.php + - src/Models/Operations/CreateTransactionsAttachment.php + - src/Models/Operations/CreateTransactionsResponse.php + - src/Models/Operations/CurrentEntry.php + - src/Models/Operations/DateFormatRequest.php + - src/Models/Operations/DeleteBankAccountRequest.php + - src/Models/Operations/DeleteBankAccountResponse.php + - src/Models/Operations/DeleteBankAccountResponseBody.php + - src/Models/Operations/DeleteCustomerRequest.php + - src/Models/Operations/DeleteCustomerResponse.php + - src/Models/Operations/DeleteCustomerResponseBody.php + - src/Models/Operations/DeleteCustomerTag.php + - src/Models/Operations/DeleteDocumentRequest.php + - src/Models/Operations/DeleteDocumentResponse.php + - src/Models/Operations/DeleteDocumentResponseBody.php + - src/Models/Operations/DeleteInboxItemRequest.php + - src/Models/Operations/DeleteInboxItemResponse.php + - src/Models/Operations/DeleteInboxItemResponseBody.php + - src/Models/Operations/DeleteInvoiceRequest.php + - src/Models/Operations/DeleteInvoiceResponse.php + - src/Models/Operations/DeleteInvoiceResponseBody.php + - src/Models/Operations/DeleteTagRequest.php + - src/Models/Operations/DeleteTagResponse.php + - src/Models/Operations/DeleteTrackerEntryRequest.php + - src/Models/Operations/DeleteTrackerEntryResponse.php + - src/Models/Operations/DeleteTrackerEntryResponseBody.php + - src/Models/Operations/DeleteTrackerProjectRequest.php + - src/Models/Operations/DeleteTrackerProjectResponse.php + - src/Models/Operations/DeleteTrackerProjectResponseBody.php + - src/Models/Operations/DeleteTransactionRequest.php + - src/Models/Operations/DeleteTransactionResponse.php + - src/Models/Operations/DeleteTransactionResponseBody.php + - src/Models/Operations/DeleteTransactionsResponse.php + - src/Models/Operations/DeleteTransactionsResponseBody.php + - src/Models/Operations/Entry.php + - src/Models/Operations/GetBankAccountByIdRequest.php + - src/Models/Operations/GetBankAccountByIdResponse.php + - src/Models/Operations/GetBankAccountByIdResponseBody.php + - src/Models/Operations/GetBurnRateMetricsRequest.php + - src/Models/Operations/GetBurnRateMetricsResponse.php + - src/Models/Operations/GetCurrentTimerCustomer.php + - src/Models/Operations/GetCurrentTimerData.php + - src/Models/Operations/GetCurrentTimerProject.php + - src/Models/Operations/GetCurrentTimerRequest.php + - src/Models/Operations/GetCurrentTimerResponse.php + - src/Models/Operations/GetCurrentTimerResponseBody.php + - src/Models/Operations/GetCurrentTimerUser.php + - src/Models/Operations/GetCurrentUserDateFormat.php + - src/Models/Operations/GetCurrentUserResponse.php + - src/Models/Operations/GetCurrentUserResponseBody.php + - src/Models/Operations/GetCurrentUserTeam.php + - src/Models/Operations/GetCustomerByIdRequest.php + - src/Models/Operations/GetCustomerByIdResponse.php + - src/Models/Operations/GetCustomerByIdResponseBody.php + - src/Models/Operations/GetCustomerByIdTag.php + - src/Models/Operations/GetDocumentByIdMetadata.php + - src/Models/Operations/GetDocumentByIdRequest.php + - src/Models/Operations/GetDocumentByIdResponse.php + - src/Models/Operations/GetDocumentByIdResponseBody.php + - src/Models/Operations/GetExpensesMetricsRequest.php + - src/Models/Operations/GetExpensesMetricsResponse.php + - src/Models/Operations/GetInboxItemByIdRequest.php + - src/Models/Operations/GetInboxItemByIdResponse.php + - src/Models/Operations/GetInboxItemByIdResponseBody.php + - src/Models/Operations/GetInboxItemByIdTransaction.php + - src/Models/Operations/GetInvoiceByIdCustomer.php + - src/Models/Operations/GetInvoiceByIdRequest.php + - src/Models/Operations/GetInvoiceByIdResponse.php + - src/Models/Operations/GetInvoiceByIdResponseBody.php + - src/Models/Operations/GetInvoiceByIdStatus.php + - src/Models/Operations/GetInvoiceSummaryRequest.php + - src/Models/Operations/GetInvoiceSummaryResponse.php + - src/Models/Operations/GetInvoiceSummaryResponseBody.php + - src/Models/Operations/GetInvoiceSummaryStatus.php + - src/Models/Operations/GetInvoicesPaymentStatusResponse.php + - src/Models/Operations/GetInvoicesPaymentStatusResponseBody.php + - src/Models/Operations/GetProfitMetricsRequest.php + - src/Models/Operations/GetProfitMetricsResponse.php + - src/Models/Operations/GetRevenueMetricsRequest.php + - src/Models/Operations/GetRevenueMetricsResponse.php + - src/Models/Operations/GetRunwayMetricsRequest.php + - src/Models/Operations/GetRunwayMetricsResponse.php + - src/Models/Operations/GetSpendingMetricsRequest.php + - src/Models/Operations/GetSpendingMetricsResponse.php + - src/Models/Operations/GetTagByIdRequest.php + - src/Models/Operations/GetTagByIdResponse.php + - src/Models/Operations/GetTeamByIdPlan.php + - src/Models/Operations/GetTeamByIdRequest.php + - src/Models/Operations/GetTeamByIdResponse.php + - src/Models/Operations/GetTeamByIdResponseBody.php + - src/Models/Operations/GetTimerStatusData.php + - src/Models/Operations/GetTimerStatusRequest.php + - src/Models/Operations/GetTimerStatusResponse.php + - src/Models/Operations/GetTimerStatusResponseBody.php + - src/Models/Operations/GetTrackerProjectByIdRequest.php + - src/Models/Operations/GetTrackerProjectByIdResponse.php + - src/Models/Operations/GetTransactionByIdRequest.php + - src/Models/Operations/GetTransactionByIdResponse.php + - src/Models/Operations/ListBankAccountsData.php + - src/Models/Operations/ListBankAccountsRequest.php + - src/Models/Operations/ListBankAccountsResponse.php + - src/Models/Operations/ListBankAccountsResponseBody.php + - src/Models/Operations/ListCustomersData.php + - src/Models/Operations/ListCustomersMeta.php + - src/Models/Operations/ListCustomersRequest.php + - src/Models/Operations/ListCustomersResponse.php + - src/Models/Operations/ListCustomersResponseBody.php + - src/Models/Operations/ListCustomersTag.php + - src/Models/Operations/ListDocumentsData.php + - src/Models/Operations/ListDocumentsMeta.php + - src/Models/Operations/ListDocumentsMetadata.php + - src/Models/Operations/ListDocumentsRequest.php + - src/Models/Operations/ListDocumentsResponse.php + - src/Models/Operations/ListDocumentsResponseBody.php + - src/Models/Operations/ListInboxItemsData.php + - src/Models/Operations/ListInboxItemsMeta.php + - src/Models/Operations/ListInboxItemsRequest.php + - src/Models/Operations/ListInboxItemsResponse.php + - src/Models/Operations/ListInboxItemsResponseBody.php + - src/Models/Operations/ListInboxItemsStatus.php + - src/Models/Operations/ListInboxItemsTransaction.php + - src/Models/Operations/ListInvoicesCustomer.php + - src/Models/Operations/ListInvoicesData.php + - src/Models/Operations/ListInvoicesMeta.php + - src/Models/Operations/ListInvoicesRequest.php + - src/Models/Operations/ListInvoicesResponse.php + - src/Models/Operations/ListInvoicesResponseBody.php + - src/Models/Operations/ListInvoicesStatus.php + - src/Models/Operations/ListTagsResponse.php + - src/Models/Operations/ListTeamMembersData.php + - src/Models/Operations/ListTeamMembersRequest.php + - src/Models/Operations/ListTeamMembersResponse.php + - src/Models/Operations/ListTeamMembersResponseBody.php + - src/Models/Operations/ListTeamsData.php + - src/Models/Operations/ListTeamsPlan.php + - src/Models/Operations/ListTeamsResponse.php + - src/Models/Operations/ListTeamsResponseBody.php + - src/Models/Operations/ListTrackerEntriesCustomer.php + - src/Models/Operations/ListTrackerEntriesMeta.php + - src/Models/Operations/ListTrackerEntriesProject.php + - src/Models/Operations/ListTrackerEntriesRequest.php + - src/Models/Operations/ListTrackerEntriesResponse.php + - src/Models/Operations/ListTrackerEntriesResponseBody.php + - src/Models/Operations/ListTrackerEntriesUser.php + - src/Models/Operations/ListTrackerProjectsRequest.php + - src/Models/Operations/ListTrackerProjectsResponse.php + - src/Models/Operations/ListTrackerProjectsStatus.php + - src/Models/Operations/ListTransactionsMeta.php + - src/Models/Operations/ListTransactionsRequest.php + - src/Models/Operations/ListTransactionsResponse.php + - src/Models/Operations/ListTransactionsResponseBody.php + - src/Models/Operations/ListTransactionsType.php + - src/Models/Operations/RequestBody.php + - src/Models/Operations/Result.php + - src/Models/Operations/Role.php + - src/Models/Operations/SearchRequest.php + - src/Models/Operations/SearchResponse.php + - src/Models/Operations/SearchResponseBody.php + - src/Models/Operations/StartTimerCustomer.php + - src/Models/Operations/StartTimerData.php + - src/Models/Operations/StartTimerProject.php + - src/Models/Operations/StartTimerRequest.php + - src/Models/Operations/StartTimerResponse.php + - src/Models/Operations/StartTimerResponseBody.php + - src/Models/Operations/StartTimerUser.php + - src/Models/Operations/StopTimerCustomer.php + - src/Models/Operations/StopTimerData.php + - src/Models/Operations/StopTimerProject.php + - src/Models/Operations/StopTimerRequest.php + - src/Models/Operations/StopTimerResponse.php + - src/Models/Operations/StopTimerResponseBody.php + - src/Models/Operations/StopTimerUser.php + - src/Models/Operations/TrackerProject.php + - src/Models/Operations/UpdateBankAccountRequest.php + - src/Models/Operations/UpdateBankAccountRequestBody.php + - src/Models/Operations/UpdateBankAccountResponse.php + - src/Models/Operations/UpdateBankAccountResponseBody.php + - src/Models/Operations/UpdateBankAccountType.php + - src/Models/Operations/UpdateCurrentUserDateFormatResponse.php + - src/Models/Operations/UpdateCurrentUserRequest.php + - src/Models/Operations/UpdateCurrentUserResponse.php + - src/Models/Operations/UpdateCurrentUserResponseBody.php + - src/Models/Operations/UpdateCurrentUserTeam.php + - src/Models/Operations/UpdateCustomerRequest.php + - src/Models/Operations/UpdateCustomerRequestBody.php + - src/Models/Operations/UpdateCustomerResponse.php + - src/Models/Operations/UpdateCustomerResponseBody.php + - src/Models/Operations/UpdateCustomerTagRequest.php + - src/Models/Operations/UpdateCustomerTagResponse.php + - src/Models/Operations/UpdateInboxItemRequest.php + - src/Models/Operations/UpdateInboxItemRequestBody.php + - src/Models/Operations/UpdateInboxItemResponse.php + - src/Models/Operations/UpdateInboxItemResponseBody.php + - src/Models/Operations/UpdateInboxItemStatus.php + - src/Models/Operations/UpdateInboxItemTransaction.php + - src/Models/Operations/UpdateTagRequest.php + - src/Models/Operations/UpdateTagRequestBody.php + - src/Models/Operations/UpdateTagResponse.php + - src/Models/Operations/UpdateTeamByIdPlan.php + - src/Models/Operations/UpdateTeamByIdRequest.php + - src/Models/Operations/UpdateTeamByIdRequestBody.php + - src/Models/Operations/UpdateTeamByIdResponse.php + - src/Models/Operations/UpdateTeamByIdResponseBody.php + - src/Models/Operations/UpdateTrackerEntryCustomer.php + - src/Models/Operations/UpdateTrackerEntryData.php + - src/Models/Operations/UpdateTrackerEntryProject.php + - src/Models/Operations/UpdateTrackerEntryRequest.php + - src/Models/Operations/UpdateTrackerEntryRequestBody.php + - src/Models/Operations/UpdateTrackerEntryResponse.php + - src/Models/Operations/UpdateTrackerEntryResponseBody.php + - src/Models/Operations/UpdateTrackerEntryUser.php + - src/Models/Operations/UpdateTrackerProjectRequest.php + - src/Models/Operations/UpdateTrackerProjectRequestBody.php + - src/Models/Operations/UpdateTrackerProjectResponse.php + - src/Models/Operations/UpdateTrackerProjectStatus.php + - src/Models/Operations/UpdateTrackerProjectTag.php + - src/Models/Operations/UpdateTransactionFrequency.php + - src/Models/Operations/UpdateTransactionRequest.php + - src/Models/Operations/UpdateTransactionRequestBody.php + - src/Models/Operations/UpdateTransactionResponse.php + - src/Models/Operations/UpdateTransactionStatus.php + - src/Models/Operations/UpdateTransactionsFrequency.php + - src/Models/Operations/UpdateTransactionsMeta.php + - src/Models/Operations/UpdateTransactionsRequest.php + - src/Models/Operations/UpdateTransactionsResponse.php + - src/Models/Operations/UpdateTransactionsResponseBody.php + - src/Models/Operations/UpdateTransactionsStatus.php + - src/SDKConfiguration.php + - src/Search.php + - src/Tags.php + - src/Teams.php + - src/TrackerEntries.php + - src/TrackerProjects.php + - src/TrackerTimer.php + - src/Transactions.php + - src/Users.php + - src/Utils/BigDecimalHandler.php + - src/Utils/BigIntHandler.php + - src/Utils/DateHandler.php + - src/Utils/DateTimeHandler.php + - src/Utils/DefaultRequest.php + - src/Utils/DefaultResponse.php + - src/Utils/DefaultStream.php + - src/Utils/DefaultUri.php + - src/Utils/EnumHandler.php + - src/Utils/FormMetadata.php + - src/Utils/Headers.php + - src/Utils/JSON.php + - src/Utils/MixedJSONHandler.php + - src/Utils/MultipartMetadata.php + - src/Utils/Options.php + - src/Utils/ParamsMetadata.php + - src/Utils/PathParameters.php + - src/Utils/PhpDocTypeParser.php + - src/Utils/QueryParameters.php + - src/Utils/RequestBodies.php + - src/Utils/RequestMetadata.php + - src/Utils/Retry/PermanentError.php + - src/Utils/Retry/RetryConfig.php + - src/Utils/Retry/RetryConfigBackoff.php + - src/Utils/Retry/RetryConfigNone.php + - src/Utils/Retry/RetryStrategy.php + - src/Utils/Retry/RetryUtils.php + - src/Utils/Retry/TemporaryError.php + - src/Utils/Security.php + - src/Utils/SecurityClient.php + - src/Utils/SecurityMetadata.php + - src/Utils/ServerDetails.php + - src/Utils/SpeakeasyMetadata.php + - src/Utils/UnionHandler.php + - src/Utils/Utils.php diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 83eba5f..584f669 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -16,13 +16,18 @@ generation: auth: oAuth2ClientCredentialsEnabled: true oAuth2PasswordEnabled: true + hoistGlobalSecurity: true sdkHooksConfigAccess: true + schemas: + allOfMergeStrategy: shallowMerge + requestBodyFieldName: "" + persistentEdits: {} tests: generateTests: true generateNewTests: false skipResponseBodyAssertions: false php: - version: 0.0.2 + version: 0.1.0 additionalDependencies: autoload: {} autoload-dev: {} @@ -40,12 +45,14 @@ php: operations: Models/Operations shared: Models/Components webhooks: Models/Webhooks + inferUnionDiscriminators: false inputModelSuffix: input laravelServiceProvider: enabled: false svcName: openapi maxMethodParams: 4 methodArguments: infer-optional-args + multipartArrayFormat: legacy namespace: Midday\Midday outputModelSuffix: output packageName: midday/midday-php diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 04221a1..1eb0865 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,18 +1,18 @@ -speakeasyVersion: 1.606.0 +speakeasyVersion: 1.675.4 sources: -OAS: sourceNamespace: midday-api - sourceRevisionDigest: sha256:f914bc30ad4ad47a5888b409e12b3dde9ccf093bf10ea24be3416a97ab950e4e - sourceBlobDigest: sha256:e4822e044b4565fa816fe6cdd727bc82ccbac8008057a1da0e440106d8c3a87a + sourceRevisionDigest: sha256:ec0531072e6255230022481a20681d2e2807aa4790d88a9e6cc7955b40428800 + sourceBlobDigest: sha256:7d8c1d820eeeca2a44fc889957658e75e71f8a880eddc9492eec72df160c794f tags: - latest - - speakeasy-sdk-regen-1749686653 + - speakeasy-sdk-regen-1758758676 targets: midday: source: -OAS sourceNamespace: midday-api - sourceRevisionDigest: sha256:f914bc30ad4ad47a5888b409e12b3dde9ccf093bf10ea24be3416a97ab950e4e - sourceBlobDigest: sha256:e4822e044b4565fa816fe6cdd727bc82ccbac8008057a1da0e440106d8c3a87a + sourceRevisionDigest: sha256:ec0531072e6255230022481a20681d2e2807aa4790d88a9e6cc7955b40428800 + sourceBlobDigest: sha256:7d8c1d820eeeca2a44fc889957658e75e71f8a880eddc9492eec72df160c794f workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index d377e77..fb2b108 100644 --- a/README.md +++ b/README.md @@ -55,61 +55,27 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; use Midday\Midday\Models\Operations; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); -$request = new Operations\ListTransactionsRequest( - cursor: 'eyJpZCI6IjEyMyJ9', - sort: [ - 'date', - 'desc', - ], - pageSize: 50, - q: 'office supplies', - categories: [ - 'office-supplies', - 'travel', - ], - tags: [ - 'tag-1', - 'tag-2', - ], - start: '2024-04-01T00:00:00.000Z', - end: '2024-04-30T23:59:59.999Z', - accounts: [ - 'account-1', - 'account-2', - ], - assignees: [ - 'user-1', - 'user-2', - ], - statuses: [ - 'pending', - 'completed', - ], - recurring: [ - 'monthly', - 'annually', - ], - attachments: Operations\Attachments::Include, - amountRange: [ - 100, - 1000, - ], - amount: [ - '150.75', - '299.99', - ], - type: Operations\ListTransactionsType::Expense, +$request = new Operations\GetOAuthAuthorizationRequest( + responseType: Operations\ResponseType::Code, + clientId: 'mid_client_abcdef123456789', + redirectUri: 'https://myapp.com/callback', + scope: 'transactions.read invoices.read', + state: 'abc123xyz789_secure-random-state-value-with-sufficient-entropy', + codeChallenge: 'E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM', ); -$response = $sdk->transactions->list( +$response = $sdk->oAuth->getOAuthAuthorization( request: $request ); @@ -124,74 +90,41 @@ if ($response->object !== null) { ### Per-Client Security Schemes -This SDK supports the following security scheme globally: +This SDK supports the following security schemes globally: -| Name | Type | Scheme | -| ------- | ---- | ----------- | -| `token` | http | HTTP Bearer | +| Name | Type | Scheme | +| -------- | ------ | ----------- | +| `oauth2` | apiKey | API key | +| `token` | http | HTTP Bearer | -To authenticate with the API the `token` parameter must be set when initializing the SDK. For example: +You can set the security parameters through the `setSecurity` function on the `SDKBuilder` when initializing the SDK. The selected scheme will be used by default to authenticate with the API for all operations that support it. For example: ```php declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; use Midday\Midday\Models\Operations; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); -$request = new Operations\ListTransactionsRequest( - cursor: 'eyJpZCI6IjEyMyJ9', - sort: [ - 'date', - 'desc', - ], - pageSize: 50, - q: 'office supplies', - categories: [ - 'office-supplies', - 'travel', - ], - tags: [ - 'tag-1', - 'tag-2', - ], - start: '2024-04-01T00:00:00.000Z', - end: '2024-04-30T23:59:59.999Z', - accounts: [ - 'account-1', - 'account-2', - ], - assignees: [ - 'user-1', - 'user-2', - ], - statuses: [ - 'pending', - 'completed', - ], - recurring: [ - 'monthly', - 'annually', - ], - attachments: Operations\Attachments::Include, - amountRange: [ - 100, - 1000, - ], - amount: [ - '150.75', - '299.99', - ], - type: Operations\ListTransactionsType::Expense, +$request = new Operations\GetOAuthAuthorizationRequest( + responseType: Operations\ResponseType::Code, + clientId: 'mid_client_abcdef123456789', + redirectUri: 'https://myapp.com/callback', + scope: 'transactions.read invoices.read', + state: 'abc123xyz789_secure-random-state-value-with-sufficient-entropy', + codeChallenge: 'E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM', ); -$response = $sdk->transactions->list( +$response = $sdk->oAuth->getOAuthAuthorization( request: $request ); @@ -207,7 +140,7 @@ if ($response->object !== null) {
Available methods -### [bankAccounts](docs/sdks/bankaccounts/README.md) +### [BankAccounts](docs/sdks/bankaccounts/README.md) * [list](docs/sdks/bankaccounts/README.md#list) - List all bank accounts * [create](docs/sdks/bankaccounts/README.md#create) - Create a bank account @@ -215,7 +148,7 @@ if ($response->object !== null) { * [delete](docs/sdks/bankaccounts/README.md#delete) - Delete a bank account * [update](docs/sdks/bankaccounts/README.md#update) - Update a bank account -### [customers](docs/sdks/customers/README.md) +### [Customers](docs/sdks/customers/README.md) * [list](docs/sdks/customers/README.md#list) - List all customers * [create](docs/sdks/customers/README.md#create) - Create customer @@ -223,42 +156,58 @@ if ($response->object !== null) { * [delete](docs/sdks/customers/README.md#delete) - Delete a customer * [update](docs/sdks/customers/README.md#update) - Update a customer -### [documents](docs/sdks/documents/README.md) +### [Documents](docs/sdks/documents/README.md) * [list](docs/sdks/documents/README.md#list) - List all documents * [get](docs/sdks/documents/README.md#get) - Retrieve a document * [delete](docs/sdks/documents/README.md#delete) - Delete a document +* [getPreSignedUrl](docs/sdks/documents/README.md#getpresignedurl) - Generate pre-signed URL for document -### [inbox](docs/sdks/inbox/README.md) +### [Inbox](docs/sdks/inbox/README.md) * [list](docs/sdks/inbox/README.md#list) - List all inbox items * [get](docs/sdks/inbox/README.md#get) - Retrieve a inbox item * [delete](docs/sdks/inbox/README.md#delete) - Delete a inbox item * [update](docs/sdks/inbox/README.md#update) - Update a inbox item +* [getPreSignedUrl](docs/sdks/inbox/README.md#getpresignedurl) - Generate pre-signed URL for inbox attachment -### [invoices](docs/sdks/invoices/README.md) +### [Invoices](docs/sdks/invoices/README.md) * [list](docs/sdks/invoices/README.md#list) - List all invoices +* [create](docs/sdks/invoices/README.md#create) - Create an invoice * [getInvoicesPaymentStatus](docs/sdks/invoices/README.md#getinvoicespaymentstatus) - Payment status * [summary](docs/sdks/invoices/README.md#summary) - Invoice summary * [get](docs/sdks/invoices/README.md#get) - Retrieve a invoice +* [update](docs/sdks/invoices/README.md#update) - Update an invoice * [delete](docs/sdks/invoices/README.md#delete) - Delete a invoice -### [metrics](docs/sdks/metrics/README.md) +### [Notifications](docs/sdks/notifications/README.md) -* [revenue](docs/sdks/metrics/README.md#revenue) - Revenue metrics -* [profit](docs/sdks/metrics/README.md#profit) - Profit metrics -* [burnRate](docs/sdks/metrics/README.md#burnrate) - Burn rate metrics -* [runway](docs/sdks/metrics/README.md#runway) - Runway metrics -* [expenses](docs/sdks/metrics/README.md#expenses) - Expense metrics -* [spending](docs/sdks/metrics/README.md#spending) - Spending metrics +* [list](docs/sdks/notifications/README.md#list) - List all notifications +* [updateStatus](docs/sdks/notifications/README.md#updatestatus) - Update notification status +* [updateAllStatus](docs/sdks/notifications/README.md#updateallstatus) - Update status of all notifications +### [OAuth](docs/sdks/oauth/README.md) -### [search](docs/sdks/search/README.md) +* [getOAuthAuthorization](docs/sdks/oauth/README.md#getoauthauthorization) - OAuth Authorization Endpoint +* [postOAuthAuthorization](docs/sdks/oauth/README.md#postoauthauthorization) - OAuth Authorization Decision +* [postOAuthToken](docs/sdks/oauth/README.md#postoauthtoken) - OAuth Token Exchange +* [postOAuthRevoke](docs/sdks/oauth/README.md#postoauthrevoke) - OAuth Token Revocation + +### [Reports](docs/sdks/reports/README.md) + +* [revenue](docs/sdks/reports/README.md#revenue) - Revenue reports +* [profit](docs/sdks/reports/README.md#profit) - Profit reports +* [burnRate](docs/sdks/reports/README.md#burnrate) - Burn rate reports +* [runway](docs/sdks/reports/README.md#runway) - Runway reports +* [expenses](docs/sdks/reports/README.md#expenses) - Expense reports +* [spending](docs/sdks/reports/README.md#spending) - Spending reports + +### [Search](docs/sdks/search/README.md) * [search](docs/sdks/search/README.md#search) - Search -### [tags](docs/sdks/tags/README.md) +### [Tags](docs/sdks/tags/README.md) * [list](docs/sdks/tags/README.md#list) - List all tags * [create](docs/sdks/tags/README.md#create) - Create a new tag @@ -266,14 +215,14 @@ if ($response->object !== null) { * [delete](docs/sdks/tags/README.md#delete) - Delete a tag * [update](docs/sdks/tags/README.md#update) - Update a tag -### [teams](docs/sdks/teams/README.md) +### [Teams](docs/sdks/teams/README.md) * [list](docs/sdks/teams/README.md#list) - List all teams * [get](docs/sdks/teams/README.md#get) - Retrieve a team * [update](docs/sdks/teams/README.md#update) - Update a team * [members](docs/sdks/teams/README.md#members) - List all team members -### [trackerEntries](docs/sdks/trackerentries/README.md) +### [TrackerEntries](docs/sdks/trackerentries/README.md) * [list](docs/sdks/trackerentries/README.md#list) - List all tracker entries * [create](docs/sdks/trackerentries/README.md#create) - Create a tracker entry @@ -281,7 +230,7 @@ if ($response->object !== null) { * [delete](docs/sdks/trackerentries/README.md#delete) - Delete a tracker entry * [update](docs/sdks/trackerentries/README.md#update) - Update a tracker entry -### [trackerProjects](docs/sdks/trackerprojects/README.md) +### [TrackerProjects](docs/sdks/trackerprojects/README.md) * [list](docs/sdks/trackerprojects/README.md#list) - List all tracker projects * [create](docs/sdks/trackerprojects/README.md#create) - Create a tracker project @@ -289,25 +238,26 @@ if ($response->object !== null) { * [delete](docs/sdks/trackerprojects/README.md#delete) - Delete a tracker project * [update](docs/sdks/trackerprojects/README.md#update) - Update a tracker project -### [trackerTimer](docs/sdks/trackertimer/README.md) +### [TrackerTimer](docs/sdks/trackertimer/README.md) * [startTimer](docs/sdks/trackertimer/README.md#starttimer) - Start a timer * [stopTimer](docs/sdks/trackertimer/README.md#stoptimer) - Stop a timer * [getCurrentTimer](docs/sdks/trackertimer/README.md#getcurrenttimer) - Get current timer * [getTimerStatus](docs/sdks/trackertimer/README.md#gettimerstatus) - Get timer status -### [transactions](docs/sdks/transactions/README.md) +### [Transactions](docs/sdks/transactions/README.md) * [list](docs/sdks/transactions/README.md#list) - List all transactions * [create](docs/sdks/transactions/README.md#create) - Create a transaction * [get](docs/sdks/transactions/README.md#get) - Retrieve a transaction * [delete](docs/sdks/transactions/README.md#delete) - Delete a transaction * [update](docs/sdks/transactions/README.md#update) - Update a transaction +* [getAttachmentPreSignedUrl](docs/sdks/transactions/README.md#getattachmentpresignedurl) - Generate pre-signed URL for transaction attachment * [createMany](docs/sdks/transactions/README.md#createmany) - Bulk create transactions * [deleteMany](docs/sdks/transactions/README.md#deletemany) - Bulk delete transactions * [updateMany](docs/sdks/transactions/README.md#updatemany) - Bulk update transactions -### [users](docs/sdks/users/README.md) +### [Users](docs/sdks/users/README.md) * [get](docs/sdks/users/README.md#get) - Retrieve the current user * [update](docs/sdks/users/README.md#update) - Update the current user @@ -329,11 +279,12 @@ By default an API error will raise a `Errors\APIException` exception, which has | `$rawResponse` | *?\Psr\Http\Message\ResponseInterface* | The raw HTTP response | | `$body` | *string* | The response content | -When custom error responses are specified for an operation, the SDK may also throw their associated exception. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `list` method throws the following exceptions: +When custom error responses are specified for an operation, the SDK may also throw their associated exception. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `getOAuthAuthorization` method throws the following exceptions: -| Error Type | Status Code | Content Type | -| ------------------- | ----------- | ------------ | -| Errors\APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ----------------------------------------------- | ----------- | ---------------- | +| Errors\GetOAuthAuthorizationBadRequestException | 400 | application/json | +| Errors\APIException | 4XX, 5XX | \*/\* | ### Example @@ -343,68 +294,38 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; +use Midday\Midday\Models\Errors; use Midday\Midday\Models\Operations; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); try { - $request = new Operations\ListTransactionsRequest( - cursor: 'eyJpZCI6IjEyMyJ9', - sort: [ - 'date', - 'desc', - ], - pageSize: 50, - q: 'office supplies', - categories: [ - 'office-supplies', - 'travel', - ], - tags: [ - 'tag-1', - 'tag-2', - ], - start: '2024-04-01T00:00:00.000Z', - end: '2024-04-30T23:59:59.999Z', - accounts: [ - 'account-1', - 'account-2', - ], - assignees: [ - 'user-1', - 'user-2', - ], - statuses: [ - 'pending', - 'completed', - ], - recurring: [ - 'monthly', - 'annually', - ], - attachments: Operations\Attachments::Include, - amountRange: [ - 100, - 1000, - ], - amount: [ - '150.75', - '299.99', - ], - type: Operations\ListTransactionsType::Expense, + $request = new Operations\GetOAuthAuthorizationRequest( + responseType: Operations\ResponseType::Code, + clientId: 'mid_client_abcdef123456789', + redirectUri: 'https://myapp.com/callback', + scope: 'transactions.read invoices.read', + state: 'abc123xyz789_secure-random-state-value-with-sufficient-entropy', + codeChallenge: 'E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM', ); - $response = $sdk->transactions->list( + $response = $sdk->oAuth->getOAuthAuthorization( request: $request ); if ($response->object !== null) { // handle response } +} catch (Errors\GetOAuthAuthorizationBadRequestExceptionThrowable $e) { + // handle $e->$container data + throw $e; } catch (Errors\APIException $e) { // handle default exception throw $e; @@ -424,62 +345,28 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; use Midday\Midday\Models\Operations; $sdk = Midday\Midday::builder() ->setServerURL('https://api.midday.ai') ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); -$request = new Operations\ListTransactionsRequest( - cursor: 'eyJpZCI6IjEyMyJ9', - sort: [ - 'date', - 'desc', - ], - pageSize: 50, - q: 'office supplies', - categories: [ - 'office-supplies', - 'travel', - ], - tags: [ - 'tag-1', - 'tag-2', - ], - start: '2024-04-01T00:00:00.000Z', - end: '2024-04-30T23:59:59.999Z', - accounts: [ - 'account-1', - 'account-2', - ], - assignees: [ - 'user-1', - 'user-2', - ], - statuses: [ - 'pending', - 'completed', - ], - recurring: [ - 'monthly', - 'annually', - ], - attachments: Operations\Attachments::Include, - amountRange: [ - 100, - 1000, - ], - amount: [ - '150.75', - '299.99', - ], - type: Operations\ListTransactionsType::Expense, +$request = new Operations\GetOAuthAuthorizationRequest( + responseType: Operations\ResponseType::Code, + clientId: 'mid_client_abcdef123456789', + redirectUri: 'https://myapp.com/callback', + scope: 'transactions.read invoices.read', + state: 'abc123xyz789_secure-random-state-value-with-sufficient-entropy', + codeChallenge: 'E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM', ); -$response = $sdk->transactions->list( +$response = $sdk->oAuth->getOAuthAuthorization( request: $request ); diff --git a/RELEASES.md b/RELEASES.md index ca44b40..cb3e506 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -8,4 +8,14 @@ Based on: ### Generated - [php v0.0.2] . ### Releases -- [Composer v0.0.2] https://packagist.org/packages/midday/midday-php#v0.0.2 - . \ No newline at end of file +- [Composer v0.0.2] https://packagist.org/packages/midday/midday-php#v0.0.2 - . + +## 2025-12-11 00:04:30 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.675.4 (2.779.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [php v0.1.0] . +### Releases +- [Composer v0.1.0] https://packagist.org/packages/midday/midday-php#v0.1.0 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index 56d4fe2..eaaeef0 100644 --- a/USAGE.md +++ b/USAGE.md @@ -5,61 +5,27 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; use Midday\Midday\Models\Operations; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); -$request = new Operations\ListTransactionsRequest( - cursor: 'eyJpZCI6IjEyMyJ9', - sort: [ - 'date', - 'desc', - ], - pageSize: 50, - q: 'office supplies', - categories: [ - 'office-supplies', - 'travel', - ], - tags: [ - 'tag-1', - 'tag-2', - ], - start: '2024-04-01T00:00:00.000Z', - end: '2024-04-30T23:59:59.999Z', - accounts: [ - 'account-1', - 'account-2', - ], - assignees: [ - 'user-1', - 'user-2', - ], - statuses: [ - 'pending', - 'completed', - ], - recurring: [ - 'monthly', - 'annually', - ], - attachments: Operations\Attachments::Include, - amountRange: [ - 100, - 1000, - ], - amount: [ - '150.75', - '299.99', - ], - type: Operations\ListTransactionsType::Expense, +$request = new Operations\GetOAuthAuthorizationRequest( + responseType: Operations\ResponseType::Code, + clientId: 'mid_client_abcdef123456789', + redirectUri: 'https://myapp.com/callback', + scope: 'transactions.read invoices.read', + state: 'abc123xyz789_secure-random-state-value-with-sufficient-entropy', + codeChallenge: 'E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM', ); -$response = $sdk->transactions->list( +$response = $sdk->oAuth->getOAuthAuthorization( request: $request ); diff --git a/docs/Models/Components/NotificationResponseSchema.md b/docs/Models/Components/NotificationResponseSchema.md new file mode 100644 index 0000000..60525cb --- /dev/null +++ b/docs/Models/Components/NotificationResponseSchema.md @@ -0,0 +1,8 @@ +# NotificationResponseSchema + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `data` | [Components\NotificationSchema](../../Models/Components/NotificationSchema.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/Models/Components/NotificationSchema.md b/docs/Models/Components/NotificationSchema.md new file mode 100644 index 0000000..639f1dd --- /dev/null +++ b/docs/Models/Components/NotificationSchema.md @@ -0,0 +1,17 @@ +# NotificationSchema + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | Unique identifier of the notification | b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2 | +| `createdAt` | *string* | :heavy_check_mark: | ISO timestamp when the notification was created | 2024-04-15T09:00:00.000Z | +| `teamId` | *string* | :heavy_check_mark: | Unique identifier of the team | a1b2c3d4-e5f6-7890-abcd-ef1234567890 | +| `userId` | *string* | :heavy_check_mark: | Unique identifier of the user (if applicable) | c2d3e4f5-a6b7-8901-bcde-f23456789012 | +| `type` | *string* | :heavy_check_mark: | Type of notification | transactions_created | +| `priority` | *int* | :heavy_check_mark: | Priority level of the notification (1-3 = user notifications, 4-10 = insights) | 3 | +| `source` | [Components\Source](../../Models/Components/Source.md) | :heavy_check_mark: | Source of the notification | system | +| `status` | [Components\NotificationSchemaStatus](../../Models/Components/NotificationSchemaStatus.md) | :heavy_check_mark: | Current status of the notification | unread | +| `metadata` | array | :heavy_check_mark: | Additional metadata for the notification | {
"transactionCount": 5,
"dateRange": {
"from": "2024-04-01",
"to": "2024-04-15"
}
} | +| `lastUsedAt` | *string* | :heavy_check_mark: | ISO timestamp when the notification was last used by the system | 2024-04-15T11:00:00.000Z | \ No newline at end of file diff --git a/docs/Models/Components/NotificationSchemaStatus.md b/docs/Models/Components/NotificationSchemaStatus.md new file mode 100644 index 0000000..fb6a1a5 --- /dev/null +++ b/docs/Models/Components/NotificationSchemaStatus.md @@ -0,0 +1,12 @@ +# NotificationSchemaStatus + +Current status of the notification + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `Unread` | unread | +| `Read` | read | +| `Archived` | archived | \ No newline at end of file diff --git a/docs/Models/Components/NotificationsResponseSchema.md b/docs/Models/Components/NotificationsResponseSchema.md new file mode 100644 index 0000000..84aaad7 --- /dev/null +++ b/docs/Models/Components/NotificationsResponseSchema.md @@ -0,0 +1,9 @@ +# NotificationsResponseSchema + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `data` | array<[Components\NotificationSchema](../../Models/Components/NotificationSchema.md)> | :heavy_check_mark: | Array of notifications | +| `meta` | [Components\NotificationsResponseSchemaMeta](../../Models/Components/NotificationsResponseSchemaMeta.md) | :heavy_check_mark: | Pagination metadata | \ No newline at end of file diff --git a/docs/Models/Components/NotificationsResponseSchemaMeta.md b/docs/Models/Components/NotificationsResponseSchemaMeta.md new file mode 100644 index 0000000..1c2338a --- /dev/null +++ b/docs/Models/Components/NotificationsResponseSchemaMeta.md @@ -0,0 +1,12 @@ +# NotificationsResponseSchemaMeta + +Pagination metadata + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | +| `cursor` | *string* | :heavy_check_mark: | Cursor for pagination (null if no more pages) | 40 | +| `hasPreviousPage` | *bool* | :heavy_check_mark: | Whether there are previous pages available | true | +| `hasNextPage` | *bool* | :heavy_check_mark: | Whether there are more pages available | false | \ No newline at end of file diff --git a/docs/Models/Components/Security.md b/docs/Models/Components/Security.md index 0bd40a0..b17baad 100644 --- a/docs/Models/Components/Security.md +++ b/docs/Models/Components/Security.md @@ -5,4 +5,5 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `token` | *string* | :heavy_check_mark: | N/A | MIDDAY_API_KEY | \ No newline at end of file +| `oauth2` | *?string* | :heavy_minus_sign: | N/A | | +| `token` | *?string* | :heavy_minus_sign: | N/A | MIDDAY_API_KEY | \ No newline at end of file diff --git a/docs/Models/Components/Source.md b/docs/Models/Components/Source.md new file mode 100644 index 0000000..ee197d5 --- /dev/null +++ b/docs/Models/Components/Source.md @@ -0,0 +1,11 @@ +# Source + +Source of the notification + + +## Values + +| Name | Value | +| -------- | -------- | +| `System` | system | +| `User` | user | \ No newline at end of file diff --git a/docs/Models/Components/UpdateAllNotificationsStatusResponseSchema.md b/docs/Models/Components/UpdateAllNotificationsStatusResponseSchema.md new file mode 100644 index 0000000..5cd3c5f --- /dev/null +++ b/docs/Models/Components/UpdateAllNotificationsStatusResponseSchema.md @@ -0,0 +1,8 @@ +# UpdateAllNotificationsStatusResponseSchema + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `data` | array<[Components\NotificationSchema](../../Models/Components/NotificationSchema.md)> | :heavy_check_mark: | Array of updated notifications | \ No newline at end of file diff --git a/docs/Models/Components/UpdateAllNotificationsStatusSchema.md b/docs/Models/Components/UpdateAllNotificationsStatusSchema.md new file mode 100644 index 0000000..ddc5483 --- /dev/null +++ b/docs/Models/Components/UpdateAllNotificationsStatusSchema.md @@ -0,0 +1,8 @@ +# UpdateAllNotificationsStatusSchema + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `status` | [Components\UpdateAllNotificationsStatusSchemaStatus](../../Models/Components/UpdateAllNotificationsStatusSchemaStatus.md) | :heavy_check_mark: | The new status to apply to all notifications for the authenticated user | read | \ No newline at end of file diff --git a/docs/Models/Components/UpdateAllNotificationsStatusSchemaStatus.md b/docs/Models/Components/UpdateAllNotificationsStatusSchemaStatus.md new file mode 100644 index 0000000..3aaecde --- /dev/null +++ b/docs/Models/Components/UpdateAllNotificationsStatusSchemaStatus.md @@ -0,0 +1,12 @@ +# UpdateAllNotificationsStatusSchemaStatus + +The new status to apply to all notifications for the authenticated user + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `Unread` | unread | +| `Read` | read | +| `Archived` | archived | \ No newline at end of file diff --git a/docs/Models/Errors/ConflictException.md b/docs/Models/Errors/ConflictException.md new file mode 100644 index 0000000..c86dd4c --- /dev/null +++ b/docs/Models/Errors/ConflictException.md @@ -0,0 +1,11 @@ +# ConflictException + +Conflict. Invoice number already exists. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_check_mark: | Error message about the conflict | Invoice number 'INV-2024-001' is already used. Please provide a different invoice number or omit it to auto-generate one. | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/docs/Models/Errors/CreateInvoiceBadRequestException.md b/docs/Models/Errors/CreateInvoiceBadRequestException.md new file mode 100644 index 0000000..7e6c5ab --- /dev/null +++ b/docs/Models/Errors/CreateInvoiceBadRequestException.md @@ -0,0 +1,11 @@ +# CreateInvoiceBadRequestException + +Bad request. Invalid input data or validation errors. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_check_mark: | Error message describing the validation failure | scheduledAt is required for scheduled delivery | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/docs/Models/Errors/CreateInvoiceInternalServerError.md b/docs/Models/Errors/CreateInvoiceInternalServerError.md new file mode 100644 index 0000000..ec6413b --- /dev/null +++ b/docs/Models/Errors/CreateInvoiceInternalServerError.md @@ -0,0 +1,11 @@ +# CreateInvoiceInternalServerError + +Internal server error. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_check_mark: | Error message | Failed to create invoice | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/docs/Models/Errors/CreateInvoiceNotFoundException.md b/docs/Models/Errors/CreateInvoiceNotFoundException.md new file mode 100644 index 0000000..9da0b10 --- /dev/null +++ b/docs/Models/Errors/CreateInvoiceNotFoundException.md @@ -0,0 +1,11 @@ +# CreateInvoiceNotFoundException + +Customer not found. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_check_mark: | Error message | Customer not found | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/docs/Models/Errors/GetDocumentPreSignedUrlBadRequestException.md b/docs/Models/Errors/GetDocumentPreSignedUrlBadRequestException.md new file mode 100644 index 0000000..5037e08 --- /dev/null +++ b/docs/Models/Errors/GetDocumentPreSignedUrlBadRequestException.md @@ -0,0 +1,11 @@ +# GetDocumentPreSignedUrlBadRequestException + +Bad request - Document file path not available + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `error` | *string* | :heavy_check_mark: | N/A | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetDocumentPreSignedUrlInternalServerError.md b/docs/Models/Errors/GetDocumentPreSignedUrlInternalServerError.md new file mode 100644 index 0000000..4343967 --- /dev/null +++ b/docs/Models/Errors/GetDocumentPreSignedUrlInternalServerError.md @@ -0,0 +1,11 @@ +# GetDocumentPreSignedUrlInternalServerError + +Internal server error - Failed to generate pre-signed URL + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `error` | *string* | :heavy_check_mark: | N/A | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetDocumentPreSignedUrlNotFoundException.md b/docs/Models/Errors/GetDocumentPreSignedUrlNotFoundException.md new file mode 100644 index 0000000..678c930 --- /dev/null +++ b/docs/Models/Errors/GetDocumentPreSignedUrlNotFoundException.md @@ -0,0 +1,11 @@ +# GetDocumentPreSignedUrlNotFoundException + +Document not found + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `error` | *string* | :heavy_check_mark: | N/A | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetInboxPreSignedUrlBadRequestException.md b/docs/Models/Errors/GetInboxPreSignedUrlBadRequestException.md new file mode 100644 index 0000000..9ce982a --- /dev/null +++ b/docs/Models/Errors/GetInboxPreSignedUrlBadRequestException.md @@ -0,0 +1,11 @@ +# GetInboxPreSignedUrlBadRequestException + +Bad request - Attachment file path not available + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `error` | *string* | :heavy_check_mark: | N/A | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetInboxPreSignedUrlInternalServerError.md b/docs/Models/Errors/GetInboxPreSignedUrlInternalServerError.md new file mode 100644 index 0000000..7471bac --- /dev/null +++ b/docs/Models/Errors/GetInboxPreSignedUrlInternalServerError.md @@ -0,0 +1,11 @@ +# GetInboxPreSignedUrlInternalServerError + +Internal server error - Failed to generate pre-signed URL + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `error` | *string* | :heavy_check_mark: | N/A | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetInboxPreSignedUrlNotFoundException.md b/docs/Models/Errors/GetInboxPreSignedUrlNotFoundException.md new file mode 100644 index 0000000..a31ff10 --- /dev/null +++ b/docs/Models/Errors/GetInboxPreSignedUrlNotFoundException.md @@ -0,0 +1,11 @@ +# GetInboxPreSignedUrlNotFoundException + +Inbox item not found + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `error` | *string* | :heavy_check_mark: | N/A | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetOAuthAuthorizationBadRequestException.md b/docs/Models/Errors/GetOAuthAuthorizationBadRequestException.md new file mode 100644 index 0000000..b051c7b --- /dev/null +++ b/docs/Models/Errors/GetOAuthAuthorizationBadRequestException.md @@ -0,0 +1,14 @@ +# GetOAuthAuthorizationBadRequestException + +Invalid request + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `error` | *string* | :heavy_check_mark: | Error code | invalid_request | +| `errorDescription` | *?string* | :heavy_minus_sign: | Human-readable error description | The request is missing a required parameter | +| `errorUri` | *?string* | :heavy_minus_sign: | URI to a human-readable error page | https://docs.midday.ai/errors/invalid_request | +| `state` | *?string* | :heavy_minus_sign: | State parameter from the original request (min 32 chars, alphanumeric + _.-) | abc123xyz789_secure-random-state-value-with-sufficient-entropy | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/docs/Models/Errors/GetTransactionAttachmentPreSignedUrlBadRequestException.md b/docs/Models/Errors/GetTransactionAttachmentPreSignedUrlBadRequestException.md new file mode 100644 index 0000000..7eb1b2e --- /dev/null +++ b/docs/Models/Errors/GetTransactionAttachmentPreSignedUrlBadRequestException.md @@ -0,0 +1,11 @@ +# GetTransactionAttachmentPreSignedUrlBadRequestException + +Bad request - Attachment file path not available + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `error` | *string* | :heavy_check_mark: | N/A | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetTransactionAttachmentPreSignedUrlInternalServerError.md b/docs/Models/Errors/GetTransactionAttachmentPreSignedUrlInternalServerError.md new file mode 100644 index 0000000..b935bd1 --- /dev/null +++ b/docs/Models/Errors/GetTransactionAttachmentPreSignedUrlInternalServerError.md @@ -0,0 +1,11 @@ +# GetTransactionAttachmentPreSignedUrlInternalServerError + +Internal server error - Failed to generate pre-signed URL + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `error` | *string* | :heavy_check_mark: | N/A | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetTransactionAttachmentPreSignedUrlNotFoundException.md b/docs/Models/Errors/GetTransactionAttachmentPreSignedUrlNotFoundException.md new file mode 100644 index 0000000..da0c746 --- /dev/null +++ b/docs/Models/Errors/GetTransactionAttachmentPreSignedUrlNotFoundException.md @@ -0,0 +1,11 @@ +# GetTransactionAttachmentPreSignedUrlNotFoundException + +Transaction or attachment not found + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `error` | *string* | :heavy_check_mark: | N/A | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/PostOAuthAuthorizationBadRequestException.md b/docs/Models/Errors/PostOAuthAuthorizationBadRequestException.md new file mode 100644 index 0000000..1990bf8 --- /dev/null +++ b/docs/Models/Errors/PostOAuthAuthorizationBadRequestException.md @@ -0,0 +1,11 @@ +# PostOAuthAuthorizationBadRequestException + +Invalid request + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `redirectUrl` | *string* | :heavy_check_mark: | N/A | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/PostOAuthTokenBadRequestException.md b/docs/Models/Errors/PostOAuthTokenBadRequestException.md new file mode 100644 index 0000000..cab67b3 --- /dev/null +++ b/docs/Models/Errors/PostOAuthTokenBadRequestException.md @@ -0,0 +1,14 @@ +# PostOAuthTokenBadRequestException + +Invalid request + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `error` | *string* | :heavy_check_mark: | Error code | invalid_request | +| `errorDescription` | *?string* | :heavy_minus_sign: | Human-readable error description | The request is missing a required parameter | +| `errorUri` | *?string* | :heavy_minus_sign: | URI to a human-readable error page | https://docs.midday.ai/errors/invalid_request | +| `state` | *?string* | :heavy_minus_sign: | State parameter from the original request (min 32 chars, alphanumeric + _.-) | abc123xyz789_secure-random-state-value-with-sufficient-entropy | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/docs/Models/Errors/UnauthorizedException.md b/docs/Models/Errors/UnauthorizedException.md new file mode 100644 index 0000000..d41db56 --- /dev/null +++ b/docs/Models/Errors/UnauthorizedException.md @@ -0,0 +1,11 @@ +# UnauthorizedException + +Unauthorized + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `redirectUrl` | *string* | :heavy_check_mark: | N/A | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Operations/AuthorizationCode.md b/docs/Models/Operations/AuthorizationCode.md new file mode 100644 index 0000000..237b8cd --- /dev/null +++ b/docs/Models/Operations/AuthorizationCode.md @@ -0,0 +1,13 @@ +# AuthorizationCode + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `grantType` | [Operations\GrantTypeAuthorizationCode](../../Models/Operations/GrantTypeAuthorizationCode.md) | :heavy_check_mark: | OAuth grant type, must be 'authorization_code' | authorization_code | +| `code` | *string* | :heavy_check_mark: | Authorization code received from authorization endpoint | mid_authorization_code_abcdef123456789 | +| `redirectUri` | *string* | :heavy_check_mark: | Redirect URI used in authorization request | https://myapp.com/callback | +| `clientId` | *string* | :heavy_check_mark: | Client ID of the OAuth application | mid_client_abcdef123456789 | +| `clientSecret` | *?string* | :heavy_minus_sign: | Client secret of the OAuth application (required for confidential clients) | mid_secret_abcdef123456789 | +| `codeVerifier` | *?string* | :heavy_minus_sign: | Code verifier for PKCE (required for public clients using PKCE) | dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk | \ No newline at end of file diff --git a/docs/Models/Operations/BottomBlock.md b/docs/Models/Operations/BottomBlock.md new file mode 100644 index 0000000..af53462 --- /dev/null +++ b/docs/Models/Operations/BottomBlock.md @@ -0,0 +1,9 @@ +# BottomBlock + +Custom content block to display at the bottom of the invoice in TipTap JSONContent format + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/Models/Operations/CreateInvoiceRequest.md b/docs/Models/Operations/CreateInvoiceRequest.md new file mode 100644 index 0000000..3ff201a --- /dev/null +++ b/docs/Models/Operations/CreateInvoiceRequest.md @@ -0,0 +1,27 @@ +# CreateInvoiceRequest + +Schema for creating an invoice. The deliveryType determines if it stays as a draft, gets finalized immediately, or gets scheduled for later processing. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `template` | [Operations\Template](../../Models/Operations/Template.md) | :heavy_check_mark: | Invoice template details | | +| `fromDetails` | [?Operations\FromDetails](../../Models/Operations/FromDetails.md) | :heavy_minus_sign: | Sender details in TipTap JSONContent format | {
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Acme Inc, 123 Main St, City, Country"
}
]
}
]
} | +| `customerId` | *string* | :heavy_check_mark: | Unique identifier for the customer (required) | a1b2c3d4-e5f6-7890-abcd-ef1234567890 | +| `paymentDetails` | [?Operations\PaymentDetails](../../Models/Operations/PaymentDetails.md) | :heavy_minus_sign: | Payment details in TipTap JSONContent format | {
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Bank: 123456, IBAN: DE1234567890"
}
]
}
]
} | +| `noteDetails` | [?Operations\NoteDetails](../../Models/Operations/NoteDetails.md) | :heavy_minus_sign: | Additional notes for the invoice in TipTap JSONContent format | {
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Thank you for your business."
}
]
}
]
} | +| `dueDate` | *string* | :heavy_check_mark: | Due date of the invoice in ISO 8601 format | 2024-06-30T23:59:59.000Z | +| `issueDate` | *string* | :heavy_check_mark: | Issue date of the invoice in ISO 8601 format | 2024-06-01T00:00:00.000Z | +| `invoiceNumber` | *?string* | :heavy_minus_sign: | Invoice number as shown to the customer (auto-generated if not provided) | INV-2024-001 | +| `logoUrl` | *?string* | :heavy_minus_sign: | URL of the logo to display on the invoice | https://example.com/logo.png | +| `vat` | *?float* | :heavy_minus_sign: | VAT amount for the invoice | 150 | +| `tax` | *?float* | :heavy_minus_sign: | Tax amount for the invoice | 50 | +| `discount` | *?float* | :heavy_minus_sign: | Discount applied to the invoice | 100 | +| `topBlock` | [?Operations\TopBlock](../../Models/Operations/TopBlock.md) | :heavy_minus_sign: | Custom content block to display at the top of the invoice in TipTap JSONContent format | {
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Acme Inc",
"marks": [
{
"type": "bold"
}
]
}
]
},
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "123 Main St, City, Country"
}
]
},
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Visit our website: "
},
{
"type": "text",
"text": "https://acme.com",
"marks": [
{
"type": "link",
"attrs": {
"href": "https://acme.com"
}
}
]
}
]
}
]
} | +| `bottomBlock` | [?Operations\BottomBlock](../../Models/Operations/BottomBlock.md) | :heavy_minus_sign: | Custom content block to display at the bottom of the invoice in TipTap JSONContent format | {
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Acme Inc",
"marks": [
{
"type": "bold"
}
]
}
]
},
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "123 Main St, City, Country"
}
]
},
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Visit our website: "
},
{
"type": "text",
"text": "https://acme.com",
"marks": [
{
"type": "link",
"attrs": {
"href": "https://acme.com"
}
}
]
}
]
}
]
} | +| `amount` | *?float* | :heavy_minus_sign: | Total amount of the invoice | 1500.75 | +| `lineItems` | array<[Operations\LineItem](../../Models/Operations/LineItem.md)> | :heavy_minus_sign: | List of line items for the invoice | | +| `deliveryType` | [Operations\DeliveryType](../../Models/Operations/DeliveryType.md) | :heavy_check_mark: | How the invoice should be processed: 'create' - finalize immediately, 'create_and_send' - finalize and send to customer, 'scheduled' - schedule for automatic processing at specified date | create | +| `scheduledAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_minus_sign: | Scheduled date of the invoice in ISO 8601 format. Required when deliveryType is 'scheduled'. Must be in the future. | 2024-06-30T23:59:59.000Z | \ No newline at end of file diff --git a/docs/Models/Operations/CreateInvoiceResponse.md b/docs/Models/Operations/CreateInvoiceResponse.md new file mode 100644 index 0000000..0624dd5 --- /dev/null +++ b/docs/Models/Operations/CreateInvoiceResponse.md @@ -0,0 +1,11 @@ +# CreateInvoiceResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `object` | [?Operations\CreateInvoiceResponseBody](../../Models/Operations/CreateInvoiceResponseBody.md) | :heavy_minus_sign: | Invoice created successfully. Status depends on deliveryType: 'scheduled' for scheduled invoices, 'unpaid' for create/create_and_send. | \ No newline at end of file diff --git a/docs/Models/Operations/CreateInvoiceResponseBody.md b/docs/Models/Operations/CreateInvoiceResponseBody.md new file mode 100644 index 0000000..92f6358 --- /dev/null +++ b/docs/Models/Operations/CreateInvoiceResponseBody.md @@ -0,0 +1,15 @@ +# CreateInvoiceResponseBody + +Response after creating a draft invoice + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | Unique identifier for the draft invoice | b3b7e6e2-8c2a-4e2a-9b1a-2e4b5c6d7f8a | +| `status` | [Operations\CreateInvoiceStatus](../../Models/Operations/CreateInvoiceStatus.md) | :heavy_check_mark: | Current status of the invoice | draft | +| `createdAt` | *string* | :heavy_check_mark: | Timestamp when the invoice was created (ISO 8601) | 2024-06-01T07:00:00.000Z | +| `updatedAt` | *string* | :heavy_check_mark: | Timestamp when the invoice was last updated (ISO 8601) | 2024-06-01T07:00:00.000Z | +| `pdfUrl` | *string* | :heavy_check_mark: | Direct URL to download the invoice PDF | https://app.midday.ai/api/download/invoice?token=eyJ... | +| `previewUrl` | *string* | :heavy_check_mark: | Direct URL to preview the invoice in browser | https://app.midday.ai/i/eyJ... | \ No newline at end of file diff --git a/docs/Models/Operations/CreateInvoiceStatus.md b/docs/Models/Operations/CreateInvoiceStatus.md new file mode 100644 index 0000000..b1ea97c --- /dev/null +++ b/docs/Models/Operations/CreateInvoiceStatus.md @@ -0,0 +1,15 @@ +# CreateInvoiceStatus + +Current status of the invoice + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `Draft` | draft | +| `Overdue` | overdue | +| `Paid` | paid | +| `Unpaid` | unpaid | +| `Canceled` | canceled | +| `Scheduled` | scheduled | \ No newline at end of file diff --git a/docs/Models/Operations/CreateTrackerEntryRequest.md b/docs/Models/Operations/CreateTrackerEntryRequest.md index 9f5c645..d5bdcb2 100644 --- a/docs/Models/Operations/CreateTrackerEntryRequest.md +++ b/docs/Models/Operations/CreateTrackerEntryRequest.md @@ -3,12 +3,12 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `start` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | Start time of the tracker entry in ISO 8601 format | 2024-04-15T09:00:00.000Z | -| `stop` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | Stop time of the tracker entry in ISO 8601 format | 2024-04-15T17:00:00.000Z | -| `dates` | array<*string*> | :heavy_check_mark: | Array of dates for which to create tracker entries | [
"2024-04-15",
"2024-04-16"
] | -| `assignedId` | *string* | :heavy_check_mark: | Unique identifier of the user assigned to this tracker entry | a1b2c3d4-e5f6-7890-abcd-ef1234567890 | -| `projectId` | *string* | :heavy_check_mark: | Unique identifier of the project associated with this tracker entry | b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2 | -| `description` | *?string* | :heavy_minus_sign: | Optional description or notes for the tracker entry | Worked on implementing user authentication feature | -| `duration` | *float* | :heavy_check_mark: | Duration of the tracker entry in seconds | 28800 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `start` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | Start time of the tracker entry in ISO 8601 format | 2024-04-15T09:00:00.000Z | +| `stop` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | Stop time of the tracker entry in ISO 8601 format | 2024-04-15T17:00:00.000Z | +| `dates` | array<*string*> | :heavy_check_mark: | Array of dates for which to create tracker entries | [
"2024-04-15",
"2024-04-16"
] | +| `assignedId` | *?string* | :heavy_minus_sign: | Unique identifier of the user assigned to this tracker entry. If not provided, will use the authenticated user | a1b2c3d4-e5f6-7890-abcd-ef1234567890 | +| `projectId` | *string* | :heavy_check_mark: | Unique identifier of the project associated with this tracker entry | b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2 | +| `description` | *?string* | :heavy_minus_sign: | Optional description or notes for the tracker entry | Worked on implementing user authentication feature | +| `duration` | *float* | :heavy_check_mark: | Duration of the tracker entry in seconds | 28800 | \ No newline at end of file diff --git a/docs/Models/Operations/Decision.md b/docs/Models/Operations/Decision.md new file mode 100644 index 0000000..90c5c15 --- /dev/null +++ b/docs/Models/Operations/Decision.md @@ -0,0 +1,11 @@ +# Decision + +User's authorization decision + + +## Values + +| Name | Value | +| ------- | ------- | +| `Allow` | allow | +| `Deny` | deny | \ No newline at end of file diff --git a/docs/Models/Operations/DeliveryType.md b/docs/Models/Operations/DeliveryType.md new file mode 100644 index 0000000..ca7f285 --- /dev/null +++ b/docs/Models/Operations/DeliveryType.md @@ -0,0 +1,12 @@ +# DeliveryType + +How the invoice should be processed: 'create' - finalize immediately, 'create_and_send' - finalize and send to customer, 'scheduled' - schedule for automatic processing at specified date + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `Create` | create | +| `CreateAndSend` | create_and_send | +| `Scheduled` | scheduled | \ No newline at end of file diff --git a/docs/Models/Operations/Entry.md b/docs/Models/Operations/Entry.md index 31c10e8..76ef732 100644 --- a/docs/Models/Operations/Entry.md +++ b/docs/Models/Operations/Entry.md @@ -3,12 +3,12 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `start` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | Start time of the tracker entry in ISO 8601 format | 2024-04-15T09:00:00.000Z | -| `stop` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | Stop time of the tracker entry in ISO 8601 format | 2024-04-15T17:00:00.000Z | -| `dates` | array<*string*> | :heavy_check_mark: | Array of dates for which to create tracker entries | [
"2024-04-15",
"2024-04-16"
] | -| `assignedId` | *string* | :heavy_check_mark: | Unique identifier of the user assigned to this tracker entry | a1b2c3d4-e5f6-7890-abcd-ef1234567890 | -| `projectId` | *string* | :heavy_check_mark: | Unique identifier of the project associated with this tracker entry | b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2 | -| `description` | *?string* | :heavy_minus_sign: | Optional description or notes for the tracker entry | Worked on implementing user authentication feature | -| `duration` | *float* | :heavy_check_mark: | Duration of the tracker entry in seconds | 28800 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `start` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | Start time of the tracker entry in ISO 8601 format | 2024-04-15T09:00:00.000Z | +| `stop` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | Stop time of the tracker entry in ISO 8601 format | 2024-04-15T17:00:00.000Z | +| `dates` | array<*string*> | :heavy_check_mark: | Array of dates for which to create tracker entries | [
"2024-04-15",
"2024-04-16"
] | +| `assignedId` | *?string* | :heavy_minus_sign: | Unique identifier of the user assigned to this tracker entry. If not provided, will use the authenticated user | a1b2c3d4-e5f6-7890-abcd-ef1234567890 | +| `projectId` | *string* | :heavy_check_mark: | Unique identifier of the project associated with this tracker entry | b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2 | +| `description` | *?string* | :heavy_minus_sign: | Optional description or notes for the tracker entry | Worked on implementing user authentication feature | +| `duration` | *float* | :heavy_check_mark: | Duration of the tracker entry in seconds | 28800 | \ No newline at end of file diff --git a/docs/Models/Operations/FromDetails.md b/docs/Models/Operations/FromDetails.md new file mode 100644 index 0000000..4ddb1d8 --- /dev/null +++ b/docs/Models/Operations/FromDetails.md @@ -0,0 +1,9 @@ +# FromDetails + +Sender details in TipTap JSONContent format + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/Models/Operations/GetBurnRateReportsRequest.md b/docs/Models/Operations/GetBurnRateReportsRequest.md new file mode 100644 index 0000000..dae692b --- /dev/null +++ b/docs/Models/Operations/GetBurnRateReportsRequest.md @@ -0,0 +1,10 @@ +# GetBurnRateReportsRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `from` | *string* | :heavy_check_mark: | N/A | 2023-01-01 | +| `to` | *string* | :heavy_check_mark: | N/A | 2023-12-31 | +| `currency` | *?string* | :heavy_minus_sign: | N/A | USD | \ No newline at end of file diff --git a/docs/Models/Operations/GetBurnRateReportsResponse.md b/docs/Models/Operations/GetBurnRateReportsResponse.md new file mode 100644 index 0000000..918229a --- /dev/null +++ b/docs/Models/Operations/GetBurnRateReportsResponse.md @@ -0,0 +1,11 @@ +# GetBurnRateReportsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `getBurnRateResponseSchemas` | array<[Components\GetBurnRateResponseSchema](../../Models/Components/GetBurnRateResponseSchema.md)> | :heavy_minus_sign: | Burn rate reports for the authenticated team. | \ No newline at end of file diff --git a/docs/Models/Operations/GetDocumentPreSignedUrlRequest.md b/docs/Models/Operations/GetDocumentPreSignedUrlRequest.md new file mode 100644 index 0000000..920ce3a --- /dev/null +++ b/docs/Models/Operations/GetDocumentPreSignedUrlRequest.md @@ -0,0 +1,9 @@ +# GetDocumentPreSignedUrlRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | b3b7c1e2-4c2a-4e7a-9c1a-2b7c1e24c2a4 | +| `download` | *?bool* | :heavy_minus_sign: | N/A | true | \ No newline at end of file diff --git a/docs/Models/Operations/GetDocumentPreSignedUrlResponse.md b/docs/Models/Operations/GetDocumentPreSignedUrlResponse.md new file mode 100644 index 0000000..756d688 --- /dev/null +++ b/docs/Models/Operations/GetDocumentPreSignedUrlResponse.md @@ -0,0 +1,11 @@ +# GetDocumentPreSignedUrlResponse + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | +| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `object` | [?Operations\GetDocumentPreSignedUrlResponseBody](../../Models/Operations/GetDocumentPreSignedUrlResponseBody.md) | :heavy_minus_sign: | Pre-signed URL generated successfully | \ No newline at end of file diff --git a/docs/Models/Operations/GetDocumentPreSignedUrlResponseBody.md b/docs/Models/Operations/GetDocumentPreSignedUrlResponseBody.md new file mode 100644 index 0000000..beb401c --- /dev/null +++ b/docs/Models/Operations/GetDocumentPreSignedUrlResponseBody.md @@ -0,0 +1,12 @@ +# GetDocumentPreSignedUrlResponseBody + +Pre-signed URL generated successfully + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | +| `url` | *string* | :heavy_check_mark: | Pre-signed URL for accessing the document, valid for 60 seconds | https://service.midday.ai/storage/v1/object/sign/vault/documents/2024/invoice.pdf?token=abc123&expires=1640995200 | +| `expiresAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | ISO 8601 timestamp when the URL expires | 2024-04-15T10:01:00.000Z | +| `fileName` | *string* | :heavy_check_mark: | Original filename of the document | invoice-april-2024.pdf | \ No newline at end of file diff --git a/docs/Models/Operations/GetExpensesReportsRequest.md b/docs/Models/Operations/GetExpensesReportsRequest.md new file mode 100644 index 0000000..b28718e --- /dev/null +++ b/docs/Models/Operations/GetExpensesReportsRequest.md @@ -0,0 +1,10 @@ +# GetExpensesReportsRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `from` | *string* | :heavy_check_mark: | N/A | 2023-01-01 | +| `to` | *string* | :heavy_check_mark: | N/A | 2023-12-31 | +| `currency` | *?string* | :heavy_minus_sign: | N/A | USD | \ No newline at end of file diff --git a/docs/Models/Operations/GetExpensesReportsResponse.md b/docs/Models/Operations/GetExpensesReportsResponse.md new file mode 100644 index 0000000..7ff6af1 --- /dev/null +++ b/docs/Models/Operations/GetExpensesReportsResponse.md @@ -0,0 +1,11 @@ +# GetExpensesReportsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `getExpensesResponseSchema` | [?Components\GetExpensesResponseSchema](../../Models/Components/GetExpensesResponseSchema.md) | :heavy_minus_sign: | Expense reports for the authenticated team. | \ No newline at end of file diff --git a/docs/Models/Operations/GetInboxPreSignedUrlRequest.md b/docs/Models/Operations/GetInboxPreSignedUrlRequest.md new file mode 100644 index 0000000..5348f92 --- /dev/null +++ b/docs/Models/Operations/GetInboxPreSignedUrlRequest.md @@ -0,0 +1,9 @@ +# GetInboxPreSignedUrlRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | b3b7c1e2-4c2a-4e7a-9c1a-2b7c1e24c2a4 | +| `download` | *?bool* | :heavy_minus_sign: | N/A | true | \ No newline at end of file diff --git a/docs/Models/Operations/GetInboxPreSignedUrlResponse.md b/docs/Models/Operations/GetInboxPreSignedUrlResponse.md new file mode 100644 index 0000000..86eec5e --- /dev/null +++ b/docs/Models/Operations/GetInboxPreSignedUrlResponse.md @@ -0,0 +1,11 @@ +# GetInboxPreSignedUrlResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `object` | [?Operations\GetInboxPreSignedUrlResponseBody](../../Models/Operations/GetInboxPreSignedUrlResponseBody.md) | :heavy_minus_sign: | Pre-signed URL generated successfully | \ No newline at end of file diff --git a/docs/Models/Operations/GetInboxPreSignedUrlResponseBody.md b/docs/Models/Operations/GetInboxPreSignedUrlResponseBody.md new file mode 100644 index 0000000..b36ff0f --- /dev/null +++ b/docs/Models/Operations/GetInboxPreSignedUrlResponseBody.md @@ -0,0 +1,12 @@ +# GetInboxPreSignedUrlResponseBody + +Pre-signed URL generated successfully + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | +| `url` | *string* | :heavy_check_mark: | Pre-signed URL for accessing the inbox attachment, valid for 60 seconds | https://service.midday.ai/storage/v1/object/sign/vault/inbox/document.pdf?token=abc123&expires=1640995200 | +| `expiresAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | ISO 8601 timestamp when the URL expires | 2024-04-15T10:01:00.000Z | +| `fileName` | *string* | :heavy_check_mark: | Original filename of the inbox attachment | invoice.pdf | \ No newline at end of file diff --git a/docs/Models/Operations/GetInvoiceByIdResponseBody.md b/docs/Models/Operations/GetInvoiceByIdResponseBody.md index 1e4553e..f07629c 100644 --- a/docs/Models/Operations/GetInvoiceByIdResponseBody.md +++ b/docs/Models/Operations/GetInvoiceByIdResponseBody.md @@ -11,7 +11,7 @@ Invoice object | `status` | [Operations\GetInvoiceByIdStatus](../../Models/Operations/GetInvoiceByIdStatus.md) | :heavy_check_mark: | Current status of the invoice | paid | | `dueDate` | *string* | :heavy_check_mark: | Due date of the invoice in ISO 8601 format | 2024-06-30T23:59:59.000Z | | `issueDate` | *string* | :heavy_check_mark: | Issue date of the invoice in ISO 8601 format | 2024-06-01T00:00:00.000Z | -| `invoiceNumber` | *string* | :heavy_check_mark: | Invoice number as shown to the customer | INV-2024-001 | +| `invoiceNumber` | *?string* | :heavy_minus_sign: | Invoice number as shown to the customer (auto-generated if not provided) | INV-2024-001 | | `amount` | *float* | :heavy_check_mark: | Total amount of the invoice | 1500.75 | | `currency` | *string* | :heavy_check_mark: | Currency code (ISO 4217) for the invoice amount | USD | | `customer` | [Operations\GetInvoiceByIdCustomer](../../Models/Operations/GetInvoiceByIdCustomer.md) | :heavy_check_mark: | Customer details | | @@ -27,4 +27,6 @@ Invoice object | `sentTo` | *string* | :heavy_check_mark: | Email address to which the invoice was sent, or null if not sent | billing@acme.com | | `sentAt` | *string* | :heavy_check_mark: | Timestamp when the invoice was sent (ISO 8601), or null if not sent | 2024-06-02T08:00:00.000Z | | `createdAt` | *string* | :heavy_check_mark: | Timestamp when the invoice was created (ISO 8601) | 2024-06-01T07:00:00.000Z | -| `updatedAt` | *string* | :heavy_check_mark: | Timestamp when the invoice was last updated (ISO 8601) | 2024-06-15T10:00:00.000Z | \ No newline at end of file +| `updatedAt` | *string* | :heavy_check_mark: | Timestamp when the invoice was last updated (ISO 8601) | 2024-06-15T10:00:00.000Z | +| `pdfUrl` | *string* | :heavy_check_mark: | URL to download the invoice PDF, or null if not generated | https://app.midday.ai/api/download/invoice?token=eef58951-1682-4062-b010-425866032390 | +| `previewUrl` | *string* | :heavy_check_mark: | URL to preview the invoice in the browser, or null if not generated | https://app.midday.ai/i/eef58951-1682-4062-b010-425866032390 | \ No newline at end of file diff --git a/docs/Models/Operations/GetOAuthAuthorizationRequest.md b/docs/Models/Operations/GetOAuthAuthorizationRequest.md new file mode 100644 index 0000000..ce77481 --- /dev/null +++ b/docs/Models/Operations/GetOAuthAuthorizationRequest.md @@ -0,0 +1,13 @@ +# GetOAuthAuthorizationRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `responseType` | [Operations\ResponseType](../../Models/Operations/ResponseType.md) | :heavy_check_mark: | OAuth response type, must be 'code' | code | +| `clientId` | *string* | :heavy_check_mark: | N/A | mid_client_abcdef123456789 | +| `redirectUri` | *string* | :heavy_check_mark: | N/A | https://myapp.com/callback | +| `scope` | *string* | :heavy_check_mark: | N/A | transactions.read invoices.read | +| `state` | *string* | :heavy_check_mark: | N/A | abc123xyz789_secure-random-state-value-with-sufficient-entropy | +| `codeChallenge` | *?string* | :heavy_minus_sign: | N/A | E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM | \ No newline at end of file diff --git a/docs/Models/Operations/GetOAuthAuthorizationResponse.md b/docs/Models/Operations/GetOAuthAuthorizationResponse.md new file mode 100644 index 0000000..9128b80 --- /dev/null +++ b/docs/Models/Operations/GetOAuthAuthorizationResponse.md @@ -0,0 +1,11 @@ +# GetOAuthAuthorizationResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `object` | [?Operations\GetOAuthAuthorizationResponseBody](../../Models/Operations/GetOAuthAuthorizationResponseBody.md) | :heavy_minus_sign: | Application information for consent screen | \ No newline at end of file diff --git a/docs/Models/Operations/GetOAuthAuthorizationResponseBody.md b/docs/Models/Operations/GetOAuthAuthorizationResponseBody.md new file mode 100644 index 0000000..c2dbfb6 --- /dev/null +++ b/docs/Models/Operations/GetOAuthAuthorizationResponseBody.md @@ -0,0 +1,23 @@ +# GetOAuthAuthorizationResponseBody + +Application information for consent screen + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | Application ID | 123e4567-e89b-12d3-a456-426614174000 | +| `name` | *string* | :heavy_check_mark: | Application name | My Raycast Extension | +| `description` | *string* | :heavy_check_mark: | Application description | A Raycast extension for managing transactions | +| `overview` | *string* | :heavy_check_mark: | Application overview | This application provides advanced transaction management features including:
- Real-time sync
- Advanced filtering | +| `developerName` | *string* | :heavy_check_mark: | The person or company developing this application | Acme Corp | +| `logoUrl` | *string* | :heavy_check_mark: | Application logo URL | https://example.com/logo.png | +| `website` | *string* | :heavy_check_mark: | Application website | https://myapp.com | +| `installUrl` | *string* | :heavy_check_mark: | An optional URL for installing the application | https://myapp.com/install | +| `screenshots` | array<*string*> | :heavy_check_mark: | Up to 4 screenshots that will be displayed on the apps page | [
"https://example.com/screenshot1.png",
"https://example.com/screenshot2.png"
] | +| `clientId` | *string* | :heavy_check_mark: | Client ID | mid_client_abcdef123456789 | +| `scopes` | array<*string*> | :heavy_check_mark: | Requested scopes | [
"transactions.read",
"invoices.read"
] | +| `redirectUri` | *string* | :heavy_check_mark: | Redirect URI | https://myapp.com/callback | +| `state` | *?string* | :heavy_minus_sign: | State parameter (min 32 chars, alphanumeric + _.-) | abc123xyz789_secure-random-state-value-with-sufficient-entropy | +| `status` | [Operations\GetOAuthAuthorizationStatus](../../Models/Operations/GetOAuthAuthorizationStatus.md) | :heavy_check_mark: | Application verification status | approved | \ No newline at end of file diff --git a/docs/Models/Operations/GetOAuthAuthorizationStatus.md b/docs/Models/Operations/GetOAuthAuthorizationStatus.md new file mode 100644 index 0000000..7bef85b --- /dev/null +++ b/docs/Models/Operations/GetOAuthAuthorizationStatus.md @@ -0,0 +1,13 @@ +# GetOAuthAuthorizationStatus + +Application verification status + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `Draft` | draft | +| `Pending` | pending | +| `Approved` | approved | +| `Rejected` | rejected | \ No newline at end of file diff --git a/docs/Models/Operations/GetProfitReportsRequest.md b/docs/Models/Operations/GetProfitReportsRequest.md new file mode 100644 index 0000000..700334d --- /dev/null +++ b/docs/Models/Operations/GetProfitReportsRequest.md @@ -0,0 +1,10 @@ +# GetProfitReportsRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `from` | *string* | :heavy_check_mark: | N/A | 2023-01-01 | +| `to` | *string* | :heavy_check_mark: | N/A | 2023-12-31 | +| `currency` | *?string* | :heavy_minus_sign: | N/A | USD | \ No newline at end of file diff --git a/docs/Models/Operations/GetProfitReportsResponse.md b/docs/Models/Operations/GetProfitReportsResponse.md new file mode 100644 index 0000000..dc62b9f --- /dev/null +++ b/docs/Models/Operations/GetProfitReportsResponse.md @@ -0,0 +1,11 @@ +# GetProfitReportsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `getProfitResponseSchema` | [?Components\GetProfitResponseSchema](../../Models/Components/GetProfitResponseSchema.md) | :heavy_minus_sign: | Profit reports for the authenticated team. | \ No newline at end of file diff --git a/docs/Models/Operations/GetRevenueReportsRequest.md b/docs/Models/Operations/GetRevenueReportsRequest.md new file mode 100644 index 0000000..cbc9763 --- /dev/null +++ b/docs/Models/Operations/GetRevenueReportsRequest.md @@ -0,0 +1,10 @@ +# GetRevenueReportsRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `from` | *string* | :heavy_check_mark: | N/A | 2023-01-01 | +| `to` | *string* | :heavy_check_mark: | N/A | 2023-12-31 | +| `currency` | *?string* | :heavy_minus_sign: | N/A | USD | \ No newline at end of file diff --git a/docs/Models/Operations/GetRevenueReportsResponse.md b/docs/Models/Operations/GetRevenueReportsResponse.md new file mode 100644 index 0000000..2f7cf9f --- /dev/null +++ b/docs/Models/Operations/GetRevenueReportsResponse.md @@ -0,0 +1,11 @@ +# GetRevenueReportsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `getRevenueResponseSchema` | [?Components\GetRevenueResponseSchema](../../Models/Components/GetRevenueResponseSchema.md) | :heavy_minus_sign: | Revenue reports for the authenticated team. | \ No newline at end of file diff --git a/docs/Models/Operations/GetRunwayReportsRequest.md b/docs/Models/Operations/GetRunwayReportsRequest.md new file mode 100644 index 0000000..8b5d677 --- /dev/null +++ b/docs/Models/Operations/GetRunwayReportsRequest.md @@ -0,0 +1,10 @@ +# GetRunwayReportsRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `from` | *string* | :heavy_check_mark: | N/A | 2023-01-01 | +| `to` | *string* | :heavy_check_mark: | N/A | 2023-12-31 | +| `currency` | *?string* | :heavy_minus_sign: | N/A | USD | \ No newline at end of file diff --git a/docs/Models/Operations/GetRunwayReportsResponse.md b/docs/Models/Operations/GetRunwayReportsResponse.md new file mode 100644 index 0000000..cdefc9b --- /dev/null +++ b/docs/Models/Operations/GetRunwayReportsResponse.md @@ -0,0 +1,11 @@ +# GetRunwayReportsResponse + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | +| `getRunwayResponseSchema` | *?float* | :heavy_minus_sign: | Runway reports for the authenticated team. | 12 | \ No newline at end of file diff --git a/docs/Models/Operations/GetSpendingReportsRequest.md b/docs/Models/Operations/GetSpendingReportsRequest.md new file mode 100644 index 0000000..7605e32 --- /dev/null +++ b/docs/Models/Operations/GetSpendingReportsRequest.md @@ -0,0 +1,10 @@ +# GetSpendingReportsRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `from` | *string* | :heavy_check_mark: | N/A | 2023-01-01 | +| `to` | *string* | :heavy_check_mark: | N/A | 2023-12-31 | +| `currency` | *?string* | :heavy_minus_sign: | N/A | USD | \ No newline at end of file diff --git a/docs/Models/Operations/GetSpendingReportsResponse.md b/docs/Models/Operations/GetSpendingReportsResponse.md new file mode 100644 index 0000000..b0d33b7 --- /dev/null +++ b/docs/Models/Operations/GetSpendingReportsResponse.md @@ -0,0 +1,11 @@ +# GetSpendingReportsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `spendingResultArray` | array<[Components\SpendingResultArray](../../Models/Components/SpendingResultArray.md)> | :heavy_minus_sign: | Spending reports for the authenticated team. | \ No newline at end of file diff --git a/docs/Models/Operations/GetTransactionAttachmentPreSignedUrlRequest.md b/docs/Models/Operations/GetTransactionAttachmentPreSignedUrlRequest.md new file mode 100644 index 0000000..e766661 --- /dev/null +++ b/docs/Models/Operations/GetTransactionAttachmentPreSignedUrlRequest.md @@ -0,0 +1,10 @@ +# GetTransactionAttachmentPreSignedUrlRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `transactionId` | *string* | :heavy_check_mark: | N/A | b3b7c1e2-4c2a-4e7a-9c1a-2b7c1e24c2a4 | +| `attachmentId` | *string* | :heavy_check_mark: | N/A | a43dc3a5-6925-4d91-ac9c-4c1a34bdb388 | +| `download` | *?bool* | :heavy_minus_sign: | N/A | true | \ No newline at end of file diff --git a/docs/Models/Operations/GetTransactionAttachmentPreSignedUrlResponse.md b/docs/Models/Operations/GetTransactionAttachmentPreSignedUrlResponse.md new file mode 100644 index 0000000..51b1321 --- /dev/null +++ b/docs/Models/Operations/GetTransactionAttachmentPreSignedUrlResponse.md @@ -0,0 +1,11 @@ +# GetTransactionAttachmentPreSignedUrlResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `object` | [?Operations\GetTransactionAttachmentPreSignedUrlResponseBody](../../Models/Operations/GetTransactionAttachmentPreSignedUrlResponseBody.md) | :heavy_minus_sign: | Pre-signed URL generated successfully | \ No newline at end of file diff --git a/docs/Models/Operations/GetTransactionAttachmentPreSignedUrlResponseBody.md b/docs/Models/Operations/GetTransactionAttachmentPreSignedUrlResponseBody.md new file mode 100644 index 0000000..33cba80 --- /dev/null +++ b/docs/Models/Operations/GetTransactionAttachmentPreSignedUrlResponseBody.md @@ -0,0 +1,12 @@ +# GetTransactionAttachmentPreSignedUrlResponseBody + +Pre-signed URL generated successfully + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | +| `url` | *string* | :heavy_check_mark: | Pre-signed URL for accessing the attachment, valid for 60 seconds | https://service.midday.ai/storage/v1/object/sign/vault/transactions/receipt.pdf?token=abc123&expires=1640995200 | +| `expiresAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | ISO 8601 timestamp when the URL expires | 2024-04-15T10:01:00.000Z | +| `fileName` | *string* | :heavy_check_mark: | Original filename of the attachment | receipt.pdf | \ No newline at end of file diff --git a/docs/Models/Operations/GrantTypeAuthorizationCode.md b/docs/Models/Operations/GrantTypeAuthorizationCode.md new file mode 100644 index 0000000..decc388 --- /dev/null +++ b/docs/Models/Operations/GrantTypeAuthorizationCode.md @@ -0,0 +1,10 @@ +# GrantTypeAuthorizationCode + +OAuth grant type, must be 'authorization_code' + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `AuthorizationCode` | authorization_code | \ No newline at end of file diff --git a/docs/Models/Operations/GrantTypeRefreshToken.md b/docs/Models/Operations/GrantTypeRefreshToken.md new file mode 100644 index 0000000..33573de --- /dev/null +++ b/docs/Models/Operations/GrantTypeRefreshToken.md @@ -0,0 +1,10 @@ +# GrantTypeRefreshToken + +OAuth grant type, must be 'refresh_token' + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `RefreshToken` | refresh_token | \ No newline at end of file diff --git a/docs/Models/Operations/LineItem.md b/docs/Models/Operations/LineItem.md new file mode 100644 index 0000000..cb0c13e --- /dev/null +++ b/docs/Models/Operations/LineItem.md @@ -0,0 +1,13 @@ +# LineItem + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `quantity` | *?float* | :heavy_minus_sign: | N/A | | +| `unit` | *?string* | :heavy_minus_sign: | N/A | | +| `price` | *?float* | :heavy_minus_sign: | N/A | | +| `vat` | *?float* | :heavy_minus_sign: | N/A | | +| `tax` | *?float* | :heavy_minus_sign: | N/A | | +| `name` | [?Operations\Name](../../Models/Operations/Name.md) | :heavy_minus_sign: | Line item description in TipTap JSONContent format | {
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Web Development Services"
}
]
}
]
} | \ No newline at end of file diff --git a/docs/Models/Operations/ListInboxItemsStatus.md b/docs/Models/Operations/ListInboxItemsStatus.md index c8182e1..b559cc8 100644 --- a/docs/Models/Operations/ListInboxItemsStatus.md +++ b/docs/Models/Operations/ListInboxItemsStatus.md @@ -3,7 +3,8 @@ ## Values -| Name | Value | -| --------- | --------- | -| `Done` | done | -| `Pending` | pending | \ No newline at end of file +| Name | Value | +| ---------------- | ---------------- | +| `Done` | done | +| `Pending` | pending | +| `SuggestedMatch` | suggested_match | \ No newline at end of file diff --git a/docs/Models/Operations/ListInvoicesData.md b/docs/Models/Operations/ListInvoicesData.md index 2c15887..70b81e2 100644 --- a/docs/Models/Operations/ListInvoicesData.md +++ b/docs/Models/Operations/ListInvoicesData.md @@ -11,7 +11,7 @@ Invoice object | `status` | [Operations\ListInvoicesStatus](../../Models/Operations/ListInvoicesStatus.md) | :heavy_check_mark: | Current status of the invoice | paid | | `dueDate` | *string* | :heavy_check_mark: | Due date of the invoice in ISO 8601 format | 2024-06-30T23:59:59.000Z | | `issueDate` | *string* | :heavy_check_mark: | Issue date of the invoice in ISO 8601 format | 2024-06-01T00:00:00.000Z | -| `invoiceNumber` | *string* | :heavy_check_mark: | Invoice number as shown to the customer | INV-2024-001 | +| `invoiceNumber` | *?string* | :heavy_minus_sign: | Invoice number as shown to the customer (auto-generated if not provided) | INV-2024-001 | | `amount` | *float* | :heavy_check_mark: | Total amount of the invoice | 1500.75 | | `currency` | *string* | :heavy_check_mark: | Currency code (ISO 4217) for the invoice amount | USD | | `customer` | [Operations\ListInvoicesCustomer](../../Models/Operations/ListInvoicesCustomer.md) | :heavy_check_mark: | Customer details | | @@ -27,4 +27,6 @@ Invoice object | `sentTo` | *string* | :heavy_check_mark: | Email address to which the invoice was sent, or null if not sent | billing@acme.com | | `sentAt` | *string* | :heavy_check_mark: | Timestamp when the invoice was sent (ISO 8601), or null if not sent | 2024-06-02T08:00:00.000Z | | `createdAt` | *string* | :heavy_check_mark: | Timestamp when the invoice was created (ISO 8601) | 2024-06-01T07:00:00.000Z | -| `updatedAt` | *string* | :heavy_check_mark: | Timestamp when the invoice was last updated (ISO 8601) | 2024-06-15T10:00:00.000Z | \ No newline at end of file +| `updatedAt` | *string* | :heavy_check_mark: | Timestamp when the invoice was last updated (ISO 8601) | 2024-06-15T10:00:00.000Z | +| `pdfUrl` | *string* | :heavy_check_mark: | URL to download the invoice PDF, or null if not generated | https://app.midday.ai/api/download/invoice?token=eef58951-1682-4062-b010-425866032390 | +| `previewUrl` | *string* | :heavy_check_mark: | URL to preview the invoice in the browser, or null if not generated | https://app.midday.ai/i/eef58951-1682-4062-b010-425866032390 | \ No newline at end of file diff --git a/docs/Models/Operations/ListNotificationsRequest.md b/docs/Models/Operations/ListNotificationsRequest.md new file mode 100644 index 0000000..a7889e3 --- /dev/null +++ b/docs/Models/Operations/ListNotificationsRequest.md @@ -0,0 +1,13 @@ +# ListNotificationsRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `cursor` | *?string* | :heavy_minus_sign: | N/A | 20 | +| `pageSize` | *?float* | :heavy_minus_sign: | N/A | 20 | +| `status` | [Operations\ListNotificationsStatusEnum1\|array\|null](../../Models/Operations/Status.md) | :heavy_minus_sign: | Filter by notification status. Can be a single status or array of statuses. unread = new notifications, read = viewed but not dismissed, archived = dismissed from view | [
"unread",
"read"
] | +| `userId` | *?string* | :heavy_minus_sign: | N/A | a1b2c3d4-e5f6-7890-abcd-ef1234567890 | +| `priority` | *?int* | :heavy_minus_sign: | N/A | 5 | +| `maxPriority` | *?int* | :heavy_minus_sign: | N/A | 3 | \ No newline at end of file diff --git a/docs/Models/Operations/ListNotificationsResponse.md b/docs/Models/Operations/ListNotificationsResponse.md new file mode 100644 index 0000000..1527dba --- /dev/null +++ b/docs/Models/Operations/ListNotificationsResponse.md @@ -0,0 +1,11 @@ +# ListNotificationsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `notificationsResponseSchema` | [?Components\NotificationsResponseSchema](../../Models/Components/NotificationsResponseSchema.md) | :heavy_minus_sign: | Retrieve a list of notifications for the authenticated team. | \ No newline at end of file diff --git a/docs/Models/Operations/ListNotificationsStatusEnum1.md b/docs/Models/Operations/ListNotificationsStatusEnum1.md new file mode 100644 index 0000000..7142df2 --- /dev/null +++ b/docs/Models/Operations/ListNotificationsStatusEnum1.md @@ -0,0 +1,10 @@ +# ListNotificationsStatusEnum1 + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `Unread` | unread | +| `Read` | read | +| `Archived` | archived | \ No newline at end of file diff --git a/docs/Models/Operations/ListNotificationsStatusEnum2.md b/docs/Models/Operations/ListNotificationsStatusEnum2.md new file mode 100644 index 0000000..d653245 --- /dev/null +++ b/docs/Models/Operations/ListNotificationsStatusEnum2.md @@ -0,0 +1,10 @@ +# ListNotificationsStatusEnum2 + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `Unread` | unread | +| `Read` | read | +| `Archived` | archived | \ No newline at end of file diff --git a/docs/Models/Operations/Name.md b/docs/Models/Operations/Name.md new file mode 100644 index 0000000..d755936 --- /dev/null +++ b/docs/Models/Operations/Name.md @@ -0,0 +1,9 @@ +# Name + +Line item description in TipTap JSONContent format + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/Models/Operations/NoteDetails.md b/docs/Models/Operations/NoteDetails.md new file mode 100644 index 0000000..0a94190 --- /dev/null +++ b/docs/Models/Operations/NoteDetails.md @@ -0,0 +1,9 @@ +# NoteDetails + +Additional notes for the invoice in TipTap JSONContent format + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/Models/Operations/PaymentDetails.md b/docs/Models/Operations/PaymentDetails.md new file mode 100644 index 0000000..1895a21 --- /dev/null +++ b/docs/Models/Operations/PaymentDetails.md @@ -0,0 +1,9 @@ +# PaymentDetails + +Payment details in TipTap JSONContent format + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/Models/Operations/PostOAuthAuthorizationRequest.md b/docs/Models/Operations/PostOAuthAuthorizationRequest.md new file mode 100644 index 0000000..a2c2297 --- /dev/null +++ b/docs/Models/Operations/PostOAuthAuthorizationRequest.md @@ -0,0 +1,14 @@ +# PostOAuthAuthorizationRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `clientId` | *string* | :heavy_check_mark: | Client ID of the OAuth application | mid_client_abcdef123456789 | +| `decision` | [Operations\Decision](../../Models/Operations/Decision.md) | :heavy_check_mark: | User's authorization decision | allow | +| `scopes` | array<[Operations\Scope](../../Models/Operations/Scope.md)> | :heavy_check_mark: | Scopes the user has approved | [
"transactions.read",
"invoices.read"
] | +| `redirectUri` | *string* | :heavy_check_mark: | Redirect URI for OAuth callback | https://myapp.com/callback | +| `state` | *string* | :heavy_check_mark: | State parameter for CSRF protection (min 32 chars, alphanumeric + _.-) | abc123xyz789_secure-random-state-value-with-sufficient-entropy | +| `codeChallenge` | *?string* | :heavy_minus_sign: | Code challenge for PKCE (S256 method assumed) | E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM | +| `teamId` | *string* | :heavy_check_mark: | Team ID to authorize the application for | 123e4567-e89b-12d3-a456-426614174000 | \ No newline at end of file diff --git a/docs/Models/Operations/PostOAuthAuthorizationResponse.md b/docs/Models/Operations/PostOAuthAuthorizationResponse.md new file mode 100644 index 0000000..434b7a3 --- /dev/null +++ b/docs/Models/Operations/PostOAuthAuthorizationResponse.md @@ -0,0 +1,11 @@ +# PostOAuthAuthorizationResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | +| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `object` | [?Operations\PostOAuthAuthorizationResponseBody](../../Models/Operations/PostOAuthAuthorizationResponseBody.md) | :heavy_minus_sign: | Authorization decision processed, returns redirect URL | \ No newline at end of file diff --git a/docs/Models/Operations/PostOAuthAuthorizationResponseBody.md b/docs/Models/Operations/PostOAuthAuthorizationResponseBody.md new file mode 100644 index 0000000..7dab27e --- /dev/null +++ b/docs/Models/Operations/PostOAuthAuthorizationResponseBody.md @@ -0,0 +1,10 @@ +# PostOAuthAuthorizationResponseBody + +Authorization decision processed, returns redirect URL + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `redirectUrl` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/Models/Operations/PostOAuthRevokeRequest.md b/docs/Models/Operations/PostOAuthRevokeRequest.md new file mode 100644 index 0000000..69318ea --- /dev/null +++ b/docs/Models/Operations/PostOAuthRevokeRequest.md @@ -0,0 +1,11 @@ +# PostOAuthRevokeRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `token` | *string* | :heavy_check_mark: | Token to revoke (access token or refresh token) | mid_access_token_abcdef123456789 | +| `tokenTypeHint` | [?Operations\TokenTypeHint](../../Models/Operations/TokenTypeHint.md) | :heavy_minus_sign: | Hint about the token type | access_token | +| `clientId` | *string* | :heavy_check_mark: | Client ID of the OAuth application | mid_client_abcdef123456789 | +| `clientSecret` | *?string* | :heavy_minus_sign: | Client secret of the OAuth application (required for confidential clients) | mid_secret_abcdef123456789 | \ No newline at end of file diff --git a/docs/Models/Operations/PostOAuthRevokeResponse.md b/docs/Models/Operations/PostOAuthRevokeResponse.md new file mode 100644 index 0000000..60fddae --- /dev/null +++ b/docs/Models/Operations/PostOAuthRevokeResponse.md @@ -0,0 +1,11 @@ +# PostOAuthRevokeResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `object` | [?Operations\PostOAuthRevokeResponseBody](../../Models/Operations/PostOAuthRevokeResponseBody.md) | :heavy_minus_sign: | Token revocation successful | \ No newline at end of file diff --git a/docs/Models/Operations/PostOAuthRevokeResponseBody.md b/docs/Models/Operations/PostOAuthRevokeResponseBody.md new file mode 100644 index 0000000..8e34479 --- /dev/null +++ b/docs/Models/Operations/PostOAuthRevokeResponseBody.md @@ -0,0 +1,10 @@ +# PostOAuthRevokeResponseBody + +Token revocation successful + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `success` | *bool* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/Models/Operations/PostOAuthTokenRequest.md b/docs/Models/Operations/PostOAuthTokenRequest.md new file mode 100644 index 0000000..4a56455 --- /dev/null +++ b/docs/Models/Operations/PostOAuthTokenRequest.md @@ -0,0 +1,23 @@ +# PostOAuthTokenRequest + + +## Supported Types + +### `Operations\AuthorizationCode` + +```php +/** +* @var Operations\AuthorizationCode +*/ +Operations\AuthorizationCode $value = /* values here */ +``` + +### `Operations\RefreshToken` + +```php +/** +* @var Operations\RefreshToken +*/ +Operations\RefreshToken $value = /* values here */ +``` + diff --git a/docs/Models/Operations/PostOAuthTokenResponse.md b/docs/Models/Operations/PostOAuthTokenResponse.md new file mode 100644 index 0000000..c19c087 --- /dev/null +++ b/docs/Models/Operations/PostOAuthTokenResponse.md @@ -0,0 +1,11 @@ +# PostOAuthTokenResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `object` | [?Operations\PostOAuthTokenResponseBody](../../Models/Operations/PostOAuthTokenResponseBody.md) | :heavy_minus_sign: | Token exchange successful | \ No newline at end of file diff --git a/docs/Models/Operations/PostOAuthTokenResponseBody.md b/docs/Models/Operations/PostOAuthTokenResponseBody.md new file mode 100644 index 0000000..d2f1d78 --- /dev/null +++ b/docs/Models/Operations/PostOAuthTokenResponseBody.md @@ -0,0 +1,14 @@ +# PostOAuthTokenResponseBody + +Token exchange successful + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `accessToken` | *string* | :heavy_check_mark: | Access token for API requests | mid_access_token_abcdef123456789 | +| `tokenType` | [Operations\TokenType](../../Models/Operations/TokenType.md) | :heavy_check_mark: | Token type, always 'Bearer' | Bearer | +| `expiresIn` | *float* | :heavy_check_mark: | Token expiration time in seconds | 3600 | +| `refreshToken` | *string* | :heavy_check_mark: | Refresh token for obtaining new access tokens | mid_refresh_token_abcdef123456789 | +| `scope` | *string* | :heavy_check_mark: | Space-separated list of granted scopes | transactions.read invoices.read | \ No newline at end of file diff --git a/docs/Models/Operations/RefreshToken.md b/docs/Models/Operations/RefreshToken.md new file mode 100644 index 0000000..e997a9c --- /dev/null +++ b/docs/Models/Operations/RefreshToken.md @@ -0,0 +1,12 @@ +# RefreshToken + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `grantType` | [Operations\GrantTypeRefreshToken](../../Models/Operations/GrantTypeRefreshToken.md) | :heavy_check_mark: | OAuth grant type, must be 'refresh_token' | refresh_token | +| `refreshToken` | *string* | :heavy_check_mark: | Refresh token received from token endpoint | mid_rt_abcdef123456789 | +| `clientId` | *string* | :heavy_check_mark: | Client ID of the OAuth application | mid_client_abcdef123456789 | +| `clientSecret` | *?string* | :heavy_minus_sign: | Client secret of the OAuth application (required for confidential clients) | mid_secret_abcdef123456789 | +| `scope` | *?string* | :heavy_minus_sign: | Space-separated list of requested scopes (optional) | transactions.read invoices.read | \ No newline at end of file diff --git a/docs/Models/Operations/ResponseType.md b/docs/Models/Operations/ResponseType.md new file mode 100644 index 0000000..a3b2920 --- /dev/null +++ b/docs/Models/Operations/ResponseType.md @@ -0,0 +1,10 @@ +# ResponseType + +OAuth response type, must be 'code' + + +## Values + +| Name | Value | +| ------ | ------ | +| `Code` | code | \ No newline at end of file diff --git a/docs/Models/Operations/Scope.md b/docs/Models/Operations/Scope.md new file mode 100644 index 0000000..8601e1c --- /dev/null +++ b/docs/Models/Operations/Scope.md @@ -0,0 +1,35 @@ +# Scope + + +## Values + +| Name | Value | +| ---------------------- | ---------------------- | +| `BankAccountsRead` | bank-accounts.read | +| `BankAccountsWrite` | bank-accounts.write | +| `CustomersRead` | customers.read | +| `CustomersWrite` | customers.write | +| `DocumentsRead` | documents.read | +| `DocumentsWrite` | documents.write | +| `InboxRead` | inbox.read | +| `InboxWrite` | inbox.write | +| `InvoicesRead` | invoices.read | +| `InvoicesWrite` | invoices.write | +| `ReportsRead` | reports.read | +| `SearchRead` | search.read | +| `TagsRead` | tags.read | +| `TagsWrite` | tags.write | +| `TeamsRead` | teams.read | +| `TeamsWrite` | teams.write | +| `TrackerEntriesRead` | tracker-entries.read | +| `TrackerEntriesWrite` | tracker-entries.write | +| `TrackerProjectsRead` | tracker-projects.read | +| `TrackerProjectsWrite` | tracker-projects.write | +| `TransactionsRead` | transactions.read | +| `TransactionsWrite` | transactions.write | +| `UsersRead` | users.read | +| `UsersWrite` | users.write | +| `NotificationsRead` | notifications.read | +| `NotificationsWrite` | notifications.write | +| `ApisAll` | apis.all | +| `ApisRead` | apis.read | \ No newline at end of file diff --git a/docs/Models/Operations/Size.md b/docs/Models/Operations/Size.md new file mode 100644 index 0000000..14c3789 --- /dev/null +++ b/docs/Models/Operations/Size.md @@ -0,0 +1,9 @@ +# Size + + +## Values + +| Name | Value | +| -------- | -------- | +| `A4` | a4 | +| `Letter` | letter | \ No newline at end of file diff --git a/docs/Models/Operations/Status.md b/docs/Models/Operations/Status.md new file mode 100644 index 0000000..191f420 --- /dev/null +++ b/docs/Models/Operations/Status.md @@ -0,0 +1,25 @@ +# Status + +Filter by notification status. Can be a single status or array of statuses. unread = new notifications, read = viewed but not dismissed, archived = dismissed from view + + +## Supported Types + +### `Operations\ListNotificationsStatusEnum1` + +```php +/** +* @var Operations\ListNotificationsStatusEnum1 +*/ +Operations\ListNotificationsStatusEnum1 $value = /* values here */ +``` + +### `array` + +```php +/** +* @var array +*/ +array $value = /* values here */ +``` + diff --git a/docs/Models/Operations/Template.md b/docs/Models/Operations/Template.md new file mode 100644 index 0000000..76b33fa --- /dev/null +++ b/docs/Models/Operations/Template.md @@ -0,0 +1,45 @@ +# Template + +Invoice template details + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `customerLabel` | *?string* | :heavy_minus_sign: | N/A | | +| `title` | *?string* | :heavy_minus_sign: | N/A | | +| `fromLabel` | *?string* | :heavy_minus_sign: | N/A | | +| `invoiceNoLabel` | *?string* | :heavy_minus_sign: | N/A | | +| `issueDateLabel` | *?string* | :heavy_minus_sign: | N/A | | +| `dueDateLabel` | *?string* | :heavy_minus_sign: | N/A | | +| `descriptionLabel` | *?string* | :heavy_minus_sign: | N/A | | +| `priceLabel` | *?string* | :heavy_minus_sign: | N/A | | +| `quantityLabel` | *?string* | :heavy_minus_sign: | N/A | | +| `totalLabel` | *?string* | :heavy_minus_sign: | N/A | | +| `totalSummaryLabel` | *?string* | :heavy_minus_sign: | N/A | | +| `vatLabel` | *?string* | :heavy_minus_sign: | N/A | | +| `subtotalLabel` | *?string* | :heavy_minus_sign: | N/A | | +| `taxLabel` | *?string* | :heavy_minus_sign: | N/A | | +| `discountLabel` | *?string* | :heavy_minus_sign: | N/A | | +| `timezone` | *?string* | :heavy_minus_sign: | N/A | | +| `paymentLabel` | *?string* | :heavy_minus_sign: | N/A | | +| `noteLabel` | *?string* | :heavy_minus_sign: | N/A | | +| `logoUrl` | *?string* | :heavy_minus_sign: | N/A | | +| `currency` | *?string* | :heavy_minus_sign: | N/A | | +| `dateFormat` | *?string* | :heavy_minus_sign: | N/A | | +| `includeVat` | *?bool* | :heavy_minus_sign: | N/A | | +| `includeTax` | *?bool* | :heavy_minus_sign: | N/A | | +| `includeDiscount` | *?bool* | :heavy_minus_sign: | N/A | | +| `includeDecimals` | *?bool* | :heavy_minus_sign: | N/A | | +| `includePdf` | *?bool* | :heavy_minus_sign: | N/A | | +| `sendCopy` | *?bool* | :heavy_minus_sign: | N/A | | +| `includeUnits` | *?bool* | :heavy_minus_sign: | N/A | | +| `includeQr` | *?bool* | :heavy_minus_sign: | N/A | | +| `taxRate` | *?float* | :heavy_minus_sign: | N/A | | +| `vatRate` | *?float* | :heavy_minus_sign: | N/A | | +| `size` | [?Operations\Size](../../Models/Operations/Size.md) | :heavy_minus_sign: | N/A | | +| `deliveryType` | [?Operations\TemplateDeliveryType](../../Models/Operations/TemplateDeliveryType.md) | :heavy_minus_sign: | N/A | | +| `locale` | *?string* | :heavy_minus_sign: | N/A | | +| `paymentDetails` | [?Operations\TemplatePaymentDetails](../../Models/Operations/TemplatePaymentDetails.md) | :heavy_minus_sign: | Payment details in TipTap JSONContent format | {
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Acme Inc",
"marks": [
{
"type": "bold"
}
]
}
]
},
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "123 Main St, City, Country"
}
]
},
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Visit our website: "
},
{
"type": "text",
"text": "https://acme.com",
"marks": [
{
"type": "link",
"attrs": {
"href": "https://acme.com"
}
}
]
}
]
}
]
} | +| `fromDetails` | [?Operations\TemplateFromDetails](../../Models/Operations/TemplateFromDetails.md) | :heavy_minus_sign: | Sender details in TipTap JSONContent format | {
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Acme Inc",
"marks": [
{
"type": "bold"
}
]
}
]
},
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "123 Main St, City, Country"
}
]
},
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Visit our website: "
},
{
"type": "text",
"text": "https://acme.com",
"marks": [
{
"type": "link",
"attrs": {
"href": "https://acme.com"
}
}
]
}
]
}
]
} | \ No newline at end of file diff --git a/docs/Models/Operations/TemplateDeliveryType.md b/docs/Models/Operations/TemplateDeliveryType.md new file mode 100644 index 0000000..3e50a72 --- /dev/null +++ b/docs/Models/Operations/TemplateDeliveryType.md @@ -0,0 +1,10 @@ +# TemplateDeliveryType + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `Create` | create | +| `CreateAndSend` | create_and_send | +| `Scheduled` | scheduled | \ No newline at end of file diff --git a/docs/Models/Operations/TemplateFromDetails.md b/docs/Models/Operations/TemplateFromDetails.md new file mode 100644 index 0000000..a9f16b8 --- /dev/null +++ b/docs/Models/Operations/TemplateFromDetails.md @@ -0,0 +1,9 @@ +# TemplateFromDetails + +Sender details in TipTap JSONContent format + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/Models/Operations/TemplatePaymentDetails.md b/docs/Models/Operations/TemplatePaymentDetails.md new file mode 100644 index 0000000..d09b580 --- /dev/null +++ b/docs/Models/Operations/TemplatePaymentDetails.md @@ -0,0 +1,9 @@ +# TemplatePaymentDetails + +Payment details in TipTap JSONContent format + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/Models/Operations/TokenType.md b/docs/Models/Operations/TokenType.md new file mode 100644 index 0000000..1d3d0bf --- /dev/null +++ b/docs/Models/Operations/TokenType.md @@ -0,0 +1,10 @@ +# TokenType + +Token type, always 'Bearer' + + +## Values + +| Name | Value | +| -------- | -------- | +| `Bearer` | Bearer | \ No newline at end of file diff --git a/docs/Models/Operations/TokenTypeHint.md b/docs/Models/Operations/TokenTypeHint.md new file mode 100644 index 0000000..8e91b8b --- /dev/null +++ b/docs/Models/Operations/TokenTypeHint.md @@ -0,0 +1,11 @@ +# TokenTypeHint + +Hint about the token type + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `AccessToken` | access_token | +| `RefreshToken` | refresh_token | \ No newline at end of file diff --git a/docs/Models/Operations/TopBlock.md b/docs/Models/Operations/TopBlock.md new file mode 100644 index 0000000..140c3ba --- /dev/null +++ b/docs/Models/Operations/TopBlock.md @@ -0,0 +1,9 @@ +# TopBlock + +Custom content block to display at the top of the invoice in TipTap JSONContent format + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/Models/Operations/UpdateAllNotificationsStatusResponse.md b/docs/Models/Operations/UpdateAllNotificationsStatusResponse.md new file mode 100644 index 0000000..65aff4a --- /dev/null +++ b/docs/Models/Operations/UpdateAllNotificationsStatusResponse.md @@ -0,0 +1,11 @@ +# UpdateAllNotificationsStatusResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `updateAllNotificationsStatusResponseSchema` | [?Components\UpdateAllNotificationsStatusResponseSchema](../../Models/Components/UpdateAllNotificationsStatusResponseSchema.md) | :heavy_minus_sign: | All notifications status updated successfully. | \ No newline at end of file diff --git a/docs/Models/Operations/UpdateInboxItemStatus.md b/docs/Models/Operations/UpdateInboxItemStatus.md index a6ec0b6..f7e65a6 100644 --- a/docs/Models/Operations/UpdateInboxItemStatus.md +++ b/docs/Models/Operations/UpdateInboxItemStatus.md @@ -3,10 +3,13 @@ ## Values -| Name | Value | -| ------------ | ------------ | -| `New` | new | -| `Archived` | archived | -| `Processing` | processing | -| `Done` | done | -| `Pending` | pending | \ No newline at end of file +| Name | Value | +| ---------------- | ---------------- | +| `New` | new | +| `Archived` | archived | +| `Processing` | processing | +| `Done` | done | +| `Pending` | pending | +| `Deleted` | deleted | +| `Analyzing` | analyzing | +| `SuggestedMatch` | suggested_match | \ No newline at end of file diff --git a/docs/Models/Operations/UpdateInvoiceCustomer.md b/docs/Models/Operations/UpdateInvoiceCustomer.md new file mode 100644 index 0000000..b3639b7 --- /dev/null +++ b/docs/Models/Operations/UpdateInvoiceCustomer.md @@ -0,0 +1,13 @@ +# UpdateInvoiceCustomer + +Customer details + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_check_mark: | Unique identifier for the customer | a1b2c3d4-e5f6-7890-abcd-ef1234567890 | +| `name` | *string* | :heavy_check_mark: | Name of the customer | Acme Corporation | +| `website` | *string* | :heavy_check_mark: | Website URL of the customer | https://acme.com | +| `email` | *string* | :heavy_check_mark: | Email address of the customer | info@acme.com | \ No newline at end of file diff --git a/docs/Models/Operations/UpdateInvoiceRequest.md b/docs/Models/Operations/UpdateInvoiceRequest.md new file mode 100644 index 0000000..52b7381 --- /dev/null +++ b/docs/Models/Operations/UpdateInvoiceRequest.md @@ -0,0 +1,9 @@ +# UpdateInvoiceRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `requestBody` | [?Operations\UpdateInvoiceRequestBody](../../Models/Operations/UpdateInvoiceRequestBody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/Models/Operations/UpdateInvoiceRequestBody.md b/docs/Models/Operations/UpdateInvoiceRequestBody.md new file mode 100644 index 0000000..098a004 --- /dev/null +++ b/docs/Models/Operations/UpdateInvoiceRequestBody.md @@ -0,0 +1,12 @@ +# UpdateInvoiceRequestBody + +Schema for updating an invoice + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | +| `status` | [?Operations\UpdateInvoiceStatusRequest](../../Models/Operations/UpdateInvoiceStatusRequest.md) | :heavy_minus_sign: | New status for the invoice | paid | +| `paidAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_minus_sign: | Timestamp when the invoice was paid (ISO 8601) | 2024-06-15T12:00:00.000Z | +| `internalNote` | *?string* | :heavy_minus_sign: | Internal note for the invoice | Payment received via bank transfer | \ No newline at end of file diff --git a/docs/Models/Operations/UpdateInvoiceResponse.md b/docs/Models/Operations/UpdateInvoiceResponse.md new file mode 100644 index 0000000..a4fdf06 --- /dev/null +++ b/docs/Models/Operations/UpdateInvoiceResponse.md @@ -0,0 +1,11 @@ +# UpdateInvoiceResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `object` | [?Operations\UpdateInvoiceResponseBody](../../Models/Operations/UpdateInvoiceResponseBody.md) | :heavy_minus_sign: | Invoice updated successfully. | \ No newline at end of file diff --git a/docs/Models/Operations/UpdateInvoiceResponseBody.md b/docs/Models/Operations/UpdateInvoiceResponseBody.md new file mode 100644 index 0000000..a77b482 --- /dev/null +++ b/docs/Models/Operations/UpdateInvoiceResponseBody.md @@ -0,0 +1,32 @@ +# UpdateInvoiceResponseBody + +Response after updating an invoice + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | Unique identifier for the invoice | b3b7e6e2-8c2a-4e2a-9b1a-2e4b5c6d7f8a | +| `status` | [Operations\UpdateInvoiceStatusResponse](../../Models/Operations/UpdateInvoiceStatusResponse.md) | :heavy_check_mark: | Current status of the invoice | paid | +| `dueDate` | *string* | :heavy_check_mark: | Due date of the invoice in ISO 8601 format | 2024-06-30T23:59:59.000Z | +| `issueDate` | *string* | :heavy_check_mark: | Issue date of the invoice in ISO 8601 format | 2024-06-01T00:00:00.000Z | +| `invoiceNumber` | *?string* | :heavy_minus_sign: | Invoice number as shown to the customer (auto-generated if not provided) | INV-2024-001 | +| `amount` | *float* | :heavy_check_mark: | Total amount of the invoice | 1500.75 | +| `currency` | *string* | :heavy_check_mark: | Currency code (ISO 4217) for the invoice amount | USD | +| `customer` | [Operations\UpdateInvoiceCustomer](../../Models/Operations/UpdateInvoiceCustomer.md) | :heavy_check_mark: | Customer details | | +| `paidAt` | *string* | :heavy_check_mark: | Timestamp when the invoice was paid (ISO 8601), or null if unpaid | 2024-06-15T12:00:00.000Z | +| `reminderSentAt` | *string* | :heavy_check_mark: | Timestamp when a payment reminder was sent (ISO 8601), or null if never sent | 2024-06-10T09:00:00.000Z | +| `note` | *string* | :heavy_check_mark: | Optional note attached to the invoice | Thank you for your business. | +| `vat` | *float* | :heavy_check_mark: | Value-added tax amount, or null if not applicable | 120 | +| `tax` | *float* | :heavy_check_mark: | Tax amount, or null if not applicable | 80 | +| `discount` | *float* | :heavy_check_mark: | Discount amount applied to the invoice, or null if none | 50 | +| `subtotal` | *float* | :heavy_check_mark: | Subtotal before taxes and discounts, or null if not calculated | 1400 | +| `viewedAt` | *string* | :heavy_check_mark: | Timestamp when the invoice was viewed by the customer (ISO 8601), or null if never viewed | 2024-06-05T14:30:00.000Z | +| `customerName` | *string* | :heavy_check_mark: | Name of the customer as shown on the invoice, or null if not set | Acme Corporation | +| `sentTo` | *string* | :heavy_check_mark: | Email address to which the invoice was sent, or null if not sent | billing@acme.com | +| `sentAt` | *string* | :heavy_check_mark: | Timestamp when the invoice was sent (ISO 8601), or null if not sent | 2024-06-02T08:00:00.000Z | +| `createdAt` | *string* | :heavy_check_mark: | Timestamp when the invoice was created (ISO 8601) | 2024-06-01T07:00:00.000Z | +| `updatedAt` | *string* | :heavy_check_mark: | Timestamp when the invoice was last updated (ISO 8601) | 2024-06-15T10:00:00.000Z | +| `pdfUrl` | *string* | :heavy_check_mark: | URL to download the invoice PDF, or null if not generated | https://app.midday.ai/api/download/invoice?token=eef58951-1682-4062-b010-425866032390 | +| `previewUrl` | *string* | :heavy_check_mark: | URL to preview the invoice in the browser, or null if not generated | https://app.midday.ai/i/eef58951-1682-4062-b010-425866032390 | \ No newline at end of file diff --git a/docs/Models/Operations/UpdateInvoiceStatusRequest.md b/docs/Models/Operations/UpdateInvoiceStatusRequest.md new file mode 100644 index 0000000..aeadbb4 --- /dev/null +++ b/docs/Models/Operations/UpdateInvoiceStatusRequest.md @@ -0,0 +1,14 @@ +# UpdateInvoiceStatusRequest + +New status for the invoice + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `Paid` | paid | +| `Canceled` | canceled | +| `Unpaid` | unpaid | +| `Scheduled` | scheduled | +| `Draft` | draft | \ No newline at end of file diff --git a/docs/Models/Operations/UpdateInvoiceStatusResponse.md b/docs/Models/Operations/UpdateInvoiceStatusResponse.md new file mode 100644 index 0000000..d04746e --- /dev/null +++ b/docs/Models/Operations/UpdateInvoiceStatusResponse.md @@ -0,0 +1,15 @@ +# UpdateInvoiceStatusResponse + +Current status of the invoice + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `Draft` | draft | +| `Overdue` | overdue | +| `Paid` | paid | +| `Unpaid` | unpaid | +| `Canceled` | canceled | +| `Scheduled` | scheduled | \ No newline at end of file diff --git a/docs/Models/Operations/UpdateNotificationStatusRequest.md b/docs/Models/Operations/UpdateNotificationStatusRequest.md new file mode 100644 index 0000000..573d6b5 --- /dev/null +++ b/docs/Models/Operations/UpdateNotificationStatusRequest.md @@ -0,0 +1,9 @@ +# UpdateNotificationStatusRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | +| `notificationId` | *string* | :heavy_check_mark: | N/A | b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2 | +| `requestBody` | [?Operations\UpdateNotificationStatusRequestBody](../../Models/Operations/UpdateNotificationStatusRequestBody.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/Models/Operations/UpdateNotificationStatusRequestBody.md b/docs/Models/Operations/UpdateNotificationStatusRequestBody.md new file mode 100644 index 0000000..988927e --- /dev/null +++ b/docs/Models/Operations/UpdateNotificationStatusRequestBody.md @@ -0,0 +1,8 @@ +# UpdateNotificationStatusRequestBody + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `status` | [Operations\UpdateNotificationStatusStatus](../../Models/Operations/UpdateNotificationStatusStatus.md) | :heavy_check_mark: | The new status for the notification | read | \ No newline at end of file diff --git a/docs/Models/Operations/UpdateNotificationStatusResponse.md b/docs/Models/Operations/UpdateNotificationStatusResponse.md new file mode 100644 index 0000000..4522d03 --- /dev/null +++ b/docs/Models/Operations/UpdateNotificationStatusResponse.md @@ -0,0 +1,11 @@ +# UpdateNotificationStatusResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `notificationResponseSchema` | [?Components\NotificationResponseSchema](../../Models/Components/NotificationResponseSchema.md) | :heavy_minus_sign: | Notification status updated successfully. | \ No newline at end of file diff --git a/docs/Models/Operations/UpdateNotificationStatusStatus.md b/docs/Models/Operations/UpdateNotificationStatusStatus.md new file mode 100644 index 0000000..b04b4af --- /dev/null +++ b/docs/Models/Operations/UpdateNotificationStatusStatus.md @@ -0,0 +1,12 @@ +# UpdateNotificationStatusStatus + +The new status for the notification + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `Unread` | unread | +| `Read` | read | +| `Archived` | archived | \ No newline at end of file diff --git a/docs/Models/Operations/UpdateTrackerEntryRequestBody.md b/docs/Models/Operations/UpdateTrackerEntryRequestBody.md index c575550..9366320 100644 --- a/docs/Models/Operations/UpdateTrackerEntryRequestBody.md +++ b/docs/Models/Operations/UpdateTrackerEntryRequestBody.md @@ -3,12 +3,12 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `start` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | Start time of the tracker entry in ISO 8601 format | 2024-04-15T09:00:00.000Z | -| `stop` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | Stop time of the tracker entry in ISO 8601 format | 2024-04-15T17:00:00.000Z | -| `dates` | array<*string*> | :heavy_check_mark: | Array of dates for which to create tracker entries | [
"2024-04-15",
"2024-04-16"
] | -| `assignedId` | *string* | :heavy_check_mark: | Unique identifier of the user assigned to this tracker entry | a1b2c3d4-e5f6-7890-abcd-ef1234567890 | -| `projectId` | *string* | :heavy_check_mark: | Unique identifier of the project associated with this tracker entry | b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2 | -| `description` | *?string* | :heavy_minus_sign: | Optional description or notes for the tracker entry | Worked on implementing user authentication feature | -| `duration` | *float* | :heavy_check_mark: | Duration of the tracker entry in seconds | 28800 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `start` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | Start time of the tracker entry in ISO 8601 format | 2024-04-15T09:00:00.000Z | +| `stop` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | Stop time of the tracker entry in ISO 8601 format | 2024-04-15T17:00:00.000Z | +| `dates` | array<*string*> | :heavy_check_mark: | Array of dates for which to create tracker entries | [
"2024-04-15",
"2024-04-16"
] | +| `assignedId` | *?string* | :heavy_minus_sign: | Unique identifier of the user assigned to this tracker entry. If not provided, will use the authenticated user | a1b2c3d4-e5f6-7890-abcd-ef1234567890 | +| `projectId` | *string* | :heavy_check_mark: | Unique identifier of the project associated with this tracker entry | b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2 | +| `description` | *?string* | :heavy_minus_sign: | Optional description or notes for the tracker entry | Worked on implementing user authentication feature | +| `duration` | *float* | :heavy_check_mark: | Duration of the tracker entry in seconds | 28800 | \ No newline at end of file diff --git a/docs/sdks/bankaccounts/README.md b/docs/sdks/bankaccounts/README.md index bd76d73..b32d8db 100644 --- a/docs/sdks/bankaccounts/README.md +++ b/docs/sdks/bankaccounts/README.md @@ -1,5 +1,4 @@ # BankAccounts -(*bankAccounts*) ## Overview @@ -24,10 +23,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -72,11 +74,14 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; use Midday\Midday\Models\Operations; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -124,10 +129,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -171,10 +179,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -218,11 +229,14 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; use Midday\Midday\Models\Operations; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); diff --git a/docs/sdks/customers/README.md b/docs/sdks/customers/README.md index 3022882..2ae9cf7 100644 --- a/docs/sdks/customers/README.md +++ b/docs/sdks/customers/README.md @@ -1,5 +1,4 @@ # Customers -(*customers*) ## Overview @@ -24,10 +23,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -81,11 +83,14 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; use Midday\Midday\Models\Operations; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -156,10 +161,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -203,10 +211,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -250,11 +261,14 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; use Midday\Midday\Models\Operations; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); diff --git a/docs/sdks/documents/README.md b/docs/sdks/documents/README.md index bd236ff..1a10933 100644 --- a/docs/sdks/documents/README.md +++ b/docs/sdks/documents/README.md @@ -1,5 +1,4 @@ # Documents -(*documents*) ## Overview @@ -8,6 +7,7 @@ * [list](#list) - List all documents * [get](#get) - Retrieve a document * [delete](#delete) - Delete a document +* [getPreSignedUrl](#getpresignedurl) - Generate pre-signed URL for document ## list @@ -22,11 +22,14 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; use Midday\Midday\Models\Operations; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -78,10 +81,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -125,10 +131,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -157,4 +166,60 @@ if ($response->object !== null) { | Error Type | Status Code | Content Type | | ------------------- | ------------------- | ------------------- | -| Errors\APIException | 4XX, 5XX | \*/\* | \ No newline at end of file +| Errors\APIException | 4XX, 5XX | \*/\* | + +## getPreSignedUrl + +Generate a pre-signed URL for accessing a document. The URL is valid for 60 seconds and allows secure temporary access to the document file. + +### Example Usage + + +```php +declare(strict_types=1); + +require 'vendor/autoload.php'; + +use Midday\Midday; +use Midday\Midday\Models\Components; + +$sdk = Midday\Midday::builder() + ->setSecurity( + new Components\Security( + oauth2: '', + ) + ) + ->build(); + + + +$response = $sdk->documents->getPreSignedUrl( + id: 'b3b7c1e2-4c2a-4e7a-9c1a-2b7c1e24c2a4', + download: true + +); + +if ($response->object !== null) { + // handle response +} +``` + +### Parameters + +| Parameter | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | b3b7c1e2-4c2a-4e7a-9c1a-2b7c1e24c2a4 | +| `download` | *?bool* | :heavy_minus_sign: | N/A | true | + +### Response + +**[?Operations\GetDocumentPreSignedUrlResponse](../../Models/Operations/GetDocumentPreSignedUrlResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| Errors\GetDocumentPreSignedUrlBadRequestException | 400 | application/json | +| Errors\GetDocumentPreSignedUrlNotFoundException | 404 | application/json | +| Errors\GetDocumentPreSignedUrlInternalServerError | 500 | application/json | +| Errors\APIException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/inbox/README.md b/docs/sdks/inbox/README.md index aa1fa0a..ac88486 100644 --- a/docs/sdks/inbox/README.md +++ b/docs/sdks/inbox/README.md @@ -1,5 +1,4 @@ # Inbox -(*inbox*) ## Overview @@ -9,6 +8,7 @@ * [get](#get) - Retrieve a inbox item * [delete](#delete) - Delete a inbox item * [update](#update) - Update a inbox item +* [getPreSignedUrl](#getpresignedurl) - Generate pre-signed URL for inbox attachment ## list @@ -23,10 +23,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -70,10 +73,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -117,10 +123,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -164,11 +173,14 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; use Midday\Midday\Models\Operations; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -200,4 +212,60 @@ if ($response->object !== null) { | Error Type | Status Code | Content Type | | ------------------- | ------------------- | ------------------- | -| Errors\APIException | 4XX, 5XX | \*/\* | \ No newline at end of file +| Errors\APIException | 4XX, 5XX | \*/\* | + +## getPreSignedUrl + +Generate a pre-signed URL for accessing an inbox attachment. The URL is valid for 60 seconds and allows secure temporary access to the attachment file. + +### Example Usage + + +```php +declare(strict_types=1); + +require 'vendor/autoload.php'; + +use Midday\Midday; +use Midday\Midday\Models\Components; + +$sdk = Midday\Midday::builder() + ->setSecurity( + new Components\Security( + oauth2: '', + ) + ) + ->build(); + + + +$response = $sdk->inbox->getPreSignedUrl( + id: 'b3b7c1e2-4c2a-4e7a-9c1a-2b7c1e24c2a4', + download: true + +); + +if ($response->object !== null) { + // handle response +} +``` + +### Parameters + +| Parameter | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | b3b7c1e2-4c2a-4e7a-9c1a-2b7c1e24c2a4 | +| `download` | *?bool* | :heavy_minus_sign: | N/A | true | + +### Response + +**[?Operations\GetInboxPreSignedUrlResponse](../../Models/Operations/GetInboxPreSignedUrlResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| Errors\GetInboxPreSignedUrlBadRequestException | 400 | application/json | +| Errors\GetInboxPreSignedUrlNotFoundException | 404 | application/json | +| Errors\GetInboxPreSignedUrlInternalServerError | 500 | application/json | +| Errors\APIException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/invoices/README.md b/docs/sdks/invoices/README.md index c1d5893..840b6a7 100644 --- a/docs/sdks/invoices/README.md +++ b/docs/sdks/invoices/README.md @@ -1,14 +1,15 @@ # Invoices -(*invoices*) ## Overview ### Available Operations * [list](#list) - List all invoices +* [create](#create) - Create an invoice * [getInvoicesPaymentStatus](#getinvoicespaymentstatus) - Payment status * [summary](#summary) - Invoice summary * [get](#get) - Retrieve a invoice +* [update](#update) - Update an invoice * [delete](#delete) - Delete a invoice ## list @@ -24,11 +25,14 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; use Midday\Midday\Models\Operations; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -77,6 +81,128 @@ if ($response->object !== null) { | ------------------- | ------------------- | ------------------- | | Errors\APIException | 4XX, 5XX | \*/\* | +## create + +Create an invoice for the authenticated team. The behavior depends on deliveryType: 'create' generates and finalizes the invoice immediately, 'create_and_send' also sends it to the customer, 'scheduled' schedules the invoice for automatic processing at the specified date. + +### Example Usage + + +```php +declare(strict_types=1); + +require 'vendor/autoload.php'; + +use Midday\Midday; +use Midday\Midday\Models\Components; +use Midday\Midday\Models\Operations; +use Midday\Midday\Utils; + +$sdk = Midday\Midday::builder() + ->setSecurity( + new Components\Security( + oauth2: '', + ) + ) + ->build(); + +$request = new Operations\CreateInvoiceRequest( + template: new Operations\Template( + customerLabel: 'Bill To', + title: 'Invoice', + fromLabel: 'From', + invoiceNoLabel: 'Invoice #', + issueDateLabel: 'Issue Date', + dueDateLabel: 'Due Date', + descriptionLabel: 'Description', + priceLabel: 'Rate', + quantityLabel: 'Qty', + totalLabel: 'Amount', + totalSummaryLabel: 'Total', + vatLabel: 'VAT', + taxLabel: 'Sales Tax', + discountLabel: 'Discount', + timezone: 'America/Los_Angeles', + paymentLabel: 'Payment Information', + noteLabel: 'Notes', + logoUrl: 'https://example.com/logo.png', + currency: 'USD', + dateFormat: 'MM/dd/yyyy', + includeVat: false, + includeTax: true, + includeDiscount: false, + includeDecimals: true, + includePdf: true, + sendCopy: true, + includeUnits: true, + includeQr: false, + taxRate: 8.5, + vatRate: 0, + size: Operations\Size::Letter, + deliveryType: Operations\TemplateDeliveryType::Create, + locale: 'en-US', + paymentDetails: new Operations\TemplatePaymentDetails(), + fromDetails: new Operations\TemplateFromDetails(), + ), + fromDetails: new Operations\FromDetails(), + customerId: 'a1b2c3d4-e5f6-7890-abcd-ef1234567890', + paymentDetails: new Operations\PaymentDetails(), + noteDetails: new Operations\NoteDetails(), + dueDate: '2024-07-15T23:59:59.000Z', + issueDate: '2024-06-15T00:00:00.000Z', + invoiceNumber: 'INV-2024-001', + logoUrl: 'https://example.com/logo.png', + tax: 85, + topBlock: new Operations\TopBlock(), + bottomBlock: new Operations\BottomBlock(), + amount: 1085, + lineItems: [ + new Operations\LineItem( + quantity: 40, + price: 75, + tax: 8.5, + name: new Operations\Name(), + ), + new Operations\LineItem( + quantity: 20, + price: 50, + tax: 8.5, + name: new Operations\Name(), + ), + ], + deliveryType: Operations\DeliveryType::Create, + scheduledAt: Utils\Utils::parseDateTime('2024-07-01T09:00:00.000Z'), +); + +$response = $sdk->invoices->create( + request: $request +); + +if ($response->object !== null) { + // handle response +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `$request` | [Operations\CreateInvoiceRequest](../../Models/Operations/CreateInvoiceRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[?Operations\CreateInvoiceResponse](../../Models/Operations/CreateInvoiceResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | +| Errors\CreateInvoiceBadRequestException | 400 | application/json | +| Errors\CreateInvoiceNotFoundException | 404 | application/json | +| Errors\ConflictException | 409 | application/json | +| Errors\CreateInvoiceInternalServerError | 500 | application/json | +| Errors\APIException | 4XX, 5XX | \*/\* | + ## getInvoicesPaymentStatus Get payment status for the authenticated team. @@ -90,10 +216,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -131,11 +260,14 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; use Midday\Midday\Models\Operations; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -179,10 +311,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -213,6 +348,65 @@ if ($response->object !== null) { | ------------------- | ------------------- | ------------------- | | Errors\APIException | 4XX, 5XX | \*/\* | +## update + +Update an invoice by its unique identifier for the authenticated team. + +### Example Usage + + +```php +declare(strict_types=1); + +require 'vendor/autoload.php'; + +use Midday\Midday; +use Midday\Midday\Models\Components; +use Midday\Midday\Models\Operations; +use Midday\Midday\Utils; + +$sdk = Midday\Midday::builder() + ->setSecurity( + new Components\Security( + oauth2: '', + ) + ) + ->build(); + +$requestBody = new Operations\UpdateInvoiceRequestBody( + status: Operations\UpdateInvoiceStatusRequest::Paid, + paidAt: Utils\Utils::parseDateTime('2024-06-15T12:00:00.000Z'), + internalNote: 'Payment received via bank transfer', +); + +$response = $sdk->invoices->update( + id: '', + requestBody: $requestBody + +); + +if ($response->object !== null) { + // handle response +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `requestBody` | [?Operations\UpdateInvoiceRequestBody](../../Models/Operations/UpdateInvoiceRequestBody.md) | :heavy_minus_sign: | N/A | + +### Response + +**[?Operations\UpdateInvoiceResponse](../../Models/Operations/UpdateInvoiceResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------- | ------------------- | ------------------- | +| Errors\APIException | 4XX, 5XX | \*/\* | + ## delete Delete an invoice by its unique identifier for the authenticated team. Only invoices with status 'draft' or 'canceled' can be deleted directly. If the invoice is not in one of these statuses, update its status to 'canceled' before attempting deletion. @@ -226,10 +420,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); diff --git a/docs/sdks/notifications/README.md b/docs/sdks/notifications/README.md new file mode 100644 index 0000000..1f04c9f --- /dev/null +++ b/docs/sdks/notifications/README.md @@ -0,0 +1,178 @@ +# Notifications + +## Overview + +### Available Operations + +* [list](#list) - List all notifications +* [updateStatus](#updatestatus) - Update notification status +* [updateAllStatus](#updateallstatus) - Update status of all notifications + +## list + +Retrieve a list of notifications for the authenticated team. + +### Example Usage + + +```php +declare(strict_types=1); + +require 'vendor/autoload.php'; + +use Midday\Midday; +use Midday\Midday\Models\Components; +use Midday\Midday\Models\Operations; + +$sdk = Midday\Midday::builder() + ->setSecurity( + new Components\Security( + oauth2: '', + ) + ) + ->build(); + +$request = new Operations\ListNotificationsRequest( + cursor: '20', + pageSize: 20, + status: [ + Operations\ListNotificationsStatusEnum2::Unread, + Operations\ListNotificationsStatusEnum2::Read, + ], + userId: 'a1b2c3d4-e5f6-7890-abcd-ef1234567890', + priority: 5, + maxPriority: 3, +); + +$response = $sdk->notifications->list( + request: $request +); + +if ($response->notificationsResponseSchema !== null) { + // handle response +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `$request` | [Operations\ListNotificationsRequest](../../Models/Operations/ListNotificationsRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[?Operations\ListNotificationsResponse](../../Models/Operations/ListNotificationsResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------- | ------------------- | ------------------- | +| Errors\APIException | 4XX, 5XX | \*/\* | + +## updateStatus + +Update the status of a specific notification. + +### Example Usage + + +```php +declare(strict_types=1); + +require 'vendor/autoload.php'; + +use Midday\Midday; +use Midday\Midday\Models\Components; +use Midday\Midday\Models\Operations; + +$sdk = Midday\Midday::builder() + ->setSecurity( + new Components\Security( + oauth2: '', + ) + ) + ->build(); + +$requestBody = new Operations\UpdateNotificationStatusRequestBody( + status: Operations\UpdateNotificationStatusStatus::Read, +); + +$response = $sdk->notifications->updateStatus( + notificationId: 'b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2', + requestBody: $requestBody + +); + +if ($response->notificationResponseSchema !== null) { + // handle response +} +``` + +### Parameters + +| Parameter | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | +| `notificationId` | *string* | :heavy_check_mark: | N/A | b3b6e2c2-1f2a-4e3b-9c1d-2a4b6e2c21f2 | +| `requestBody` | [?Operations\UpdateNotificationStatusRequestBody](../../Models/Operations/UpdateNotificationStatusRequestBody.md) | :heavy_minus_sign: | N/A | | + +### Response + +**[?Operations\UpdateNotificationStatusResponse](../../Models/Operations/UpdateNotificationStatusResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------- | ------------------- | ------------------- | +| Errors\APIException | 4XX, 5XX | \*/\* | + +## updateAllStatus + +Update the status of all notifications for the authenticated team. + +### Example Usage + + +```php +declare(strict_types=1); + +require 'vendor/autoload.php'; + +use Midday\Midday; +use Midday\Midday\Models\Components; + +$sdk = Midday\Midday::builder() + ->setSecurity( + new Components\Security( + oauth2: '', + ) + ) + ->build(); + +$request = new Components\UpdateAllNotificationsStatusSchema( + status: Components\UpdateAllNotificationsStatusSchemaStatus::Read, +); + +$response = $sdk->notifications->updateAllStatus( + request: $request +); + +if ($response->updateAllNotificationsStatusResponseSchema !== null) { + // handle response +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `$request` | [Components\UpdateAllNotificationsStatusSchema](../../Models/Components/UpdateAllNotificationsStatusSchema.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[?Operations\UpdateAllNotificationsStatusResponse](../../Models/Operations/UpdateAllNotificationsStatusResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------- | ------------------- | ------------------- | +| Errors\APIException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/oauth/README.md b/docs/sdks/oauth/README.md new file mode 100644 index 0000000..f9af741 --- /dev/null +++ b/docs/sdks/oauth/README.md @@ -0,0 +1,247 @@ +# OAuth + +## Overview + +### Available Operations + +* [getOAuthAuthorization](#getoauthauthorization) - OAuth Authorization Endpoint +* [postOAuthAuthorization](#postoauthauthorization) - OAuth Authorization Decision +* [postOAuthToken](#postoauthtoken) - OAuth Token Exchange +* [postOAuthRevoke](#postoauthrevoke) - OAuth Token Revocation + +## getOAuthAuthorization + +Initiate OAuth authorization flow and get consent screen information + +### Example Usage + + +```php +declare(strict_types=1); + +require 'vendor/autoload.php'; + +use Midday\Midday; +use Midday\Midday\Models\Components; +use Midday\Midday\Models\Operations; + +$sdk = Midday\Midday::builder() + ->setSecurity( + new Components\Security( + oauth2: '', + ) + ) + ->build(); + +$request = new Operations\GetOAuthAuthorizationRequest( + responseType: Operations\ResponseType::Code, + clientId: 'mid_client_abcdef123456789', + redirectUri: 'https://myapp.com/callback', + scope: 'transactions.read invoices.read', + state: 'abc123xyz789_secure-random-state-value-with-sufficient-entropy', + codeChallenge: 'E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM', +); + +$response = $sdk->oAuth->getOAuthAuthorization( + request: $request +); + +if ($response->object !== null) { + // handle response +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `$request` | [Operations\GetOAuthAuthorizationRequest](../../Models/Operations/GetOAuthAuthorizationRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[?Operations\GetOAuthAuthorizationResponse](../../Models/Operations/GetOAuthAuthorizationResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | +| Errors\GetOAuthAuthorizationBadRequestException | 400 | application/json | +| Errors\APIException | 4XX, 5XX | \*/\* | + +## postOAuthAuthorization + +Process user's authorization decision (allow/deny) + +### Example Usage + + +```php +declare(strict_types=1); + +require 'vendor/autoload.php'; + +use Midday\Midday; +use Midday\Midday\Models\Components; +use Midday\Midday\Models\Operations; + +$sdk = Midday\Midday::builder() + ->setSecurity( + new Components\Security( + oauth2: '', + ) + ) + ->build(); + +$request = new Operations\PostOAuthAuthorizationRequest( + clientId: 'mid_client_abcdef123456789', + decision: Operations\Decision::Allow, + scopes: [ + Operations\Scope::TransactionsRead, + Operations\Scope::InvoicesRead, + ], + redirectUri: 'https://myapp.com/callback', + state: 'abc123xyz789_secure-random-state-value-with-sufficient-entropy', + codeChallenge: 'E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM', + teamId: '123e4567-e89b-12d3-a456-426614174000', +); + +$response = $sdk->oAuth->postOAuthAuthorization( + request: $request +); + +if ($response->object !== null) { + // handle response +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `$request` | [Operations\PostOAuthAuthorizationRequest](../../Models/Operations/PostOAuthAuthorizationRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[?Operations\PostOAuthAuthorizationResponse](../../Models/Operations/PostOAuthAuthorizationResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | +| Errors\PostOAuthAuthorizationBadRequestException | 400 | application/json | +| Errors\UnauthorizedException | 401 | application/json | +| Errors\APIException | 4XX, 5XX | \*/\* | + +## postOAuthToken + +Exchange authorization code for access token or refresh an access token + +### Example Usage + + +```php +declare(strict_types=1); + +require 'vendor/autoload.php'; + +use Midday\Midday; +use Midday\Midday\Models\Components; +use Midday\Midday\Models\Operations; + +$sdk = Midday\Midday::builder() + ->setSecurity( + new Components\Security( + oauth2: '', + ) + ) + ->build(); + +$request = new Operations\RefreshToken( + grantType: Operations\GrantTypeRefreshToken::RefreshToken, + refreshToken: 'mid_rt_abcdef123456789', + clientId: 'mid_client_abcdef123456789', + clientSecret: 'mid_secret_abcdef123456789', + scope: 'transactions.read invoices.read', +); + +$response = $sdk->oAuth->postOAuthToken( + request: $request +); + +if ($response->object !== null) { + // handle response +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `$request` | [Operations\AuthorizationCode\|Operations\RefreshToken](../../Models/Operations/PostOAuthTokenRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[?Operations\PostOAuthTokenResponse](../../Models/Operations/PostOAuthTokenResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| Errors\PostOAuthTokenBadRequestException | 400 | application/json | +| Errors\APIException | 4XX, 5XX | \*/\* | + +## postOAuthRevoke + +Revoke an access token or refresh token + +### Example Usage + + +```php +declare(strict_types=1); + +require 'vendor/autoload.php'; + +use Midday\Midday; +use Midday\Midday\Models\Components; +use Midday\Midday\Models\Operations; + +$sdk = Midday\Midday::builder() + ->setSecurity( + new Components\Security( + oauth2: '', + ) + ) + ->build(); + +$request = new Operations\PostOAuthRevokeRequest( + token: 'mid_access_token_abcdef123456789', + tokenTypeHint: Operations\TokenTypeHint::AccessToken, + clientId: 'mid_client_abcdef123456789', + clientSecret: 'mid_secret_abcdef123456789', +); + +$response = $sdk->oAuth->postOAuthRevoke( + request: $request +); + +if ($response->object !== null) { + // handle response +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `$request` | [Operations\PostOAuthRevokeRequest](../../Models/Operations/PostOAuthRevokeRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[?Operations\PostOAuthRevokeResponse](../../Models/Operations/PostOAuthRevokeResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------- | ------------------- | ------------------- | +| Errors\APIException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/reports/README.md b/docs/sdks/reports/README.md new file mode 100644 index 0000000..b7d0001 --- /dev/null +++ b/docs/sdks/reports/README.md @@ -0,0 +1,342 @@ +# Reports + +## Overview + +### Available Operations + +* [revenue](#revenue) - Revenue reports +* [profit](#profit) - Profit reports +* [burnRate](#burnrate) - Burn rate reports +* [runway](#runway) - Runway reports +* [expenses](#expenses) - Expense reports +* [spending](#spending) - Spending reports + +## revenue + +Revenue reports for the authenticated team. + +### Example Usage + + +```php +declare(strict_types=1); + +require 'vendor/autoload.php'; + +use Midday\Midday; +use Midday\Midday\Models\Components; + +$sdk = Midday\Midday::builder() + ->setSecurity( + new Components\Security( + oauth2: '', + ) + ) + ->build(); + + + +$response = $sdk->reports->revenue( + from: '2023-01-01', + to: '2023-12-31', + currency: 'USD' + +); + +if ($response->getRevenueResponseSchema !== null) { + // handle response +} +``` + +### Parameters + +| Parameter | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `from` | *string* | :heavy_check_mark: | N/A | 2023-01-01 | +| `to` | *string* | :heavy_check_mark: | N/A | 2023-12-31 | +| `currency` | *?string* | :heavy_minus_sign: | N/A | USD | + +### Response + +**[?Operations\GetRevenueReportsResponse](../../Models/Operations/GetRevenueReportsResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------- | ------------------- | ------------------- | +| Errors\APIException | 4XX, 5XX | \*/\* | + +## profit + +Profit reports for the authenticated team. + +### Example Usage + + +```php +declare(strict_types=1); + +require 'vendor/autoload.php'; + +use Midday\Midday; +use Midday\Midday\Models\Components; + +$sdk = Midday\Midday::builder() + ->setSecurity( + new Components\Security( + oauth2: '', + ) + ) + ->build(); + + + +$response = $sdk->reports->profit( + from: '2023-01-01', + to: '2023-12-31', + currency: 'USD' + +); + +if ($response->getProfitResponseSchema !== null) { + // handle response +} +``` + +### Parameters + +| Parameter | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `from` | *string* | :heavy_check_mark: | N/A | 2023-01-01 | +| `to` | *string* | :heavy_check_mark: | N/A | 2023-12-31 | +| `currency` | *?string* | :heavy_minus_sign: | N/A | USD | + +### Response + +**[?Operations\GetProfitReportsResponse](../../Models/Operations/GetProfitReportsResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------- | ------------------- | ------------------- | +| Errors\APIException | 4XX, 5XX | \*/\* | + +## burnRate + +Burn rate reports for the authenticated team. + +### Example Usage + + +```php +declare(strict_types=1); + +require 'vendor/autoload.php'; + +use Midday\Midday; +use Midday\Midday\Models\Components; + +$sdk = Midday\Midday::builder() + ->setSecurity( + new Components\Security( + oauth2: '', + ) + ) + ->build(); + + + +$response = $sdk->reports->burnRate( + from: '2023-01-01', + to: '2023-12-31', + currency: 'USD' + +); + +if ($response->getBurnRateResponseSchemas !== null) { + // handle response +} +``` + +### Parameters + +| Parameter | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `from` | *string* | :heavy_check_mark: | N/A | 2023-01-01 | +| `to` | *string* | :heavy_check_mark: | N/A | 2023-12-31 | +| `currency` | *?string* | :heavy_minus_sign: | N/A | USD | + +### Response + +**[?Operations\GetBurnRateReportsResponse](../../Models/Operations/GetBurnRateReportsResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------- | ------------------- | ------------------- | +| Errors\APIException | 4XX, 5XX | \*/\* | + +## runway + +Runway reports for the authenticated team. + +### Example Usage + + +```php +declare(strict_types=1); + +require 'vendor/autoload.php'; + +use Midday\Midday; +use Midday\Midday\Models\Components; + +$sdk = Midday\Midday::builder() + ->setSecurity( + new Components\Security( + oauth2: '', + ) + ) + ->build(); + + + +$response = $sdk->reports->runway( + from: '2023-01-01', + to: '2023-12-31', + currency: 'USD' + +); + +if ($response->getRunwayResponseSchema !== null) { + // handle response +} +``` + +### Parameters + +| Parameter | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `from` | *string* | :heavy_check_mark: | N/A | 2023-01-01 | +| `to` | *string* | :heavy_check_mark: | N/A | 2023-12-31 | +| `currency` | *?string* | :heavy_minus_sign: | N/A | USD | + +### Response + +**[?Operations\GetRunwayReportsResponse](../../Models/Operations/GetRunwayReportsResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------- | ------------------- | ------------------- | +| Errors\APIException | 4XX, 5XX | \*/\* | + +## expenses + +Expense reports for the authenticated team. + +### Example Usage + + +```php +declare(strict_types=1); + +require 'vendor/autoload.php'; + +use Midday\Midday; +use Midday\Midday\Models\Components; + +$sdk = Midday\Midday::builder() + ->setSecurity( + new Components\Security( + oauth2: '', + ) + ) + ->build(); + + + +$response = $sdk->reports->expenses( + from: '2023-01-01', + to: '2023-12-31', + currency: 'USD' + +); + +if ($response->getExpensesResponseSchema !== null) { + // handle response +} +``` + +### Parameters + +| Parameter | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `from` | *string* | :heavy_check_mark: | N/A | 2023-01-01 | +| `to` | *string* | :heavy_check_mark: | N/A | 2023-12-31 | +| `currency` | *?string* | :heavy_minus_sign: | N/A | USD | + +### Response + +**[?Operations\GetExpensesReportsResponse](../../Models/Operations/GetExpensesReportsResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------- | ------------------- | ------------------- | +| Errors\APIException | 4XX, 5XX | \*/\* | + +## spending + +Spending reports for the authenticated team. + +### Example Usage + + +```php +declare(strict_types=1); + +require 'vendor/autoload.php'; + +use Midday\Midday; +use Midday\Midday\Models\Components; + +$sdk = Midday\Midday::builder() + ->setSecurity( + new Components\Security( + oauth2: '', + ) + ) + ->build(); + + + +$response = $sdk->reports->spending( + from: '2023-01-01', + to: '2023-12-31', + currency: 'USD' + +); + +if ($response->spendingResultArray !== null) { + // handle response +} +``` + +### Parameters + +| Parameter | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `from` | *string* | :heavy_check_mark: | N/A | 2023-01-01 | +| `to` | *string* | :heavy_check_mark: | N/A | 2023-12-31 | +| `currency` | *?string* | :heavy_minus_sign: | N/A | USD | + +### Response + +**[?Operations\GetSpendingReportsResponse](../../Models/Operations/GetSpendingReportsResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------- | ------------------- | ------------------- | +| Errors\APIException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/search/README.md b/docs/sdks/search/README.md index 55fe52e..bdcdc33 100644 --- a/docs/sdks/search/README.md +++ b/docs/sdks/search/README.md @@ -1,5 +1,4 @@ # Search -(*search*) ## Overview @@ -20,11 +19,14 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; use Midday\Midday\Models\Operations; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); diff --git a/docs/sdks/tags/README.md b/docs/sdks/tags/README.md index ac7522d..e66a282 100644 --- a/docs/sdks/tags/README.md +++ b/docs/sdks/tags/README.md @@ -1,5 +1,4 @@ # Tags -(*tags*) ## Overview @@ -24,10 +23,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -69,7 +71,9 @@ use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -115,10 +119,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -162,10 +169,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -209,11 +219,14 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; use Midday\Midday\Models\Operations; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); diff --git a/docs/sdks/teams/README.md b/docs/sdks/teams/README.md index d846af1..e991358 100644 --- a/docs/sdks/teams/README.md +++ b/docs/sdks/teams/README.md @@ -1,5 +1,4 @@ # Teams -(*teams*) ## Overview @@ -23,10 +22,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -64,10 +66,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -111,11 +116,14 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; use Midday\Midday\Models\Operations; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -168,10 +176,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); diff --git a/docs/sdks/trackerentries/README.md b/docs/sdks/trackerentries/README.md index 49ec0d6..7ea4cb7 100644 --- a/docs/sdks/trackerentries/README.md +++ b/docs/sdks/trackerentries/README.md @@ -1,5 +1,4 @@ # TrackerEntries -(*trackerEntries*) ## Overview @@ -24,10 +23,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -76,12 +78,15 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; use Midday\Midday\Models\Operations; use Midday\Midday\Utils; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -136,12 +141,15 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; use Midday\Midday\Models\Operations; use Midday\Midday\Utils; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -210,10 +218,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -257,12 +268,15 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; use Midday\Midday\Models\Operations; use Midday\Midday\Utils; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); diff --git a/docs/sdks/trackerprojects/README.md b/docs/sdks/trackerprojects/README.md index d6182f8..b08cec4 100644 --- a/docs/sdks/trackerprojects/README.md +++ b/docs/sdks/trackerprojects/README.md @@ -1,5 +1,4 @@ # TrackerProjects -(*trackerProjects*) ## Overview @@ -24,11 +23,14 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; use Midday\Midday\Models\Operations; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -91,11 +93,14 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; use Midday\Midday\Models\Operations; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -142,10 +147,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -189,10 +197,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -236,11 +247,14 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; use Midday\Midday\Models\Operations; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); diff --git a/docs/sdks/trackertimer/README.md b/docs/sdks/trackertimer/README.md index ad61cf1..4c81b0c 100644 --- a/docs/sdks/trackertimer/README.md +++ b/docs/sdks/trackertimer/README.md @@ -1,5 +1,4 @@ # TrackerTimer -(*trackerTimer*) ## Overview @@ -23,12 +22,15 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; use Midday\Midday\Models\Operations; use Midday\Midday\Utils; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -78,12 +80,15 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; use Midday\Midday\Models\Operations; use Midday\Midday\Utils; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -131,10 +136,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -178,10 +186,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); diff --git a/docs/sdks/transactions/README.md b/docs/sdks/transactions/README.md index 3f68e2d..a374651 100644 --- a/docs/sdks/transactions/README.md +++ b/docs/sdks/transactions/README.md @@ -1,5 +1,4 @@ # Transactions -(*transactions*) ## Overview @@ -10,6 +9,7 @@ * [get](#get) - Retrieve a transaction * [delete](#delete) - Delete a transaction * [update](#update) - Update a transaction +* [getAttachmentPreSignedUrl](#getattachmentpresignedurl) - Generate pre-signed URL for transaction attachment * [createMany](#createmany) - Bulk create transactions * [deleteMany](#deletemany) - Bulk delete transactions * [updateMany](#updatemany) - Bulk update transactions @@ -27,11 +27,14 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; use Midday\Midday\Models\Operations; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -119,10 +122,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -166,10 +172,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -213,10 +222,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -260,10 +272,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -297,6 +312,64 @@ if ($response->transactionResponse !== null) { | ------------------- | ------------------- | ------------------- | | Errors\APIException | 4XX, 5XX | \*/\* | +## getAttachmentPreSignedUrl + +Generate a pre-signed URL for accessing a transaction attachment. The URL is valid for 60 seconds and allows secure temporary access to the attachment file. + +### Example Usage + + +```php +declare(strict_types=1); + +require 'vendor/autoload.php'; + +use Midday\Midday; +use Midday\Midday\Models\Components; + +$sdk = Midday\Midday::builder() + ->setSecurity( + new Components\Security( + oauth2: '', + ) + ) + ->build(); + + + +$response = $sdk->transactions->getAttachmentPreSignedUrl( + transactionId: 'b3b7c1e2-4c2a-4e7a-9c1a-2b7c1e24c2a4', + attachmentId: 'a43dc3a5-6925-4d91-ac9c-4c1a34bdb388', + download: true + +); + +if ($response->object !== null) { + // handle response +} +``` + +### Parameters + +| Parameter | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `transactionId` | *string* | :heavy_check_mark: | N/A | b3b7c1e2-4c2a-4e7a-9c1a-2b7c1e24c2a4 | +| `attachmentId` | *string* | :heavy_check_mark: | N/A | a43dc3a5-6925-4d91-ac9c-4c1a34bdb388 | +| `download` | *?bool* | :heavy_minus_sign: | N/A | true | + +### Response + +**[?Operations\GetTransactionAttachmentPreSignedUrlResponse](../../Models/Operations/GetTransactionAttachmentPreSignedUrlResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| Errors\GetTransactionAttachmentPreSignedUrlBadRequestException | 400 | application/json | +| Errors\GetTransactionAttachmentPreSignedUrlNotFoundException | 404 | application/json | +| Errors\GetTransactionAttachmentPreSignedUrlInternalServerError | 500 | application/json | +| Errors\APIException | 4XX, 5XX | \*/\* | + ## createMany Bulk create transactions for the authenticated team. @@ -310,10 +383,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -357,10 +433,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -404,10 +483,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); diff --git a/docs/sdks/users/README.md b/docs/sdks/users/README.md index c32b4fb..28c0315 100644 --- a/docs/sdks/users/README.md +++ b/docs/sdks/users/README.md @@ -1,5 +1,4 @@ # Users -(*users*) ## Overview @@ -21,10 +20,13 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); @@ -62,11 +64,14 @@ declare(strict_types=1); require 'vendor/autoload.php'; use Midday\Midday; +use Midday\Midday\Models\Components; use Midday\Midday\Models\Operations; $sdk = Midday\Midday::builder() ->setSecurity( - 'MIDDAY_API_KEY' + new Components\Security( + oauth2: '', + ) ) ->build(); diff --git a/src/BankAccounts.php b/src/BankAccounts.php index 19dcde5..b1bbe8f 100644 --- a/src/BankAccounts.php +++ b/src/BankAccounts.php @@ -66,7 +66,7 @@ public function create(?Operations\CreateBankAccountRequest $request = null, ?Op $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('POST', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'createBankAccount', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'createBankAccount', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -130,7 +130,7 @@ public function delete(string $id, ?Options $options = null): Operations\DeleteB $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('DELETE', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'deleteBankAccount', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'deleteBankAccount', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -194,7 +194,7 @@ public function get(string $id, ?Options $options = null): Operations\GetBankAcc $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getBankAccountById', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getBankAccountById', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -262,7 +262,7 @@ public function list(?bool $enabled = null, ?bool $manual = null, ?Options $opti $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'listBankAccounts', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'listBankAccounts', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions['query'] = Utils\QueryParameters::standardizeQueryParams($httpRequest, $qp); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); @@ -333,7 +333,7 @@ public function update(string $id, ?Operations\UpdateBankAccountRequestBody $req $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('PATCH', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'updateBankAccount', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'updateBankAccount', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); diff --git a/src/Customers.php b/src/Customers.php index f53d49b..092a740 100644 --- a/src/Customers.php +++ b/src/Customers.php @@ -66,7 +66,7 @@ public function create(?Operations\CreateCustomerRequest $request = null, ?Optio $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('POST', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'createCustomer', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'createCustomer', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -130,7 +130,7 @@ public function delete(string $id, ?Options $options = null): Operations\DeleteC $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('DELETE', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'deleteCustomer', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'deleteCustomer', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -194,7 +194,7 @@ public function get(string $id, ?Options $options = null): Operations\GetCustome $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getCustomerById', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getCustomerById', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -266,7 +266,7 @@ public function list(?string $q = null, ?array $sort = null, ?string $cursor = n $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'listCustomers', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'listCustomers', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions['query'] = Utils\QueryParameters::standardizeQueryParams($httpRequest, $qp); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); @@ -337,7 +337,7 @@ public function update(string $id, ?Operations\UpdateCustomerRequestBody $reques $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('PATCH', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'updateCustomer', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'updateCustomer', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); diff --git a/src/Documents.php b/src/Documents.php index b48c048..86b30f4 100644 --- a/src/Documents.php +++ b/src/Documents.php @@ -65,7 +65,7 @@ public function delete(string $id, ?Options $options = null): Operations\DeleteD $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('DELETE', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'deleteDocument', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'deleteDocument', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -129,7 +129,7 @@ public function get(?string $id = null, ?Options $options = null): Operations\Ge $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getDocumentById', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getDocumentById', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -172,6 +172,111 @@ public function get(?string $id = null, ?Options $options = null): Operations\Ge } } + /** + * Generate pre-signed URL for document + * + * Generate a pre-signed URL for accessing a document. The URL is valid for 60 seconds and allows secure temporary access to the document file. + * + * @param string $id + * @param ?bool $download + * @return Operations\GetDocumentPreSignedUrlResponse + * @throws \Midday\Midday\Models\Errors\APIException + */ + public function getPreSignedUrl(string $id, ?bool $download = null, ?Options $options = null): Operations\GetDocumentPreSignedUrlResponse + { + $request = new Operations\GetDocumentPreSignedUrlRequest( + id: $id, + download: $download, + ); + $baseUrl = $this->sdkConfiguration->getTemplatedServerUrl(); + $url = Utils\Utils::generateUrl($baseUrl, '/documents/{id}/presigned-url', Operations\GetDocumentPreSignedUrlRequest::class, $request); + $urlOverride = null; + $httpOptions = ['http_errors' => false]; + + $qp = Utils\Utils::getQueryParams(Operations\GetDocumentPreSignedUrlRequest::class, $request, $urlOverride); + $httpOptions['headers']['Accept'] = 'application/json'; + $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; + $httpRequest = new \GuzzleHttp\Psr7\Request('POST', $url); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getDocumentPreSignedUrl', null, $this->sdkConfiguration->securitySource); + $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); + $httpOptions['query'] = Utils\QueryParameters::standardizeQueryParams($httpRequest, $qp); + $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); + $httpRequest = Utils\Utils::removeHeaders($httpRequest); + try { + $httpResponse = $this->sdkConfiguration->client->send($httpRequest, $httpOptions); + } catch (\GuzzleHttp\Exception\GuzzleException $error) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), null, $error); + $httpResponse = $res; + } + $contentType = $httpResponse->getHeader('Content-Type')[0] ?? ''; + + $statusCode = $httpResponse->getStatusCode(); + if (Utils\Utils::matchStatusCodes($statusCode, ['400', '404', '4XX', '500', '5XX'])) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), $httpResponse, null); + $httpResponse = $res; + } + if (Utils\Utils::matchStatusCodes($statusCode, ['200'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Operations\GetDocumentPreSignedUrlResponseBody', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $response = new Operations\GetDocumentPreSignedUrlResponse( + statusCode: $statusCode, + contentType: $contentType, + rawResponse: $httpResponse, + object: $obj); + + return $response; + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['400'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Errors\GetDocumentPreSignedUrlBadRequestException', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $obj->rawResponse = $httpResponse; + throw $obj->toException(); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['404'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Errors\GetDocumentPreSignedUrlNotFoundException', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $obj->rawResponse = $httpResponse; + throw $obj->toException(); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['500'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Errors\GetDocumentPreSignedUrlInternalServerError', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $obj->rawResponse = $httpResponse; + throw $obj->toException(); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['4XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['5XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } + /** * List all documents * @@ -192,7 +297,7 @@ public function list(?Operations\ListDocumentsRequest $request = null, ?Options $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'listDocuments', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'listDocuments', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions['query'] = Utils\QueryParameters::standardizeQueryParams($httpRequest, $qp); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); diff --git a/src/Hooks/Credentials.php b/src/Hooks/Credentials.php index a06c96a..4f24fb6 100644 --- a/src/Hooks/Credentials.php +++ b/src/Hooks/Credentials.php @@ -14,11 +14,20 @@ class Credentials public string $clientID; public string $clientSecret; public string $tokenURL; + /** @var array|null */ + public ?array $scopes; - public function __construct(string $clientID, string $clientSecret, string $tokenURL) + /** + * @param string $clientID + * @param string $clientSecret + * @param string $tokenURL + * @param array|null $scopes + */ + public function __construct(string $clientID, string $clientSecret, string $tokenURL, ?array $scopes) { $this->clientID = $clientID; $this->clientSecret = $clientSecret; $this->tokenURL = $tokenURL; + $this->scopes = $scopes; } } diff --git a/src/Hooks/TokenResponse.php b/src/Hooks/TokenResponse.php index 317d2dc..a08fca4 100644 --- a/src/Hooks/TokenResponse.php +++ b/src/Hooks/TokenResponse.php @@ -13,5 +13,5 @@ class TokenResponse { public ?string $accessToken; public ?string $tokenType; - public ?float $expiresIn; + public ?int $expiresIn; } diff --git a/src/Inbox.php b/src/Inbox.php index f9fa2ba..cbf6e83 100644 --- a/src/Inbox.php +++ b/src/Inbox.php @@ -65,7 +65,7 @@ public function delete(string $id, ?Options $options = null): Operations\DeleteI $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('DELETE', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'deleteInboxItem', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'deleteInboxItem', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -129,7 +129,7 @@ public function get(string $id, ?Options $options = null): Operations\GetInboxIt $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getInboxItemById', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getInboxItemById', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -172,6 +172,111 @@ public function get(string $id, ?Options $options = null): Operations\GetInboxIt } } + /** + * Generate pre-signed URL for inbox attachment + * + * Generate a pre-signed URL for accessing an inbox attachment. The URL is valid for 60 seconds and allows secure temporary access to the attachment file. + * + * @param string $id + * @param ?bool $download + * @return Operations\GetInboxPreSignedUrlResponse + * @throws \Midday\Midday\Models\Errors\APIException + */ + public function getPreSignedUrl(string $id, ?bool $download = null, ?Options $options = null): Operations\GetInboxPreSignedUrlResponse + { + $request = new Operations\GetInboxPreSignedUrlRequest( + id: $id, + download: $download, + ); + $baseUrl = $this->sdkConfiguration->getTemplatedServerUrl(); + $url = Utils\Utils::generateUrl($baseUrl, '/inbox/{id}/presigned-url', Operations\GetInboxPreSignedUrlRequest::class, $request); + $urlOverride = null; + $httpOptions = ['http_errors' => false]; + + $qp = Utils\Utils::getQueryParams(Operations\GetInboxPreSignedUrlRequest::class, $request, $urlOverride); + $httpOptions['headers']['Accept'] = 'application/json'; + $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; + $httpRequest = new \GuzzleHttp\Psr7\Request('POST', $url); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getInboxPreSignedUrl', null, $this->sdkConfiguration->securitySource); + $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); + $httpOptions['query'] = Utils\QueryParameters::standardizeQueryParams($httpRequest, $qp); + $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); + $httpRequest = Utils\Utils::removeHeaders($httpRequest); + try { + $httpResponse = $this->sdkConfiguration->client->send($httpRequest, $httpOptions); + } catch (\GuzzleHttp\Exception\GuzzleException $error) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), null, $error); + $httpResponse = $res; + } + $contentType = $httpResponse->getHeader('Content-Type')[0] ?? ''; + + $statusCode = $httpResponse->getStatusCode(); + if (Utils\Utils::matchStatusCodes($statusCode, ['400', '404', '4XX', '500', '5XX'])) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), $httpResponse, null); + $httpResponse = $res; + } + if (Utils\Utils::matchStatusCodes($statusCode, ['200'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Operations\GetInboxPreSignedUrlResponseBody', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $response = new Operations\GetInboxPreSignedUrlResponse( + statusCode: $statusCode, + contentType: $contentType, + rawResponse: $httpResponse, + object: $obj); + + return $response; + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['400'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Errors\GetInboxPreSignedUrlBadRequestException', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $obj->rawResponse = $httpResponse; + throw $obj->toException(); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['404'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Errors\GetInboxPreSignedUrlNotFoundException', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $obj->rawResponse = $httpResponse; + throw $obj->toException(); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['500'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Errors\GetInboxPreSignedUrlInternalServerError', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $obj->rawResponse = $httpResponse; + throw $obj->toException(); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['4XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['5XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } + /** * List all inbox items * @@ -192,7 +297,7 @@ public function list(?Operations\ListInboxItemsRequest $request = null, ?Options $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'listInboxItems', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'listInboxItems', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions['query'] = Utils\QueryParameters::standardizeQueryParams($httpRequest, $qp); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); @@ -264,7 +369,7 @@ public function update(Operations\UpdateInboxItemRequestBody $requestBody, strin $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('PATCH', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'updateInboxItem', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'updateInboxItem', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); diff --git a/src/Invoices.php b/src/Invoices.php index b32603d..049e4db 100644 --- a/src/Invoices.php +++ b/src/Invoices.php @@ -44,6 +44,119 @@ public function getUrl(string $baseUrl, array $urlVariables): string return Utils\Utils::templateUrl($baseUrl, $urlVariables); } + /** + * Create an invoice + * + * Create an invoice for the authenticated team. The behavior depends on deliveryType: 'create' generates and finalizes the invoice immediately, 'create_and_send' also sends it to the customer, 'scheduled' schedules the invoice for automatic processing at the specified date. + * + * @param ?Operations\CreateInvoiceRequest $request + * @return Operations\CreateInvoiceResponse + * @throws \Midday\Midday\Models\Errors\APIException + */ + public function create(?Operations\CreateInvoiceRequest $request = null, ?Options $options = null): Operations\CreateInvoiceResponse + { + $baseUrl = $this->sdkConfiguration->getTemplatedServerUrl(); + $url = Utils\Utils::generateUrl($baseUrl, '/invoices'); + $urlOverride = null; + $httpOptions = ['http_errors' => false]; + $body = Utils\Utils::serializeRequestBody($request, 'request', 'json'); + if ($body !== null) { + $httpOptions = array_merge_recursive($httpOptions, $body); + } + $httpOptions['headers']['Accept'] = 'application/json'; + $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; + $httpRequest = new \GuzzleHttp\Psr7\Request('POST', $url); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'createInvoice', null, $this->sdkConfiguration->securitySource); + $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); + $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); + $httpRequest = Utils\Utils::removeHeaders($httpRequest); + try { + $httpResponse = $this->sdkConfiguration->client->send($httpRequest, $httpOptions); + } catch (\GuzzleHttp\Exception\GuzzleException $error) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), null, $error); + $httpResponse = $res; + } + $contentType = $httpResponse->getHeader('Content-Type')[0] ?? ''; + + $statusCode = $httpResponse->getStatusCode(); + if (Utils\Utils::matchStatusCodes($statusCode, ['400', '404', '409', '4XX', '500', '5XX'])) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), $httpResponse, null); + $httpResponse = $res; + } + if (Utils\Utils::matchStatusCodes($statusCode, ['201'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Operations\CreateInvoiceResponseBody', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $response = new Operations\CreateInvoiceResponse( + statusCode: $statusCode, + contentType: $contentType, + rawResponse: $httpResponse, + object: $obj); + + return $response; + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['400'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Errors\CreateInvoiceBadRequestException', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $obj->rawResponse = $httpResponse; + throw $obj->toException(); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['404'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Errors\CreateInvoiceNotFoundException', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $obj->rawResponse = $httpResponse; + throw $obj->toException(); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['409'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Errors\ConflictException', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $obj->rawResponse = $httpResponse; + throw $obj->toException(); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['500'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Errors\CreateInvoiceInternalServerError', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $obj->rawResponse = $httpResponse; + throw $obj->toException(); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['4XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['5XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } + /** * Delete a invoice * @@ -65,7 +178,7 @@ public function delete(string $id, ?Options $options = null): Operations\DeleteI $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('DELETE', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'deleteInvoice', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'deleteInvoice', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -129,7 +242,7 @@ public function get(string $id, ?Options $options = null): Operations\GetInvoice $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getInvoiceById', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getInvoiceById', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -195,7 +308,7 @@ public function summary(?Operations\GetInvoiceSummaryStatus $status = null, ?Opt $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getInvoiceSummary', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getInvoiceSummary', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions['query'] = Utils\QueryParameters::standardizeQueryParams($httpRequest, $qp); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); @@ -256,7 +369,7 @@ public function getInvoicesPaymentStatus(?Options $options = null): Operations\G $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'get_/invoices/payment-status', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'get_/invoices/payment-status', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -319,7 +432,7 @@ public function list(?Operations\ListInvoicesRequest $request = null, ?Options $ $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'listInvoices', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'listInvoices', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions['query'] = Utils\QueryParameters::standardizeQueryParams($httpRequest, $qp); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); @@ -363,4 +476,74 @@ public function list(?Operations\ListInvoicesRequest $request = null, ?Options $ } } + /** + * Update an invoice + * + * Update an invoice by its unique identifier for the authenticated team. + * + * @param string $id + * @param ?Operations\UpdateInvoiceRequestBody $requestBody + * @return Operations\UpdateInvoiceResponse + * @throws \Midday\Midday\Models\Errors\APIException + */ + public function update(string $id, ?Operations\UpdateInvoiceRequestBody $requestBody = null, ?Options $options = null): Operations\UpdateInvoiceResponse + { + $request = new Operations\UpdateInvoiceRequest( + id: $id, + requestBody: $requestBody, + ); + $baseUrl = $this->sdkConfiguration->getTemplatedServerUrl(); + $url = Utils\Utils::generateUrl($baseUrl, '/invoices/{id}', Operations\UpdateInvoiceRequest::class, $request); + $urlOverride = null; + $httpOptions = ['http_errors' => false]; + $body = Utils\Utils::serializeRequestBody($request, 'requestBody', 'json'); + if ($body !== null) { + $httpOptions = array_merge_recursive($httpOptions, $body); + } + $httpOptions['headers']['Accept'] = 'application/json'; + $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; + $httpRequest = new \GuzzleHttp\Psr7\Request('PUT', $url); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'updateInvoice', null, $this->sdkConfiguration->securitySource); + $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); + $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); + $httpRequest = Utils\Utils::removeHeaders($httpRequest); + try { + $httpResponse = $this->sdkConfiguration->client->send($httpRequest, $httpOptions); + } catch (\GuzzleHttp\Exception\GuzzleException $error) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), null, $error); + $httpResponse = $res; + } + $contentType = $httpResponse->getHeader('Content-Type')[0] ?? ''; + + $statusCode = $httpResponse->getStatusCode(); + if (Utils\Utils::matchStatusCodes($statusCode, ['4XX', '5XX'])) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), $httpResponse, null); + $httpResponse = $res; + } + if (Utils\Utils::matchStatusCodes($statusCode, ['200'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Operations\UpdateInvoiceResponseBody', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $response = new Operations\UpdateInvoiceResponse( + statusCode: $statusCode, + contentType: $contentType, + rawResponse: $httpResponse, + object: $obj); + + return $response; + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['4XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['5XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } + } \ No newline at end of file diff --git a/src/Midday.php b/src/Midday.php index 6537339..5905be4 100644 --- a/src/Midday.php +++ b/src/Midday.php @@ -18,6 +18,10 @@ class Midday 'https://api.midday.ai', ]; + public OAuth $oAuth; + + public Notifications $notifications; + public Transactions $transactions; public Teams $teams; @@ -38,7 +42,7 @@ class Midday public Search $search; - public Metrics $metrics; + public Reports $reports; public TrackerProjects $trackerProjects; @@ -62,6 +66,8 @@ public static function builder(): MiddayBuilder public function __construct( public SDKConfiguration $sdkConfiguration, ) { + $this->oAuth = new OAuth($this->sdkConfiguration); + $this->notifications = new Notifications($this->sdkConfiguration); $this->transactions = new Transactions($this->sdkConfiguration); $this->teams = new Teams($this->sdkConfiguration); $this->users = new Users($this->sdkConfiguration); @@ -72,7 +78,7 @@ public function __construct( $this->inbox = new Inbox($this->sdkConfiguration); $this->invoices = new Invoices($this->sdkConfiguration); $this->search = new Search($this->sdkConfiguration); - $this->metrics = new Metrics($this->sdkConfiguration); + $this->reports = new Reports($this->sdkConfiguration); $this->trackerProjects = new TrackerProjects($this->sdkConfiguration); $this->trackerEntries = new TrackerEntries($this->sdkConfiguration); $this->trackerTimer = new TrackerTimer($this->sdkConfiguration); diff --git a/src/MiddayBuilder.php b/src/MiddayBuilder.php index 0448358..8104691 100644 --- a/src/MiddayBuilder.php +++ b/src/MiddayBuilder.php @@ -36,14 +36,11 @@ public function setClient(\GuzzleHttp\ClientInterface $client): MiddayBuilder /** * setSecurity is used to configure the security required for the SDK. * - * @param string $token + * @param Models\Components\Security $security * @return MiddayBuilder */ - public function setSecurity(string $token): MiddayBuilder + public function setSecurity(Models\Components\Security $security): MiddayBuilder { - $security = new Models\Components\Security( - token: $token - ); $this->sdkConfig->securitySource = fn () => $security; return $this; @@ -53,12 +50,12 @@ public function setSecurity(string $token): MiddayBuilder * setSecuritySource is usd to configure the security required for the SDK. * unlike setSecurity, setSecuritySource accepts a closure that will be called to retrieve the security information. * - * @param pure-Closure(): string $securitySource + * @param pure-Closure(): Models\Components\Security $securitySource * @return MiddayBuilder */ public function setSecuritySource(\Closure $securitySource): MiddayBuilder { - $this->sdkConfig->securitySource = fn () => new Models\Components\Security(token: $securitySource()); + $this->sdkConfig->securitySource = $securitySource; return $this; } diff --git a/src/Models/Components/NotificationResponseSchema.php b/src/Models/Components/NotificationResponseSchema.php new file mode 100644 index 0000000..20b6268 --- /dev/null +++ b/src/Models/Components/NotificationResponseSchema.php @@ -0,0 +1,30 @@ +data = $data; + } +} \ No newline at end of file diff --git a/src/Models/Components/NotificationSchema.php b/src/Models/Components/NotificationSchema.php new file mode 100644 index 0000000..be9545a --- /dev/null +++ b/src/Models/Components/NotificationSchema.php @@ -0,0 +1,123 @@ + $metadata + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('metadata')] + #[\Speakeasy\Serializer\Annotation\Type('array')] + public array $metadata; + + /** + * Unique identifier of the user (if applicable) + * + * @var ?string $userId + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('userId')] + public ?string $userId; + + /** + * ISO timestamp when the notification was last used by the system + * + * @var ?string $lastUsedAt + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('lastUsedAt')] + public ?string $lastUsedAt; + + /** + * @param string $id + * @param string $createdAt + * @param string $teamId + * @param string $type + * @param int $priority + * @param Source $source + * @param NotificationSchemaStatus $status + * @param array $metadata + * @param ?string $userId + * @param ?string $lastUsedAt + * @phpstan-pure + */ + public function __construct(string $id, string $createdAt, string $teamId, string $type, int $priority, Source $source, NotificationSchemaStatus $status, array $metadata, ?string $userId = null, ?string $lastUsedAt = null) + { + $this->id = $id; + $this->createdAt = $createdAt; + $this->teamId = $teamId; + $this->type = $type; + $this->priority = $priority; + $this->source = $source; + $this->status = $status; + $this->metadata = $metadata; + $this->userId = $userId; + $this->lastUsedAt = $lastUsedAt; + } +} \ No newline at end of file diff --git a/src/Models/Components/NotificationSchemaStatus.php b/src/Models/Components/NotificationSchemaStatus.php new file mode 100644 index 0000000..dfbcbab --- /dev/null +++ b/src/Models/Components/NotificationSchemaStatus.php @@ -0,0 +1,18 @@ + $data + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('data')] + #[\Speakeasy\Serializer\Annotation\Type('array<\Midday\Midday\Models\Components\NotificationSchema>')] + public array $data; + + /** + * Pagination metadata + * + * @var NotificationsResponseSchemaMeta $meta + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('meta')] + #[\Speakeasy\Serializer\Annotation\Type('\Midday\Midday\Models\Components\NotificationsResponseSchemaMeta')] + public NotificationsResponseSchemaMeta $meta; + + /** + * @param array $data + * @param NotificationsResponseSchemaMeta $meta + * @phpstan-pure + */ + public function __construct(array $data, NotificationsResponseSchemaMeta $meta) + { + $this->data = $data; + $this->meta = $meta; + } +} \ No newline at end of file diff --git a/src/Models/Components/NotificationsResponseSchemaMeta.php b/src/Models/Components/NotificationsResponseSchemaMeta.php new file mode 100644 index 0000000..dbfa40d --- /dev/null +++ b/src/Models/Components/NotificationsResponseSchemaMeta.php @@ -0,0 +1,51 @@ +hasPreviousPage = $hasPreviousPage; + $this->hasNextPage = $hasNextPage; + $this->cursor = $cursor; + } +} \ No newline at end of file diff --git a/src/Models/Components/Security.php b/src/Models/Components/Security.php index 2e106f3..ae36626 100644 --- a/src/Models/Components/Security.php +++ b/src/Models/Components/Security.php @@ -13,17 +13,26 @@ class Security { /** * - * @var string $token + * @var ?string $oauth2 + */ + #[SpeakeasyMetadata('security:scheme=true,type=apiKey,subtype=header,name=Authorization')] + public ?string $oauth2 = null; + + /** + * + * @var ?string $token */ #[SpeakeasyMetadata('security:scheme=true,type=http,subtype=bearer,name=Authorization')] - public string $token; + public ?string $token = null; /** - * @param string $token + * @param ?string $oauth2 + * @param ?string $token * @phpstan-pure */ - public function __construct(string $token) + public function __construct(?string $oauth2 = null, ?string $token = null) { + $this->oauth2 = $oauth2; $this->token = $token; } } \ No newline at end of file diff --git a/src/Models/Components/Source.php b/src/Models/Components/Source.php new file mode 100644 index 0000000..c486244 --- /dev/null +++ b/src/Models/Components/Source.php @@ -0,0 +1,17 @@ + $data + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('data')] + #[\Speakeasy\Serializer\Annotation\Type('array<\Midday\Midday\Models\Components\NotificationSchema>')] + public array $data; + + /** + * @param array $data + * @phpstan-pure + */ + public function __construct(array $data) + { + $this->data = $data; + } +} \ No newline at end of file diff --git a/src/Models/Components/UpdateAllNotificationsStatusSchema.php b/src/Models/Components/UpdateAllNotificationsStatusSchema.php new file mode 100644 index 0000000..411e084 --- /dev/null +++ b/src/Models/Components/UpdateAllNotificationsStatusSchema.php @@ -0,0 +1,31 @@ +status = $status; + } +} \ No newline at end of file diff --git a/src/Models/Components/UpdateAllNotificationsStatusSchemaStatus.php b/src/Models/Components/UpdateAllNotificationsStatusSchemaStatus.php new file mode 100644 index 0000000..979a877 --- /dev/null +++ b/src/Models/Components/UpdateAllNotificationsStatusSchemaStatus.php @@ -0,0 +1,18 @@ +message = $message; + $this->rawResponse = $rawResponse; + } + + public function toException(): ConflictExceptionThrowable + { + $serializer = Utils\JSON::createSerializer(); + $message = $serializer->serialize($this, 'json'); + $code = -1; + + return new ConflictExceptionThrowable($message, (int) $code, $this); + } +} \ No newline at end of file diff --git a/src/Models/Errors/ConflictExceptionThrowable.php b/src/Models/Errors/ConflictExceptionThrowable.php new file mode 100644 index 0000000..b654624 --- /dev/null +++ b/src/Models/Errors/ConflictExceptionThrowable.php @@ -0,0 +1,20 @@ +container = $container; + } +} \ No newline at end of file diff --git a/src/Models/Errors/CreateInvoiceBadRequestException.php b/src/Models/Errors/CreateInvoiceBadRequestException.php new file mode 100644 index 0000000..2e1c99b --- /dev/null +++ b/src/Models/Errors/CreateInvoiceBadRequestException.php @@ -0,0 +1,51 @@ +message = $message; + $this->rawResponse = $rawResponse; + } + + public function toException(): CreateInvoiceBadRequestExceptionThrowable + { + $serializer = Utils\JSON::createSerializer(); + $message = $serializer->serialize($this, 'json'); + $code = -1; + + return new CreateInvoiceBadRequestExceptionThrowable($message, (int) $code, $this); + } +} \ No newline at end of file diff --git a/src/Models/Errors/CreateInvoiceBadRequestExceptionThrowable.php b/src/Models/Errors/CreateInvoiceBadRequestExceptionThrowable.php new file mode 100644 index 0000000..088c482 --- /dev/null +++ b/src/Models/Errors/CreateInvoiceBadRequestExceptionThrowable.php @@ -0,0 +1,20 @@ +container = $container; + } +} \ No newline at end of file diff --git a/src/Models/Errors/CreateInvoiceInternalServerError.php b/src/Models/Errors/CreateInvoiceInternalServerError.php new file mode 100644 index 0000000..b070770 --- /dev/null +++ b/src/Models/Errors/CreateInvoiceInternalServerError.php @@ -0,0 +1,51 @@ +message = $message; + $this->rawResponse = $rawResponse; + } + + public function toException(): CreateInvoiceInternalServerErrorThrowable + { + $serializer = Utils\JSON::createSerializer(); + $message = $serializer->serialize($this, 'json'); + $code = -1; + + return new CreateInvoiceInternalServerErrorThrowable($message, (int) $code, $this); + } +} \ No newline at end of file diff --git a/src/Models/Errors/CreateInvoiceInternalServerErrorThrowable.php b/src/Models/Errors/CreateInvoiceInternalServerErrorThrowable.php new file mode 100644 index 0000000..63d86c7 --- /dev/null +++ b/src/Models/Errors/CreateInvoiceInternalServerErrorThrowable.php @@ -0,0 +1,20 @@ +container = $container; + } +} \ No newline at end of file diff --git a/src/Models/Errors/CreateInvoiceNotFoundException.php b/src/Models/Errors/CreateInvoiceNotFoundException.php new file mode 100644 index 0000000..82066a3 --- /dev/null +++ b/src/Models/Errors/CreateInvoiceNotFoundException.php @@ -0,0 +1,51 @@ +message = $message; + $this->rawResponse = $rawResponse; + } + + public function toException(): CreateInvoiceNotFoundExceptionThrowable + { + $serializer = Utils\JSON::createSerializer(); + $message = $serializer->serialize($this, 'json'); + $code = -1; + + return new CreateInvoiceNotFoundExceptionThrowable($message, (int) $code, $this); + } +} \ No newline at end of file diff --git a/src/Models/Errors/CreateInvoiceNotFoundExceptionThrowable.php b/src/Models/Errors/CreateInvoiceNotFoundExceptionThrowable.php new file mode 100644 index 0000000..8057a15 --- /dev/null +++ b/src/Models/Errors/CreateInvoiceNotFoundExceptionThrowable.php @@ -0,0 +1,20 @@ +container = $container; + } +} \ No newline at end of file diff --git a/src/Models/Errors/GetDocumentPreSignedUrlBadRequestException.php b/src/Models/Errors/GetDocumentPreSignedUrlBadRequestException.php new file mode 100644 index 0000000..5ad1735 --- /dev/null +++ b/src/Models/Errors/GetDocumentPreSignedUrlBadRequestException.php @@ -0,0 +1,50 @@ +error = $error; + $this->rawResponse = $rawResponse; + } + + public function toException(): GetDocumentPreSignedUrlBadRequestExceptionThrowable + { + $serializer = Utils\JSON::createSerializer(); + $message = $serializer->serialize($this, 'json'); + $code = -1; + + return new GetDocumentPreSignedUrlBadRequestExceptionThrowable($message, (int) $code, $this); + } +} \ No newline at end of file diff --git a/src/Models/Errors/GetDocumentPreSignedUrlBadRequestExceptionThrowable.php b/src/Models/Errors/GetDocumentPreSignedUrlBadRequestExceptionThrowable.php new file mode 100644 index 0000000..865a1db --- /dev/null +++ b/src/Models/Errors/GetDocumentPreSignedUrlBadRequestExceptionThrowable.php @@ -0,0 +1,20 @@ +container = $container; + } +} \ No newline at end of file diff --git a/src/Models/Errors/GetDocumentPreSignedUrlInternalServerError.php b/src/Models/Errors/GetDocumentPreSignedUrlInternalServerError.php new file mode 100644 index 0000000..4deac93 --- /dev/null +++ b/src/Models/Errors/GetDocumentPreSignedUrlInternalServerError.php @@ -0,0 +1,50 @@ +error = $error; + $this->rawResponse = $rawResponse; + } + + public function toException(): GetDocumentPreSignedUrlInternalServerErrorThrowable + { + $serializer = Utils\JSON::createSerializer(); + $message = $serializer->serialize($this, 'json'); + $code = -1; + + return new GetDocumentPreSignedUrlInternalServerErrorThrowable($message, (int) $code, $this); + } +} \ No newline at end of file diff --git a/src/Models/Errors/GetDocumentPreSignedUrlInternalServerErrorThrowable.php b/src/Models/Errors/GetDocumentPreSignedUrlInternalServerErrorThrowable.php new file mode 100644 index 0000000..a2ac579 --- /dev/null +++ b/src/Models/Errors/GetDocumentPreSignedUrlInternalServerErrorThrowable.php @@ -0,0 +1,20 @@ +container = $container; + } +} \ No newline at end of file diff --git a/src/Models/Errors/GetDocumentPreSignedUrlNotFoundException.php b/src/Models/Errors/GetDocumentPreSignedUrlNotFoundException.php new file mode 100644 index 0000000..9046bf9 --- /dev/null +++ b/src/Models/Errors/GetDocumentPreSignedUrlNotFoundException.php @@ -0,0 +1,50 @@ +error = $error; + $this->rawResponse = $rawResponse; + } + + public function toException(): GetDocumentPreSignedUrlNotFoundExceptionThrowable + { + $serializer = Utils\JSON::createSerializer(); + $message = $serializer->serialize($this, 'json'); + $code = -1; + + return new GetDocumentPreSignedUrlNotFoundExceptionThrowable($message, (int) $code, $this); + } +} \ No newline at end of file diff --git a/src/Models/Errors/GetDocumentPreSignedUrlNotFoundExceptionThrowable.php b/src/Models/Errors/GetDocumentPreSignedUrlNotFoundExceptionThrowable.php new file mode 100644 index 0000000..f93ae5c --- /dev/null +++ b/src/Models/Errors/GetDocumentPreSignedUrlNotFoundExceptionThrowable.php @@ -0,0 +1,20 @@ +container = $container; + } +} \ No newline at end of file diff --git a/src/Models/Errors/GetInboxPreSignedUrlBadRequestException.php b/src/Models/Errors/GetInboxPreSignedUrlBadRequestException.php new file mode 100644 index 0000000..e257c22 --- /dev/null +++ b/src/Models/Errors/GetInboxPreSignedUrlBadRequestException.php @@ -0,0 +1,50 @@ +error = $error; + $this->rawResponse = $rawResponse; + } + + public function toException(): GetInboxPreSignedUrlBadRequestExceptionThrowable + { + $serializer = Utils\JSON::createSerializer(); + $message = $serializer->serialize($this, 'json'); + $code = -1; + + return new GetInboxPreSignedUrlBadRequestExceptionThrowable($message, (int) $code, $this); + } +} \ No newline at end of file diff --git a/src/Models/Errors/GetInboxPreSignedUrlBadRequestExceptionThrowable.php b/src/Models/Errors/GetInboxPreSignedUrlBadRequestExceptionThrowable.php new file mode 100644 index 0000000..8fb7e60 --- /dev/null +++ b/src/Models/Errors/GetInboxPreSignedUrlBadRequestExceptionThrowable.php @@ -0,0 +1,20 @@ +container = $container; + } +} \ No newline at end of file diff --git a/src/Models/Errors/GetInboxPreSignedUrlInternalServerError.php b/src/Models/Errors/GetInboxPreSignedUrlInternalServerError.php new file mode 100644 index 0000000..c9a5937 --- /dev/null +++ b/src/Models/Errors/GetInboxPreSignedUrlInternalServerError.php @@ -0,0 +1,50 @@ +error = $error; + $this->rawResponse = $rawResponse; + } + + public function toException(): GetInboxPreSignedUrlInternalServerErrorThrowable + { + $serializer = Utils\JSON::createSerializer(); + $message = $serializer->serialize($this, 'json'); + $code = -1; + + return new GetInboxPreSignedUrlInternalServerErrorThrowable($message, (int) $code, $this); + } +} \ No newline at end of file diff --git a/src/Models/Errors/GetInboxPreSignedUrlInternalServerErrorThrowable.php b/src/Models/Errors/GetInboxPreSignedUrlInternalServerErrorThrowable.php new file mode 100644 index 0000000..a1b6322 --- /dev/null +++ b/src/Models/Errors/GetInboxPreSignedUrlInternalServerErrorThrowable.php @@ -0,0 +1,20 @@ +container = $container; + } +} \ No newline at end of file diff --git a/src/Models/Errors/GetInboxPreSignedUrlNotFoundException.php b/src/Models/Errors/GetInboxPreSignedUrlNotFoundException.php new file mode 100644 index 0000000..1feea45 --- /dev/null +++ b/src/Models/Errors/GetInboxPreSignedUrlNotFoundException.php @@ -0,0 +1,50 @@ +error = $error; + $this->rawResponse = $rawResponse; + } + + public function toException(): GetInboxPreSignedUrlNotFoundExceptionThrowable + { + $serializer = Utils\JSON::createSerializer(); + $message = $serializer->serialize($this, 'json'); + $code = -1; + + return new GetInboxPreSignedUrlNotFoundExceptionThrowable($message, (int) $code, $this); + } +} \ No newline at end of file diff --git a/src/Models/Errors/GetInboxPreSignedUrlNotFoundExceptionThrowable.php b/src/Models/Errors/GetInboxPreSignedUrlNotFoundExceptionThrowable.php new file mode 100644 index 0000000..7e796f5 --- /dev/null +++ b/src/Models/Errors/GetInboxPreSignedUrlNotFoundExceptionThrowable.php @@ -0,0 +1,20 @@ +container = $container; + } +} \ No newline at end of file diff --git a/src/Models/Errors/GetOAuthAuthorizationBadRequestException.php b/src/Models/Errors/GetOAuthAuthorizationBadRequestException.php new file mode 100644 index 0000000..2b9b744 --- /dev/null +++ b/src/Models/Errors/GetOAuthAuthorizationBadRequestException.php @@ -0,0 +1,84 @@ +error = $error; + $this->errorDescription = $errorDescription; + $this->errorUri = $errorUri; + $this->state = $state; + $this->rawResponse = $rawResponse; + } + + public function toException(): GetOAuthAuthorizationBadRequestExceptionThrowable + { + $serializer = Utils\JSON::createSerializer(); + $message = $serializer->serialize($this, 'json'); + $code = -1; + + return new GetOAuthAuthorizationBadRequestExceptionThrowable($message, (int) $code, $this); + } +} \ No newline at end of file diff --git a/src/Models/Errors/GetOAuthAuthorizationBadRequestExceptionThrowable.php b/src/Models/Errors/GetOAuthAuthorizationBadRequestExceptionThrowable.php new file mode 100644 index 0000000..fa7da62 --- /dev/null +++ b/src/Models/Errors/GetOAuthAuthorizationBadRequestExceptionThrowable.php @@ -0,0 +1,20 @@ +container = $container; + } +} \ No newline at end of file diff --git a/src/Models/Errors/GetTransactionAttachmentPreSignedUrlBadRequestException.php b/src/Models/Errors/GetTransactionAttachmentPreSignedUrlBadRequestException.php new file mode 100644 index 0000000..5680d47 --- /dev/null +++ b/src/Models/Errors/GetTransactionAttachmentPreSignedUrlBadRequestException.php @@ -0,0 +1,50 @@ +error = $error; + $this->rawResponse = $rawResponse; + } + + public function toException(): GetTransactionAttachmentPreSignedUrlBadRequestExceptionThrowable + { + $serializer = Utils\JSON::createSerializer(); + $message = $serializer->serialize($this, 'json'); + $code = -1; + + return new GetTransactionAttachmentPreSignedUrlBadRequestExceptionThrowable($message, (int) $code, $this); + } +} \ No newline at end of file diff --git a/src/Models/Errors/GetTransactionAttachmentPreSignedUrlBadRequestExceptionThrowable.php b/src/Models/Errors/GetTransactionAttachmentPreSignedUrlBadRequestExceptionThrowable.php new file mode 100644 index 0000000..805d9ad --- /dev/null +++ b/src/Models/Errors/GetTransactionAttachmentPreSignedUrlBadRequestExceptionThrowable.php @@ -0,0 +1,20 @@ +container = $container; + } +} \ No newline at end of file diff --git a/src/Models/Errors/GetTransactionAttachmentPreSignedUrlInternalServerError.php b/src/Models/Errors/GetTransactionAttachmentPreSignedUrlInternalServerError.php new file mode 100644 index 0000000..25550be --- /dev/null +++ b/src/Models/Errors/GetTransactionAttachmentPreSignedUrlInternalServerError.php @@ -0,0 +1,50 @@ +error = $error; + $this->rawResponse = $rawResponse; + } + + public function toException(): GetTransactionAttachmentPreSignedUrlInternalServerErrorThrowable + { + $serializer = Utils\JSON::createSerializer(); + $message = $serializer->serialize($this, 'json'); + $code = -1; + + return new GetTransactionAttachmentPreSignedUrlInternalServerErrorThrowable($message, (int) $code, $this); + } +} \ No newline at end of file diff --git a/src/Models/Errors/GetTransactionAttachmentPreSignedUrlInternalServerErrorThrowable.php b/src/Models/Errors/GetTransactionAttachmentPreSignedUrlInternalServerErrorThrowable.php new file mode 100644 index 0000000..8279ac4 --- /dev/null +++ b/src/Models/Errors/GetTransactionAttachmentPreSignedUrlInternalServerErrorThrowable.php @@ -0,0 +1,20 @@ +container = $container; + } +} \ No newline at end of file diff --git a/src/Models/Errors/GetTransactionAttachmentPreSignedUrlNotFoundException.php b/src/Models/Errors/GetTransactionAttachmentPreSignedUrlNotFoundException.php new file mode 100644 index 0000000..4443f2f --- /dev/null +++ b/src/Models/Errors/GetTransactionAttachmentPreSignedUrlNotFoundException.php @@ -0,0 +1,50 @@ +error = $error; + $this->rawResponse = $rawResponse; + } + + public function toException(): GetTransactionAttachmentPreSignedUrlNotFoundExceptionThrowable + { + $serializer = Utils\JSON::createSerializer(); + $message = $serializer->serialize($this, 'json'); + $code = -1; + + return new GetTransactionAttachmentPreSignedUrlNotFoundExceptionThrowable($message, (int) $code, $this); + } +} \ No newline at end of file diff --git a/src/Models/Errors/GetTransactionAttachmentPreSignedUrlNotFoundExceptionThrowable.php b/src/Models/Errors/GetTransactionAttachmentPreSignedUrlNotFoundExceptionThrowable.php new file mode 100644 index 0000000..90bb737 --- /dev/null +++ b/src/Models/Errors/GetTransactionAttachmentPreSignedUrlNotFoundExceptionThrowable.php @@ -0,0 +1,20 @@ +container = $container; + } +} \ No newline at end of file diff --git a/src/Models/Errors/PostOAuthAuthorizationBadRequestException.php b/src/Models/Errors/PostOAuthAuthorizationBadRequestException.php new file mode 100644 index 0000000..354bcee --- /dev/null +++ b/src/Models/Errors/PostOAuthAuthorizationBadRequestException.php @@ -0,0 +1,50 @@ +redirectUrl = $redirectUrl; + $this->rawResponse = $rawResponse; + } + + public function toException(): PostOAuthAuthorizationBadRequestExceptionThrowable + { + $serializer = Utils\JSON::createSerializer(); + $message = $serializer->serialize($this, 'json'); + $code = -1; + + return new PostOAuthAuthorizationBadRequestExceptionThrowable($message, (int) $code, $this); + } +} \ No newline at end of file diff --git a/src/Models/Errors/PostOAuthAuthorizationBadRequestExceptionThrowable.php b/src/Models/Errors/PostOAuthAuthorizationBadRequestExceptionThrowable.php new file mode 100644 index 0000000..8610829 --- /dev/null +++ b/src/Models/Errors/PostOAuthAuthorizationBadRequestExceptionThrowable.php @@ -0,0 +1,20 @@ +container = $container; + } +} \ No newline at end of file diff --git a/src/Models/Errors/PostOAuthTokenBadRequestException.php b/src/Models/Errors/PostOAuthTokenBadRequestException.php new file mode 100644 index 0000000..77c409f --- /dev/null +++ b/src/Models/Errors/PostOAuthTokenBadRequestException.php @@ -0,0 +1,84 @@ +error = $error; + $this->errorDescription = $errorDescription; + $this->errorUri = $errorUri; + $this->state = $state; + $this->rawResponse = $rawResponse; + } + + public function toException(): PostOAuthTokenBadRequestExceptionThrowable + { + $serializer = Utils\JSON::createSerializer(); + $message = $serializer->serialize($this, 'json'); + $code = -1; + + return new PostOAuthTokenBadRequestExceptionThrowable($message, (int) $code, $this); + } +} \ No newline at end of file diff --git a/src/Models/Errors/PostOAuthTokenBadRequestExceptionThrowable.php b/src/Models/Errors/PostOAuthTokenBadRequestExceptionThrowable.php new file mode 100644 index 0000000..bc68a5f --- /dev/null +++ b/src/Models/Errors/PostOAuthTokenBadRequestExceptionThrowable.php @@ -0,0 +1,20 @@ +container = $container; + } +} \ No newline at end of file diff --git a/src/Models/Errors/UnauthorizedException.php b/src/Models/Errors/UnauthorizedException.php new file mode 100644 index 0000000..78c9840 --- /dev/null +++ b/src/Models/Errors/UnauthorizedException.php @@ -0,0 +1,50 @@ +redirectUrl = $redirectUrl; + $this->rawResponse = $rawResponse; + } + + public function toException(): UnauthorizedExceptionThrowable + { + $serializer = Utils\JSON::createSerializer(); + $message = $serializer->serialize($this, 'json'); + $code = -1; + + return new UnauthorizedExceptionThrowable($message, (int) $code, $this); + } +} \ No newline at end of file diff --git a/src/Models/Errors/UnauthorizedExceptionThrowable.php b/src/Models/Errors/UnauthorizedExceptionThrowable.php new file mode 100644 index 0000000..0c28ab9 --- /dev/null +++ b/src/Models/Errors/UnauthorizedExceptionThrowable.php @@ -0,0 +1,20 @@ +container = $container; + } +} \ No newline at end of file diff --git a/src/Models/Operations/AuthorizationCode.php b/src/Models/Operations/AuthorizationCode.php new file mode 100644 index 0000000..e103ac5 --- /dev/null +++ b/src/Models/Operations/AuthorizationCode.php @@ -0,0 +1,83 @@ +grantType = $grantType; + $this->code = $code; + $this->redirectUri = $redirectUri; + $this->clientId = $clientId; + $this->clientSecret = $clientSecret; + $this->codeVerifier = $codeVerifier; + } +} \ No newline at end of file diff --git a/src/Models/Operations/BottomBlock.php b/src/Models/Operations/BottomBlock.php new file mode 100644 index 0000000..14acf5b --- /dev/null +++ b/src/Models/Operations/BottomBlock.php @@ -0,0 +1,19 @@ + $lineItems + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('lineItems')] + #[\Speakeasy\Serializer\Annotation\Type('array<\Midday\Midday\Models\Operations\LineItem>|null')] + #[\Speakeasy\Serializer\Annotation\SkipWhenNull] + public ?array $lineItems = null; + + /** + * Scheduled date of the invoice in ISO 8601 format. Required when deliveryType is 'scheduled'. Must be in the future. + * + * @var ?\DateTime $scheduledAt + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('scheduledAt')] + #[\Speakeasy\Serializer\Annotation\SkipWhenNull] + public ?\DateTime $scheduledAt = null; + + /** + * URL of the logo to display on the invoice + * + * @var ?string $logoUrl + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('logoUrl')] + #[\Speakeasy\Serializer\Annotation\SkipWhenNull] + public ?string $logoUrl = null; + + /** + * VAT amount for the invoice + * + * @var ?float $vat + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('vat')] + #[\Speakeasy\Serializer\Annotation\SkipWhenNull] + public ?float $vat = null; + + /** + * Tax amount for the invoice + * + * @var ?float $tax + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('tax')] + #[\Speakeasy\Serializer\Annotation\SkipWhenNull] + public ?float $tax = null; + + /** + * Discount applied to the invoice + * + * @var ?float $discount + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('discount')] + #[\Speakeasy\Serializer\Annotation\SkipWhenNull] + public ?float $discount = null; + + /** + * Total amount of the invoice + * + * @var ?float $amount + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('amount')] + #[\Speakeasy\Serializer\Annotation\SkipWhenNull] + public ?float $amount = null; + + /** + * @param Template $template + * @param string $customerId + * @param string $dueDate + * @param string $issueDate + * @param DeliveryType $deliveryType + * @param ?FromDetails $fromDetails + * @param ?PaymentDetails $paymentDetails + * @param ?NoteDetails $noteDetails + * @param ?string $invoiceNumber + * @param ?TopBlock $topBlock + * @param ?BottomBlock $bottomBlock + * @param ?array $lineItems + * @param ?\DateTime $scheduledAt + * @param ?string $logoUrl + * @param ?float $vat + * @param ?float $tax + * @param ?float $discount + * @param ?float $amount + * @phpstan-pure + */ + public function __construct(Template $template, string $customerId, string $dueDate, string $issueDate, DeliveryType $deliveryType, ?FromDetails $fromDetails = null, ?PaymentDetails $paymentDetails = null, ?NoteDetails $noteDetails = null, ?string $invoiceNumber = null, ?TopBlock $topBlock = null, ?BottomBlock $bottomBlock = null, ?array $lineItems = null, ?\DateTime $scheduledAt = null, ?string $logoUrl = null, ?float $vat = null, ?float $tax = null, ?float $discount = null, ?float $amount = null) + { + $this->template = $template; + $this->customerId = $customerId; + $this->dueDate = $dueDate; + $this->issueDate = $issueDate; + $this->deliveryType = $deliveryType; + $this->fromDetails = $fromDetails; + $this->paymentDetails = $paymentDetails; + $this->noteDetails = $noteDetails; + $this->invoiceNumber = $invoiceNumber; + $this->topBlock = $topBlock; + $this->bottomBlock = $bottomBlock; + $this->lineItems = $lineItems; + $this->scheduledAt = $scheduledAt; + $this->logoUrl = $logoUrl; + $this->vat = $vat; + $this->tax = $tax; + $this->discount = $discount; + $this->amount = $amount; + } +} \ No newline at end of file diff --git a/src/Models/Operations/CreateInvoiceResponse.php b/src/Models/Operations/CreateInvoiceResponse.php new file mode 100644 index 0000000..800b96b --- /dev/null +++ b/src/Models/Operations/CreateInvoiceResponse.php @@ -0,0 +1,56 @@ +contentType = $contentType; + $this->statusCode = $statusCode; + $this->rawResponse = $rawResponse; + $this->object = $object; + } +} \ No newline at end of file diff --git a/src/Models/Operations/CreateInvoiceResponseBody.php b/src/Models/Operations/CreateInvoiceResponseBody.php new file mode 100644 index 0000000..71a1462 --- /dev/null +++ b/src/Models/Operations/CreateInvoiceResponseBody.php @@ -0,0 +1,82 @@ +id = $id; + $this->status = $status; + $this->createdAt = $createdAt; + $this->updatedAt = $updatedAt; + $this->pdfUrl = $pdfUrl; + $this->previewUrl = $previewUrl; + } +} \ No newline at end of file diff --git a/src/Models/Operations/CreateInvoiceStatus.php b/src/Models/Operations/CreateInvoiceStatus.php new file mode 100644 index 0000000..f4d4121 --- /dev/null +++ b/src/Models/Operations/CreateInvoiceStatus.php @@ -0,0 +1,21 @@ +from = $from; + $this->to = $to; + $this->currency = $currency; + } +} \ No newline at end of file diff --git a/src/Models/Operations/GetBurnRateReportsResponse.php b/src/Models/Operations/GetBurnRateReportsResponse.php new file mode 100644 index 0000000..b1ff692 --- /dev/null +++ b/src/Models/Operations/GetBurnRateReportsResponse.php @@ -0,0 +1,56 @@ + $getBurnRateResponseSchemas + */ + public ?array $getBurnRateResponseSchemas = null; + + /** + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse + * @param ?array $getBurnRateResponseSchemas + * @phpstan-pure + */ + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?array $getBurnRateResponseSchemas = null) + { + $this->contentType = $contentType; + $this->statusCode = $statusCode; + $this->rawResponse = $rawResponse; + $this->getBurnRateResponseSchemas = $getBurnRateResponseSchemas; + } +} \ No newline at end of file diff --git a/src/Models/Operations/GetDocumentPreSignedUrlRequest.php b/src/Models/Operations/GetDocumentPreSignedUrlRequest.php new file mode 100644 index 0000000..11073f9 --- /dev/null +++ b/src/Models/Operations/GetDocumentPreSignedUrlRequest.php @@ -0,0 +1,38 @@ +id = $id; + $this->download = $download; + } +} \ No newline at end of file diff --git a/src/Models/Operations/GetDocumentPreSignedUrlResponse.php b/src/Models/Operations/GetDocumentPreSignedUrlResponse.php new file mode 100644 index 0000000..1bd60e7 --- /dev/null +++ b/src/Models/Operations/GetDocumentPreSignedUrlResponse.php @@ -0,0 +1,56 @@ +contentType = $contentType; + $this->statusCode = $statusCode; + $this->rawResponse = $rawResponse; + $this->object = $object; + } +} \ No newline at end of file diff --git a/src/Models/Operations/GetDocumentPreSignedUrlResponseBody.php b/src/Models/Operations/GetDocumentPreSignedUrlResponseBody.php new file mode 100644 index 0000000..c1ee567 --- /dev/null +++ b/src/Models/Operations/GetDocumentPreSignedUrlResponseBody.php @@ -0,0 +1,51 @@ +url = $url; + $this->expiresAt = $expiresAt; + $this->fileName = $fileName; + } +} \ No newline at end of file diff --git a/src/Models/Operations/GetExpensesReportsRequest.php b/src/Models/Operations/GetExpensesReportsRequest.php new file mode 100644 index 0000000..1e35555 --- /dev/null +++ b/src/Models/Operations/GetExpensesReportsRequest.php @@ -0,0 +1,47 @@ +from = $from; + $this->to = $to; + $this->currency = $currency; + } +} \ No newline at end of file diff --git a/src/Models/Operations/GetExpensesReportsResponse.php b/src/Models/Operations/GetExpensesReportsResponse.php new file mode 100644 index 0000000..3d1923d --- /dev/null +++ b/src/Models/Operations/GetExpensesReportsResponse.php @@ -0,0 +1,56 @@ +contentType = $contentType; + $this->statusCode = $statusCode; + $this->rawResponse = $rawResponse; + $this->getExpensesResponseSchema = $getExpensesResponseSchema; + } +} \ No newline at end of file diff --git a/src/Models/Operations/GetInboxPreSignedUrlRequest.php b/src/Models/Operations/GetInboxPreSignedUrlRequest.php new file mode 100644 index 0000000..7bd3a73 --- /dev/null +++ b/src/Models/Operations/GetInboxPreSignedUrlRequest.php @@ -0,0 +1,38 @@ +id = $id; + $this->download = $download; + } +} \ No newline at end of file diff --git a/src/Models/Operations/GetInboxPreSignedUrlResponse.php b/src/Models/Operations/GetInboxPreSignedUrlResponse.php new file mode 100644 index 0000000..5691c0b --- /dev/null +++ b/src/Models/Operations/GetInboxPreSignedUrlResponse.php @@ -0,0 +1,56 @@ +contentType = $contentType; + $this->statusCode = $statusCode; + $this->rawResponse = $rawResponse; + $this->object = $object; + } +} \ No newline at end of file diff --git a/src/Models/Operations/GetInboxPreSignedUrlResponseBody.php b/src/Models/Operations/GetInboxPreSignedUrlResponseBody.php new file mode 100644 index 0000000..841bbc9 --- /dev/null +++ b/src/Models/Operations/GetInboxPreSignedUrlResponseBody.php @@ -0,0 +1,51 @@ +url = $url; + $this->expiresAt = $expiresAt; + $this->fileName = $fileName; + } +} \ No newline at end of file diff --git a/src/Models/Operations/GetInvoiceByIdResponseBody.php b/src/Models/Operations/GetInvoiceByIdResponseBody.php index 3812fa2..5040c34 100644 --- a/src/Models/Operations/GetInvoiceByIdResponseBody.php +++ b/src/Models/Operations/GetInvoiceByIdResponseBody.php @@ -45,14 +45,6 @@ class GetInvoiceByIdResponseBody #[\Speakeasy\Serializer\Annotation\SerializedName('issueDate')] public string $issueDate; - /** - * Invoice number as shown to the customer - * - * @var string $invoiceNumber - */ - #[\Speakeasy\Serializer\Annotation\SerializedName('invoiceNumber')] - public string $invoiceNumber; - /** * Total amount of the invoice * @@ -69,15 +61,6 @@ class GetInvoiceByIdResponseBody #[\Speakeasy\Serializer\Annotation\SerializedName('currency')] public string $currency; - /** - * Customer details - * - * @var GetInvoiceByIdCustomer $customer - */ - #[\Speakeasy\Serializer\Annotation\SerializedName('customer')] - #[\Speakeasy\Serializer\Annotation\Type('\Midday\Midday\Models\Operations\GetInvoiceByIdCustomer')] - public GetInvoiceByIdCustomer $customer; - /** * Timestamp when the invoice was created (ISO 8601) * @@ -94,6 +77,24 @@ class GetInvoiceByIdResponseBody #[\Speakeasy\Serializer\Annotation\SerializedName('updatedAt')] public string $updatedAt; + /** + * Invoice number as shown to the customer (auto-generated if not provided) + * + * @var ?string $invoiceNumber + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('invoiceNumber')] + #[\Speakeasy\Serializer\Annotation\SkipWhenNull] + public ?string $invoiceNumber = null; + + /** + * Customer details + * + * @var ?GetInvoiceByIdCustomer $customer + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('customer')] + #[\Speakeasy\Serializer\Annotation\Type('\Midday\Midday\Models\Operations\GetInvoiceByIdCustomer|null')] + public ?GetInvoiceByIdCustomer $customer; + /** * Timestamp when the invoice was paid (ISO 8601), or null if unpaid * @@ -182,17 +183,33 @@ class GetInvoiceByIdResponseBody #[\Speakeasy\Serializer\Annotation\SerializedName('sentAt')] public ?string $sentAt; + /** + * URL to download the invoice PDF, or null if not generated + * + * @var ?string $pdfUrl + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('pdfUrl')] + public ?string $pdfUrl; + + /** + * URL to preview the invoice in the browser, or null if not generated + * + * @var ?string $previewUrl + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('previewUrl')] + public ?string $previewUrl; + /** * @param string $id * @param GetInvoiceByIdStatus $status * @param string $dueDate * @param string $issueDate - * @param string $invoiceNumber * @param float $amount * @param string $currency - * @param GetInvoiceByIdCustomer $customer * @param string $createdAt * @param string $updatedAt + * @param ?string $invoiceNumber + * @param ?GetInvoiceByIdCustomer $customer * @param ?string $paidAt * @param ?string $reminderSentAt * @param ?string $note @@ -204,20 +221,22 @@ class GetInvoiceByIdResponseBody * @param ?string $customerName * @param ?string $sentTo * @param ?string $sentAt + * @param ?string $pdfUrl + * @param ?string $previewUrl * @phpstan-pure */ - public function __construct(string $id, GetInvoiceByIdStatus $status, string $dueDate, string $issueDate, string $invoiceNumber, float $amount, string $currency, GetInvoiceByIdCustomer $customer, string $createdAt, string $updatedAt, ?string $paidAt = null, ?string $reminderSentAt = null, ?string $note = null, ?float $vat = null, ?float $tax = null, ?float $discount = null, ?float $subtotal = null, ?string $viewedAt = null, ?string $customerName = null, ?string $sentTo = null, ?string $sentAt = null) + public function __construct(string $id, GetInvoiceByIdStatus $status, string $dueDate, string $issueDate, float $amount, string $currency, string $createdAt, string $updatedAt, ?string $invoiceNumber = null, ?GetInvoiceByIdCustomer $customer = null, ?string $paidAt = null, ?string $reminderSentAt = null, ?string $note = null, ?float $vat = null, ?float $tax = null, ?float $discount = null, ?float $subtotal = null, ?string $viewedAt = null, ?string $customerName = null, ?string $sentTo = null, ?string $sentAt = null, ?string $pdfUrl = null, ?string $previewUrl = null) { $this->id = $id; $this->status = $status; $this->dueDate = $dueDate; $this->issueDate = $issueDate; - $this->invoiceNumber = $invoiceNumber; $this->amount = $amount; $this->currency = $currency; - $this->customer = $customer; $this->createdAt = $createdAt; $this->updatedAt = $updatedAt; + $this->invoiceNumber = $invoiceNumber; + $this->customer = $customer; $this->paidAt = $paidAt; $this->reminderSentAt = $reminderSentAt; $this->note = $note; @@ -229,5 +248,7 @@ public function __construct(string $id, GetInvoiceByIdStatus $status, string $du $this->customerName = $customerName; $this->sentTo = $sentTo; $this->sentAt = $sentAt; + $this->pdfUrl = $pdfUrl; + $this->previewUrl = $previewUrl; } } \ No newline at end of file diff --git a/src/Models/Operations/GetOAuthAuthorizationRequest.php b/src/Models/Operations/GetOAuthAuthorizationRequest.php new file mode 100644 index 0000000..849e632 --- /dev/null +++ b/src/Models/Operations/GetOAuthAuthorizationRequest.php @@ -0,0 +1,75 @@ +responseType = $responseType; + $this->clientId = $clientId; + $this->redirectUri = $redirectUri; + $this->scope = $scope; + $this->state = $state; + $this->codeChallenge = $codeChallenge; + } +} \ No newline at end of file diff --git a/src/Models/Operations/GetOAuthAuthorizationResponse.php b/src/Models/Operations/GetOAuthAuthorizationResponse.php new file mode 100644 index 0000000..9c10979 --- /dev/null +++ b/src/Models/Operations/GetOAuthAuthorizationResponse.php @@ -0,0 +1,56 @@ +contentType = $contentType; + $this->statusCode = $statusCode; + $this->rawResponse = $rawResponse; + $this->object = $object; + } +} \ No newline at end of file diff --git a/src/Models/Operations/GetOAuthAuthorizationResponseBody.php b/src/Models/Operations/GetOAuthAuthorizationResponseBody.php new file mode 100644 index 0000000..044eb5a --- /dev/null +++ b/src/Models/Operations/GetOAuthAuthorizationResponseBody.php @@ -0,0 +1,165 @@ + $screenshots + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('screenshots')] + #[\Speakeasy\Serializer\Annotation\Type('array')] + public array $screenshots; + + /** + * Client ID + * + * @var string $clientId + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('clientId')] + public string $clientId; + + /** + * Requested scopes + * + * @var array $scopes + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('scopes')] + #[\Speakeasy\Serializer\Annotation\Type('array')] + public array $scopes; + + /** + * Redirect URI + * + * @var string $redirectUri + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('redirectUri')] + public string $redirectUri; + + /** + * Application verification status + * + * @var GetOAuthAuthorizationStatus $status + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('status')] + #[\Speakeasy\Serializer\Annotation\Type('\Midday\Midday\Models\Operations\GetOAuthAuthorizationStatus')] + public GetOAuthAuthorizationStatus $status; + + /** + * Application description + * + * @var ?string $description + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('description')] + public ?string $description; + + /** + * Application overview + * + * @var ?string $overview + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('overview')] + public ?string $overview; + + /** + * The person or company developing this application + * + * @var ?string $developerName + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('developerName')] + public ?string $developerName; + + /** + * Application logo URL + * + * @var ?string $logoUrl + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('logoUrl')] + public ?string $logoUrl; + + /** + * Application website + * + * @var ?string $website + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('website')] + public ?string $website; + + /** + * An optional URL for installing the application + * + * @var ?string $installUrl + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('installUrl')] + public ?string $installUrl; + + /** + * State parameter (min 32 chars, alphanumeric + _.-) + * + * @var ?string $state + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('state')] + #[\Speakeasy\Serializer\Annotation\SkipWhenNull] + public ?string $state = null; + + /** + * @param string $id + * @param string $name + * @param array $screenshots + * @param string $clientId + * @param array $scopes + * @param string $redirectUri + * @param GetOAuthAuthorizationStatus $status + * @param ?string $description + * @param ?string $overview + * @param ?string $developerName + * @param ?string $logoUrl + * @param ?string $website + * @param ?string $installUrl + * @param ?string $state + * @phpstan-pure + */ + public function __construct(string $id, string $name, array $screenshots, string $clientId, array $scopes, string $redirectUri, GetOAuthAuthorizationStatus $status, ?string $description = null, ?string $overview = null, ?string $developerName = null, ?string $logoUrl = null, ?string $website = null, ?string $installUrl = null, ?string $state = null) + { + $this->id = $id; + $this->name = $name; + $this->screenshots = $screenshots; + $this->clientId = $clientId; + $this->scopes = $scopes; + $this->redirectUri = $redirectUri; + $this->status = $status; + $this->description = $description; + $this->overview = $overview; + $this->developerName = $developerName; + $this->logoUrl = $logoUrl; + $this->website = $website; + $this->installUrl = $installUrl; + $this->state = $state; + } +} \ No newline at end of file diff --git a/src/Models/Operations/GetOAuthAuthorizationStatus.php b/src/Models/Operations/GetOAuthAuthorizationStatus.php new file mode 100644 index 0000000..c4bc488 --- /dev/null +++ b/src/Models/Operations/GetOAuthAuthorizationStatus.php @@ -0,0 +1,19 @@ +from = $from; + $this->to = $to; + $this->currency = $currency; + } +} \ No newline at end of file diff --git a/src/Models/Operations/GetProfitReportsResponse.php b/src/Models/Operations/GetProfitReportsResponse.php new file mode 100644 index 0000000..f605eee --- /dev/null +++ b/src/Models/Operations/GetProfitReportsResponse.php @@ -0,0 +1,56 @@ +contentType = $contentType; + $this->statusCode = $statusCode; + $this->rawResponse = $rawResponse; + $this->getProfitResponseSchema = $getProfitResponseSchema; + } +} \ No newline at end of file diff --git a/src/Models/Operations/GetRevenueReportsRequest.php b/src/Models/Operations/GetRevenueReportsRequest.php new file mode 100644 index 0000000..6c384c4 --- /dev/null +++ b/src/Models/Operations/GetRevenueReportsRequest.php @@ -0,0 +1,47 @@ +from = $from; + $this->to = $to; + $this->currency = $currency; + } +} \ No newline at end of file diff --git a/src/Models/Operations/GetRevenueReportsResponse.php b/src/Models/Operations/GetRevenueReportsResponse.php new file mode 100644 index 0000000..c36caf2 --- /dev/null +++ b/src/Models/Operations/GetRevenueReportsResponse.php @@ -0,0 +1,56 @@ +contentType = $contentType; + $this->statusCode = $statusCode; + $this->rawResponse = $rawResponse; + $this->getRevenueResponseSchema = $getRevenueResponseSchema; + } +} \ No newline at end of file diff --git a/src/Models/Operations/GetRunwayReportsRequest.php b/src/Models/Operations/GetRunwayReportsRequest.php new file mode 100644 index 0000000..7425eed --- /dev/null +++ b/src/Models/Operations/GetRunwayReportsRequest.php @@ -0,0 +1,47 @@ +from = $from; + $this->to = $to; + $this->currency = $currency; + } +} \ No newline at end of file diff --git a/src/Models/Operations/GetRunwayReportsResponse.php b/src/Models/Operations/GetRunwayReportsResponse.php new file mode 100644 index 0000000..d4e7fc7 --- /dev/null +++ b/src/Models/Operations/GetRunwayReportsResponse.php @@ -0,0 +1,56 @@ +contentType = $contentType; + $this->statusCode = $statusCode; + $this->rawResponse = $rawResponse; + $this->getRunwayResponseSchema = $getRunwayResponseSchema; + } +} \ No newline at end of file diff --git a/src/Models/Operations/GetSpendingReportsRequest.php b/src/Models/Operations/GetSpendingReportsRequest.php new file mode 100644 index 0000000..0384476 --- /dev/null +++ b/src/Models/Operations/GetSpendingReportsRequest.php @@ -0,0 +1,47 @@ +from = $from; + $this->to = $to; + $this->currency = $currency; + } +} \ No newline at end of file diff --git a/src/Models/Operations/GetSpendingReportsResponse.php b/src/Models/Operations/GetSpendingReportsResponse.php new file mode 100644 index 0000000..f47b6db --- /dev/null +++ b/src/Models/Operations/GetSpendingReportsResponse.php @@ -0,0 +1,56 @@ + $spendingResultArray + */ + public ?array $spendingResultArray = null; + + /** + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse + * @param ?array $spendingResultArray + * @phpstan-pure + */ + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?array $spendingResultArray = null) + { + $this->contentType = $contentType; + $this->statusCode = $statusCode; + $this->rawResponse = $rawResponse; + $this->spendingResultArray = $spendingResultArray; + } +} \ No newline at end of file diff --git a/src/Models/Operations/GetTransactionAttachmentPreSignedUrlRequest.php b/src/Models/Operations/GetTransactionAttachmentPreSignedUrlRequest.php new file mode 100644 index 0000000..a735dd2 --- /dev/null +++ b/src/Models/Operations/GetTransactionAttachmentPreSignedUrlRequest.php @@ -0,0 +1,47 @@ +transactionId = $transactionId; + $this->attachmentId = $attachmentId; + $this->download = $download; + } +} \ No newline at end of file diff --git a/src/Models/Operations/GetTransactionAttachmentPreSignedUrlResponse.php b/src/Models/Operations/GetTransactionAttachmentPreSignedUrlResponse.php new file mode 100644 index 0000000..1b0d4e4 --- /dev/null +++ b/src/Models/Operations/GetTransactionAttachmentPreSignedUrlResponse.php @@ -0,0 +1,56 @@ +contentType = $contentType; + $this->statusCode = $statusCode; + $this->rawResponse = $rawResponse; + $this->object = $object; + } +} \ No newline at end of file diff --git a/src/Models/Operations/GetTransactionAttachmentPreSignedUrlResponseBody.php b/src/Models/Operations/GetTransactionAttachmentPreSignedUrlResponseBody.php new file mode 100644 index 0000000..1c1bda6 --- /dev/null +++ b/src/Models/Operations/GetTransactionAttachmentPreSignedUrlResponseBody.php @@ -0,0 +1,51 @@ +url = $url; + $this->expiresAt = $expiresAt; + $this->fileName = $fileName; + } +} \ No newline at end of file diff --git a/src/Models/Operations/GrantTypeAuthorizationCode.php b/src/Models/Operations/GrantTypeAuthorizationCode.php new file mode 100644 index 0000000..d20980a --- /dev/null +++ b/src/Models/Operations/GrantTypeAuthorizationCode.php @@ -0,0 +1,16 @@ +quantity = $quantity; + $this->price = $price; + $this->name = $name; + $this->unit = $unit; + $this->vat = $vat; + $this->tax = $tax; + } +} \ No newline at end of file diff --git a/src/Models/Operations/ListInboxItemsStatus.php b/src/Models/Operations/ListInboxItemsStatus.php index ab5fedb..1198e5a 100644 --- a/src/Models/Operations/ListInboxItemsStatus.php +++ b/src/Models/Operations/ListInboxItemsStatus.php @@ -14,4 +14,5 @@ enum ListInboxItemsStatus: string { case Done = 'done'; case Pending = 'pending'; + case SuggestedMatch = 'suggested_match'; } diff --git a/src/Models/Operations/ListInvoicesData.php b/src/Models/Operations/ListInvoicesData.php index 812241c..caaa804 100644 --- a/src/Models/Operations/ListInvoicesData.php +++ b/src/Models/Operations/ListInvoicesData.php @@ -45,14 +45,6 @@ class ListInvoicesData #[\Speakeasy\Serializer\Annotation\SerializedName('issueDate')] public string $issueDate; - /** - * Invoice number as shown to the customer - * - * @var string $invoiceNumber - */ - #[\Speakeasy\Serializer\Annotation\SerializedName('invoiceNumber')] - public string $invoiceNumber; - /** * Total amount of the invoice * @@ -69,15 +61,6 @@ class ListInvoicesData #[\Speakeasy\Serializer\Annotation\SerializedName('currency')] public string $currency; - /** - * Customer details - * - * @var ListInvoicesCustomer $customer - */ - #[\Speakeasy\Serializer\Annotation\SerializedName('customer')] - #[\Speakeasy\Serializer\Annotation\Type('\Midday\Midday\Models\Operations\ListInvoicesCustomer')] - public ListInvoicesCustomer $customer; - /** * Timestamp when the invoice was created (ISO 8601) * @@ -94,6 +77,24 @@ class ListInvoicesData #[\Speakeasy\Serializer\Annotation\SerializedName('updatedAt')] public string $updatedAt; + /** + * Invoice number as shown to the customer (auto-generated if not provided) + * + * @var ?string $invoiceNumber + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('invoiceNumber')] + #[\Speakeasy\Serializer\Annotation\SkipWhenNull] + public ?string $invoiceNumber = null; + + /** + * Customer details + * + * @var ?ListInvoicesCustomer $customer + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('customer')] + #[\Speakeasy\Serializer\Annotation\Type('\Midday\Midday\Models\Operations\ListInvoicesCustomer|null')] + public ?ListInvoicesCustomer $customer; + /** * Timestamp when the invoice was paid (ISO 8601), or null if unpaid * @@ -182,17 +183,33 @@ class ListInvoicesData #[\Speakeasy\Serializer\Annotation\SerializedName('sentAt')] public ?string $sentAt; + /** + * URL to download the invoice PDF, or null if not generated + * + * @var ?string $pdfUrl + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('pdfUrl')] + public ?string $pdfUrl; + + /** + * URL to preview the invoice in the browser, or null if not generated + * + * @var ?string $previewUrl + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('previewUrl')] + public ?string $previewUrl; + /** * @param string $id * @param ListInvoicesStatus $status * @param string $dueDate * @param string $issueDate - * @param string $invoiceNumber * @param float $amount * @param string $currency - * @param ListInvoicesCustomer $customer * @param string $createdAt * @param string $updatedAt + * @param ?string $invoiceNumber + * @param ?ListInvoicesCustomer $customer * @param ?string $paidAt * @param ?string $reminderSentAt * @param ?string $note @@ -204,20 +221,22 @@ class ListInvoicesData * @param ?string $customerName * @param ?string $sentTo * @param ?string $sentAt + * @param ?string $pdfUrl + * @param ?string $previewUrl * @phpstan-pure */ - public function __construct(string $id, ListInvoicesStatus $status, string $dueDate, string $issueDate, string $invoiceNumber, float $amount, string $currency, ListInvoicesCustomer $customer, string $createdAt, string $updatedAt, ?string $paidAt = null, ?string $reminderSentAt = null, ?string $note = null, ?float $vat = null, ?float $tax = null, ?float $discount = null, ?float $subtotal = null, ?string $viewedAt = null, ?string $customerName = null, ?string $sentTo = null, ?string $sentAt = null) + public function __construct(string $id, ListInvoicesStatus $status, string $dueDate, string $issueDate, float $amount, string $currency, string $createdAt, string $updatedAt, ?string $invoiceNumber = null, ?ListInvoicesCustomer $customer = null, ?string $paidAt = null, ?string $reminderSentAt = null, ?string $note = null, ?float $vat = null, ?float $tax = null, ?float $discount = null, ?float $subtotal = null, ?string $viewedAt = null, ?string $customerName = null, ?string $sentTo = null, ?string $sentAt = null, ?string $pdfUrl = null, ?string $previewUrl = null) { $this->id = $id; $this->status = $status; $this->dueDate = $dueDate; $this->issueDate = $issueDate; - $this->invoiceNumber = $invoiceNumber; $this->amount = $amount; $this->currency = $currency; - $this->customer = $customer; $this->createdAt = $createdAt; $this->updatedAt = $updatedAt; + $this->invoiceNumber = $invoiceNumber; + $this->customer = $customer; $this->paidAt = $paidAt; $this->reminderSentAt = $reminderSentAt; $this->note = $note; @@ -229,5 +248,7 @@ public function __construct(string $id, ListInvoicesStatus $status, string $dueD $this->customerName = $customerName; $this->sentTo = $sentTo; $this->sentAt = $sentAt; + $this->pdfUrl = $pdfUrl; + $this->previewUrl = $previewUrl; } } \ No newline at end of file diff --git a/src/Models/Operations/ListNotificationsRequest.php b/src/Models/Operations/ListNotificationsRequest.php new file mode 100644 index 0000000..80bc3af --- /dev/null +++ b/src/Models/Operations/ListNotificationsRequest.php @@ -0,0 +1,75 @@ +|null $status + */ + #[SpeakeasyMetadata('queryParam:style=form,explode=true,name=status')] + public ListNotificationsStatusEnum1|array|null $status = null; + + /** + * + * @var ?string $cursor + */ + #[SpeakeasyMetadata('queryParam:style=form,explode=true,name=cursor')] + public ?string $cursor = null; + + /** + * + * @var ?string $userId + */ + #[SpeakeasyMetadata('queryParam:style=form,explode=true,name=userId')] + public ?string $userId = null; + + /** + * + * @var ?int $priority + */ + #[SpeakeasyMetadata('queryParam:style=form,explode=true,name=priority')] + public ?int $priority = null; + + /** + * + * @var ?int $maxPriority + */ + #[SpeakeasyMetadata('queryParam:style=form,explode=true,name=maxPriority')] + public ?int $maxPriority = null; + + /** + * @param ?float $pageSize + * @param ListNotificationsStatusEnum1|array|null $status + * @param ?string $cursor + * @param ?string $userId + * @param ?int $priority + * @param ?int $maxPriority + * @phpstan-pure + */ + public function __construct(?float $pageSize = null, ListNotificationsStatusEnum1|array|null $status = null, ?string $cursor = null, ?string $userId = null, ?int $priority = null, ?int $maxPriority = null) + { + $this->pageSize = $pageSize; + $this->status = $status; + $this->cursor = $cursor; + $this->userId = $userId; + $this->priority = $priority; + $this->maxPriority = $maxPriority; + } +} \ No newline at end of file diff --git a/src/Models/Operations/ListNotificationsResponse.php b/src/Models/Operations/ListNotificationsResponse.php new file mode 100644 index 0000000..86e7a23 --- /dev/null +++ b/src/Models/Operations/ListNotificationsResponse.php @@ -0,0 +1,56 @@ +contentType = $contentType; + $this->statusCode = $statusCode; + $this->rawResponse = $rawResponse; + $this->notificationsResponseSchema = $notificationsResponseSchema; + } +} \ No newline at end of file diff --git a/src/Models/Operations/ListNotificationsStatusEnum1.php b/src/Models/Operations/ListNotificationsStatusEnum1.php new file mode 100644 index 0000000..3777572 --- /dev/null +++ b/src/Models/Operations/ListNotificationsStatusEnum1.php @@ -0,0 +1,17 @@ + $scopes + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('scopes')] + #[\Speakeasy\Serializer\Annotation\Type('array<\Midday\Midday\Models\Operations\Scope>')] + public array $scopes; + + /** + * Redirect URI for OAuth callback + * + * @var string $redirectUri + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('redirect_uri')] + public string $redirectUri; + + /** + * State parameter for CSRF protection (min 32 chars, alphanumeric + _.-) + * + * @var string $state + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('state')] + public string $state; + + /** + * Team ID to authorize the application for + * + * @var string $teamId + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('teamId')] + public string $teamId; + + /** + * Code challenge for PKCE (S256 method assumed) + * + * @var ?string $codeChallenge + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('code_challenge')] + #[\Speakeasy\Serializer\Annotation\SkipWhenNull] + public ?string $codeChallenge = null; + + /** + * @param string $clientId + * @param Decision $decision + * @param array $scopes + * @param string $redirectUri + * @param string $state + * @param string $teamId + * @param ?string $codeChallenge + * @phpstan-pure + */ + public function __construct(string $clientId, Decision $decision, array $scopes, string $redirectUri, string $state, string $teamId, ?string $codeChallenge = null) + { + $this->clientId = $clientId; + $this->decision = $decision; + $this->scopes = $scopes; + $this->redirectUri = $redirectUri; + $this->state = $state; + $this->teamId = $teamId; + $this->codeChallenge = $codeChallenge; + } +} \ No newline at end of file diff --git a/src/Models/Operations/PostOAuthAuthorizationResponse.php b/src/Models/Operations/PostOAuthAuthorizationResponse.php new file mode 100644 index 0000000..6ecf43d --- /dev/null +++ b/src/Models/Operations/PostOAuthAuthorizationResponse.php @@ -0,0 +1,56 @@ +contentType = $contentType; + $this->statusCode = $statusCode; + $this->rawResponse = $rawResponse; + $this->object = $object; + } +} \ No newline at end of file diff --git a/src/Models/Operations/PostOAuthAuthorizationResponseBody.php b/src/Models/Operations/PostOAuthAuthorizationResponseBody.php new file mode 100644 index 0000000..4382365 --- /dev/null +++ b/src/Models/Operations/PostOAuthAuthorizationResponseBody.php @@ -0,0 +1,30 @@ +redirectUrl = $redirectUrl; + } +} \ No newline at end of file diff --git a/src/Models/Operations/PostOAuthRevokeRequest.php b/src/Models/Operations/PostOAuthRevokeRequest.php new file mode 100644 index 0000000..d13ebf9 --- /dev/null +++ b/src/Models/Operations/PostOAuthRevokeRequest.php @@ -0,0 +1,63 @@ +token = $token; + $this->clientId = $clientId; + $this->tokenTypeHint = $tokenTypeHint; + $this->clientSecret = $clientSecret; + } +} \ No newline at end of file diff --git a/src/Models/Operations/PostOAuthRevokeResponse.php b/src/Models/Operations/PostOAuthRevokeResponse.php new file mode 100644 index 0000000..cf300b6 --- /dev/null +++ b/src/Models/Operations/PostOAuthRevokeResponse.php @@ -0,0 +1,56 @@ +contentType = $contentType; + $this->statusCode = $statusCode; + $this->rawResponse = $rawResponse; + $this->object = $object; + } +} \ No newline at end of file diff --git a/src/Models/Operations/PostOAuthRevokeResponseBody.php b/src/Models/Operations/PostOAuthRevokeResponseBody.php new file mode 100644 index 0000000..56e9503 --- /dev/null +++ b/src/Models/Operations/PostOAuthRevokeResponseBody.php @@ -0,0 +1,30 @@ +success = $success; + } +} \ No newline at end of file diff --git a/src/Models/Operations/PostOAuthTokenResponse.php b/src/Models/Operations/PostOAuthTokenResponse.php new file mode 100644 index 0000000..12efcc9 --- /dev/null +++ b/src/Models/Operations/PostOAuthTokenResponse.php @@ -0,0 +1,56 @@ +contentType = $contentType; + $this->statusCode = $statusCode; + $this->rawResponse = $rawResponse; + $this->object = $object; + } +} \ No newline at end of file diff --git a/src/Models/Operations/PostOAuthTokenResponseBody.php b/src/Models/Operations/PostOAuthTokenResponseBody.php new file mode 100644 index 0000000..12af3c1 --- /dev/null +++ b/src/Models/Operations/PostOAuthTokenResponseBody.php @@ -0,0 +1,72 @@ +accessToken = $accessToken; + $this->tokenType = $tokenType; + $this->expiresIn = $expiresIn; + $this->refreshToken = $refreshToken; + $this->scope = $scope; + } +} \ No newline at end of file diff --git a/src/Models/Operations/RefreshToken.php b/src/Models/Operations/RefreshToken.php new file mode 100644 index 0000000..686a933 --- /dev/null +++ b/src/Models/Operations/RefreshToken.php @@ -0,0 +1,73 @@ +grantType = $grantType; + $this->refreshToken = $refreshToken; + $this->clientId = $clientId; + $this->clientSecret = $clientSecret; + $this->scope = $scope; + } +} \ No newline at end of file diff --git a/src/Models/Operations/ResponseType.php b/src/Models/Operations/ResponseType.php new file mode 100644 index 0000000..fc66769 --- /dev/null +++ b/src/Models/Operations/ResponseType.php @@ -0,0 +1,16 @@ +customerLabel = $customerLabel; + $this->title = $title; + $this->fromLabel = $fromLabel; + $this->invoiceNoLabel = $invoiceNoLabel; + $this->issueDateLabel = $issueDateLabel; + $this->dueDateLabel = $dueDateLabel; + $this->descriptionLabel = $descriptionLabel; + $this->priceLabel = $priceLabel; + $this->quantityLabel = $quantityLabel; + $this->totalLabel = $totalLabel; + $this->totalSummaryLabel = $totalSummaryLabel; + $this->vatLabel = $vatLabel; + $this->subtotalLabel = $subtotalLabel; + $this->taxLabel = $taxLabel; + $this->discountLabel = $discountLabel; + $this->timezone = $timezone; + $this->paymentLabel = $paymentLabel; + $this->noteLabel = $noteLabel; + $this->currency = $currency; + $this->dateFormat = $dateFormat; + $this->includeVat = $includeVat; + $this->includeTax = $includeTax; + $this->includeDiscount = $includeDiscount; + $this->includeDecimals = $includeDecimals; + $this->includePdf = $includePdf; + $this->sendCopy = $sendCopy; + $this->includeUnits = $includeUnits; + $this->includeQr = $includeQr; + $this->taxRate = $taxRate; + $this->vatRate = $vatRate; + $this->size = $size; + $this->deliveryType = $deliveryType; + $this->locale = $locale; + $this->paymentDetails = $paymentDetails; + $this->fromDetails = $fromDetails; + $this->logoUrl = $logoUrl; + } +} \ No newline at end of file diff --git a/src/Models/Operations/TemplateDeliveryType.php b/src/Models/Operations/TemplateDeliveryType.php new file mode 100644 index 0000000..5bf7a7b --- /dev/null +++ b/src/Models/Operations/TemplateDeliveryType.php @@ -0,0 +1,17 @@ +contentType = $contentType; + $this->statusCode = $statusCode; + $this->rawResponse = $rawResponse; + $this->updateAllNotificationsStatusResponseSchema = $updateAllNotificationsStatusResponseSchema; + } +} \ No newline at end of file diff --git a/src/Models/Operations/UpdateInboxItemStatus.php b/src/Models/Operations/UpdateInboxItemStatus.php index e645773..b8ba756 100644 --- a/src/Models/Operations/UpdateInboxItemStatus.php +++ b/src/Models/Operations/UpdateInboxItemStatus.php @@ -16,4 +16,7 @@ enum UpdateInboxItemStatus: string case Processing = 'processing'; case Done = 'done'; case Pending = 'pending'; + case Deleted = 'deleted'; + case Analyzing = 'analyzing'; + case SuggestedMatch = 'suggested_match'; } diff --git a/src/Models/Operations/UpdateInvoiceCustomer.php b/src/Models/Operations/UpdateInvoiceCustomer.php new file mode 100644 index 0000000..4d3825e --- /dev/null +++ b/src/Models/Operations/UpdateInvoiceCustomer.php @@ -0,0 +1,61 @@ +id = $id; + $this->name = $name; + $this->website = $website; + $this->email = $email; + } +} \ No newline at end of file diff --git a/src/Models/Operations/UpdateInvoiceRequest.php b/src/Models/Operations/UpdateInvoiceRequest.php new file mode 100644 index 0000000..0025ead --- /dev/null +++ b/src/Models/Operations/UpdateInvoiceRequest.php @@ -0,0 +1,38 @@ +id = $id; + $this->requestBody = $requestBody; + } +} \ No newline at end of file diff --git a/src/Models/Operations/UpdateInvoiceRequestBody.php b/src/Models/Operations/UpdateInvoiceRequestBody.php new file mode 100644 index 0000000..db7b18b --- /dev/null +++ b/src/Models/Operations/UpdateInvoiceRequestBody.php @@ -0,0 +1,55 @@ +status = $status; + $this->paidAt = $paidAt; + $this->internalNote = $internalNote; + } +} \ No newline at end of file diff --git a/src/Models/Operations/UpdateInvoiceResponse.php b/src/Models/Operations/UpdateInvoiceResponse.php new file mode 100644 index 0000000..4609422 --- /dev/null +++ b/src/Models/Operations/UpdateInvoiceResponse.php @@ -0,0 +1,56 @@ +contentType = $contentType; + $this->statusCode = $statusCode; + $this->rawResponse = $rawResponse; + $this->object = $object; + } +} \ No newline at end of file diff --git a/src/Models/Operations/UpdateInvoiceResponseBody.php b/src/Models/Operations/UpdateInvoiceResponseBody.php new file mode 100644 index 0000000..dd914c2 --- /dev/null +++ b/src/Models/Operations/UpdateInvoiceResponseBody.php @@ -0,0 +1,254 @@ +id = $id; + $this->status = $status; + $this->dueDate = $dueDate; + $this->issueDate = $issueDate; + $this->amount = $amount; + $this->currency = $currency; + $this->createdAt = $createdAt; + $this->updatedAt = $updatedAt; + $this->invoiceNumber = $invoiceNumber; + $this->customer = $customer; + $this->paidAt = $paidAt; + $this->reminderSentAt = $reminderSentAt; + $this->note = $note; + $this->vat = $vat; + $this->tax = $tax; + $this->discount = $discount; + $this->subtotal = $subtotal; + $this->viewedAt = $viewedAt; + $this->customerName = $customerName; + $this->sentTo = $sentTo; + $this->sentAt = $sentAt; + $this->pdfUrl = $pdfUrl; + $this->previewUrl = $previewUrl; + } +} \ No newline at end of file diff --git a/src/Models/Operations/UpdateInvoiceStatusRequest.php b/src/Models/Operations/UpdateInvoiceStatusRequest.php new file mode 100644 index 0000000..cb2e8de --- /dev/null +++ b/src/Models/Operations/UpdateInvoiceStatusRequest.php @@ -0,0 +1,20 @@ +notificationId = $notificationId; + $this->requestBody = $requestBody; + } +} \ No newline at end of file diff --git a/src/Models/Operations/UpdateNotificationStatusRequestBody.php b/src/Models/Operations/UpdateNotificationStatusRequestBody.php new file mode 100644 index 0000000..62ebd84 --- /dev/null +++ b/src/Models/Operations/UpdateNotificationStatusRequestBody.php @@ -0,0 +1,31 @@ +status = $status; + } +} \ No newline at end of file diff --git a/src/Models/Operations/UpdateNotificationStatusResponse.php b/src/Models/Operations/UpdateNotificationStatusResponse.php new file mode 100644 index 0000000..f6353dd --- /dev/null +++ b/src/Models/Operations/UpdateNotificationStatusResponse.php @@ -0,0 +1,56 @@ +contentType = $contentType; + $this->statusCode = $statusCode; + $this->rawResponse = $rawResponse; + $this->notificationResponseSchema = $notificationResponseSchema; + } +} \ No newline at end of file diff --git a/src/Models/Operations/UpdateNotificationStatusStatus.php b/src/Models/Operations/UpdateNotificationStatusStatus.php new file mode 100644 index 0000000..b201dd4 --- /dev/null +++ b/src/Models/Operations/UpdateNotificationStatusStatus.php @@ -0,0 +1,18 @@ +sdkConfiguration = $sdkConfig; + } + /** + * @param string $baseUrl + * @param array $urlVariables + * + * @return string + */ + public function getUrl(string $baseUrl, array $urlVariables): string + { + $serverDetails = $this->sdkConfiguration->getServerDetails(); + + if ($baseUrl == null) { + $baseUrl = $serverDetails->baseUrl; + } + + if ($urlVariables == null) { + $urlVariables = $serverDetails->options; + } + + return Utils\Utils::templateUrl($baseUrl, $urlVariables); + } + + /** + * List all notifications + * + * Retrieve a list of notifications for the authenticated team. + * + * @param ?Operations\ListNotificationsRequest $request + * @return Operations\ListNotificationsResponse + * @throws \Midday\Midday\Models\Errors\APIException + */ + public function list(?Operations\ListNotificationsRequest $request = null, ?Options $options = null): Operations\ListNotificationsResponse + { + $baseUrl = $this->sdkConfiguration->getTemplatedServerUrl(); + $url = Utils\Utils::generateUrl($baseUrl, '/notifications'); + $urlOverride = null; + $httpOptions = ['http_errors' => false]; + + $qp = Utils\Utils::getQueryParams(Operations\ListNotificationsRequest::class, $request, $urlOverride); + $httpOptions['headers']['Accept'] = 'application/json'; + $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; + $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'listNotifications', null, $this->sdkConfiguration->securitySource); + $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); + $httpOptions['query'] = Utils\QueryParameters::standardizeQueryParams($httpRequest, $qp); + $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); + $httpRequest = Utils\Utils::removeHeaders($httpRequest); + try { + $httpResponse = $this->sdkConfiguration->client->send($httpRequest, $httpOptions); + } catch (\GuzzleHttp\Exception\GuzzleException $error) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), null, $error); + $httpResponse = $res; + } + $contentType = $httpResponse->getHeader('Content-Type')[0] ?? ''; + + $statusCode = $httpResponse->getStatusCode(); + if (Utils\Utils::matchStatusCodes($statusCode, ['4XX', '5XX'])) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), $httpResponse, null); + $httpResponse = $res; + } + if (Utils\Utils::matchStatusCodes($statusCode, ['200'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Components\NotificationsResponseSchema', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $response = new Operations\ListNotificationsResponse( + statusCode: $statusCode, + contentType: $contentType, + rawResponse: $httpResponse, + notificationsResponseSchema: $obj); + + return $response; + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['4XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['5XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } + + /** + * Update status of all notifications + * + * Update the status of all notifications for the authenticated team. + * + * @param ?Components\UpdateAllNotificationsStatusSchema $request + * @return Operations\UpdateAllNotificationsStatusResponse + * @throws \Midday\Midday\Models\Errors\APIException + */ + public function updateAllStatus(?Components\UpdateAllNotificationsStatusSchema $request = null, ?Options $options = null): Operations\UpdateAllNotificationsStatusResponse + { + $baseUrl = $this->sdkConfiguration->getTemplatedServerUrl(); + $url = Utils\Utils::generateUrl($baseUrl, '/notifications/update-all-status'); + $urlOverride = null; + $httpOptions = ['http_errors' => false]; + $body = Utils\Utils::serializeRequestBody($request, 'request', 'json'); + if ($body !== null) { + $httpOptions = array_merge_recursive($httpOptions, $body); + } + $httpOptions['headers']['Accept'] = 'application/json'; + $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; + $httpRequest = new \GuzzleHttp\Psr7\Request('POST', $url); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'updateAllNotificationsStatus', null, $this->sdkConfiguration->securitySource); + $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); + $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); + $httpRequest = Utils\Utils::removeHeaders($httpRequest); + try { + $httpResponse = $this->sdkConfiguration->client->send($httpRequest, $httpOptions); + } catch (\GuzzleHttp\Exception\GuzzleException $error) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), null, $error); + $httpResponse = $res; + } + $contentType = $httpResponse->getHeader('Content-Type')[0] ?? ''; + + $statusCode = $httpResponse->getStatusCode(); + if (Utils\Utils::matchStatusCodes($statusCode, ['4XX', '5XX'])) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), $httpResponse, null); + $httpResponse = $res; + } + if (Utils\Utils::matchStatusCodes($statusCode, ['200'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Components\UpdateAllNotificationsStatusResponseSchema', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $response = new Operations\UpdateAllNotificationsStatusResponse( + statusCode: $statusCode, + contentType: $contentType, + rawResponse: $httpResponse, + updateAllNotificationsStatusResponseSchema: $obj); + + return $response; + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['4XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['5XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } + + /** + * Update notification status + * + * Update the status of a specific notification. + * + * @param string $notificationId + * @param ?Operations\UpdateNotificationStatusRequestBody $requestBody + * @return Operations\UpdateNotificationStatusResponse + * @throws \Midday\Midday\Models\Errors\APIException + */ + public function updateStatus(string $notificationId, ?Operations\UpdateNotificationStatusRequestBody $requestBody = null, ?Options $options = null): Operations\UpdateNotificationStatusResponse + { + $request = new Operations\UpdateNotificationStatusRequest( + notificationId: $notificationId, + requestBody: $requestBody, + ); + $baseUrl = $this->sdkConfiguration->getTemplatedServerUrl(); + $url = Utils\Utils::generateUrl($baseUrl, '/notifications/{notificationId}/status', Operations\UpdateNotificationStatusRequest::class, $request); + $urlOverride = null; + $httpOptions = ['http_errors' => false]; + $body = Utils\Utils::serializeRequestBody($request, 'requestBody', 'json'); + if ($body !== null) { + $httpOptions = array_merge_recursive($httpOptions, $body); + } + $httpOptions['headers']['Accept'] = 'application/json'; + $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; + $httpRequest = new \GuzzleHttp\Psr7\Request('PATCH', $url); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'updateNotificationStatus', null, $this->sdkConfiguration->securitySource); + $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); + $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); + $httpRequest = Utils\Utils::removeHeaders($httpRequest); + try { + $httpResponse = $this->sdkConfiguration->client->send($httpRequest, $httpOptions); + } catch (\GuzzleHttp\Exception\GuzzleException $error) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), null, $error); + $httpResponse = $res; + } + $contentType = $httpResponse->getHeader('Content-Type')[0] ?? ''; + + $statusCode = $httpResponse->getStatusCode(); + if (Utils\Utils::matchStatusCodes($statusCode, ['4XX', '5XX'])) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), $httpResponse, null); + $httpResponse = $res; + } + if (Utils\Utils::matchStatusCodes($statusCode, ['200'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Components\NotificationResponseSchema', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $response = new Operations\UpdateNotificationStatusResponse( + statusCode: $statusCode, + contentType: $contentType, + rawResponse: $httpResponse, + notificationResponseSchema: $obj); + + return $response; + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['4XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['5XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } + +} \ No newline at end of file diff --git a/src/OAuth.php b/src/OAuth.php new file mode 100644 index 0000000..5813dfd --- /dev/null +++ b/src/OAuth.php @@ -0,0 +1,354 @@ +sdkConfiguration = $sdkConfig; + } + /** + * @param string $baseUrl + * @param array $urlVariables + * + * @return string + */ + public function getUrl(string $baseUrl, array $urlVariables): string + { + $serverDetails = $this->sdkConfiguration->getServerDetails(); + + if ($baseUrl == null) { + $baseUrl = $serverDetails->baseUrl; + } + + if ($urlVariables == null) { + $urlVariables = $serverDetails->options; + } + + return Utils\Utils::templateUrl($baseUrl, $urlVariables); + } + + /** + * OAuth Authorization Endpoint + * + * Initiate OAuth authorization flow and get consent screen information + * + * @param Operations\GetOAuthAuthorizationRequest $request + * @return Operations\GetOAuthAuthorizationResponse + * @throws \Midday\Midday\Models\Errors\APIException + */ + public function getOAuthAuthorization(Operations\GetOAuthAuthorizationRequest $request, ?Options $options = null): Operations\GetOAuthAuthorizationResponse + { + $baseUrl = $this->sdkConfiguration->getTemplatedServerUrl(); + $url = Utils\Utils::generateUrl($baseUrl, '/oauth/authorize'); + $urlOverride = null; + $httpOptions = ['http_errors' => false]; + + $qp = Utils\Utils::getQueryParams(Operations\GetOAuthAuthorizationRequest::class, $request, $urlOverride); + $httpOptions['headers']['Accept'] = 'application/json'; + $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; + $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getOAuthAuthorization', null, $this->sdkConfiguration->securitySource); + $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); + $httpOptions['query'] = Utils\QueryParameters::standardizeQueryParams($httpRequest, $qp); + $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); + $httpRequest = Utils\Utils::removeHeaders($httpRequest); + try { + $httpResponse = $this->sdkConfiguration->client->send($httpRequest, $httpOptions); + } catch (\GuzzleHttp\Exception\GuzzleException $error) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), null, $error); + $httpResponse = $res; + } + $contentType = $httpResponse->getHeader('Content-Type')[0] ?? ''; + + $statusCode = $httpResponse->getStatusCode(); + if (Utils\Utils::matchStatusCodes($statusCode, ['400', '4XX', '5XX'])) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), $httpResponse, null); + $httpResponse = $res; + } + if (Utils\Utils::matchStatusCodes($statusCode, ['200'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Operations\GetOAuthAuthorizationResponseBody', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $response = new Operations\GetOAuthAuthorizationResponse( + statusCode: $statusCode, + contentType: $contentType, + rawResponse: $httpResponse, + object: $obj); + + return $response; + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['400'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Errors\GetOAuthAuthorizationBadRequestException', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $obj->rawResponse = $httpResponse; + throw $obj->toException(); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['4XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['5XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } + + /** + * OAuth Authorization Decision + * + * Process user's authorization decision (allow/deny) + * + * @param ?Operations\PostOAuthAuthorizationRequest $request + * @return Operations\PostOAuthAuthorizationResponse + * @throws \Midday\Midday\Models\Errors\APIException + */ + public function postOAuthAuthorization(?Operations\PostOAuthAuthorizationRequest $request = null, ?Options $options = null): Operations\PostOAuthAuthorizationResponse + { + $baseUrl = $this->sdkConfiguration->getTemplatedServerUrl(); + $url = Utils\Utils::generateUrl($baseUrl, '/oauth/authorize'); + $urlOverride = null; + $httpOptions = ['http_errors' => false]; + $body = Utils\Utils::serializeRequestBody($request, 'request', 'json'); + if ($body !== null) { + $httpOptions = array_merge_recursive($httpOptions, $body); + } + $httpOptions['headers']['Accept'] = 'application/json'; + $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; + $httpRequest = new \GuzzleHttp\Psr7\Request('POST', $url); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'postOAuthAuthorization', null, $this->sdkConfiguration->securitySource); + $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); + $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); + $httpRequest = Utils\Utils::removeHeaders($httpRequest); + try { + $httpResponse = $this->sdkConfiguration->client->send($httpRequest, $httpOptions); + } catch (\GuzzleHttp\Exception\GuzzleException $error) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), null, $error); + $httpResponse = $res; + } + $contentType = $httpResponse->getHeader('Content-Type')[0] ?? ''; + + $statusCode = $httpResponse->getStatusCode(); + if (Utils\Utils::matchStatusCodes($statusCode, ['400', '401', '4XX', '5XX'])) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), $httpResponse, null); + $httpResponse = $res; + } + if (Utils\Utils::matchStatusCodes($statusCode, ['200'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Operations\PostOAuthAuthorizationResponseBody', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $response = new Operations\PostOAuthAuthorizationResponse( + statusCode: $statusCode, + contentType: $contentType, + rawResponse: $httpResponse, + object: $obj); + + return $response; + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['400'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Errors\PostOAuthAuthorizationBadRequestException', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $obj->rawResponse = $httpResponse; + throw $obj->toException(); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['401'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Errors\UnauthorizedException', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $obj->rawResponse = $httpResponse; + throw $obj->toException(); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['4XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['5XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } + + /** + * OAuth Token Revocation + * + * Revoke an access token or refresh token + * + * @param ?Operations\PostOAuthRevokeRequest $request + * @return Operations\PostOAuthRevokeResponse + * @throws \Midday\Midday\Models\Errors\APIException + */ + public function postOAuthRevoke(?Operations\PostOAuthRevokeRequest $request = null, ?Options $options = null): Operations\PostOAuthRevokeResponse + { + $baseUrl = $this->sdkConfiguration->getTemplatedServerUrl(); + $url = Utils\Utils::generateUrl($baseUrl, '/oauth/revoke'); + $urlOverride = null; + $httpOptions = ['http_errors' => false]; + $body = Utils\Utils::serializeRequestBody($request, 'request', 'json'); + if ($body !== null) { + $httpOptions = array_merge_recursive($httpOptions, $body); + } + $httpOptions['headers']['Accept'] = 'application/json'; + $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; + $httpRequest = new \GuzzleHttp\Psr7\Request('POST', $url); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'postOAuthRevoke', null, $this->sdkConfiguration->securitySource); + $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); + $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); + $httpRequest = Utils\Utils::removeHeaders($httpRequest); + try { + $httpResponse = $this->sdkConfiguration->client->send($httpRequest, $httpOptions); + } catch (\GuzzleHttp\Exception\GuzzleException $error) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), null, $error); + $httpResponse = $res; + } + $contentType = $httpResponse->getHeader('Content-Type')[0] ?? ''; + + $statusCode = $httpResponse->getStatusCode(); + if (Utils\Utils::matchStatusCodes($statusCode, ['4XX', '5XX'])) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), $httpResponse, null); + $httpResponse = $res; + } + if (Utils\Utils::matchStatusCodes($statusCode, ['200'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Operations\PostOAuthRevokeResponseBody', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $response = new Operations\PostOAuthRevokeResponse( + statusCode: $statusCode, + contentType: $contentType, + rawResponse: $httpResponse, + object: $obj); + + return $response; + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['4XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['5XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } + + /** + * OAuth Token Exchange + * + * Exchange authorization code for access token or refresh an access token + * + * @param Operations\AuthorizationCode|Operations\RefreshToken|null $request + * @return Operations\PostOAuthTokenResponse + * @throws \Midday\Midday\Models\Errors\APIException + */ + public function postOAuthToken(Operations\AuthorizationCode|Operations\RefreshToken|null $request = null, ?Options $options = null): Operations\PostOAuthTokenResponse + { + $baseUrl = $this->sdkConfiguration->getTemplatedServerUrl(); + $url = Utils\Utils::generateUrl($baseUrl, '/oauth/token'); + $urlOverride = null; + $httpOptions = ['http_errors' => false]; + $body = Utils\Utils::serializeRequestBody($request, 'request', 'json'); + if ($body !== null) { + $httpOptions = array_merge_recursive($httpOptions, $body); + } + $httpOptions['headers']['Accept'] = 'application/json'; + $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; + $httpRequest = new \GuzzleHttp\Psr7\Request('POST', $url); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'postOAuthToken', null, $this->sdkConfiguration->securitySource); + $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); + $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); + $httpRequest = Utils\Utils::removeHeaders($httpRequest); + try { + $httpResponse = $this->sdkConfiguration->client->send($httpRequest, $httpOptions); + } catch (\GuzzleHttp\Exception\GuzzleException $error) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), null, $error); + $httpResponse = $res; + } + $contentType = $httpResponse->getHeader('Content-Type')[0] ?? ''; + + $statusCode = $httpResponse->getStatusCode(); + if (Utils\Utils::matchStatusCodes($statusCode, ['400', '4XX', '5XX'])) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), $httpResponse, null); + $httpResponse = $res; + } + if (Utils\Utils::matchStatusCodes($statusCode, ['200'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Operations\PostOAuthTokenResponseBody', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $response = new Operations\PostOAuthTokenResponse( + statusCode: $statusCode, + contentType: $contentType, + rawResponse: $httpResponse, + object: $obj); + + return $response; + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['400'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Errors\PostOAuthTokenBadRequestException', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $obj->rawResponse = $httpResponse; + throw $obj->toException(); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['4XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['5XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } + +} \ No newline at end of file diff --git a/src/Reports.php b/src/Reports.php new file mode 100644 index 0000000..630f19f --- /dev/null +++ b/src/Reports.php @@ -0,0 +1,473 @@ +sdkConfiguration = $sdkConfig; + } + /** + * @param string $baseUrl + * @param array $urlVariables + * + * @return string + */ + public function getUrl(string $baseUrl, array $urlVariables): string + { + $serverDetails = $this->sdkConfiguration->getServerDetails(); + + if ($baseUrl == null) { + $baseUrl = $serverDetails->baseUrl; + } + + if ($urlVariables == null) { + $urlVariables = $serverDetails->options; + } + + return Utils\Utils::templateUrl($baseUrl, $urlVariables); + } + + /** + * Burn rate reports + * + * Burn rate reports for the authenticated team. + * + * @param string $from + * @param string $to + * @param ?string $currency + * @return Operations\GetBurnRateReportsResponse + * @throws \Midday\Midday\Models\Errors\APIException + */ + public function burnRate(string $from, string $to, ?string $currency = null, ?Options $options = null): Operations\GetBurnRateReportsResponse + { + $request = new Operations\GetBurnRateReportsRequest( + from: $from, + to: $to, + currency: $currency, + ); + $baseUrl = $this->sdkConfiguration->getTemplatedServerUrl(); + $url = Utils\Utils::generateUrl($baseUrl, '/reports/burn-rate'); + $urlOverride = null; + $httpOptions = ['http_errors' => false]; + + $qp = Utils\Utils::getQueryParams(Operations\GetBurnRateReportsRequest::class, $request, $urlOverride); + $httpOptions['headers']['Accept'] = 'application/json'; + $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; + $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getBurnRateReports', null, $this->sdkConfiguration->securitySource); + $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); + $httpOptions['query'] = Utils\QueryParameters::standardizeQueryParams($httpRequest, $qp); + $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); + $httpRequest = Utils\Utils::removeHeaders($httpRequest); + try { + $httpResponse = $this->sdkConfiguration->client->send($httpRequest, $httpOptions); + } catch (\GuzzleHttp\Exception\GuzzleException $error) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), null, $error); + $httpResponse = $res; + } + $contentType = $httpResponse->getHeader('Content-Type')[0] ?? ''; + + $statusCode = $httpResponse->getStatusCode(); + if (Utils\Utils::matchStatusCodes($statusCode, ['4XX', '5XX'])) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), $httpResponse, null); + $httpResponse = $res; + } + if (Utils\Utils::matchStatusCodes($statusCode, ['200'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, 'array<\Midday\Midday\Models\Components\GetBurnRateResponseSchema>', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $response = new Operations\GetBurnRateReportsResponse( + statusCode: $statusCode, + contentType: $contentType, + rawResponse: $httpResponse, + getBurnRateResponseSchemas: $obj); + + return $response; + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['4XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['5XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } + + /** + * Expense reports + * + * Expense reports for the authenticated team. + * + * @param string $from + * @param string $to + * @param ?string $currency + * @return Operations\GetExpensesReportsResponse + * @throws \Midday\Midday\Models\Errors\APIException + */ + public function expenses(string $from, string $to, ?string $currency = null, ?Options $options = null): Operations\GetExpensesReportsResponse + { + $request = new Operations\GetExpensesReportsRequest( + from: $from, + to: $to, + currency: $currency, + ); + $baseUrl = $this->sdkConfiguration->getTemplatedServerUrl(); + $url = Utils\Utils::generateUrl($baseUrl, '/reports/expenses'); + $urlOverride = null; + $httpOptions = ['http_errors' => false]; + + $qp = Utils\Utils::getQueryParams(Operations\GetExpensesReportsRequest::class, $request, $urlOverride); + $httpOptions['headers']['Accept'] = 'application/json'; + $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; + $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getExpensesReports', null, $this->sdkConfiguration->securitySource); + $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); + $httpOptions['query'] = Utils\QueryParameters::standardizeQueryParams($httpRequest, $qp); + $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); + $httpRequest = Utils\Utils::removeHeaders($httpRequest); + try { + $httpResponse = $this->sdkConfiguration->client->send($httpRequest, $httpOptions); + } catch (\GuzzleHttp\Exception\GuzzleException $error) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), null, $error); + $httpResponse = $res; + } + $contentType = $httpResponse->getHeader('Content-Type')[0] ?? ''; + + $statusCode = $httpResponse->getStatusCode(); + if (Utils\Utils::matchStatusCodes($statusCode, ['4XX', '5XX'])) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), $httpResponse, null); + $httpResponse = $res; + } + if (Utils\Utils::matchStatusCodes($statusCode, ['200'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Components\GetExpensesResponseSchema', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $response = new Operations\GetExpensesReportsResponse( + statusCode: $statusCode, + contentType: $contentType, + rawResponse: $httpResponse, + getExpensesResponseSchema: $obj); + + return $response; + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['4XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['5XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } + + /** + * Profit reports + * + * Profit reports for the authenticated team. + * + * @param string $from + * @param string $to + * @param ?string $currency + * @return Operations\GetProfitReportsResponse + * @throws \Midday\Midday\Models\Errors\APIException + */ + public function profit(string $from, string $to, ?string $currency = null, ?Options $options = null): Operations\GetProfitReportsResponse + { + $request = new Operations\GetProfitReportsRequest( + from: $from, + to: $to, + currency: $currency, + ); + $baseUrl = $this->sdkConfiguration->getTemplatedServerUrl(); + $url = Utils\Utils::generateUrl($baseUrl, '/reports/profit'); + $urlOverride = null; + $httpOptions = ['http_errors' => false]; + + $qp = Utils\Utils::getQueryParams(Operations\GetProfitReportsRequest::class, $request, $urlOverride); + $httpOptions['headers']['Accept'] = 'application/json'; + $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; + $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getProfitReports', null, $this->sdkConfiguration->securitySource); + $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); + $httpOptions['query'] = Utils\QueryParameters::standardizeQueryParams($httpRequest, $qp); + $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); + $httpRequest = Utils\Utils::removeHeaders($httpRequest); + try { + $httpResponse = $this->sdkConfiguration->client->send($httpRequest, $httpOptions); + } catch (\GuzzleHttp\Exception\GuzzleException $error) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), null, $error); + $httpResponse = $res; + } + $contentType = $httpResponse->getHeader('Content-Type')[0] ?? ''; + + $statusCode = $httpResponse->getStatusCode(); + if (Utils\Utils::matchStatusCodes($statusCode, ['4XX', '5XX'])) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), $httpResponse, null); + $httpResponse = $res; + } + if (Utils\Utils::matchStatusCodes($statusCode, ['200'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Components\GetProfitResponseSchema', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $response = new Operations\GetProfitReportsResponse( + statusCode: $statusCode, + contentType: $contentType, + rawResponse: $httpResponse, + getProfitResponseSchema: $obj); + + return $response; + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['4XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['5XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } + + /** + * Revenue reports + * + * Revenue reports for the authenticated team. + * + * @param string $from + * @param string $to + * @param ?string $currency + * @return Operations\GetRevenueReportsResponse + * @throws \Midday\Midday\Models\Errors\APIException + */ + public function revenue(string $from, string $to, ?string $currency = null, ?Options $options = null): Operations\GetRevenueReportsResponse + { + $request = new Operations\GetRevenueReportsRequest( + from: $from, + to: $to, + currency: $currency, + ); + $baseUrl = $this->sdkConfiguration->getTemplatedServerUrl(); + $url = Utils\Utils::generateUrl($baseUrl, '/reports/revenue'); + $urlOverride = null; + $httpOptions = ['http_errors' => false]; + + $qp = Utils\Utils::getQueryParams(Operations\GetRevenueReportsRequest::class, $request, $urlOverride); + $httpOptions['headers']['Accept'] = 'application/json'; + $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; + $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getRevenueReports', null, $this->sdkConfiguration->securitySource); + $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); + $httpOptions['query'] = Utils\QueryParameters::standardizeQueryParams($httpRequest, $qp); + $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); + $httpRequest = Utils\Utils::removeHeaders($httpRequest); + try { + $httpResponse = $this->sdkConfiguration->client->send($httpRequest, $httpOptions); + } catch (\GuzzleHttp\Exception\GuzzleException $error) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), null, $error); + $httpResponse = $res; + } + $contentType = $httpResponse->getHeader('Content-Type')[0] ?? ''; + + $statusCode = $httpResponse->getStatusCode(); + if (Utils\Utils::matchStatusCodes($statusCode, ['4XX', '5XX'])) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), $httpResponse, null); + $httpResponse = $res; + } + if (Utils\Utils::matchStatusCodes($statusCode, ['200'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Components\GetRevenueResponseSchema', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $response = new Operations\GetRevenueReportsResponse( + statusCode: $statusCode, + contentType: $contentType, + rawResponse: $httpResponse, + getRevenueResponseSchema: $obj); + + return $response; + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['4XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['5XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } + + /** + * Runway reports + * + * Runway reports for the authenticated team. + * + * @param string $from + * @param string $to + * @param ?string $currency + * @return Operations\GetRunwayReportsResponse + * @throws \Midday\Midday\Models\Errors\APIException + */ + public function runway(string $from, string $to, ?string $currency = null, ?Options $options = null): Operations\GetRunwayReportsResponse + { + $request = new Operations\GetRunwayReportsRequest( + from: $from, + to: $to, + currency: $currency, + ); + $baseUrl = $this->sdkConfiguration->getTemplatedServerUrl(); + $url = Utils\Utils::generateUrl($baseUrl, '/reports/runway'); + $urlOverride = null; + $httpOptions = ['http_errors' => false]; + + $qp = Utils\Utils::getQueryParams(Operations\GetRunwayReportsRequest::class, $request, $urlOverride); + $httpOptions['headers']['Accept'] = 'application/json'; + $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; + $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getRunwayReports', null, $this->sdkConfiguration->securitySource); + $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); + $httpOptions['query'] = Utils\QueryParameters::standardizeQueryParams($httpRequest, $qp); + $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); + $httpRequest = Utils\Utils::removeHeaders($httpRequest); + try { + $httpResponse = $this->sdkConfiguration->client->send($httpRequest, $httpOptions); + } catch (\GuzzleHttp\Exception\GuzzleException $error) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), null, $error); + $httpResponse = $res; + } + $contentType = $httpResponse->getHeader('Content-Type')[0] ?? ''; + + $statusCode = $httpResponse->getStatusCode(); + if (Utils\Utils::matchStatusCodes($statusCode, ['4XX', '5XX'])) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), $httpResponse, null); + $httpResponse = $res; + } + if (Utils\Utils::matchStatusCodes($statusCode, ['200'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, 'float', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $response = new Operations\GetRunwayReportsResponse( + statusCode: $statusCode, + contentType: $contentType, + rawResponse: $httpResponse, + getRunwayResponseSchema: $obj); + + return $response; + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['4XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['5XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } + + /** + * Spending reports + * + * Spending reports for the authenticated team. + * + * @param string $from + * @param string $to + * @param ?string $currency + * @return Operations\GetSpendingReportsResponse + * @throws \Midday\Midday\Models\Errors\APIException + */ + public function spending(string $from, string $to, ?string $currency = null, ?Options $options = null): Operations\GetSpendingReportsResponse + { + $request = new Operations\GetSpendingReportsRequest( + from: $from, + to: $to, + currency: $currency, + ); + $baseUrl = $this->sdkConfiguration->getTemplatedServerUrl(); + $url = Utils\Utils::generateUrl($baseUrl, '/reports/spending'); + $urlOverride = null; + $httpOptions = ['http_errors' => false]; + + $qp = Utils\Utils::getQueryParams(Operations\GetSpendingReportsRequest::class, $request, $urlOverride); + $httpOptions['headers']['Accept'] = 'application/json'; + $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; + $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getSpendingReports', null, $this->sdkConfiguration->securitySource); + $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); + $httpOptions['query'] = Utils\QueryParameters::standardizeQueryParams($httpRequest, $qp); + $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); + $httpRequest = Utils\Utils::removeHeaders($httpRequest); + try { + $httpResponse = $this->sdkConfiguration->client->send($httpRequest, $httpOptions); + } catch (\GuzzleHttp\Exception\GuzzleException $error) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), null, $error); + $httpResponse = $res; + } + $contentType = $httpResponse->getHeader('Content-Type')[0] ?? ''; + + $statusCode = $httpResponse->getStatusCode(); + if (Utils\Utils::matchStatusCodes($statusCode, ['4XX', '5XX'])) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), $httpResponse, null); + $httpResponse = $res; + } + if (Utils\Utils::matchStatusCodes($statusCode, ['200'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, 'array<\Midday\Midday\Models\Components\SpendingResultArray>', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $response = new Operations\GetSpendingReportsResponse( + statusCode: $statusCode, + contentType: $contentType, + rawResponse: $httpResponse, + spendingResultArray: $obj); + + return $response; + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['4XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['5XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } + +} \ No newline at end of file diff --git a/src/SDKConfiguration.php b/src/SDKConfiguration.php index 7f6258f..2943074 100644 --- a/src/SDKConfiguration.php +++ b/src/SDKConfiguration.php @@ -24,11 +24,11 @@ class SDKConfiguration public string $openapiDocVersion = '0.0.1'; - public string $sdkVersion = '0.0.2'; + public string $sdkVersion = '0.1.0'; - public string $genVersion = '2.686.7'; + public string $genVersion = '2.779.2'; - public string $userAgent = 'speakeasy-sdk/php 0.0.2 2.686.7 0.0.1 midday/midday-php'; + public string $userAgent = 'speakeasy-sdk/php 0.1.0 2.779.2 0.0.1 midday/midday-php'; public ?RetryConfig $retryConfig = null; diff --git a/src/Search.php b/src/Search.php index cda5b9e..266bd94 100644 --- a/src/Search.php +++ b/src/Search.php @@ -64,7 +64,7 @@ public function search(?Operations\SearchRequest $request = null, ?Options $opti $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'search', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'search', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions['query'] = Utils\QueryParameters::standardizeQueryParams($httpRequest, $qp); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); diff --git a/src/Tags.php b/src/Tags.php index 381a99c..3053ae9 100644 --- a/src/Tags.php +++ b/src/Tags.php @@ -67,7 +67,7 @@ public function create(?Components\CreateTag $request = null, ?Options $options $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('POST', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'createTag', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'createTag', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -131,7 +131,7 @@ public function delete(string $id, ?Options $options = null): Operations\DeleteT $httpOptions['headers']['Accept'] = '*/*'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('DELETE', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'deleteTag', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'deleteTag', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -186,7 +186,7 @@ public function get(string $id, ?Options $options = null): Operations\GetTagById $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getTagById', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getTagById', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -246,7 +246,7 @@ public function list(?Options $options = null): Operations\ListTagsResponse $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'listTags', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'listTags', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -316,7 +316,7 @@ public function update(string $id, ?Operations\UpdateTagRequestBody $requestBody $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('PATCH', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'updateTag', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'updateTag', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); diff --git a/src/Teams.php b/src/Teams.php index 6231ab2..a3b7371 100644 --- a/src/Teams.php +++ b/src/Teams.php @@ -65,7 +65,7 @@ public function get(string $id, ?Options $options = null): Operations\GetTeamByI $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getTeamById', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getTeamById', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -129,7 +129,7 @@ public function members(string $id, ?Options $options = null): Operations\ListTe $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'listTeamMembers', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'listTeamMembers', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -189,7 +189,7 @@ public function list(?Options $options = null): Operations\ListTeamsResponse $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'listTeams', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'listTeams', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -259,7 +259,7 @@ public function update(string $id, ?Operations\UpdateTeamByIdRequestBody $reques $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('PATCH', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'updateTeamById', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'updateTeamById', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); diff --git a/src/TrackerEntries.php b/src/TrackerEntries.php index 38d0117..d18a941 100644 --- a/src/TrackerEntries.php +++ b/src/TrackerEntries.php @@ -66,7 +66,7 @@ public function createBulk(?Operations\CreateTrackerEntriesBulkRequest $request $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('POST', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'createTrackerEntriesBulk', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'createTrackerEntriesBulk', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -131,7 +131,7 @@ public function create(?Operations\CreateTrackerEntryRequest $request = null, ?O $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('POST', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'createTrackerEntry', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'createTrackerEntry', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -195,7 +195,7 @@ public function delete(string $id, ?Options $options = null): Operations\DeleteT $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('DELETE', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'deleteTrackerEntry', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'deleteTrackerEntry', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -265,7 +265,7 @@ public function list(string $from, string $to, ?string $projectId = null, ?Optio $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'listTrackerEntries', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'listTrackerEntries', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions['query'] = Utils\QueryParameters::standardizeQueryParams($httpRequest, $qp); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); @@ -336,7 +336,7 @@ public function update(string $id, ?Operations\UpdateTrackerEntryRequestBody $re $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('PATCH', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'updateTrackerEntry', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'updateTrackerEntry', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); diff --git a/src/TrackerProjects.php b/src/TrackerProjects.php index e472012..750b814 100644 --- a/src/TrackerProjects.php +++ b/src/TrackerProjects.php @@ -66,7 +66,7 @@ public function create(?Operations\CreateTrackerProjectRequest $request = null, $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('POST', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'createTrackerProject', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'createTrackerProject', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -130,7 +130,7 @@ public function delete(string $id, ?Options $options = null): Operations\DeleteT $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('DELETE', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'deleteTrackerProject', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'deleteTrackerProject', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -194,7 +194,7 @@ public function get(string $id, ?Options $options = null): Operations\GetTracker $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getTrackerProjectById', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getTrackerProjectById', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -257,7 +257,7 @@ public function list(?Operations\ListTrackerProjectsRequest $request = null, ?Op $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'listTrackerProjects', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'listTrackerProjects', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions['query'] = Utils\QueryParameters::standardizeQueryParams($httpRequest, $qp); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); @@ -328,7 +328,7 @@ public function update(string $id, ?Operations\UpdateTrackerProjectRequestBody $ $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('PATCH', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'updateTrackerProject', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'updateTrackerProject', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); diff --git a/src/TrackerTimer.php b/src/TrackerTimer.php index e42c61e..276be20 100644 --- a/src/TrackerTimer.php +++ b/src/TrackerTimer.php @@ -67,7 +67,7 @@ public function getCurrentTimer(?string $assignedId = null, ?Options $options = $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getCurrentTimer', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getCurrentTimer', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions['query'] = Utils\QueryParameters::standardizeQueryParams($httpRequest, $qp); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); @@ -134,7 +134,7 @@ public function getTimerStatus(?string $assignedId = null, ?Options $options = n $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getTimerStatus', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getTimerStatus', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions['query'] = Utils\QueryParameters::standardizeQueryParams($httpRequest, $qp); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); @@ -200,7 +200,7 @@ public function startTimer(?Operations\StartTimerRequest $request = null, ?Optio $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('POST', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'startTimer', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'startTimer', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -265,7 +265,7 @@ public function stopTimer(?Operations\StopTimerRequest $request = null, ?Options $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('POST', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'stopTimer', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'stopTimer', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); diff --git a/src/Transactions.php b/src/Transactions.php index 3c68db5..123cd0f 100644 --- a/src/Transactions.php +++ b/src/Transactions.php @@ -66,7 +66,7 @@ public function create(?Operations\CreateTransactionRequest $request = null, ?Op $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('POST', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'createTransaction', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'createTransaction', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -131,7 +131,7 @@ public function createMany(?array $request = null, ?Options $options = null): Op $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('POST', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'createTransactions', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'createTransactions', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -195,7 +195,7 @@ public function delete(string $id, ?Options $options = null): Operations\DeleteT $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('DELETE', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'deleteTransaction', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'deleteTransaction', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -260,7 +260,7 @@ public function deleteMany(?array $request = null, ?Options $options = null): Op $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('DELETE', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'deleteTransactions', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'deleteTransactions', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -303,6 +303,113 @@ public function deleteMany(?array $request = null, ?Options $options = null): Op } } + /** + * Generate pre-signed URL for transaction attachment + * + * Generate a pre-signed URL for accessing a transaction attachment. The URL is valid for 60 seconds and allows secure temporary access to the attachment file. + * + * @param string $transactionId + * @param string $attachmentId + * @param ?bool $download + * @return Operations\GetTransactionAttachmentPreSignedUrlResponse + * @throws \Midday\Midday\Models\Errors\APIException + */ + public function getAttachmentPreSignedUrl(string $transactionId, string $attachmentId, ?bool $download = null, ?Options $options = null): Operations\GetTransactionAttachmentPreSignedUrlResponse + { + $request = new Operations\GetTransactionAttachmentPreSignedUrlRequest( + transactionId: $transactionId, + attachmentId: $attachmentId, + download: $download, + ); + $baseUrl = $this->sdkConfiguration->getTemplatedServerUrl(); + $url = Utils\Utils::generateUrl($baseUrl, '/transactions/{transactionId}/attachments/{attachmentId}/presigned-url', Operations\GetTransactionAttachmentPreSignedUrlRequest::class, $request); + $urlOverride = null; + $httpOptions = ['http_errors' => false]; + + $qp = Utils\Utils::getQueryParams(Operations\GetTransactionAttachmentPreSignedUrlRequest::class, $request, $urlOverride); + $httpOptions['headers']['Accept'] = 'application/json'; + $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; + $httpRequest = new \GuzzleHttp\Psr7\Request('POST', $url); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getTransactionAttachmentPreSignedUrl', null, $this->sdkConfiguration->securitySource); + $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); + $httpOptions['query'] = Utils\QueryParameters::standardizeQueryParams($httpRequest, $qp); + $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); + $httpRequest = Utils\Utils::removeHeaders($httpRequest); + try { + $httpResponse = $this->sdkConfiguration->client->send($httpRequest, $httpOptions); + } catch (\GuzzleHttp\Exception\GuzzleException $error) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), null, $error); + $httpResponse = $res; + } + $contentType = $httpResponse->getHeader('Content-Type')[0] ?? ''; + + $statusCode = $httpResponse->getStatusCode(); + if (Utils\Utils::matchStatusCodes($statusCode, ['400', '404', '4XX', '500', '5XX'])) { + $res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), $httpResponse, null); + $httpResponse = $res; + } + if (Utils\Utils::matchStatusCodes($statusCode, ['200'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Operations\GetTransactionAttachmentPreSignedUrlResponseBody', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $response = new Operations\GetTransactionAttachmentPreSignedUrlResponse( + statusCode: $statusCode, + contentType: $contentType, + rawResponse: $httpResponse, + object: $obj); + + return $response; + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['400'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Errors\GetTransactionAttachmentPreSignedUrlBadRequestException', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $obj->rawResponse = $httpResponse; + throw $obj->toException(); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['404'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Errors\GetTransactionAttachmentPreSignedUrlNotFoundException', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $obj->rawResponse = $httpResponse; + throw $obj->toException(); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['500'])) { + if (Utils\Utils::matchContentType($contentType, 'application/json')) { + $httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse); + + $serializer = Utils\JSON::createSerializer(); + $responseData = (string) $httpResponse->getBody(); + $obj = $serializer->deserialize($responseData, '\Midday\Midday\Models\Errors\GetTransactionAttachmentPreSignedUrlInternalServerError', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true)); + $obj->rawResponse = $httpResponse; + throw $obj->toException(); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['4XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } elseif (Utils\Utils::matchStatusCodes($statusCode, ['5XX'])) { + throw new \Midday\Midday\Models\Errors\APIException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } else { + throw new \Midday\Midday\Models\Errors\APIException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); + } + } + /** * Retrieve a transaction * @@ -324,7 +431,7 @@ public function get(string $id, ?Options $options = null): Operations\GetTransac $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getTransactionById', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getTransactionById', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -387,7 +494,7 @@ public function list(?Operations\ListTransactionsRequest $request = null, ?Optio $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'listTransactions', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'listTransactions', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions['query'] = Utils\QueryParameters::standardizeQueryParams($httpRequest, $qp); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); @@ -458,7 +565,7 @@ public function update(string $id, ?Operations\UpdateTransactionRequestBody $req $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('PATCH', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'updateTransaction', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'updateTransaction', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -523,7 +630,7 @@ public function updateMany(?Operations\UpdateTransactionsRequest $request = null $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('PATCH', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'updateTransactions', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'updateTransactions', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); diff --git a/src/Users.php b/src/Users.php index c04fcf9..91ce392 100644 --- a/src/Users.php +++ b/src/Users.php @@ -61,7 +61,7 @@ public function get(?Options $options = null): Operations\GetCurrentUserResponse $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getCurrentUser', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'getCurrentUser', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); @@ -126,7 +126,7 @@ public function update(?Operations\UpdateCurrentUserRequest $request = null, ?Op $httpOptions['headers']['Accept'] = 'application/json'; $httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent; $httpRequest = new \GuzzleHttp\Psr7\Request('PATCH', $url); - $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'updateCurrentUser', [], $this->sdkConfiguration->securitySource); + $hookContext = new HookContext($this->sdkConfiguration, $baseUrl, 'updateCurrentUser', null, $this->sdkConfiguration->securitySource); $httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest); $httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions); $httpRequest = Utils\Utils::removeHeaders($httpRequest); diff --git a/src/Utils/PathParameters.php b/src/Utils/PathParameters.php index 02359ba..b52fa12 100644 --- a/src/Utils/PathParameters.php +++ b/src/Utils/PathParameters.php @@ -13,7 +13,7 @@ class PathParameters { /** - * @param string $type + * @param class-string $type * @param mixed $pathParams * @param array>>|null $globals * @return array diff --git a/src/Utils/QueryParameters.php b/src/Utils/QueryParameters.php index 6593c8a..4c3a0ec 100644 --- a/src/Utils/QueryParameters.php +++ b/src/Utils/QueryParameters.php @@ -14,7 +14,7 @@ class QueryParameters { /** - * @param string $type + * @param class-string $type * @param mixed $queryParams * @param array $urlOverride * @param array>>|null $globals diff --git a/src/Utils/RequestBodies.php b/src/Utils/RequestBodies.php index a629a4a..4c17f4c 100644 --- a/src/Utils/RequestBodies.php +++ b/src/Utils/RequestBodies.php @@ -125,7 +125,7 @@ private function serializeMultipart(mixed $value): array $dateTimeFormat = $metadata->dateTimeFormat; if (gettype($val) === 'array' && array_is_list($val)) { - foreach ($value as $item) { + foreach ($val as $item) { $options['multipart'][] = [ 'name' => $metadata->name.'[]', 'contents' => valToString($item, ['dateTimeFormat' => $dateTimeFormat]), diff --git a/src/Utils/Retry/RetryUtils.php b/src/Utils/Retry/RetryUtils.php index a91d6b3..82aae1b 100644 --- a/src/Utils/Retry/RetryUtils.php +++ b/src/Utils/Retry/RetryUtils.php @@ -104,9 +104,13 @@ public static function isRetryableResponse(ResponseInterface $response, array $s $final = false; foreach ($statusCodes as $code) { - $matches = []; - if (! preg_match('/^[0-9]xx$/', $code, $matches)) { - return $code === $actual; + if (! preg_match('/^[0-9]xx$/', $code)) { + $final = $code === $actual; + if ($final) { + break; + } + + continue; } $expectFamily = mb_substr($code, 0, 1); @@ -121,6 +125,7 @@ public static function isRetryableResponse(ResponseInterface $response, array $s if ($actualFamily === $expectFamily) { $final = true; + break; } } diff --git a/src/Utils/UnionHandler.php b/src/Utils/UnionHandler.php index db95079..8209d35 100644 --- a/src/Utils/UnionHandler.php +++ b/src/Utils/UnionHandler.php @@ -116,6 +116,7 @@ public function deserializeUnion(DeserializationVisitorInterface $visitor, mixed } $unionMap = $type['params'][2]; + $lookupValue = $data[$lookupField]; if (empty($unionMap[$lookupValue])) { throw new NonVisitableTypeException(sprintf('Union Discriminator Map does not contain key "%s"', $lookupValue)); @@ -387,6 +388,8 @@ private function resolveArrayTypes(array $possibleType): string if ($param['name'] === 'union') { $innerTypes = array_map(fn ($t) => $t['name'], $param['params']); $typeNames[] = $typeToTry = implode('|', $innerTypes); + } elseif ($param['name'] === 'enum') { + $typeNames[] = $param['params'][0]['name']; } else { $typeNames[] = $param['name']; } diff --git a/src/Utils/Utils.php b/src/Utils/Utils.php index 3fb74b9..bfd01a8 100644 --- a/src/Utils/Utils.php +++ b/src/Utils/Utils.php @@ -71,7 +71,7 @@ public static function templateUrl(string $url, mixed $params): string * * @param string $url * @param string $path - * @param string|null $type + * @param class-string|null $type * @param mixed|null $pathParams * @param array>>|null $globals * @return string @@ -137,7 +137,7 @@ public static function serializeRequestBody(mixed $request, string $requestField /** * getQueryParams will return serialized query parameters for the given type. * - * @param string $type + * @param class-string $type * @param mixed $queryParams * @param array>>|null $globals * @return array