@mitumba/sdk 5.23.0 → 5.24.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 +27 -3
- package/dist/index.d.ts +27 -3
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2490,6 +2490,15 @@ var AdminModule = class {
|
|
|
2490
2490
|
async changeSetting(key, input, options) {
|
|
2491
2491
|
return this.client.put(`/admin/settings/${encodeURIComponent(key)}`, input, options);
|
|
2492
2492
|
}
|
|
2493
|
+
/**
|
|
2494
|
+
* Send the `ops.test_notification` event to the caller only, to check which channels reach them.
|
|
2495
|
+
* Delivery follows the channel modes, the test allowlist and the caller's own contacts, exactly
|
|
2496
|
+
* as for a real event. Requires `broadcast:send`. Presses in the same minute are one test.
|
|
2497
|
+
* Errors: 503 `notifications_unavailable` when the event was not accepted (nothing was sent).
|
|
2498
|
+
*/
|
|
2499
|
+
async sendTestNotification(options) {
|
|
2500
|
+
return this.client.post("/admin/notifications/test", void 0, options);
|
|
2501
|
+
}
|
|
2493
2502
|
// ── VAZI Moderation ──
|
|
2494
2503
|
async listVaziOutfits(params, options) {
|
|
2495
2504
|
return this.client.get("/admin/vazi/outfits", params, options);
|