n8n-nodes-tukimate 1.6.0 → 1.6.2
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.
|
@@ -171,7 +171,9 @@ async function getConversationTypeOptions() {
|
|
|
171
171
|
}
|
|
172
172
|
// Fields to keep for simplified output per resource (using API field names - snake_case)
|
|
173
173
|
const SIMPLIFIED_FIELDS = {
|
|
174
|
-
conversation: ['id', 'title', 'description', 'date_time', 'duration_minutes', 'status', 'team_id', 'project_id', 'client_id', 'source_key', '
|
|
174
|
+
conversation: ['id', 'title', 'description', 'date_time', 'duration_minutes', 'status', 'team_id', 'project_id', 'client_id', 'source_key', 'source_meeting_id',
|
|
175
|
+
' conversation_type_key',
|
|
176
|
+
'ai_context', 'sentiment'],
|
|
175
177
|
contact: ['id', 'first_name', 'last_name', 'email', 'phone', 'company_name', 'job_title'],
|
|
176
178
|
team: ['id', 'name', 'description'],
|
|
177
179
|
project: ['id', 'name', 'description', 'status', 'client_id', 'ai_context'],
|
|
@@ -350,19 +352,6 @@ class TukiMate {
|
|
|
350
352
|
default: '',
|
|
351
353
|
description: 'Search term to filter conversations',
|
|
352
354
|
},
|
|
353
|
-
{
|
|
354
|
-
displayName: 'Limit',
|
|
355
|
-
name: 'limit',
|
|
356
|
-
type: 'number',
|
|
357
|
-
displayOptions: {
|
|
358
|
-
show: {
|
|
359
|
-
resource: [RESOURCES.CONVERSATION],
|
|
360
|
-
operation: [OPERATIONS.LIST],
|
|
361
|
-
},
|
|
362
|
-
},
|
|
363
|
-
default: 10,
|
|
364
|
-
description: 'Max number of results',
|
|
365
|
-
},
|
|
366
355
|
// Conversation List - Additional Options (hidden by default)
|
|
367
356
|
{
|
|
368
357
|
displayName: 'Additional Options',
|
|
@@ -377,6 +366,13 @@ class TukiMate {
|
|
|
377
366
|
},
|
|
378
367
|
default: {},
|
|
379
368
|
options: [
|
|
369
|
+
{
|
|
370
|
+
displayName: 'Limit',
|
|
371
|
+
name: 'limit',
|
|
372
|
+
type: 'number',
|
|
373
|
+
default: 10,
|
|
374
|
+
description: 'Max number of results to return',
|
|
375
|
+
},
|
|
380
376
|
{
|
|
381
377
|
displayName: 'Team',
|
|
382
378
|
name: 'teamId',
|
|
@@ -1986,12 +1982,12 @@ class TukiMate {
|
|
|
1986
1982
|
if (resource === RESOURCES.CONVERSATION) {
|
|
1987
1983
|
if (operation === OPERATIONS.LIST) {
|
|
1988
1984
|
const search = this.getNodeParameter('search', i, '');
|
|
1989
|
-
|
|
1990
|
-
// Additional options (includes Team, Client, Project filters)
|
|
1985
|
+
// Additional options (includes Limit, Team, Client, Project filters)
|
|
1991
1986
|
const additionalOptions = this.getNodeParameter('additionalOptions', i, {});
|
|
1992
|
-
const query = {
|
|
1987
|
+
const query = {};
|
|
1993
1988
|
if (search)
|
|
1994
1989
|
query.q = search;
|
|
1990
|
+
query.limit = additionalOptions.limit ?? 10;
|
|
1995
1991
|
// Filters from additional options
|
|
1996
1992
|
if (additionalOptions.teamId)
|
|
1997
1993
|
query.team = additionalOptions.teamId;
|