@invonetwork/web-sdk 3.24.1 → 3.26.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/CHANGELOG.md +18 -0
- package/README.md +2782 -2749
- package/dist/server.cjs +354 -161
- package/dist/server.d.cts +238 -11
- package/dist/server.d.ts +238 -11
- package/dist/server.js +355 -163
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.26.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Server: `invo.payouts.removePayee(payeeId)` (`POST /api/partner-payees/{payeeId}/remove`): remove a creator from your program; the status becomes `closed`.
|
|
8
|
+
- Types: `PayeeStatus` gains `closed`; `Payee` gains `erased`; `Payout` and `PayoutStatusChangedData` gain `return_reason_code` (typed `ReturnReasonCode`), `partner_message` and `owner_confirmation_required` (`Payout` also `owner_confirmed_at`). `PayoutStatusChangedData.status` and `previous_status` are typed `PayoutStatus`. `PayoutStatus` and `ReturnReasonCode` are exported from the server entry and from webhooks.
|
|
9
|
+
- Docs: `requestPayout` takes exactly one of `payeeId` or `bankAccountId`; the comment no longer says a request without either defaults to your own bank. Refusal codes listed in full.
|
|
10
|
+
- Behaviour on the API, not the SDK: partner payout reads and `payout.status_changed` no longer carry INVO's internal notes (`admin_note`), admin ids (`reviewed_by_admin_id`, `initiated_by_admin_id`) or the accounting provider's fields (`qb_vendor_id`, `qb_bill_id`, `qb_payment_reference`). They were never part of the documented contract; read `partner_message` for a note INVO writes for you.
|
|
11
|
+
- Nothing in the SDK removed or renamed.
|
|
12
|
+
|
|
13
|
+
## 3.25.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- Server: `InvoServer.payouts`, partner payouts and creator payouts. `registerPayee` (`POST /api/partner-payees`), `listPayees`, `getPayee`, `resendPayeeInvite`, `requestPayout` (`POST /api/partner-payouts/request`, with `payeeId` to have INVO pay a verified creator from the earnings INVO owes you, or `bankAccountId` for your own verified bank), `getPayout`, `listPayouts` (optional `payeeId`) and `cancelPayout` (a creator payout still `requested`). Results keep the API's snake_case fields. Creators are INVO's customers: you see their status only, never their documents, tax id or bank details.
|
|
18
|
+
- Webhook types: `payee.status_changed` is typed as `PayeeStatusChangedData`. `PayoutStatusChangedData` gains `payee_id`, `payout_method` and `returned_at`. Payout statuses now include `cancelled` and `returned`.
|
|
19
|
+
- Nothing removed or renamed.
|
|
20
|
+
|
|
3
21
|
## 3.24.1
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|