conduyt 1.19.0 → 1.20.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.js +17 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2357,6 +2357,23 @@ projectBlue
|
|
|
2357
2357
|
assertUuid(lineId, "line id");
|
|
2358
2358
|
return client.put(`/api/v1/settings/project-blue/lines/${encodeURIComponent(lineId)}`, { userId: null });
|
|
2359
2359
|
}));
|
|
2360
|
+
// (2026-09-07) Voice calling through Project Blue's own Twilio account
|
|
2361
|
+
projectBlue
|
|
2362
|
+
.command("voice")
|
|
2363
|
+
.description("Project Blue voice calling: the vendor's Twilio Voice keys (masked) and the caller ID iPhone-line calls show")
|
|
2364
|
+
.action(run(async (client) => client.get("/api/v1/settings/project-blue/voice")));
|
|
2365
|
+
projectBlue
|
|
2366
|
+
.command("voice-connect")
|
|
2367
|
+
.description("Store Project Blue's Twilio Voice keys (dashboard → Settings → General → API Keys → Voice Calling API); verified against Twilio read-only")
|
|
2368
|
+
.requiredOption("--account-sid <sid>", "Twilio Account SID (AC…)")
|
|
2369
|
+
.requiredOption("--twiml-app-sid <sid>", "TwiML App SID (AP…)")
|
|
2370
|
+
.requiredOption("--api-key-sid <sid>", "API Key SID (SK…)")
|
|
2371
|
+
.requiredOption("--api-key-secret <secret>", "API Key Secret")
|
|
2372
|
+
.action(run(async (client, opts) => client.put("/api/v1/settings/project-blue/voice", { accountSid: opts.accountSid, twimlAppSid: opts.twimlAppSid, apiKeySid: opts.apiKeySid, apiKeySecret: opts.apiKeySecret })));
|
|
2373
|
+
projectBlue
|
|
2374
|
+
.command("voice-disconnect")
|
|
2375
|
+
.description("Remove Project Blue's Twilio Voice keys (iPhone-line calls fall back to FaceTime Audio)")
|
|
2376
|
+
.action(run(async (client) => client.del("/api/v1/settings/project-blue/voice")));
|
|
2360
2377
|
function assertUuid(id, label = "id") {
|
|
2361
2378
|
const uuidRe = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
2362
2379
|
if (!uuidRe.test(id.trim())) {
|
package/package.json
CHANGED