n8n-nodes-base 2.40.2 → 2.41.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/dist/cjs/build.tsbuildinfo +1 -1
- package/dist/credentials/ClearbitApi.credentials.d.ts.map +1 -1
- package/dist/credentials/ClearbitApi.credentials.js +1 -0
- package/dist/credentials/ClearbitApi.credentials.js.map +1 -1
- package/dist/credentials/MicrosoftTeamsOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/MicrosoftTeamsOAuth2Api.credentials.js +1 -0
- package/dist/credentials/MicrosoftTeamsOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/MondayComApi.credentials.js +1 -1
- package/dist/credentials/NotionApi.credentials.d.ts.map +1 -1
- package/dist/credentials/NotionApi.credentials.js +1 -0
- package/dist/credentials/NotionApi.credentials.js.map +1 -1
- package/dist/credentials/SlackApi.credentials.d.ts.map +1 -1
- package/dist/credentials/SlackApi.credentials.js +1 -0
- package/dist/credentials/SlackApi.credentials.js.map +1 -1
- package/dist/credentials/SlackOAuth2Api.credentials.js +1 -1
- package/dist/credentials/SlackOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/TelegramApi.credentials.d.ts.map +1 -1
- package/dist/credentials/TelegramApi.credentials.js +1 -0
- package/dist/credentials/TelegramApi.credentials.js.map +1 -1
- package/dist/credentials/common/aws/utils.d.ts +5 -1
- package/dist/credentials/common/aws/utils.d.ts.map +1 -1
- package/dist/credentials/common/aws/utils.js +6 -4
- package/dist/credentials/common/aws/utils.js.map +1 -1
- package/dist/known/credentials.json +4 -2
- package/dist/known/nodes.json +4 -0
- package/dist/node-definitions/.nodes-hash +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/emailReadImap/v2.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/emailReadImap/v21.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/emailReadImap/v22.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v1/mode_each.ts +0 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v1/mode_once.ts +0 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v11/mode_each.ts +0 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v11/mode_once.ts +0 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v12/mode_each.ts +0 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v12/mode_once.ts +0 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v13/mode_each.ts +0 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v13/mode_once.ts +0 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v14/index.schema.js +22 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v14/index.ts +15 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v14/mode_each.schema.js +27 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v14/mode_each.ts +99 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v14/mode_once.schema.js +27 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v14/mode_once.ts +99 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/googleAnalytics/v2/resource_report/operation_get.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftOutlook/v2/resource_event/operation_create.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/index.schema.js +2 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/index.ts +3 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_channel_message/operation_create.schema.js +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_channel_message/operation_create.ts +31 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_channel_message/operation_reply.schema.js +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_channel_message/operation_reply.ts +31 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_chat/index.schema.js +24 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_chat/index.ts +18 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_chat/operation_create.schema.js +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_chat/operation_create.ts +73 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_chat/operation_get.schema.js +23 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_chat/operation_get.ts +31 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_chat/operation_get_all.schema.js +24 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_chat/operation_get_all.ts +37 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_chat_message/operation_create.schema.js +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_chat_message/operation_create.ts +20 -0
- package/dist/nodes/Databricks/Databricks.node.d.ts.map +1 -1
- package/dist/nodes/Databricks/Databricks.node.js +3 -36
- package/dist/nodes/Databricks/Databricks.node.js.map +1 -1
- package/dist/nodes/Databricks/DatabricksTrigger.node.d.ts +6 -0
- package/dist/nodes/Databricks/DatabricksTrigger.node.d.ts.map +1 -0
- package/dist/nodes/Databricks/DatabricksTrigger.node.js +30 -0
- package/dist/nodes/Databricks/DatabricksTrigger.node.js.map +1 -0
- package/dist/nodes/Databricks/DatabricksTrigger.node.json +18 -0
- package/dist/nodes/Databricks/actions/helpers.d.ts +14 -15
- package/dist/nodes/Databricks/actions/helpers.d.ts.map +1 -1
- package/dist/nodes/Databricks/actions/helpers.js +72 -31
- package/dist/nodes/Databricks/actions/helpers.js.map +1 -1
- package/dist/nodes/Databricks/actions/interfaces.d.ts +75 -12
- package/dist/nodes/Databricks/actions/interfaces.d.ts.map +1 -1
- package/dist/nodes/Databricks/actions/job/Job.resource.d.ts +3 -0
- package/dist/nodes/Databricks/actions/job/Job.resource.d.ts.map +1 -1
- package/dist/nodes/Databricks/actions/job/Job.resource.js +4 -1
- package/dist/nodes/Databricks/actions/job/Job.resource.js.map +1 -1
- package/dist/nodes/Databricks/actions/job/getJob.operation.d.ts +3 -0
- package/dist/nodes/Databricks/actions/job/getJob.operation.d.ts.map +1 -0
- package/dist/nodes/Databricks/actions/job/getJob.operation.js +41 -0
- package/dist/nodes/Databricks/actions/job/getJob.operation.js.map +1 -0
- package/dist/nodes/Databricks/actions/job/getRun.operation.d.ts +3 -0
- package/dist/nodes/Databricks/actions/job/getRun.operation.d.ts.map +1 -0
- package/dist/nodes/Databricks/actions/job/getRun.operation.js +36 -0
- package/dist/nodes/Databricks/actions/job/getRun.operation.js.map +1 -0
- package/dist/nodes/Databricks/actions/job/getRunOutput.operation.d.ts +3 -0
- package/dist/nodes/Databricks/actions/job/getRunOutput.operation.d.ts.map +1 -0
- package/dist/nodes/Databricks/actions/job/getRunOutput.operation.js +61 -0
- package/dist/nodes/Databricks/actions/job/getRunOutput.operation.js.map +1 -0
- package/dist/nodes/Databricks/actions/job/run.operation.d.ts.map +1 -1
- package/dist/nodes/Databricks/actions/job/run.operation.js +8 -38
- package/dist/nodes/Databricks/actions/job/run.operation.js.map +1 -1
- package/dist/nodes/Databricks/actions/job/runState.d.ts +11 -0
- package/dist/nodes/Databricks/actions/job/runState.d.ts.map +1 -0
- package/dist/nodes/Databricks/actions/job/runState.js +30 -0
- package/dist/nodes/Databricks/actions/job/runState.js.map +1 -0
- package/dist/nodes/Databricks/actions/router.js +1 -1
- package/dist/nodes/Databricks/actions/router.js.map +1 -1
- package/dist/nodes/Databricks/authentication.d.ts +4 -0
- package/dist/nodes/Databricks/authentication.d.ts.map +1 -0
- package/dist/nodes/Databricks/authentication.js +40 -0
- package/dist/nodes/Databricks/authentication.js.map +1 -0
- package/dist/nodes/Databricks/constants.d.ts +3 -0
- package/dist/nodes/Databricks/constants.d.ts.map +1 -1
- package/dist/nodes/Databricks/constants.js +4 -1
- package/dist/nodes/Databricks/constants.js.map +1 -1
- package/dist/nodes/Databricks/methods/listSearch.d.ts +1 -0
- package/dist/nodes/Databricks/methods/listSearch.d.ts.map +1 -1
- package/dist/nodes/Databricks/methods/listSearch.js +53 -15
- package/dist/nodes/Databricks/methods/listSearch.js.map +1 -1
- package/dist/nodes/Databricks/resources/job/operations.d.ts.map +1 -1
- package/dist/nodes/Databricks/resources/job/operations.js +18 -0
- package/dist/nodes/Databricks/resources/job/operations.js.map +1 -1
- package/dist/nodes/Databricks/resources/job/parameters.d.ts.map +1 -1
- package/dist/nodes/Databricks/resources/job/parameters.js +51 -2
- package/dist/nodes/Databricks/resources/job/parameters.js.map +1 -1
- package/dist/nodes/Databricks/transport/index.d.ts +4 -0
- package/dist/nodes/Databricks/transport/index.d.ts.map +1 -0
- package/dist/nodes/Databricks/transport/index.js +16 -0
- package/dist/nodes/Databricks/transport/index.js.map +1 -0
- package/dist/nodes/Databricks/transport/jobRuns.d.ts +16 -0
- package/dist/nodes/Databricks/transport/jobRuns.d.ts.map +1 -0
- package/dist/nodes/Databricks/transport/jobRuns.js +55 -0
- package/dist/nodes/Databricks/transport/jobRuns.js.map +1 -0
- package/dist/nodes/Databricks/transport/pagination.d.ts +13 -0
- package/dist/nodes/Databricks/transport/pagination.d.ts.map +1 -0
- package/dist/nodes/Databricks/transport/pagination.js +28 -0
- package/dist/nodes/Databricks/transport/pagination.js.map +1 -0
- package/dist/nodes/Databricks/transport/pipelineEvents.d.ts +68 -0
- package/dist/nodes/Databricks/transport/pipelineEvents.d.ts.map +1 -0
- package/dist/nodes/Databricks/transport/pipelineEvents.js +88 -0
- package/dist/nodes/Databricks/transport/pipelineEvents.js.map +1 -0
- package/dist/nodes/EmailReadImap/search-criteria.d.ts +9 -0
- package/dist/nodes/EmailReadImap/search-criteria.d.ts.map +1 -0
- package/dist/nodes/EmailReadImap/search-criteria.js +254 -0
- package/dist/nodes/EmailReadImap/search-criteria.js.map +1 -0
- package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.d.ts +1 -3
- package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.d.ts.map +1 -1
- package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.js +59 -64
- package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.js.map +1 -1
- package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.d.ts.map +1 -1
- package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js +16 -5
- package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js.map +1 -1
- package/dist/nodes/EmailReadImap/v2/utils.d.ts +2 -1
- package/dist/nodes/EmailReadImap/v2/utils.d.ts.map +1 -1
- package/dist/nodes/EmailReadImap/v2/utils.js +32 -38
- package/dist/nodes/EmailReadImap/v2/utils.js.map +1 -1
- package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/ExecuteWorkflow.node.d.ts.map +1 -1
- package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/ExecuteWorkflow.node.js +48 -42
- package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/ExecuteWorkflow.node.js.map +1 -1
- package/dist/nodes/Form/v1/FormTriggerV1.node.d.ts +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/channelMessage/create.operation.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/channelMessage/create.operation.js +13 -11
- package/dist/nodes/Microsoft/Teams/v2/actions/channelMessage/create.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/channelMessage/reply.operation.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/channelMessage/reply.operation.js +5 -3
- package/dist/nodes/Microsoft/Teams/v2/actions/channelMessage/reply.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/create.operation.d.ts +31 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/create.operation.d.ts.map +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/create.operation.js +225 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/create.operation.js.map +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/get.operation.d.ts +31 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/get.operation.d.ts.map +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/get.operation.js +37 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/get.operation.js.map +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/getAll.operation.d.ts +31 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/getAll.operation.d.ts.map +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/getAll.operation.js +43 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/getAll.operation.js.map +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/index.d.ts +7 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/index.d.ts.map +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/index.js +96 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/index.js.map +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/sharedGuard.d.ts +10 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/sharedGuard.d.ts.map +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/sharedGuard.js +20 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/sharedGuard.js.map +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/create.operation.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/create.operation.js +9 -12
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/create.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/get.operation.js +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/get.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/getAll.operation.js +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/getAll.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/messageActions.js +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/messageActions.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/sendAndWait.operation.js +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/sendAndWait.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/sharedGuard.d.ts +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/sharedGuard.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/sharedGuard.js +2 -2
- package/dist/nodes/Microsoft/Teams/v2/actions/node.type.d.ts +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/node.type.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/router.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/router.js +25 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/router.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/versionDescription.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/versionDescription.js +7 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/versionDescription.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/descriptions/common.description.d.ts +22 -3
- package/dist/nodes/Microsoft/Teams/v2/descriptions/common.description.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/descriptions/common.description.js +93 -4
- package/dist/nodes/Microsoft/Teams/v2/descriptions/common.description.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/descriptions/rlc.description.d.ts +6 -0
- package/dist/nodes/Microsoft/Teams/v2/descriptions/rlc.description.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/descriptions/rlc.description.js +53 -1
- package/dist/nodes/Microsoft/Teams/v2/descriptions/rlc.description.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/helpers/utils.d.ts +38 -14
- package/dist/nodes/Microsoft/Teams/v2/helpers/utils.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/helpers/utils.js +268 -65
- package/dist/nodes/Microsoft/Teams/v2/helpers/utils.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/methods/listSearch.d.ts +6 -0
- package/dist/nodes/Microsoft/Teams/v2/methods/listSearch.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/methods/listSearch.js +51 -0
- package/dist/nodes/Microsoft/Teams/v2/methods/listSearch.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/transport/index.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/transport/index.js.map +1 -1
- package/dist/nodes/MondayCom/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/MondayCom/GenericFunctions.js +22 -6
- package/dist/nodes/MondayCom/GenericFunctions.js.map +1 -1
- package/dist/nodes/MondayCom/MondayCom.node.d.ts.map +1 -1
- package/dist/nodes/MondayCom/MondayCom.node.js +41 -37
- package/dist/nodes/MondayCom/MondayCom.node.js.map +1 -1
- package/dist/nodes/S3/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/S3/GenericFunctions.js +4 -0
- package/dist/nodes/S3/GenericFunctions.js.map +1 -1
- package/dist/nodes/Slack/V2/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Slack/V2/GenericFunctions.js +3 -0
- package/dist/nodes/Slack/V2/GenericFunctions.js.map +1 -1
- package/dist/nodes/Telegram/GenericFunctions.d.ts +1 -1
- package/dist/nodes/TheHiveProject/helpers/constants.d.ts +1 -1
- package/dist/types/credentials.json +9 -9
- package/dist/types/nodes.json +7 -6
- package/dist/utils/microsoft/transport.d.ts.map +1 -1
- package/dist/utils/microsoft/transport.js +23 -4
- package/dist/utils/microsoft/transport.js.map +1 -1
- package/package.json +16 -14
|
@@ -38,6 +38,7 @@ const properties = [
|
|
|
38
38
|
rows: 2,
|
|
39
39
|
},
|
|
40
40
|
},
|
|
41
|
+
descriptions_1.mentionsField,
|
|
41
42
|
{
|
|
42
43
|
displayName: 'Options',
|
|
43
44
|
name: 'options',
|
|
@@ -45,15 +46,7 @@ const properties = [
|
|
|
45
46
|
default: {},
|
|
46
47
|
description: 'Other options to set',
|
|
47
48
|
placeholder: 'Add option',
|
|
48
|
-
options: [
|
|
49
|
-
{
|
|
50
|
-
displayName: 'Include Link to Workflow',
|
|
51
|
-
name: 'includeLinkToWorkflow',
|
|
52
|
-
type: 'boolean',
|
|
53
|
-
default: true,
|
|
54
|
-
description: 'Whether to append a link to this workflow at the end of the message. This is helpful if you have many workflows sending messages.',
|
|
55
|
-
},
|
|
56
|
-
],
|
|
49
|
+
options: [descriptions_1.includeLinkToWorkflowOption, descriptions_1.mentionPlacementOption],
|
|
57
50
|
},
|
|
58
51
|
];
|
|
59
52
|
const displayOptions = {
|
|
@@ -69,13 +62,17 @@ exports.description = (0, utilities_1.updateDisplayOptions)(displayOptions, prop
|
|
|
69
62
|
async function execute(i, instanceId) {
|
|
70
63
|
// https://docs.microsoft.com/en-us/graph/api/channel-post-messages?view=graph-rest-1.0&tabs=http
|
|
71
64
|
// App-only Graph cannot post chat messages; fail before any request.
|
|
72
|
-
sharedGuard_1.
|
|
65
|
+
sharedGuard_1.throwIfChatMessageUnsupported.call(this);
|
|
73
66
|
const chatId = this.getNodeParameter('chatId', i, '', { extractValue: true });
|
|
74
67
|
const contentType = this.getNodeParameter('contentType', i);
|
|
75
68
|
const message = this.getNodeParameter('message', i);
|
|
76
69
|
const options = this.getNodeParameter('options', i, {});
|
|
77
70
|
const includeLinkToWorkflow = options.includeLinkToWorkflow !== false;
|
|
78
|
-
|
|
79
|
-
|
|
71
|
+
// Built before the mentions are resolved, so a malformed chat ID fails without spending a
|
|
72
|
+
// Graph call on `GET /users/{id}` first.
|
|
73
|
+
const endpoint = transport_1.buildTeamsPath.call(this, ['/v1.0/chats/', { id: chatId }, '/messages']);
|
|
74
|
+
const mentions = await utils_1.resolveMentions.call(this, i);
|
|
75
|
+
const body = utils_1.prepareMessage.call(this, message, contentType, includeLinkToWorkflow, instanceId, mentions, options.mentionPlacement === 'end' ? 'end' : 'start');
|
|
76
|
+
return await transport_1.microsoftApiRequest.call(this, 'POST', endpoint, body);
|
|
80
77
|
}
|
|
81
78
|
//# sourceMappingURL=create.operation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/Teams/v2/actions/chatMessage/create.operation.ts"],"names":[],"mappings":";;;;AAEA,gDAAwD;AAExD,
|
|
1
|
+
{"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/Teams/v2/actions/chatMessage/create.operation.ts"],"names":[],"mappings":";;;;AAEA,gDAAwD;AAExD,qDAK4B;AAC5B,+CAAsE;AACtE,+CAA+E;AAC/E,+CAA8D;AAE9D,MAAM,UAAU,GAAsB;IACrC,sBAAO;IACP;QACC,WAAW,EAAE,cAAc;QAC3B,IAAI,EAAE,aAAa;QACnB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,SAAS;QACf,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,MAAM;aACb;YACD;gBACC,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,MAAM;aACb;SACD;QACD,OAAO,EAAE,MAAM;QACf,WAAW,EAAE,2CAA2C;KACxD;IACD;QACC,WAAW,EAAE,SAA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FAA0F;IAC1F,yCAAyC;IACzC,MAAM,QAAQ,GAAG,0BAAc,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,cAAc,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,WAAW,CAAC,CAAC,CAAC;IAE1F,MAAM,QAAQ,GAAG,MAAM,uBAAe,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IAErD,MAAM,IAAI,GAAgB,sBAAc,CAAC,IAAI,CAC5C,IAAI,EACJ,OAAO,EACP,WAAW,EACX,qBAAqB,EACrB,UAAU,EACV,QAAQ,EACR,OAAO,CAAC,gBAAgB,KAAK,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CACpD,CAAC;IAEF,OAAO,MAAM,+BAAmB,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;AACrE,CAAC"}
|
|
@@ -33,7 +33,7 @@ async function execute(i) {
|
|
|
33
33
|
// https://docs.microsoft.com/en-us/graph/api/chat-list-messages?view=graph-rest-1.0&tabs=http
|
|
34
34
|
// App-only Graph cannot read chats; fail before the request (and before the
|
|
35
35
|
// catch below, so the static SP message is surfaced, not the generic one).
|
|
36
|
-
sharedGuard_1.
|
|
36
|
+
sharedGuard_1.throwIfChatMessageUnsupported.call(this);
|
|
37
37
|
const chatId = this.getNodeParameter('chatId', i, '', { extractValue: true });
|
|
38
38
|
const messageId = this.getNodeParameter('messageId', i);
|
|
39
39
|
// Built outside the try so an invalid id surfaces as its own validation
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.operation.js","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/Teams/v2/actions/chatMessage/get.operation.ts"],"names":[],"mappings":";;;;AAAA,+CAAgG;AAEhG,gDAAwD;AAExD,qDAA6C;AAC7C,+CAA+E;AAC/E,+
|
|
1
|
+
{"version":3,"file":"get.operation.js","sourceRoot":"","sources":["../../../../../../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AK,EAAE,QAAQ,CAAC,CAAC;IAC9D,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QAChB,MAAM,IAAI,iCAAkB,CAC3B,IAAI,CAAC,OAAO,EAAE,EACd,iDAAiD,EACjD;YACC,WAAW,EAAE,wDAAwD;SACrE,CACD,CAAC;IACH,CAAC;AACF,CAAC"}
|
|
@@ -21,7 +21,7 @@ exports.description = (0, utilities_1.updateDisplayOptions)(displayOptions, prop
|
|
|
21
21
|
async function execute(i) {
|
|
22
22
|
// https://docs.microsoft.com/en-us/graph/api/chat-list-messages?view=graph-rest-1.0&tabs=http
|
|
23
23
|
// App-only Graph cannot read chats; fail before any request.
|
|
24
|
-
sharedGuard_1.
|
|
24
|
+
sharedGuard_1.throwIfChatMessageUnsupported.call(this);
|
|
25
25
|
const chatId = this.getNodeParameter('chatId', i, '', { extractValue: true });
|
|
26
26
|
const returnAll = this.getNodeParameter('returnAll', i);
|
|
27
27
|
if (returnAll) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAll.operation.js","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/Teams/v2/actions/chatMessage/getAll.operation.ts"],"names":[],"mappings":";;;;AAEA,sDAAuD;AACvD,gDAAwD;AAExD,qDAA6C;AAC7C,+CAAuF;AACvF,+
|
|
1
|
+
{"version":3,"file":"getAll.operation.js","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/Teams/v2/actions/chatMessage/getAll.operation.ts"],"names":[],"mappings":";;;;AAEA,sDAAuD;AACvD,gDAAwD;AAExD,qDAA6C;AAC7C,+CAAuF;AACvF,+CAA8D;AAE9D,MAAM,UAAU,GAAsB,CAAC,sBAAO,EAAE,GAAG,+BAAgB,CAAC,CAAC;AAErE,MAAM,cAAc,GAAG;IACtB,IAAI,EAAE;QACL,QAAQ,EAAE,CAAC,aAAa,CAAC;QACzB,SAAS,EAAE,CAAC,QAAQ,CAAC;KACrB;IACD,IAAI,EAAE;QACL,GAAG,mBAAO;KACV;CACD,CAAC;AAEW,QAAA,WAAW,GAAG,IAAA,gCAAoB,EAAC,cAAc,EAAE,UAAU,CAAC,CAAC;AAErE,KAAK,kBAA2C,CAAS;IAC/D,8FAA8F;IAE9F,6DAA6D;IAC7D,2CAA6B,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAEzC,MAAM,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,CAAW,CAAC;IACxF,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC;IAExD,IAAI,SAAS,EAAE,CAAC;QACf,OAAO,MAAM,uCAA2B,CAAC,IAAI,CAC5C,IAAI,EACJ,OAAO,EACP,KAAK,EACL,0BAAc,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,cAAc,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,WAAW,CAAC,CAAC,CACxE,CAAC;IACH,CAAC;SAAM,CAAC;QACP,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;QAChD,OAAO,MAAM,uCAA2B,CAAC,IAAI,CAC5C,IAAI,EACJ,OAAO,EACP,KAAK,EACL,0BAAc,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,cAAc,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,WAAW,CAAC,CAAC,EACxE,EAAE,EACF,EAAE,IAAI,EAAE,KAAK,EAAE,EACf,KAAK,CACL,CAAC;IACH,CAAC;AACF,CAAC"}
|
|
@@ -60,7 +60,7 @@ function messageActionDisplayOptions(operation) {
|
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
async function runMessageAction(i, action) {
|
|
63
|
-
sharedGuard_1.
|
|
63
|
+
sharedGuard_1.throwIfChatMessageUnsupported.call(this);
|
|
64
64
|
const chatId = parameters_1.readTextParameter.call(this, 'chatId', i, true);
|
|
65
65
|
const messageId = parameters_1.readTextParameter.call(this, 'messageId', i);
|
|
66
66
|
const messagePath = transport_1.buildTeamsPath.call(this, [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messageActions.js","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/Teams/v2/actions/chatMessage/messageActions.ts"],"names":[],"mappings":";;;;;AACA,+CAAkD;AAElD,+
|
|
1
|
+
{"version":3,"file":"messageActions.js","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/Teams/v2/actions/chatMessage/messageActions.ts"],"names":[],"mappings":";;;;;AACA,+CAAkD;AAElD,+CAA8D;AAC9D,qDAA6C;AAC7C,yDAA6D;AAC7D,+CAA+E;AAI/E,SAAS,KAAK,CAAC,KAAc;IAC5B,OAAO,CACN,OAAO,KAAK,KAAK,QAAQ;QACzB,KAAK,KAAK,IAAI;QACd,IAAI,IAAI,KAAK;QACb,OAAO,KAAK,CAAC,EAAE,KAAK,QAAQ;QAC5B,KAAK,CAAC,EAAE,KAAK,EAAE,CACf,CAAC;AACH,CAAC;AAED,MAAM,yBAAyB,GAAG,IAAI,OAAO,EAA6B,CAAC;AAE3E,KAAK,UAAU,mBAAmB;IACjC,MAAM,IAAI,GAAY,MAAM,+BAAmB,CAAC,IAAI,CACnD,IAAI,EACJ,KAAK,EACL,UAAU,EACV,EAAE,EACF,EAAE,OAAO,EAAE,IAAI,EAAE,CACjB,CAAC;IACF,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;QAClB,MAAM,IAAI,iCAAkB,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,sCAAsC,EAAE;YACpF,WAAW,EAAE,gDAAgD;SAC7D,CAAC,CAAC;IACJ,CAAC;IACD,OAAO,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC;AAED,KAAK,UAAU,qBAAqB;IACnC,MAAM,MAAM,GAAG,yBAAyB,CAAC,GAAG,CAAC,IAAI,CAAC,C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AI,CAAC,IAAI,CAAC,CAAC;IACtD,MAAM,QAAQ,GAAG,0BAAc,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,cAAc,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,WAAW,CAAC,CAAC,CAAC;IAE1F,MAAM,+BAAmB,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;IACvD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;AAC1B,CAAC"}
|
|
@@ -26,7 +26,7 @@ exports.description = (0, utils_1.getSendAndWaitProperties)([descriptions_1.chat
|
|
|
26
26
|
async function execute(i, instanceId) {
|
|
27
27
|
// App-only Graph cannot post chat messages. Dispatched from the router before the
|
|
28
28
|
// item loop, so this guard fires before any putExecutionToWait.
|
|
29
|
-
sharedGuard_1.
|
|
29
|
+
sharedGuard_1.throwIfChatMessageUnsupported.call(this);
|
|
30
30
|
const chatId = this.getNodeParameter('chatId', i, '', { extractValue: true });
|
|
31
31
|
const config = (0, utils_1.getSendAndWaitConfig)(this);
|
|
32
32
|
const buttons = config.options.map((option) => `<a href="${option.url}">${option.label}</a>`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sendAndWait.operation.js","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/Teams/v2/actions/chatMessage/sendAndWait.operation.ts"],"names":[],"mappings":";;;;AAEA,qEAGmD;AACnD,iEAA0E;AAC1E,qDAA6C;AAC7C,+CAA+E;AAC/E,+
|
|
1
|
+
{"version":3,"file":"sendAndWait.operation.js","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/Teams/v2/actions/chatMessage/sendAndWait.operation.ts"],"names":[],"mappings":";;;;AAEA,qEAGmD;AACnD,iEAA0E;AAC1E,qDAA6C;AAC7C,+CAA+E;AAC/E,+CAA8D;AAEjD,QAAA,WAAW,GAAsB,IAAA,gCAAwB,EACrE,CAAC,sBAAO,CAAC,EACT,aAAa,EACb,SAAS,EAC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AI,WAAW,WAAW,EAAE,CAAC;IACrC,CAAC;IAED,MAAM,IAAI,GAAG;QACZ,IAAI,EAAE;YACL,WAAW,EAAE,MAAM;YACnB,OAAO;SACP;KACD,CAAC;IAEF,OAAO,MAAM,+BAAmB,CAAC,IAAI,CACpC,IAAI,EACJ,MAAM,EACN,0BAAc,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,cAAc,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,WAAW,CAAC,CAAC,EACxE,IAAI,CACJ,CAAC;AACH,CAAC"}
|
|
@@ -6,5 +6,5 @@ import type { IExecuteFunctions } from 'n8n-workflow';
|
|
|
6
6
|
* guards on this BEFORE any request — covering hand-edited workflows that bypass
|
|
7
7
|
* the hidden UI. For `sendAndWait` it fires before any `putExecutionToWait`.
|
|
8
8
|
*/
|
|
9
|
-
export declare function
|
|
9
|
+
export declare function throwIfChatMessageUnsupported(this: IExecuteFunctions): void;
|
|
10
10
|
//# sourceMappingURL=sharedGuard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharedGuard.d.ts","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/Teams/v2/actions/chatMessage/sharedGuard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAKtD;;;;;;GAMG;AACH,wBAAgB,
|
|
1
|
+
{"version":3,"file":"sharedGuard.d.ts","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/Teams/v2/actions/chatMessage/sharedGuard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAKtD;;;;;;GAMG;AACH,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,iBAAiB,GAAG,IAAI,CAW3E"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.throwIfChatMessageUnsupported = throwIfChatMessageUnsupported;
|
|
4
4
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
5
|
const transport_1 = require("../../transport");
|
|
6
6
|
/**
|
|
@@ -10,7 +10,7 @@ const transport_1 = require("../../transport");
|
|
|
10
10
|
* guards on this BEFORE any request — covering hand-edited workflows that bypass
|
|
11
11
|
* the hidden UI. For `sendAndWait` it fires before any `putExecutionToWait`.
|
|
12
12
|
*/
|
|
13
|
-
function
|
|
13
|
+
function throwIfChatMessageUnsupported() {
|
|
14
14
|
if (transport_1.getTeamsCredentialType.call(this) === transport_1.SERVICE_PRINCIPAL_AUTH) {
|
|
15
15
|
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Chat messages are not available with the Service Principal credential', {
|
|
16
16
|
description: 'App-only Microsoft Graph has no signed-in user. Use an OAuth2 credential for chat actions.',
|
|
@@ -2,6 +2,7 @@ import type { AllEntities } from 'n8n-workflow';
|
|
|
2
2
|
type NodeMap = {
|
|
3
3
|
channel: 'create' | 'deleteChannel' | 'get' | 'getAll' | 'update';
|
|
4
4
|
channelMessage: 'create' | 'get' | 'getAll' | 'getAllReplies' | 'reply' | 'softDeleteMessage' | 'undoSoftDeleteMessage';
|
|
5
|
+
chat: 'create' | 'get' | 'getAll';
|
|
5
6
|
chatMember: 'add' | 'getAll' | 'remove';
|
|
6
7
|
chatMessage: 'create' | 'get' | 'getAll' | 'sendAndWait' | 'softDeleteMessage' | 'undoSoftDeleteMessage';
|
|
7
8
|
onlineMeeting: 'create' | 'createOrGet' | 'deleteMeeting' | 'get' | 'update';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.type.d.ts","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/Teams/v2/actions/node.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,KAAK,OAAO,GAAG;IACd,OAAO,EAAE,QAAQ,GAAG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,YAAY,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAC;CAC5D,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/Teams/v2/actions/router.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,iBAAiB,EAEtB,KAAK,kBAAkB,EAIvB,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/Teams/v2/actions/router.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,iBAAiB,EAEtB,KAAK,kBAAkB,EAIvB,MAAM,cAAc,CAAC;AAkCtB,wBAAsB,MAAM,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAkGrF"}
|
|
@@ -37,17 +37,39 @@ exports.router = router;
|
|
|
37
37
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
38
38
|
const channel = __importStar(require("./channel"));
|
|
39
39
|
const channelMessage = __importStar(require("./channelMessage"));
|
|
40
|
+
const chat = __importStar(require("./chat"));
|
|
41
|
+
const sharedGuard_1 = require("./chat/sharedGuard");
|
|
40
42
|
const chatMember = __importStar(require("./chatMember"));
|
|
43
|
+
const sharedGuard_2 = require("./chatMember/sharedGuard");
|
|
41
44
|
const chatMessage = __importStar(require("./chatMessage"));
|
|
45
|
+
const sharedGuard_3 = require("./chatMessage/sharedGuard");
|
|
42
46
|
const onlineMeeting = __importStar(require("./onlineMeeting"));
|
|
43
47
|
const task = __importStar(require("./task"));
|
|
44
48
|
const configureWaitTillDate_util_1 = require("../../../../../utils/sendAndWait/configureWaitTillDate.util");
|
|
45
49
|
const GenericFunctions_1 = require("../../../GenericFunctions");
|
|
50
|
+
/**
|
|
51
|
+
* The resources whose operation selector is hidden under the Service Principal credential.
|
|
52
|
+
*
|
|
53
|
+
* `Workflow` drops a hidden parameter before execution, so `operation` is absent for these
|
|
54
|
+
* and the read below fails with `Could not get parameter "operation"` before any operation
|
|
55
|
+
* can run its own guard. Guard on the resource first, so the user gets the real reason.
|
|
56
|
+
* Each entry is the operation-level guard itself, so the message has one source.
|
|
57
|
+
*
|
|
58
|
+
* A `Map`, not an object: `resource` is a stored parameter, and a plain object walks
|
|
59
|
+
* `Object.prototype`, so a resource of `__proto__` returns a non-nullish value and fails
|
|
60
|
+
* with a raw `TypeError` instead of the node's own unsupported-operation error.
|
|
61
|
+
*/
|
|
62
|
+
const SERVICE_PRINCIPAL_RESOURCE_GUARDS = new Map([
|
|
63
|
+
['chat', sharedGuard_1.throwIfChatUnsupported],
|
|
64
|
+
['chatMember', sharedGuard_2.throwIfChatMemberUnsupported],
|
|
65
|
+
['chatMessage', sharedGuard_3.throwIfChatMessageUnsupported],
|
|
66
|
+
]);
|
|
46
67
|
async function router() {
|
|
47
68
|
const items = this.getInputData();
|
|
48
69
|
const returnData = [];
|
|
49
70
|
let responseData;
|
|
50
71
|
const resource = this.getNodeParameter('resource', 0);
|
|
72
|
+
SERVICE_PRINCIPAL_RESOURCE_GUARDS.get(String(resource))?.call(this);
|
|
51
73
|
const operation = this.getNodeParameter('operation', 0);
|
|
52
74
|
const nodeVersion = this.getNode().typeVersion;
|
|
53
75
|
const instanceId = this.getInstanceId();
|
|
@@ -79,6 +101,9 @@ async function router() {
|
|
|
79
101
|
case 'channelMessage':
|
|
80
102
|
responseData = await channelMessage[microsoftTeamsTypeData.operation].execute.call(this, i, nodeVersion, instanceId);
|
|
81
103
|
break;
|
|
104
|
+
case 'chat':
|
|
105
|
+
responseData = await chat[microsoftTeamsTypeData.operation].execute.call(this, i);
|
|
106
|
+
break;
|
|
82
107
|
case 'chatMember':
|
|
83
108
|
responseData = await chatMember[microsoftTeamsTypeData.operation].execute.call(this, i);
|
|
84
109
|
break;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.js","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/Teams/v2/actions/router.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAOsB;AAEtB,MAAY,OAAO,sCAAkB;AACrC,MAAY,cAAc,6CAAyB;AACnD,MAAY,UAAU,yCAAqB;AAC3C,MAAY,WAAW,0CAAsB;
|
|
1
|
+
{"version":3,"file":"router.js","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/Teams/v2/actions/router.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAOsB;AAEtB,MAAY,OAAO,sCAAkB;AACrC,MAAY,cAAc,6CAAyB;AACnD,MAAY,IAAI,mCAAe;AAC/B,oDAA4D;AAC5D,MAAY,UAAU,yCAAqB;AAC3C,0DAAwE;AACxE,MAAY,WAAW,0CAAsB;AAC7C,2DAA0E;AAE1E,MAAY,aAAa,4CAAwB;AACjD,MAAY,IAAI,mCAAe;AAC/B,4GAAoG;AACpG,gEAAkE;AAElE;;;;;;;;;;;GAWG;AACH,MAAM,iCAAiC,GAAG,IAAI,GAAG,CAA4C;IAC5F,CAAC,MAAM,EAAE,oCAAsB,CAAC;IAChC,CAAC,YAAY,EAAE,0CAA4B,CAAC;IAC5C,CAAC,aAAa,EAAE,2CAA6B,CAAC;CAC9C,CAAC,CAAC;AAEI,KAAK;IACX,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;IAClC,MAAM,UAAU,GAAyB,EAAE,CAAC;IAC5C,IAAI,YAAY,CAAC;IAEjB,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAqB,UAAU,EAAE,CAAC,CAAC,CAAC;IAC1E,iCAAiC,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACpE,MAAM,SAAS,GAAG,IAAI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B,CAAC;YAEF,UAAU,CAAC,IAAI,CAAC,GAAG,aAAa,CAAC,CAAC;QACnC,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YAChB,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;gBAC3B,MAAM,kBAAkB,GAAG,IAAI,CAAC,OAAO,CAAC,0BAA0B,CACjE,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC,EACtD,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,CACzB,CAAC;gBACF,UAAU,CAAC,IAAI,CAAC,GAAG,kBAAkB,CAAC,CAAC;gBACvC,SAAS;YACV,CAAC;YACD,MAAM,IAAA,wCAAqB,EAAC,KAAK,EAAE,CAAC,CAAC,CAAC;QACvC,CAAC;IACF,CAAC;IACD,OAAO,CAAC,UAAU,CAAC,CAAC;AACrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versionDescription.d.ts","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/Teams/v2/actions/versionDescription.ts"],"names":[],"mappings":"AACA,OAAO,EAAuB,KAAK,oBAAoB,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"versionDescription.d.ts","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/Teams/v2/actions/versionDescription.ts"],"names":[],"mappings":"AACA,OAAO,EAAuB,KAAK,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAa9E,eAAO,MAAM,kBAAkB,EAAE,oBAoHhC,CAAC"}
|
|
@@ -38,6 +38,7 @@ exports.versionDescription = void 0;
|
|
|
38
38
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
39
39
|
const channel = __importStar(require("./channel"));
|
|
40
40
|
const channelMessage = __importStar(require("./channelMessage"));
|
|
41
|
+
const chat = __importStar(require("./chat"));
|
|
41
42
|
const chatMember = __importStar(require("./chatMember"));
|
|
42
43
|
const chatMessage = __importStar(require("./chatMessage"));
|
|
43
44
|
const onlineMeeting = __importStar(require("./onlineMeeting"));
|
|
@@ -103,7 +104,7 @@ exports.versionDescription = {
|
|
|
103
104
|
{
|
|
104
105
|
name: 'Microsoft OAuth2 (Graph)',
|
|
105
106
|
value: 'microsoftOAuth2Api',
|
|
106
|
-
description: 'Generic Microsoft Graph credential. Add the Teams Graph scopes (e.g. Chat.ReadWrite, ChannelMessage.Read.All, Group.ReadWrite.All, OnlineMeetings.ReadWrite, User.Read.All) and grant admin consent on the credential. See the docs for the full scope string.',
|
|
107
|
+
description: 'Generic Microsoft Graph credential. Add the Teams Graph scopes (e.g. Chat.ReadWrite, ChannelMessage.Read.All, Group.ReadWrite.All, OnlineMeetings.ReadWrite, User.Read.All, TeamworkTag.Read) and grant admin consent on the credential. See the docs for the full scope string.',
|
|
107
108
|
},
|
|
108
109
|
{
|
|
109
110
|
name: 'Service Principal (App-Only)',
|
|
@@ -127,6 +128,10 @@ exports.versionDescription = {
|
|
|
127
128
|
name: 'Channel Message',
|
|
128
129
|
value: 'channelMessage',
|
|
129
130
|
},
|
|
131
|
+
{
|
|
132
|
+
name: 'Chat',
|
|
133
|
+
value: 'chat',
|
|
134
|
+
},
|
|
130
135
|
{
|
|
131
136
|
name: 'Chat Member',
|
|
132
137
|
value: 'chatMember',
|
|
@@ -148,6 +153,7 @@ exports.versionDescription = {
|
|
|
148
153
|
},
|
|
149
154
|
...channel.description,
|
|
150
155
|
...channelMessage.description,
|
|
156
|
+
...chat.description,
|
|
151
157
|
...chatMember.description,
|
|
152
158
|
...chatMessage.description,
|
|
153
159
|
...onlineMeeting.description,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versionDescription.js","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/Teams/v2/actions/versionDescription.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oEAAoE;AACpE,+CAA8E;AAE9E,MAAY,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gBACR;oBACC,IAAI,EAAE,cAAc;oBACpB,KAAK,EAAE,yBAAyB;iBAChC;gBACD;oBACC,IAAI,EAAE,0BAA0B;oBAChC,KAAK,EAAE,oBAAoB;oBAC3B,WAAW,EACV,
|
|
1
|
+
{"version":3,"file":"versionDescription.js","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/Teams/v2/actions/versionDescription.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oEAAoE;AACpE,+CAA8E;AAE9E,MAAY,OAAO,sCAAkB;AACrC,MAAY,cAAc,6CAAyB;AACnD,MAAY,IAAI,mCAAe;AAC/B,MAAY,UAAU,yCAAqB;AAC3C,MAAY,WAAW,0CAAsB;AAC7C,MAAY,aAAa,4CAAwB;AACjD,MAAY,IAAI,mCAAe;AAC/B,gFAA+F;AAC/F,kEAAuF;AACvF,4CAAsD;AAEzC,QAAA,kBAAkB,GAAyB;IACvD,WAAW,EAAE,iBAAiB;IAC9B,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,gBAAgB;IACtB,KAAK,EAAE,CAAC,OAAO,CAAC;IAChB,OAAO,EAAE,CAAC;IACV,QAAQ,EAAE,8DAA8D;IACxE,WAAW,EAAE,6BAA6B;IAC1C,QAAQ,EAAE;QACT,IAAI,EAAE,iBAAiB;KACvB;IACD,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;IAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;IACnC,WAAW,EAAE;QACZ;YACC,IAAI,EAAE,yBAAyB;YAC/B,QAAQ,EAAE,IAAI;YACd,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,cAAc,EAAE,CAAC,yBAAyB,CAAC;iBAC3C;aACD;SACD;QACD;YACC,IAAI,EAAE,oBAAoB;YAC1B,QAAQ,EAAE,IAAI;YACd,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,cAAc,EAAE,CAAC,oBAAoB,CAAC;iBACt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EAAE,SAAS;SAClB;QAED,GAAG,OAAO,CAAC,WAAW;QACtB,GAAG,cAAc,CAAC,WAAW;QAC7B,GAAG,IAAI,CAAC,WAAW;QACnB,GAAG,UAAU,CAAC,WAAW;QACzB,GAAG,WAAW,CAAC,WAAW;QAC1B,GAAG,aAAa,CAAC,WAAW;QAC5B,GAAG,IAAI,CAAC,WAAW;KACnB;CACD,CAAC"}
|
|
@@ -1,8 +1,27 @@
|
|
|
1
1
|
import type { INodeProperties } from 'n8n-workflow';
|
|
2
2
|
/**
|
|
3
|
-
* Shared by `channelMessage:create` and `
|
|
4
|
-
* the
|
|
5
|
-
*
|
|
3
|
+
* Shared by `channelMessage:create`, `channelMessage:reply` and `chatMessage:create`. One
|
|
4
|
+
* definition keeps the three from drifting apart on the field itself. They do NOT agree on the
|
|
5
|
+
* unset fallback, and that is deliberate: `chatMessage:create` and `channelMessage:reply` treat
|
|
6
|
+
* unset as on, while `channelMessage:create` treats it as on only from `nodeVersion >= 1.1`,
|
|
7
|
+
* because v1 shipped without the link.
|
|
6
8
|
*/
|
|
7
9
|
export declare const includeLinkToWorkflowOption: INodeProperties;
|
|
10
|
+
/**
|
|
11
|
+
* Users only, for `chatMessage:create`. A chat is not team-scoped, so there is no team to scope
|
|
12
|
+
* team tags to; the channel operations use `channelMentionsField`. Safe to spread:
|
|
13
|
+
* `updateDisplayOptions` merges into a fresh object rather than mutating this one.
|
|
14
|
+
*/
|
|
15
|
+
export declare const mentionsField: INodeProperties;
|
|
16
|
+
/**
|
|
17
|
+
* Users or team tags, for the two channel operations. `mentionsField` with its own description
|
|
18
|
+
* and the mention type discriminator in front of the two pickers.
|
|
19
|
+
*/
|
|
20
|
+
export declare const channelMentionsField: INodeProperties;
|
|
21
|
+
/**
|
|
22
|
+
* Modifier for `mentionsField`, so it lives in each operation's `Options` collection rather than
|
|
23
|
+
* as an always-visible field. Collection defaults only materialise once the option is added, so the
|
|
24
|
+
* runtime side falls back to `start` when the key is absent.
|
|
25
|
+
*/
|
|
26
|
+
export declare const mentionPlacementOption: INodeProperties;
|
|
8
27
|
//# sourceMappingURL=common.description.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.description.d.ts","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/Teams/v2/descriptions/common.description.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"common.description.d.ts","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/Teams/v2/descriptions/common.description.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAIpD;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,EAAE,eAOzC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,eAmB3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,eAgClC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,EAAE,eAqBpC,CAAC"}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.includeLinkToWorkflowOption = void 0;
|
|
3
|
+
exports.mentionPlacementOption = exports.channelMentionsField = exports.mentionsField = exports.includeLinkToWorkflowOption = void 0;
|
|
4
|
+
const rlc_description_1 = require("./rlc.description");
|
|
4
5
|
/**
|
|
5
|
-
* Shared by `channelMessage:create` and `
|
|
6
|
-
* the
|
|
7
|
-
*
|
|
6
|
+
* Shared by `channelMessage:create`, `channelMessage:reply` and `chatMessage:create`. One
|
|
7
|
+
* definition keeps the three from drifting apart on the field itself. They do NOT agree on the
|
|
8
|
+
* unset fallback, and that is deliberate: `chatMessage:create` and `channelMessage:reply` treat
|
|
9
|
+
* unset as on, while `channelMessage:create` treats it as on only from `nodeVersion >= 1.1`,
|
|
10
|
+
* because v1 shipped without the link.
|
|
8
11
|
*/
|
|
9
12
|
exports.includeLinkToWorkflowOption = {
|
|
10
13
|
displayName: 'Include Link to Workflow',
|
|
@@ -13,4 +16,90 @@ exports.includeLinkToWorkflowOption = {
|
|
|
13
16
|
default: true,
|
|
14
17
|
description: 'Whether to append a link to this workflow at the end of the message. This is helpful if you have many workflows sending messages.',
|
|
15
18
|
};
|
|
19
|
+
/**
|
|
20
|
+
* Users only, for `chatMessage:create`. A chat is not team-scoped, so there is no team to scope
|
|
21
|
+
* team tags to; the channel operations use `channelMentionsField`. Safe to spread:
|
|
22
|
+
* `updateDisplayOptions` merges into a fresh object rather than mutating this one.
|
|
23
|
+
*/
|
|
24
|
+
exports.mentionsField = {
|
|
25
|
+
displayName: 'Mentions',
|
|
26
|
+
name: 'mentions',
|
|
27
|
+
type: 'fixedCollection',
|
|
28
|
+
placeholder: 'Add Mention',
|
|
29
|
+
default: {},
|
|
30
|
+
typeOptions: {
|
|
31
|
+
multipleValues: true,
|
|
32
|
+
sortable: true,
|
|
33
|
+
},
|
|
34
|
+
description: 'People to @mention. Mention Placement puts the mentions before or after the message text. A mention makes the message render as HTML, even if Content Type is Text.',
|
|
35
|
+
options: [
|
|
36
|
+
{
|
|
37
|
+
displayName: 'Mention',
|
|
38
|
+
name: 'mention',
|
|
39
|
+
values: [rlc_description_1.userRLC],
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Users or team tags, for the two channel operations. `mentionsField` with its own description
|
|
45
|
+
* and the mention type discriminator in front of the two pickers.
|
|
46
|
+
*/
|
|
47
|
+
exports.channelMentionsField = {
|
|
48
|
+
...exports.mentionsField,
|
|
49
|
+
description: 'People or team tags to @mention. A team tag notifies everyone who carries it. The Mention Placement option decides whether the tokens go before or after the message text, and adding a mention makes the message render as HTML even when Content Type is Text.',
|
|
50
|
+
options: [
|
|
51
|
+
{
|
|
52
|
+
displayName: 'Mention',
|
|
53
|
+
name: 'mention',
|
|
54
|
+
values: [
|
|
55
|
+
{
|
|
56
|
+
displayName: 'Mention Type',
|
|
57
|
+
name: 'mentionType',
|
|
58
|
+
type: 'options',
|
|
59
|
+
default: 'user',
|
|
60
|
+
// No expression on the discriminator: an expression-valued one makes both
|
|
61
|
+
// pickers below count as displayed, so both report a missing required
|
|
62
|
+
// parameter at once. This is an editor-side guard only, a lone `$fromAI()`
|
|
63
|
+
// expression survives by design, so `resolveMentions` checks the value too.
|
|
64
|
+
noDataExpression: true,
|
|
65
|
+
// Default first, not alphabetical: a mention is a person unless the user says
|
|
66
|
+
// otherwise, so User leads and the list matches `default` above.
|
|
67
|
+
// eslint-disable-next-line n8n-nodes-base/node-param-options-type-unsorted-items
|
|
68
|
+
options: [
|
|
69
|
+
{ name: 'User', value: 'user' },
|
|
70
|
+
{ name: 'Team Tag', value: 'tag' },
|
|
71
|
+
],
|
|
72
|
+
},
|
|
73
|
+
{ ...rlc_description_1.userRLC, displayOptions: { show: { mentionType: ['user'] } } },
|
|
74
|
+
{ ...rlc_description_1.teamworkTagRLC, displayOptions: { show: { mentionType: ['tag'] } } },
|
|
75
|
+
],
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Modifier for `mentionsField`, so it lives in each operation's `Options` collection rather than
|
|
81
|
+
* as an always-visible field. Collection defaults only materialise once the option is added, so the
|
|
82
|
+
* runtime side falls back to `start` when the key is absent.
|
|
83
|
+
*/
|
|
84
|
+
exports.mentionPlacementOption = {
|
|
85
|
+
displayName: 'Mention Placement',
|
|
86
|
+
name: 'mentionPlacement',
|
|
87
|
+
type: 'options',
|
|
88
|
+
default: 'start',
|
|
89
|
+
// Repeats the HTML note from `mentionsField`, because the collection-overhaul UI does not
|
|
90
|
+
// render a fixedCollection's own description and this is the only other mention-specific copy.
|
|
91
|
+
description: 'Whether the mentions go before or after the message text. A mention makes the message render as HTML, even if Content Type is Text.',
|
|
92
|
+
options: [
|
|
93
|
+
{
|
|
94
|
+
name: 'Start of Message',
|
|
95
|
+
value: 'start',
|
|
96
|
+
description: 'For example "@Jane please review this"',
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
name: 'End of Message',
|
|
100
|
+
value: 'end',
|
|
101
|
+
description: 'For example "please review this @Jane"',
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
};
|
|
16
105
|
//# sourceMappingURL=common.description.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.description.js","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/Teams/v2/descriptions/common.description.ts"],"names":[],"mappings":";;;AAEA
|
|
1
|
+
{"version":3,"file":"common.description.js","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/Teams/v2/descriptions/common.description.ts"],"names":[],"mappings":";;;AAEA,uDAA4D;AAE5D;;;;;;GAMG;AACU,QAAA,2BAA2B,GAAoB;IAC3D,WAAW,EAAE,0BAA0B;IACvC,IAAI,EAAE,uBAAuB;IAC7B,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,IAAI;IACb,WAAW,EACV,mIAAmI;CACpI,CAAC;AAEF;;;;GAIG;AACU,QAAA,aAAa,GAAoB;IAC7C,WAAW,EAAE,UAAU;IACvB,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,aAAa;IAC1B,OAAO,EAAE,EAAE;IACX,WAAW,EAAE;QACZ,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE,IAAI;KACd;IACD,WAAW,EACV,qKAAqK;IACtK,OAAO,EAAE;QACR;YACC,WAAW,EAAE,SAAS;YACtB,IAAI,EAAE,SAAS;YACf,MAAM,EAAE,CAAC,yBAAO,CAAC;SACjB;KACD;CACD,CAAC;AAEF;;;GAGG;AACU,QAAA,oBAAoB,GAAoB;IACpD,GAAG,QAAA,aAAa;IAChB,WAAW,EACV,kQAAkQ;IACnQ,OAAO,EAAE;QACR;YACC,WAAW,EAAE,SAAS;YACtB,IAAI,EAAE,SAAS;YACf,MAAM,EAAE;gBACP;oBACC,WAAW,EAAE,cAAc;oBAC3B,IAAI,EAAE,aAAa;oBACnB,IAAI,EAAE,SAAS;oBACf,OAAO,EAAE,MAAM;oBACf,0EAA0E;oBAC1E,sEAAsE;oBACtE,2EAA2E;oBAC3E,4EAA4E;oBAC5E,gBAAgB,EAAE,IAAI;oBACtB,8EAA8E;oBAC9E,iEAAiE;oBACjE,iFAAiF;oBACjF,OAAO,EAAE;wBACR,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;wBAC/B,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE;qBAClC;iBACD;gBACD,EAAE,GAAG,yBAAO,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,WAAW,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE;gBACnE,EAAE,GAAG,gCAAc,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,WAAW,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE;aACzE;SACD;KACD;CACD,CAAC;AAEF;;;;GAIG;AACU,QAAA,sBAAsB,GAAoB;IACtD,WAAW,EAAE,mBAAmB;IAChC,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,OAAO;IAChB,0FAA0F;IAC1F,+FAA+F;IAC/F,WAAW,EACV,qIAAqI;IACtI,OAAO,EAAE;QACR;YACC,IAAI,EAAE,kBAAkB;YACxB,KAAK,EAAE,OAAO;YACd,WAAW,EAAE,wCAAwC;SACrD;QACD;YACC,IAAI,EAAE,gBAAgB;YACtB,KAAK,EAAE,KAAK;YACZ,WAAW,EAAE,wCAAwC;SACrD;KACD;CACD,CAAC"}
|
|
@@ -8,5 +8,11 @@ export declare const bucketRLC: INodeProperties;
|
|
|
8
8
|
export declare const memberRLC: INodeProperties;
|
|
9
9
|
export declare const meetingRLC: INodeProperties;
|
|
10
10
|
export declare const userRLC: INodeProperties;
|
|
11
|
+
/**
|
|
12
|
+
* Team tag picker, scoped to the node's `teamId` and backed by `getTags`. Like `userRLC`, no mode
|
|
13
|
+
* declares an `extractValue`: the row read that consumes it cannot pass `{ extractValue: true }`,
|
|
14
|
+
* because a row-level `displayOptions` makes that read throw.
|
|
15
|
+
*/
|
|
16
|
+
export declare const teamworkTagRLC: INodeProperties;
|
|
11
17
|
export declare const chatMemberRLC: INodeProperties;
|
|
12
18
|
//# sourceMappingURL=rlc.description.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rlc.description.d.ts","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/Teams/v2/descriptions/rlc.description.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,eAAO,MAAM,OAAO,EAAE,eA0DrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eA8BxB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,eA6BrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,eAwCtB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,eA6BrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,eA6BvB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,eAuCvB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAyCxB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,eAwCrB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eA8B3B,CAAC"}
|
|
1
|
+
{"version":3,"file":"rlc.description.d.ts","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/Teams/v2/descriptions/rlc.description.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,eAAO,MAAM,OAAO,EAAE,eA0DrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eA8BxB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,eA6BrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,eAwCtB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,eA6BrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,eA6BvB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,eAuCvB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAyCxB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,eAwCrB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,eA8C5B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eA8B3B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.chatMemberRLC = exports.userRLC = exports.meetingRLC = exports.memberRLC = exports.bucketRLC = exports.planRLC = exports.groupRLC = exports.chatRLC = exports.channelRLC = exports.teamRLC = void 0;
|
|
3
|
+
exports.chatMemberRLC = exports.teamworkTagRLC = exports.userRLC = exports.meetingRLC = exports.memberRLC = exports.bucketRLC = exports.planRLC = exports.groupRLC = exports.chatRLC = exports.channelRLC = exports.teamRLC = void 0;
|
|
4
4
|
exports.teamRLC = {
|
|
5
5
|
displayName: 'Team',
|
|
6
6
|
name: 'teamId',
|
|
@@ -337,6 +337,58 @@ exports.userRLC = {
|
|
|
337
337
|
},
|
|
338
338
|
],
|
|
339
339
|
};
|
|
340
|
+
/**
|
|
341
|
+
* Team tag picker, scoped to the node's `teamId` and backed by `getTags`. Like `userRLC`, no mode
|
|
342
|
+
* declares an `extractValue`: the row read that consumes it cannot pass `{ extractValue: true }`,
|
|
343
|
+
* because a row-level `displayOptions` makes that read throw.
|
|
344
|
+
*/
|
|
345
|
+
exports.teamworkTagRLC = {
|
|
346
|
+
displayName: 'Team Tag',
|
|
347
|
+
name: 'tagId',
|
|
348
|
+
type: 'resourceLocator',
|
|
349
|
+
default: { mode: 'list', value: '' },
|
|
350
|
+
required: true,
|
|
351
|
+
description: 'Select a tag from the team, or enter its ID',
|
|
352
|
+
typeOptions: {
|
|
353
|
+
loadOptionsDependsOn: ['teamId.value'],
|
|
354
|
+
},
|
|
355
|
+
modes: [
|
|
356
|
+
{
|
|
357
|
+
displayName: 'From List',
|
|
358
|
+
name: 'list',
|
|
359
|
+
type: 'list',
|
|
360
|
+
placeholder: 'e.g. Engineering',
|
|
361
|
+
typeOptions: {
|
|
362
|
+
searchListMethod: 'getTags',
|
|
363
|
+
searchable: true,
|
|
364
|
+
},
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
displayName: 'By ID',
|
|
368
|
+
name: 'id',
|
|
369
|
+
type: 'string',
|
|
370
|
+
hint: 'The base64 tag ID from the Microsoft Graph tags endpoint',
|
|
371
|
+
validation: [
|
|
372
|
+
{
|
|
373
|
+
type: 'regex',
|
|
374
|
+
properties: {
|
|
375
|
+
// A tag ID is base64 of `{groupId}##{tagGuid}##{token}`. base64 emits `+` or
|
|
376
|
+
// `/` only for a plaintext byte of `>`, `~`, `?`, DEL or non-ASCII, and hex,
|
|
377
|
+
// `-`, `#` and alphanumerics contain none of those, so only `[A-Za-z0-9]`
|
|
378
|
+
// and `=` padding can occur. No length check: a GUID-shaped token gives 152
|
|
379
|
+
// characters (pinned in `v2/test/methods/getUsers.test.ts`), but nothing
|
|
380
|
+
// documents the token as a GUID, so both that length and the alphabet above
|
|
381
|
+
// rest on the assumed token shape. If Microsoft widens it, a From List pick
|
|
382
|
+
// bypasses this regex and dies at `buildTeamsPath` with "remove any slashes"
|
|
383
|
+
// for a tag the user chose from a dropdown.
|
|
384
|
+
regex: '^[A-Za-z0-9=]+[ \t]*$',
|
|
385
|
+
errorMessage: 'Not a valid Microsoft Teams tag ID',
|
|
386
|
+
},
|
|
387
|
+
},
|
|
388
|
+
],
|
|
389
|
+
},
|
|
390
|
+
],
|
|
391
|
+
};
|
|
340
392
|
exports.chatMemberRLC = {
|
|
341
393
|
displayName: 'Member',
|
|
342
394
|
name: 'membershipId',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rlc.description.js","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/Teams/v2/descriptions/rlc.description.ts"],"names":[],"mappings":";;;AAEa,QAAA,OAAO,GAAoB;IACvC,WAAW,EAAE,MAAM;IACnB,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;IACpC,QAAQ,EAAE,IAAI;IACd,WAAW,EACV,sIAAsI;IACvI,KAAK,EAAE;QACN;YACC,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,cAAc;YAC3B,WAAW,EAAE;gBACZ,gBAAgB,EAAE,UAAU;gBAC5B,UAAU,EAAE,IAAI;aAChB;SACD;QACD;YACC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,6DAA6D;YAC1E,YAAY,EAAE;gBACb,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,yBAAyB;aAChC;YACD,UAAU,EAAE;gBACX;oBACC,IAAI,EAAE,OAAO;oBACb,UAAU,EAAE;wBACX,KAAK,EAAE,6DAA6D;wBACpE,YAAY,EAAE,iCAAiC;qBAC/C;iBACD;aACD;SACD;QACD;YACC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,2CAA2C;YACxD,UAAU,EAAE;gBACX;oBACC,IAAI,EAAE,OAAO;oBACb,UAAU,EAAE;wBACX,KAAK,EAAE,8EAA8E;wBACrF,YAAY,EAAE,qCAAqC;qBACnD;iBACD;aACD;YACD,YAAY,EAAE;gBACb,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,wEAAwE;aAC/E;S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ACvE,8EAA8E;SAC9E;KACD;CACD,CAAC"}
|
|
1
|
+
{"version":3,"file":"rlc.description.js","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/Teams/v2/descriptions/rlc.description.ts"],"names":[],"mappings":";;;AAEa,QAAA,OAAO,GAAoB;IACvC,WAAW,EAAE,MAAM;IACnB,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;IACpC,QAAQ,EAAE,IAAI;IACd,WAAW,EACV,sIAAsI;IACvI,KAAK,EAAE;QACN;YACC,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,cAAc;YAC3B,WAAW,EAAE;gBACZ,gBAAgB,EAAE,UAAU;gBAC5B,UAAU,EAAE,IAAI;aAChB;SACD;QACD;YACC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,6DAA6D;YAC1E,YAAY,EAAE;gBACb,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,yBAAyB;aAChC;YACD,UAAU,EAAE;gBACX;oBACC,IAAI,EAAE,OAAO;oBACb,UAAU,EAAE;wBACX,KAAK,EAAE,6DAA6D;wBACpE,YAAY,EAAE,iCAAiC;qBAC/C;iBACD;aACD;SACD;QACD;YACC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,2CAA2C;YACxD,UAAU,EAAE;gBACX;oBACC,IAAI,EAAE,OAAO;oBACb,UAAU,EAAE;wBACX,KAAK,EAAE,8EAA8E;wBACrF,YAAY,EAAE,qCAAqC;qBACnD;iBACD;aACD;YACD,YAAY,EAAE;gBACb,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,wEAAwE;aAC/E;SACD;KACD;CACD,CAAC;AAEW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