You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[`MiddayError`](./src/models/errors/middayerror.ts): The base class for HTTP error responses.
597
607
598
-
<details><summary>Less common errors (10)</summary>
608
+
<details><summary>Less common errors (23)</summary>
599
609
600
610
<br />
601
611
@@ -608,10 +618,23 @@ run();
608
618
609
619
610
620
**Inherit from [`MiddayError`](./src/models/errors/middayerror.ts)**:
611
-
*[`GetOAuthAuthorizationBadRequestError`](./src/models/errors/getoauthauthorizationbadrequesterror.ts): Invalid request. Status code `400`. Applicable to 1 of 69 methods.*
612
-
*[`PostOAuthAuthorizationBadRequestError`](./src/models/errors/postoauthauthorizationbadrequesterror.ts): Invalid request. Status code `400`. Applicable to 1 of 69 methods.*
613
-
*[`PostOAuthTokenBadRequestError`](./src/models/errors/postoauthtokenbadrequesterror.ts): Invalid request. Status code `400`. Applicable to 1 of 69 methods.*
614
-
*[`UnauthorizedError`](./src/models/errors/unauthorizederror.ts): Unauthorized. Status code `401`. Applicable to 1 of 69 methods.*
621
+
*[`GetOAuthAuthorizationBadRequestError`](./src/models/errors/getoauthauthorizationbadrequesterror.ts): Invalid request. Status code `400`. Applicable to 1 of 74 methods.*
622
+
*[`PostOAuthAuthorizationBadRequestError`](./src/models/errors/postoauthauthorizationbadrequesterror.ts): Invalid request. Status code `400`. Applicable to 1 of 74 methods.*
623
+
*[`PostOAuthTokenBadRequestError`](./src/models/errors/postoauthtokenbadrequesterror.ts): Invalid request. Status code `400`. Applicable to 1 of 74 methods.*
624
+
*[`GetTransactionAttachmentPreSignedUrlBadRequestError`](./src/models/errors/gettransactionattachmentpresignedurlbadrequesterror.ts): Bad request - Attachment file path not available. Status code `400`. Applicable to 1 of 74 methods.*
625
+
*[`GetDocumentPreSignedUrlBadRequestError`](./src/models/errors/getdocumentpresignedurlbadrequesterror.ts): Bad request - Document file path not available. Status code `400`. Applicable to 1 of 74 methods.*
626
+
*[`GetInboxPreSignedUrlBadRequestError`](./src/models/errors/getinboxpresignedurlbadrequesterror.ts): Bad request - Attachment file path not available. Status code `400`. Applicable to 1 of 74 methods.*
627
+
*[`CreateInvoiceBadRequestError`](./src/models/errors/createinvoicebadrequesterror.ts): Bad request. Invalid input data or validation errors. Status code `400`. Applicable to 1 of 74 methods.*
628
+
*[`UnauthorizedError`](./src/models/errors/unauthorizederror.ts): Unauthorized. Status code `401`. Applicable to 1 of 74 methods.*
629
+
*[`GetTransactionAttachmentPreSignedUrlNotFoundError`](./src/models/errors/gettransactionattachmentpresignedurlnotfounderror.ts): Transaction or attachment not found. Status code `404`. Applicable to 1 of 74 methods.*
630
+
*[`GetDocumentPreSignedUrlNotFoundError`](./src/models/errors/getdocumentpresignedurlnotfounderror.ts): Document not found. Status code `404`. Applicable to 1 of 74 methods.*
631
+
*[`GetInboxPreSignedUrlNotFoundError`](./src/models/errors/getinboxpresignedurlnotfounderror.ts): Inbox item not found. Status code `404`. Applicable to 1 of 74 methods.*
632
+
*[`CreateInvoiceNotFoundError`](./src/models/errors/createinvoicenotfounderror.ts): Customer not found. Status code `404`. Applicable to 1 of 74 methods.*
633
+
*[`ConflictError`](./src/models/errors/conflicterror.ts): Conflict. Invoice number already exists. Status code `409`. Applicable to 1 of 74 methods.*
634
+
*[`GetTransactionAttachmentPreSignedUrlInternalServerError`](./src/models/errors/gettransactionattachmentpresignedurlinternalservererror.ts): Internal server error - Failed to generate pre-signed URL. Status code `500`. Applicable to 1 of 74 methods.*
635
+
*[`GetDocumentPreSignedUrlInternalServerError`](./src/models/errors/getdocumentpresignedurlinternalservererror.ts): Internal server error - Failed to generate pre-signed URL. Status code `500`. Applicable to 1 of 74 methods.*
636
+
*[`GetInboxPreSignedUrlInternalServerError`](./src/models/errors/getinboxpresignedurlinternalservererror.ts): Internal server error - Failed to generate pre-signed URL. Status code `500`. Applicable to 1 of 74 methods.*
637
+
*[`CreateInvoiceInternalServerError`](./src/models/errors/createinvoiceinternalservererror.ts): Internal server error. Status code `500`. Applicable to 1 of 74 methods.*
615
638
*[`ResponseValidationError`](./src/models/errors/responsevalidationerror.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string.
|`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. |
0 commit comments