n8n-nodes-bgos 1.0.6 → 1.0.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-bgos",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "n8n community nodes for BGOS (Brand Growth OS) - AI assistant chat platform",
5
5
  "keywords": ["n8n-community-node-package", "n8n", "bgos", "chat", "assistant", "ai"],
6
6
  "license": "MIT",
@@ -1,4 +0,0 @@
1
- /**
2
- * Mock event data for testing BGOS Trigger node.
3
- */
4
- export declare function getMockEventData(eventType: string): Record<string, unknown>;
@@ -1,86 +0,0 @@
1
- "use strict";
2
- /**
3
- * Mock event data for testing BGOS Trigger node.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.getMockEventData = getMockEventData;
7
- function getMockEventData(eventType) {
8
- const mockEvents = {
9
- message: {
10
- event_type: 'message',
11
- message_id: 'mock_msg_123',
12
- chat_id: 'mock_chat_456',
13
- user_id: 'mock_user_789',
14
- text: 'This is a mock message for testing',
15
- timestamp: new Date().toISOString(),
16
- },
17
- edited_message: {
18
- event_type: 'edited_message',
19
- message_id: 'mock_msg_123',
20
- chat_id: 'mock_chat_456',
21
- user_id: 'mock_user_789',
22
- text: 'This is an edited mock message',
23
- timestamp: new Date().toISOString(),
24
- },
25
- voice_message: {
26
- event_type: 'voice_message',
27
- message_id: 'mock_voice_123',
28
- chat_id: 'mock_chat_456',
29
- user_id: 'mock_user_789',
30
- voice_url: 'https://example.com/voice.mp3',
31
- duration: 30,
32
- timestamp: new Date().toISOString(),
33
- },
34
- new_chat: {
35
- event_type: 'new_chat',
36
- chat_id: 'mock_chat_456',
37
- user_id: 'mock_user_789',
38
- chat_name: 'Mock Chat',
39
- timestamp: new Date().toISOString(),
40
- },
41
- chat_renamed: {
42
- event_type: 'chat_renamed',
43
- chat_id: 'mock_chat_456',
44
- old_name: 'Old Chat Name',
45
- new_name: 'New Chat Name',
46
- timestamp: new Date().toISOString(),
47
- },
48
- new_assistant: {
49
- event_type: 'new_assistant',
50
- assistant_id: 'mock_assistant_123',
51
- chat_id: 'mock_chat_456',
52
- assistant_name: 'Mock Assistant',
53
- timestamp: new Date().toISOString(),
54
- },
55
- voice_started: {
56
- event_type: 'voice_started',
57
- chat_id: 'mock_chat_456',
58
- user_id: 'mock_user_789',
59
- timestamp: new Date().toISOString(),
60
- },
61
- voice_ended: {
62
- event_type: 'voice_ended',
63
- chat_id: 'mock_chat_456',
64
- user_id: 'mock_user_789',
65
- duration: 120,
66
- timestamp: new Date().toISOString(),
67
- },
68
- button_clicked: {
69
- event_type: 'button_clicked',
70
- button_id: 'mock_button_123',
71
- chat_id: 'mock_chat_456',
72
- user_id: 'mock_user_789',
73
- timestamp: new Date().toISOString(),
74
- },
75
- reply_message: {
76
- event_type: 'reply_message',
77
- message_id: 'mock_msg_123',
78
- reply_to_message_id: 'mock_msg_456',
79
- chat_id: 'mock_chat_456',
80
- user_id: 'mock_user_789',
81
- text: 'This is a reply message',
82
- timestamp: new Date().toISOString(),
83
- },
84
- };
85
- return mockEvents[eventType] ?? mockEvents.message;
86
- }