SDK
invite
Function from @cognitivx/api-client
invite
Kind: Function
Source: packages/api-client/src/endpoints/orgs.ts:124
Generated from the TypeScript source for @cognitivx/api-client.
Signature
invite(id, body)Parameters
[
{
"name": "id",
"type": {
"type": "intrinsic",
"name": "string"
},
"summary": ""
},
{
"name": "body",
"type": {
"type": "reflection",
"declaration": {
"id": 518,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 519,
"name": "email",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/api-client/src/endpoints/orgs.ts",
"line": 124,
"character": 43,
"url": "https://github.com/ParsaBarati/CognitiveX/blob/1090be99c91b488bd57bc6c8e9230d568d32dad0/packages/api-client/src/endpoints/orgs.ts#L124"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 520,
"name": "role",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/api-client/src/endpoints/orgs.ts",
"line": 124,
"character": 58,
"url": "https://github.com/ParsaBarati/CognitiveX/blob/1090be99c91b488bd57bc6c8e9230d568d32dad0/packages/api-client/src/endpoints/orgs.ts#L124"
}
],
"type": {
"type": "reference",
"target": 426,
"name": "OrgRole",
"package": "@cognitivx/api-client"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
519,
520
]
}
]
}
},
"summary": ""
}
]TypeDoc reflection
{
"name": "invite",
"kind": "Function",
"source": "packages/api-client/src/endpoints/orgs.ts:124"
}