n8n-nodes-vercel-ai-sdk-universal-temp 0.2.62 → 0.2.64
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/README.md +14 -0
- package/dist/nodes/UniversalAgent/UniversalAgent.node.d.ts +2 -1
- package/dist/nodes/UniversalAgent/UniversalAgent.node.js +42 -3
- package/dist/nodes/UniversalAgent/UniversalAgent.node.js.map +1 -1
- package/dist/nodes/shared/descriptions.js +281 -1
- package/dist/nodes/shared/descriptions.js.map +1 -1
- package/dist/nodes/shared/letta/client.d.ts +11 -3
- package/dist/nodes/shared/letta/client.js +43 -67
- package/dist/nodes/shared/letta/client.js.map +1 -1
- package/dist/package.json +8 -8
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -9,6 +9,7 @@ Follow the [n8n community node installation guide](https://docs.n8n.io/integrati
|
|
|
9
9
|
## Nodes
|
|
10
10
|
|
|
11
11
|
- **Universal AI** (`nodes/UniversalAI/`)
|
|
12
|
+
- **Universal Agent** (`nodes/UniversalAgent/`)
|
|
12
13
|
- **Universal Embedding** (`nodes/UniversalEmbedding/`)
|
|
13
14
|
- **Universal Image Generation** (`nodes/UniversalImageGen/`)
|
|
14
15
|
- **Universal Speech Generation** (`nodes/UniversalSpeechGen/`)
|
|
@@ -31,6 +32,16 @@ Supports text and structured generation across providers:
|
|
|
31
32
|
- **Safety Settings** and Search Grounding controls.
|
|
32
33
|
- **Outputs**: Rich metadata (usage, reasoning, tool calls) with optional request echo.
|
|
33
34
|
|
|
35
|
+
## Universal Agent Node
|
|
36
|
+
|
|
37
|
+
Orchestrate autonomous agents with the Letta provider:
|
|
38
|
+
|
|
39
|
+
- **Provider**: Letta.
|
|
40
|
+
- **Operations**: `Chat`, `Create Agent`, `Manage Agent`, `Manage Identity`.
|
|
41
|
+
- **Chat**: Send messages to one or more agents, with support for multi-user mode and background execution.
|
|
42
|
+
- **Agent Management**: Create, retrieve, update, and delete agents.
|
|
43
|
+
- **Identity Management**: Create and manage user or organization identities for multi-user contexts.
|
|
44
|
+
|
|
34
45
|
## Universal Embedding Node
|
|
35
46
|
|
|
36
47
|
Generate text embeddings with a consistent interface:
|
|
@@ -76,9 +87,12 @@ Convert audio files to text transcripts:
|
|
|
76
87
|
- **Google Generative AI**: API key from [Google AI Studio](https://makersuite.google.com/app/apikey).
|
|
77
88
|
- **DeepSeek**: API key from [DeepSeek](https://platform.deepseek.com/).
|
|
78
89
|
- **Groq**: API key from [Groq Console](https://console.groq.com/).
|
|
90
|
+
- **Letta**: API key from Letta.
|
|
79
91
|
- **OpenRouter**: API key from [OpenRouter](https://openrouter.ai/).
|
|
80
92
|
- **OpenAI**: API key from [OpenAI](https://platform.openai.com/) (for embeddings and image generation).
|
|
81
93
|
|
|
94
|
+
**Note on Anthropic:** While the `@ai-sdk/anthropic` package is included as a dependency, there is currently no credential and is not supported.
|
|
95
|
+
|
|
82
96
|
Provide keys directly in node parameters or configure reusable n8n credentials.
|
|
83
97
|
|
|
84
98
|
## Compatibility
|
|
@@ -9,8 +9,9 @@ export declare class UniversalAgent implements INodeType {
|
|
|
9
9
|
private static extractTextFromMessage;
|
|
10
10
|
private static extractTextFromContent;
|
|
11
11
|
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
12
|
-
static processItem(exec: IExecuteFunctions, index: number, operation: 'chat' | 'createAgent' | 'manageAgent', items: INodeExecutionData[]): Promise<INodeExecutionData[]>;
|
|
12
|
+
static processItem(exec: IExecuteFunctions, index: number, operation: 'chat' | 'createAgent' | 'manageAgent' | 'manageIdentity', items: INodeExecutionData[]): Promise<INodeExecutionData[]>;
|
|
13
13
|
private static handleChatOperation;
|
|
14
14
|
private static handleCreateAgentOperation;
|
|
15
15
|
private static handleManageAgentOperation;
|
|
16
|
+
private static handleManageIdentityOperation;
|
|
16
17
|
}
|
|
@@ -78,6 +78,8 @@ class UniversalAgent {
|
|
|
78
78
|
return await UniversalAgent.handleCreateAgentOperation(exec, index);
|
|
79
79
|
case 'manageAgent':
|
|
80
80
|
return await UniversalAgent.handleManageAgentOperation(exec, index);
|
|
81
|
+
case 'manageIdentity':
|
|
82
|
+
return await UniversalAgent.handleManageIdentityOperation(exec, index);
|
|
81
83
|
default:
|
|
82
84
|
throw new n8n_workflow_1.NodeOperationError(exec.getNode(), `Unsupported operation: ${operation}`);
|
|
83
85
|
}
|
|
@@ -98,11 +100,19 @@ class UniversalAgent {
|
|
|
98
100
|
if (!message) {
|
|
99
101
|
throw new n8n_workflow_1.NodeOperationError(exec.getNode(), 'Message is required for chat operation');
|
|
100
102
|
}
|
|
101
|
-
let
|
|
103
|
+
let identity;
|
|
102
104
|
if (exec.getNodeParameter('lettaMultiUserMode', index, false)) {
|
|
103
105
|
const userContextField = exec.getNodeParameter('lettaUserContextField', index, '');
|
|
104
106
|
if (userContextField) {
|
|
105
|
-
|
|
107
|
+
const identifierKey = exec.evaluateExpression(userContextField, index);
|
|
108
|
+
if (identifierKey) {
|
|
109
|
+
identity = {
|
|
110
|
+
identifierKey,
|
|
111
|
+
name: exec.getNodeParameter('lettaIdentityName', index),
|
|
112
|
+
properties: exec.getNodeParameter('lettaIdentityProperties.property', index, []),
|
|
113
|
+
identityType: exec.getNodeParameter('lettaIdentityType', index),
|
|
114
|
+
};
|
|
115
|
+
}
|
|
106
116
|
}
|
|
107
117
|
}
|
|
108
118
|
let agentIds;
|
|
@@ -141,7 +151,7 @@ class UniversalAgent {
|
|
|
141
151
|
...(background && { background }),
|
|
142
152
|
multiAgentMode: exec.getNodeParameter('lettaMultiAgentMode', index, false) ? multiAgentMode : undefined,
|
|
143
153
|
};
|
|
144
|
-
const response = await client.sendMessage(agentIds, message,
|
|
154
|
+
const response = await client.sendMessage(agentIds, message, identity, chatOptions);
|
|
145
155
|
if (Array.isArray(response)) {
|
|
146
156
|
return [{ json: { responses: response }, pairedItem: { item: index } }];
|
|
147
157
|
}
|
|
@@ -156,6 +166,13 @@ class UniversalAgent {
|
|
|
156
166
|
const config = exec.getNodeParameter('createAgentConfig', index);
|
|
157
167
|
const memoryBlocks = ((_b = (_a = config.memoryBlocks) === null || _a === void 0 ? void 0 : _a.block) === null || _b === void 0 ? void 0 : _b.map(block => ({ label: block.label, value: block.value }))) || [];
|
|
158
168
|
const tags = ((_c = config.tags) === null || _c === void 0 ? void 0 : _c.split(',').map(tag => tag.trim()).filter(tag => tag)) || [];
|
|
169
|
+
const identityIds = [];
|
|
170
|
+
if (config.identities && config.identities.identity) {
|
|
171
|
+
for (const identity of config.identities.identity) {
|
|
172
|
+
const newIdentity = await client.createIdentity(identity.identifierKey, identity.name, [], [], identity.type);
|
|
173
|
+
identityIds.push(newIdentity.id);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
159
176
|
const agent = await client.createAgent({
|
|
160
177
|
model: config.model || 'openai/gpt-4o-mini',
|
|
161
178
|
embedding: config.embedding || 'openai/text-embedding-3-small',
|
|
@@ -164,6 +181,9 @@ class UniversalAgent {
|
|
|
164
181
|
...(config.name && { name: config.name }),
|
|
165
182
|
...(config.system && { system: config.system }),
|
|
166
183
|
});
|
|
184
|
+
if (identityIds.length > 0) {
|
|
185
|
+
await client.updateAgent(agent.id, { identityIds });
|
|
186
|
+
}
|
|
167
187
|
return [{
|
|
168
188
|
json: {
|
|
169
189
|
agentId: agent.id,
|
|
@@ -203,7 +223,10 @@ class UniversalAgent {
|
|
|
203
223
|
const memoryBlocks = ((_d = (_c = updateConfig.memoryBlocks) === null || _c === void 0 ? void 0 : _c.block) === null || _d === void 0 ? void 0 : _d.map(block => ({ label: block.label, value: block.value }))) || [];
|
|
204
224
|
const tags = ((_e = updateConfig.tags) === null || _e === void 0 ? void 0 : _e.split(',').map(tag => tag.trim()).filter(tag => tag)) || [];
|
|
205
225
|
const updatedAgent = await client.updateAgent(agentId, {
|
|
226
|
+
...(updateConfig.name && { name: updateConfig.name }),
|
|
206
227
|
...(updateConfig.model && { model: updateConfig.model }),
|
|
228
|
+
...(updateConfig.embedding && { embedding: updateConfig.embedding }),
|
|
229
|
+
...(updateConfig.system && { system: updateConfig.system }),
|
|
207
230
|
...(memoryBlocks.length > 0 && { memoryBlocks }),
|
|
208
231
|
...(tags.length > 0 && { tags }),
|
|
209
232
|
});
|
|
@@ -224,6 +247,22 @@ class UniversalAgent {
|
|
|
224
247
|
throw new n8n_workflow_1.NodeOperationError(exec.getNode(), `Unsupported manage agent operation: ${operation}`);
|
|
225
248
|
}
|
|
226
249
|
}
|
|
250
|
+
static async handleManageIdentityOperation(exec, index) {
|
|
251
|
+
const client = await (0, letta_1.getLettaProvider)(exec, index);
|
|
252
|
+
const identifierKey = exec.getNodeParameter('identityKey', index);
|
|
253
|
+
const name = exec.getNodeParameter('identityName', index);
|
|
254
|
+
const properties = exec.getNodeParameter('identityProperties.property', index, []);
|
|
255
|
+
const identityType = exec.getNodeParameter('identityType', index);
|
|
256
|
+
const identity = await client.createIdentity(identifierKey, name, properties, [], identityType);
|
|
257
|
+
return [{
|
|
258
|
+
json: {
|
|
259
|
+
identityId: identity.id,
|
|
260
|
+
identifierKey: identity.identifierKey,
|
|
261
|
+
name: identity.name,
|
|
262
|
+
},
|
|
263
|
+
pairedItem: { item: index },
|
|
264
|
+
}];
|
|
265
|
+
}
|
|
227
266
|
}
|
|
228
267
|
exports.UniversalAgent = UniversalAgent;
|
|
229
268
|
//# sourceMappingURL=UniversalAgent.node.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UniversalAgent.node.js","sourceRoot":"","sources":["../../../nodes/UniversalAgent/UniversalAgent.node.ts"],"names":[],"mappings":";;;AAAA,+CAQsB;AAEtB,yDAAqE;AACrE,2CAAmD;AACnD,+DAA8D;AAE9D,MAAM,eAAe,GAAyB,0CAA2B,CAAC;AAE1E,MAAa,cAAc;IAA3B;QACC,gBAAW,GAAyB,eAAe,CAAC;QAEpD,YAAO,GAAG;YACT,WAAW,EAAE;gBACZ,KAAK,CAAC,cAAc;oBACnB,OAAO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AAE,IAAI,EAAE,KAAK,EAAE;aAC3B,CAAC,CAAC;IACJ,CAAC;CACD;AA5TD,wCA4TC"}
|
|
@@ -1426,7 +1426,7 @@ exports.UNIVERSAL_AI_DESCRIPTION = {
|
|
|
1426
1426
|
exports.UNIVERSAL_AGENT_DESCRIPTION = {
|
|
1427
1427
|
displayName: 'Universal Agent',
|
|
1428
1428
|
name: 'universalAgent',
|
|
1429
|
-
icon: 'file:icons/
|
|
1429
|
+
icon: 'file:icons/UniversalAgent.svg',
|
|
1430
1430
|
iconColor: 'purple',
|
|
1431
1431
|
group: ['transform'],
|
|
1432
1432
|
version: 1,
|
|
@@ -1490,6 +1490,12 @@ exports.UNIVERSAL_AGENT_DESCRIPTION = {
|
|
|
1490
1490
|
description: 'Get, update, or delete an existing agent',
|
|
1491
1491
|
action: 'Manage agent',
|
|
1492
1492
|
},
|
|
1493
|
+
{
|
|
1494
|
+
name: 'Manage Identity',
|
|
1495
|
+
value: 'manageIdentity',
|
|
1496
|
+
description: 'Create or update a user identity for context isolation',
|
|
1497
|
+
action: 'Manage identity',
|
|
1498
|
+
},
|
|
1493
1499
|
],
|
|
1494
1500
|
default: 'chat',
|
|
1495
1501
|
description: 'The operation to perform',
|
|
@@ -1751,6 +1757,85 @@ exports.UNIVERSAL_AGENT_DESCRIPTION = {
|
|
|
1751
1757
|
},
|
|
1752
1758
|
description: 'Expression to extract the user identifier for context isolation. Use n8n expressions to reference user ID, chat ID, or other unique identifiers from input data.',
|
|
1753
1759
|
},
|
|
1760
|
+
{
|
|
1761
|
+
displayName: 'Identity Type',
|
|
1762
|
+
name: 'lettaIdentityType',
|
|
1763
|
+
type: 'options',
|
|
1764
|
+
default: 'user',
|
|
1765
|
+
options: [
|
|
1766
|
+
{ name: 'User', value: 'user' },
|
|
1767
|
+
{ name: 'Organization', value: 'org' },
|
|
1768
|
+
{ name: 'Other', value: 'other' },
|
|
1769
|
+
],
|
|
1770
|
+
displayOptions: {
|
|
1771
|
+
show: {
|
|
1772
|
+
operation: ['chat'],
|
|
1773
|
+
lettaMultiUserMode: [true],
|
|
1774
|
+
},
|
|
1775
|
+
},
|
|
1776
|
+
description: 'The type of identity to use for the user context.',
|
|
1777
|
+
},
|
|
1778
|
+
{
|
|
1779
|
+
displayName: 'Identity Name',
|
|
1780
|
+
name: 'lettaIdentityName',
|
|
1781
|
+
type: 'string',
|
|
1782
|
+
default: '',
|
|
1783
|
+
displayOptions: {
|
|
1784
|
+
show: {
|
|
1785
|
+
operation: ['chat'],
|
|
1786
|
+
lettaMultiUserMode: [true],
|
|
1787
|
+
},
|
|
1788
|
+
},
|
|
1789
|
+
description: 'The name of the identity to use for the user context.',
|
|
1790
|
+
},
|
|
1791
|
+
{
|
|
1792
|
+
displayName: 'Identity Properties',
|
|
1793
|
+
name: 'lettaIdentityProperties',
|
|
1794
|
+
type: 'fixedCollection',
|
|
1795
|
+
typeOptions: {
|
|
1796
|
+
multipleValues: true,
|
|
1797
|
+
},
|
|
1798
|
+
default: [],
|
|
1799
|
+
displayOptions: {
|
|
1800
|
+
show: {
|
|
1801
|
+
operation: ['chat'],
|
|
1802
|
+
lettaMultiUserMode: [true],
|
|
1803
|
+
},
|
|
1804
|
+
},
|
|
1805
|
+
description: 'Key-value pairs to associate with the identity',
|
|
1806
|
+
options: [
|
|
1807
|
+
{
|
|
1808
|
+
name: 'property',
|
|
1809
|
+
displayName: 'Property',
|
|
1810
|
+
values: [
|
|
1811
|
+
{
|
|
1812
|
+
displayName: 'Key',
|
|
1813
|
+
name: 'key',
|
|
1814
|
+
type: 'string',
|
|
1815
|
+
default: '',
|
|
1816
|
+
},
|
|
1817
|
+
{
|
|
1818
|
+
displayName: 'Value',
|
|
1819
|
+
name: 'value',
|
|
1820
|
+
type: 'string',
|
|
1821
|
+
default: '',
|
|
1822
|
+
},
|
|
1823
|
+
{
|
|
1824
|
+
displayName: 'Type',
|
|
1825
|
+
name: 'type',
|
|
1826
|
+
type: 'options',
|
|
1827
|
+
options: [
|
|
1828
|
+
{ name: 'String', value: 'string' },
|
|
1829
|
+
{ name: 'Number', value: 'number' },
|
|
1830
|
+
{ name: 'Boolean', value: 'boolean' },
|
|
1831
|
+
{ name: 'JSON', value: 'json' },
|
|
1832
|
+
],
|
|
1833
|
+
default: 'string',
|
|
1834
|
+
},
|
|
1835
|
+
],
|
|
1836
|
+
},
|
|
1837
|
+
],
|
|
1838
|
+
},
|
|
1754
1839
|
{
|
|
1755
1840
|
displayName: 'Multi-Agent Mode',
|
|
1756
1841
|
name: 'lettaMultiAgentMode',
|
|
@@ -1932,6 +2017,88 @@ exports.UNIVERSAL_AGENT_DESCRIPTION = {
|
|
|
1932
2017
|
},
|
|
1933
2018
|
],
|
|
1934
2019
|
},
|
|
2020
|
+
{
|
|
2021
|
+
displayName: 'Identities',
|
|
2022
|
+
name: 'identities',
|
|
2023
|
+
type: 'fixedCollection',
|
|
2024
|
+
typeOptions: {
|
|
2025
|
+
multipleValues: true,
|
|
2026
|
+
},
|
|
2027
|
+
default: [],
|
|
2028
|
+
description: 'Identities to associate with the new agent',
|
|
2029
|
+
options: [
|
|
2030
|
+
{
|
|
2031
|
+
name: 'identity',
|
|
2032
|
+
displayName: 'Identity',
|
|
2033
|
+
values: [
|
|
2034
|
+
{
|
|
2035
|
+
displayName: 'Identifier Key',
|
|
2036
|
+
name: 'identifierKey',
|
|
2037
|
+
type: 'string',
|
|
2038
|
+
default: '',
|
|
2039
|
+
},
|
|
2040
|
+
{
|
|
2041
|
+
displayName: 'Name',
|
|
2042
|
+
name: 'name',
|
|
2043
|
+
type: 'string',
|
|
2044
|
+
default: '',
|
|
2045
|
+
},
|
|
2046
|
+
{
|
|
2047
|
+
displayName: 'Type',
|
|
2048
|
+
name: 'type',
|
|
2049
|
+
type: 'options',
|
|
2050
|
+
options: [
|
|
2051
|
+
{ name: 'User', value: 'user' },
|
|
2052
|
+
{ name: 'Organization', value: 'org' },
|
|
2053
|
+
{ name: 'Other', value: 'other' },
|
|
2054
|
+
],
|
|
2055
|
+
default: 'user',
|
|
2056
|
+
},
|
|
2057
|
+
],
|
|
2058
|
+
},
|
|
2059
|
+
],
|
|
2060
|
+
},
|
|
2061
|
+
{
|
|
2062
|
+
displayName: 'Identities',
|
|
2063
|
+
name: 'identities',
|
|
2064
|
+
type: 'fixedCollection',
|
|
2065
|
+
typeOptions: {
|
|
2066
|
+
multipleValues: true,
|
|
2067
|
+
},
|
|
2068
|
+
default: [],
|
|
2069
|
+
description: 'Identities to associate with the new agent',
|
|
2070
|
+
options: [
|
|
2071
|
+
{
|
|
2072
|
+
name: 'identity',
|
|
2073
|
+
displayName: 'Identity',
|
|
2074
|
+
values: [
|
|
2075
|
+
{
|
|
2076
|
+
displayName: 'Identifier Key',
|
|
2077
|
+
name: 'identifierKey',
|
|
2078
|
+
type: 'string',
|
|
2079
|
+
default: '',
|
|
2080
|
+
},
|
|
2081
|
+
{
|
|
2082
|
+
displayName: 'Name',
|
|
2083
|
+
name: 'name',
|
|
2084
|
+
type: 'string',
|
|
2085
|
+
default: '',
|
|
2086
|
+
},
|
|
2087
|
+
{
|
|
2088
|
+
displayName: 'Type',
|
|
2089
|
+
name: 'type',
|
|
2090
|
+
type: 'options',
|
|
2091
|
+
options: [
|
|
2092
|
+
{ name: 'User', value: 'user' },
|
|
2093
|
+
{ name: 'Organization', value: 'org' },
|
|
2094
|
+
{ name: 'Other', value: 'other' },
|
|
2095
|
+
],
|
|
2096
|
+
default: 'user',
|
|
2097
|
+
},
|
|
2098
|
+
],
|
|
2099
|
+
},
|
|
2100
|
+
],
|
|
2101
|
+
},
|
|
1935
2102
|
],
|
|
1936
2103
|
},
|
|
1937
2104
|
{
|
|
@@ -1990,6 +2157,13 @@ exports.UNIVERSAL_AGENT_DESCRIPTION = {
|
|
|
1990
2157
|
default: {},
|
|
1991
2158
|
description: 'Configuration for updating the agent',
|
|
1992
2159
|
options: [
|
|
2160
|
+
{
|
|
2161
|
+
displayName: 'Name',
|
|
2162
|
+
name: 'name',
|
|
2163
|
+
type: 'string',
|
|
2164
|
+
default: '',
|
|
2165
|
+
description: 'New name for the agent',
|
|
2166
|
+
},
|
|
1993
2167
|
{
|
|
1994
2168
|
displayName: 'Model',
|
|
1995
2169
|
name: 'model',
|
|
@@ -1997,6 +2171,23 @@ exports.UNIVERSAL_AGENT_DESCRIPTION = {
|
|
|
1997
2171
|
default: '',
|
|
1998
2172
|
description: 'New model for the agent',
|
|
1999
2173
|
},
|
|
2174
|
+
{
|
|
2175
|
+
displayName: 'Embedding Model',
|
|
2176
|
+
name: 'embedding',
|
|
2177
|
+
type: 'string',
|
|
2178
|
+
default: '',
|
|
2179
|
+
description: 'New embedding model for the agent',
|
|
2180
|
+
},
|
|
2181
|
+
{
|
|
2182
|
+
displayName: 'System Prompt',
|
|
2183
|
+
name: 'system',
|
|
2184
|
+
type: 'string',
|
|
2185
|
+
typeOptions: {
|
|
2186
|
+
rows: 4,
|
|
2187
|
+
},
|
|
2188
|
+
default: '',
|
|
2189
|
+
description: 'New system prompt for the agent',
|
|
2190
|
+
},
|
|
2000
2191
|
{
|
|
2001
2192
|
displayName: 'Tags',
|
|
2002
2193
|
name: 'tags',
|
|
@@ -2050,6 +2241,95 @@ exports.UNIVERSAL_AGENT_DESCRIPTION = {
|
|
|
2050
2241
|
},
|
|
2051
2242
|
description: 'Stream the response in chunks. Output will contain multiple items.',
|
|
2052
2243
|
},
|
|
2244
|
+
{
|
|
2245
|
+
displayName: 'Identifier Key',
|
|
2246
|
+
name: 'identityKey',
|
|
2247
|
+
type: 'string',
|
|
2248
|
+
default: '',
|
|
2249
|
+
required: true,
|
|
2250
|
+
displayOptions: {
|
|
2251
|
+
show: {
|
|
2252
|
+
operation: ['manageIdentity'],
|
|
2253
|
+
},
|
|
2254
|
+
},
|
|
2255
|
+
description: 'Unique identifier for the identity (e.g., userId, chatId)',
|
|
2256
|
+
},
|
|
2257
|
+
{
|
|
2258
|
+
displayName: 'Name',
|
|
2259
|
+
name: 'identityName',
|
|
2260
|
+
type: 'string',
|
|
2261
|
+
default: '',
|
|
2262
|
+
displayOptions: {
|
|
2263
|
+
show: {
|
|
2264
|
+
operation: ['manageIdentity'],
|
|
2265
|
+
},
|
|
2266
|
+
},
|
|
2267
|
+
description: 'Display name for the identity',
|
|
2268
|
+
},
|
|
2269
|
+
{
|
|
2270
|
+
displayName: 'Identity Type',
|
|
2271
|
+
name: 'identityType',
|
|
2272
|
+
type: 'options',
|
|
2273
|
+
default: 'user',
|
|
2274
|
+
options: [
|
|
2275
|
+
{ name: 'User', value: 'user' },
|
|
2276
|
+
{ name: 'Organization', value: 'org' },
|
|
2277
|
+
{ name: 'Other', value: 'other' },
|
|
2278
|
+
],
|
|
2279
|
+
displayOptions: {
|
|
2280
|
+
show: {
|
|
2281
|
+
operation: ['manageIdentity'],
|
|
2282
|
+
},
|
|
2283
|
+
},
|
|
2284
|
+
description: 'The type of the identity.',
|
|
2285
|
+
},
|
|
2286
|
+
{
|
|
2287
|
+
displayName: 'Properties',
|
|
2288
|
+
name: 'identityProperties',
|
|
2289
|
+
type: 'fixedCollection',
|
|
2290
|
+
typeOptions: {
|
|
2291
|
+
multipleValues: true,
|
|
2292
|
+
},
|
|
2293
|
+
default: [],
|
|
2294
|
+
displayOptions: {
|
|
2295
|
+
show: {
|
|
2296
|
+
operation: ['manageIdentity'],
|
|
2297
|
+
},
|
|
2298
|
+
},
|
|
2299
|
+
description: 'Key-value pairs to associate with the identity',
|
|
2300
|
+
options: [
|
|
2301
|
+
{
|
|
2302
|
+
name: 'property',
|
|
2303
|
+
displayName: 'Property',
|
|
2304
|
+
values: [
|
|
2305
|
+
{
|
|
2306
|
+
displayName: 'Key',
|
|
2307
|
+
name: 'key',
|
|
2308
|
+
type: 'string',
|
|
2309
|
+
default: '',
|
|
2310
|
+
},
|
|
2311
|
+
{
|
|
2312
|
+
displayName: 'Value',
|
|
2313
|
+
name: 'value',
|
|
2314
|
+
type: 'string',
|
|
2315
|
+
default: '',
|
|
2316
|
+
},
|
|
2317
|
+
{
|
|
2318
|
+
displayName: 'Type',
|
|
2319
|
+
name: 'type',
|
|
2320
|
+
type: 'options',
|
|
2321
|
+
options: [
|
|
2322
|
+
{ name: 'String', value: 'string' },
|
|
2323
|
+
{ name: 'Number', value: 'number' },
|
|
2324
|
+
{ name: 'Boolean', value: 'boolean' },
|
|
2325
|
+
{ name: 'JSON', value: 'json' },
|
|
2326
|
+
],
|
|
2327
|
+
default: 'string',
|
|
2328
|
+
},
|
|
2329
|
+
],
|
|
2330
|
+
},
|
|
2331
|
+
],
|
|
2332
|
+
},
|
|
2053
2333
|
],
|
|
2054
2334
|
};
|
|
2055
2335
|
exports.UNIVERSAL_TRANSCRIPTION_DESCRIPTION = {
|