Skip to main content

Class: ProjectScope

Scopes all project-specific resources to a single project.

Constructors​

new ProjectScope()​

new ProjectScope(ctx, projectId): ProjectScope

Internal

Parameters​

ParameterTypeDescription
ctxClientContext-
projectIdstringThe project ID this scope is bound to

Returns​

ProjectScope

Defined in​

odin-transcription-service/packages/cortex-typescript-sdk/src/project.ts:28

Properties​

PropertyModifierTypeDescriptionDefined in
projectIdreadonlystringThe project ID this scope is bound toodin-transcription-service/packages/cortex-typescript-sdk/src/project.ts:31

Accessors​

functions​

get functions(): FunctionsManager

Serverless functions management (settings, runtime, and CRUD)

Returns​

FunctionsManager

Defined in​

odin-transcription-service/packages/cortex-typescript-sdk/src/project.ts:80


gatherings​

get gatherings(): GatheringManager

Gathering management (includes members and invitations)

Returns​

GatheringManager

Defined in​

odin-transcription-service/packages/cortex-typescript-sdk/src/project.ts:74


participants​

get participants(): ParticipantManager

Participant management

Returns​

ParticipantManager

Defined in​

odin-transcription-service/packages/cortex-typescript-sdk/src/project.ts:68


plugins​

get plugins(): PluginInstanceManager

Plugin instance management

Returns​

PluginInstanceManager

Defined in​

odin-transcription-service/packages/cortex-typescript-sdk/src/project.ts:50


rooms​

get rooms(): RoomManager

Room push — send messages into the ODIN room of a live session through the Cortex bot

Returns​

RoomManager

Defined in​

odin-transcription-service/packages/cortex-typescript-sdk/src/project.ts:86


sanctions​

get sanctions(): SanctionManager

Sanction management

Returns​

SanctionManager

Defined in​

odin-transcription-service/packages/cortex-typescript-sdk/src/project.ts:62


sessions​

get sessions(): SessionManager

Session management

Returns​

SessionManager

Defined in​

odin-transcription-service/packages/cortex-typescript-sdk/src/project.ts:38


settings​

get settings(): ProjectSettingsManager

Project settings management

Returns​

ProjectSettingsManager

Defined in​

odin-transcription-service/packages/cortex-typescript-sdk/src/project.ts:56


webhooks​

get webhooks(): WebhookManager

Webhook subscription and event management

Returns​

WebhookManager

Defined in​

odin-transcription-service/packages/cortex-typescript-sdk/src/project.ts:44

Methods​

generateToken()​

generateToken(body): Promise<object>

Generate an ODIN Voice token for this project

Parameters​

ParameterTypeDescription
bodyobjectToken generation payload (roomId, userId)
body.roomIdstringDescription The Room ID Example my-awesome-room
body.userIdstringDescription The User ID Example my-user-id

Returns​

Promise<object>

Generated token

NameTypeDescriptionDefined in
tokenstringDescription The generated access tokenodin-transcription-service/packages/cortex-typescript-sdk/src/types.ts:2826

Defined in​

odin-transcription-service/packages/cortex-typescript-sdk/src/project.ts:95