@mitumba/sdk 5.8.0 → 5.9.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/dist/index.d.mts +38 -2
- package/dist/index.d.ts +38 -2
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2378,6 +2378,13 @@ var AdminModule = class {
|
|
|
2378
2378
|
async getAuditLog(limit = 100, options) {
|
|
2379
2379
|
return this.client.get("/admin/audit", { limit }, options);
|
|
2380
2380
|
}
|
|
2381
|
+
/**
|
|
2382
|
+
* The attributed, filterable audit trail, newest first. Pass `next_cursor` back as `before` for
|
|
2383
|
+
* the next page; it is null on the last page.
|
|
2384
|
+
*/
|
|
2385
|
+
async listAuditLog(query2 = {}, options) {
|
|
2386
|
+
return this.client.get("/admin/audit", query2, options);
|
|
2387
|
+
}
|
|
2381
2388
|
// ── Payout approval ──
|
|
2382
2389
|
async listPayoutsAwaitingApproval(options) {
|
|
2383
2390
|
return this.client.get("/admin/payouts/pending-approval", void 0, options);
|