Class: ProjectScope
Scopes all project-specific resources to a single project.
Constructors
new ProjectScope()
Internal
Parameters
| Parameter | Type | Description |
|---|---|---|
ctx | ClientContext | - |
projectId | string | The project ID this scope is bound to |
Returns
Defined in
4Players/cortex-typescript-sdk/src/project.ts:27
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
projectId | readonly | string | The project ID this scope is bound to | 4Players/cortex-typescript-sdk/src/project.ts:30 |
Accessors
functions
Serverless functions management (settings, runtime, and CRUD)
Returns
Defined in
4Players/cortex-typescript-sdk/src/project.ts:79
gatherings
Gathering management (includes members and invitations)
Returns
Defined in
4Players/cortex-typescript-sdk/src/project.ts:73
participants
Participant management
Returns
Defined in
4Players/cortex-typescript-sdk/src/project.ts:67
plugins
Plugin instance management
Returns
Defined in
4Players/cortex-typescript-sdk/src/project.ts:49
sanctions
Sanction management
Returns
Defined in
4Players/cortex-typescript-sdk/src/project.ts:61
sessions
Session management
Returns
Defined in
4Players/cortex-typescript-sdk/src/project.ts:37
settings
Project settings management
Returns
Defined in
4Players/cortex-typescript-sdk/src/project.ts:55
webhooks
Webhook subscription and event management
Returns
Defined in
4Players/cortex-typescript-sdk/src/project.ts:43
Methods
generateToken()
Generate an ODIN Voice token for this project
Parameters
| Parameter | Type | Description |
|---|---|---|
body | object | Token generation payload (roomId, userId) |
body.roomId | string | Description The Room ID Example my-awesome-room |
body.userId | string | Description The User ID Example my-user-id |
Returns
Promise<object>
Generated token
| Name | Type | Description | Defined in |
|---|---|---|---|
token | string | Description The generated access token | 4Players/cortex-typescript-sdk/src/types.ts:2446 |
Defined in
4Players/cortex-typescript-sdk/src/project.ts:88