@orvello/sdk 0.2.4 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CONTRACT_SHA256 +1 -1
- package/README.md +7 -0
- package/dist/contract.cjs +13 -0
- package/dist/contract.cjs.map +1 -1
- package/dist/contract.d.cts +59 -1
- package/dist/contract.d.ts +59 -1
- package/dist/contract.js +13 -0
- package/dist/contract.js.map +1 -1
- package/dist/index.cjs +9 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -4
- package/dist/index.d.ts +6 -4
- package/dist/index.js +9 -3
- package/dist/index.js.map +1 -1
- package/dist/openapi.json +232 -0
- package/package.json +1 -1
package/CONTRACT_SHA256
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
eb64699e8b371644f2a18619fdd4c65055683b270c6c92577cf8e0df8716d2ca
|
package/README.md
CHANGED
|
@@ -411,3 +411,10 @@ import type {
|
|
|
411
411
|
## License
|
|
412
412
|
|
|
413
413
|
MIT
|
|
414
|
+
# Bank payment evidence
|
|
415
|
+
|
|
416
|
+
`await client.invoices.getPaymentEvidence(invoiceId)` reads authoritative bank
|
|
417
|
+
allocations separately from invoice status. Amounts remain decimal strings. Use
|
|
418
|
+
`bankPaymentConfirmed`, `state` and `issues` together; a manual `paid` mark alone is
|
|
419
|
+
not bank evidence. `revision` is a content digest, not an ordered event version.
|
|
420
|
+
This call neither imports bank transactions nor initiates payments.
|
package/dist/contract.cjs
CHANGED
|
@@ -3711,6 +3711,19 @@ var apiRoutes_invoices = {
|
|
|
3711
3711
|
|
|
3712
3712
|
// src/generated/api/features/routes.invoices_external.ts
|
|
3713
3713
|
var apiRoutes_invoices_external = {
|
|
3714
|
+
// Contract source: explicit
|
|
3715
|
+
"invoices_payment_evidence_external": {
|
|
3716
|
+
method: "GET",
|
|
3717
|
+
path: "/invoices/external/:invoiceId/payment-evidence",
|
|
3718
|
+
auth: { "type": "unified_bearer", "allowUserSession": false, "allowOAuth2": true, "allowApiKey": true, "requireRole": "viewer", "scopes": ["invoices:read"] },
|
|
3719
|
+
meta: {
|
|
3720
|
+
tags: ["invoices-external"],
|
|
3721
|
+
summary: "Read bank payment evidence for an invoice",
|
|
3722
|
+
description: "Consistent read-only snapshot of imported bank payments and refunds. Separates cash from discounts, writeoffs and manual paid marks. Decimal amounts are strings. bankPaymentConfirmed requires full matching-account/currency bank coverage without unresolved issues. revision is a content digest, not an ordered event version. No bank import or payment is initiated.",
|
|
3723
|
+
validated: { "params": true, "query": false, "body": false }
|
|
3724
|
+
},
|
|
3725
|
+
types: null
|
|
3726
|
+
},
|
|
3714
3727
|
// Contract source: explicit
|
|
3715
3728
|
"invoices_search_external": {
|
|
3716
3729
|
method: "GET",
|