@amigo-ai/platform-sdk 0.82.0 → 0.84.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/api.md +1 -0
- package/dist/index.cjs +22 -0
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +22 -0
- package/dist/index.mjs.map +2 -2
- package/dist/resources/sessions.js +18 -1
- package/dist/resources/sessions.js.map +1 -1
- package/dist/types/generated/api.d.ts +745 -122
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/external-integrations.d.ts.map +1 -1
- package/dist/types/resources/intake.d.ts.map +1 -1
- package/dist/types/resources/integrations.d.ts.map +1 -1
- package/dist/types/resources/metrics.d.ts.map +1 -1
- package/dist/types/resources/operators.d.ts.map +1 -1
- package/dist/types/resources/services.d.ts.map +1 -1
- package/dist/types/resources/sessions.d.ts +26 -0
- package/dist/types/resources/sessions.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/dist/types/resources/surfaces.d.ts.map +1 -1
- package/dist/types/resources/triggers.d.ts +36 -12
- package/dist/types/resources/triggers.d.ts.map +1 -1
- package/dist/types/resources/world.d.ts.map +1 -1
- package/package.json +1 -1
package/api.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -5281,6 +5281,28 @@ var SessionsResource = class extends WorkspaceScopedResource {
|
|
|
5281
5281
|
})
|
|
5282
5282
|
);
|
|
5283
5283
|
}
|
|
5284
|
+
/**
|
|
5285
|
+
* Live Agones fleet capacity (workspace-global) — Ready/Allocated/total
|
|
5286
|
+
* GameServers plus headroom against the maxReplicas ceiling. `fleet`
|
|
5287
|
+
* selects the voice fleet (default) or the isolated `tool-runner` fleet;
|
|
5288
|
+
* omitted, the server defaults to voice. Operator-only.
|
|
5289
|
+
*
|
|
5290
|
+
* The `fleet` query param is typed locally until the generated spec picks
|
|
5291
|
+
* it up via sdk-sync; the response schema is already generated.
|
|
5292
|
+
*/
|
|
5293
|
+
async getFleetStatus(opts) {
|
|
5294
|
+
return extractData(
|
|
5295
|
+
await untypedClient(this.client).GET(
|
|
5296
|
+
"/v1/{workspace_id}/sessions/fleet-status",
|
|
5297
|
+
{
|
|
5298
|
+
params: {
|
|
5299
|
+
path: { workspace_id: this.workspaceId },
|
|
5300
|
+
query: opts?.fleet === void 0 ? void 0 : { fleet: opts.fleet }
|
|
5301
|
+
}
|
|
5302
|
+
}
|
|
5303
|
+
)
|
|
5304
|
+
);
|
|
5305
|
+
}
|
|
5284
5306
|
/** Inject a one-shot directive (text/audio) into a live call session */
|
|
5285
5307
|
async inject(callSid, body) {
|
|
5286
5308
|
return extractData(
|