@hed-hog/core 0.0.368 → 0.0.370
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/hedhog/data/integration_event_catalog.yaml +118 -118
- package/hedhog/data/route.yaml +156 -207
- package/hedhog/table/event_webhook.yaml +55 -55
- package/hedhog/table/event_webhook_delivery_log.yaml +66 -66
- package/hedhog/table/event_webhook_event.yaml +26 -26
- package/hedhog/table/integration_event_catalog.yaml +41 -41
- package/hedhog/table/mcp_conversation.yaml +12 -12
- package/hedhog/table/mcp_conversation_message.yaml +23 -23
- package/hedhog/table/mcp_tool_call_log.yaml +22 -22
- package/hedhog/table/route.yaml +33 -33
- package/hedhog/table/webhook_call_log.yaml +46 -46
- package/hedhog/table/webhook_integration.yaml +43 -43
- package/package.json +3 -3
- package/src/integration/types/event.types.ts +4 -4
- package/src/mcp/decorators/mcp-tool.decorator.ts +7 -7
- package/src/mcp/guards/mcp-permission.guard.ts +51 -51
- package/src/mcp/interfaces/mcp-tool-definition.interface.ts +6 -6
- package/src/mcp/mcp-server.service.ts +87 -87
- package/src/mcp/types/mcp-context.type.ts +6 -6
- package/src/mcp-chat/dto/create-conversation.dto.ts +7 -7
- package/src/mcp-chat/dto/send-message.dto.ts +7 -7
- package/src/notification/events/notification-stale-progress-check.event.ts +5 -5
- package/src/route/dto/create.dto.ts +32 -32
- package/src/route/dto/update.dto.ts +31 -31
- package/src/webhook-integration/integration-event-catalog.controller.ts +50 -50
- package/src/webhook-integration/integration-event-catalog.service.ts +117 -117
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
columns:
|
|
2
|
-
- type: pk
|
|
3
|
-
- type: slug
|
|
4
|
-
- name: name
|
|
5
|
-
type: varchar
|
|
6
|
-
length: 127
|
|
7
|
-
- name: description
|
|
8
|
-
type: text
|
|
9
|
-
isNullable: true
|
|
10
|
-
- name: status
|
|
11
|
-
type: enum
|
|
12
|
-
enum:
|
|
13
|
-
- active
|
|
14
|
-
- inactive
|
|
15
|
-
default: active
|
|
16
|
-
- name: priority
|
|
17
|
-
type: int
|
|
18
|
-
default: 0
|
|
19
|
-
- name: url
|
|
20
|
-
type: text
|
|
21
|
-
- name: method
|
|
22
|
-
type: enum
|
|
23
|
-
enum:
|
|
24
|
-
- GET
|
|
25
|
-
- POST
|
|
26
|
-
- PUT
|
|
27
|
-
- PATCH
|
|
28
|
-
- DELETE
|
|
29
|
-
default: POST
|
|
30
|
-
- name: headers
|
|
31
|
-
type: json
|
|
32
|
-
isNullable: true
|
|
33
|
-
- name: query
|
|
34
|
-
type: json
|
|
35
|
-
isNullable: true
|
|
36
|
-
- name: payload
|
|
37
|
-
type: json
|
|
38
|
-
isNullable: true
|
|
39
|
-
- name: timeout_ms
|
|
40
|
-
type: int
|
|
41
|
-
default: 10000
|
|
42
|
-
- name: retry_count
|
|
43
|
-
type: int
|
|
44
|
-
default: 0
|
|
45
|
-
- type: created_at
|
|
46
|
-
- type: updated_at
|
|
47
|
-
indices:
|
|
48
|
-
- columns:
|
|
49
|
-
- slug
|
|
50
|
-
isUnique: true
|
|
51
|
-
- columns:
|
|
52
|
-
- status
|
|
53
|
-
- columns:
|
|
54
|
-
- priority
|
|
55
|
-
|
|
1
|
+
columns:
|
|
2
|
+
- type: pk
|
|
3
|
+
- type: slug
|
|
4
|
+
- name: name
|
|
5
|
+
type: varchar
|
|
6
|
+
length: 127
|
|
7
|
+
- name: description
|
|
8
|
+
type: text
|
|
9
|
+
isNullable: true
|
|
10
|
+
- name: status
|
|
11
|
+
type: enum
|
|
12
|
+
enum:
|
|
13
|
+
- active
|
|
14
|
+
- inactive
|
|
15
|
+
default: active
|
|
16
|
+
- name: priority
|
|
17
|
+
type: int
|
|
18
|
+
default: 0
|
|
19
|
+
- name: url
|
|
20
|
+
type: text
|
|
21
|
+
- name: method
|
|
22
|
+
type: enum
|
|
23
|
+
enum:
|
|
24
|
+
- GET
|
|
25
|
+
- POST
|
|
26
|
+
- PUT
|
|
27
|
+
- PATCH
|
|
28
|
+
- DELETE
|
|
29
|
+
default: POST
|
|
30
|
+
- name: headers
|
|
31
|
+
type: json
|
|
32
|
+
isNullable: true
|
|
33
|
+
- name: query
|
|
34
|
+
type: json
|
|
35
|
+
isNullable: true
|
|
36
|
+
- name: payload
|
|
37
|
+
type: json
|
|
38
|
+
isNullable: true
|
|
39
|
+
- name: timeout_ms
|
|
40
|
+
type: int
|
|
41
|
+
default: 10000
|
|
42
|
+
- name: retry_count
|
|
43
|
+
type: int
|
|
44
|
+
default: 0
|
|
45
|
+
- type: created_at
|
|
46
|
+
- type: updated_at
|
|
47
|
+
indices:
|
|
48
|
+
- columns:
|
|
49
|
+
- slug
|
|
50
|
+
isUnique: true
|
|
51
|
+
- columns:
|
|
52
|
+
- status
|
|
53
|
+
- columns:
|
|
54
|
+
- priority
|
|
55
|
+
|
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
columns:
|
|
2
|
-
- type: pk
|
|
3
|
-
- type: fk
|
|
4
|
-
name: event_webhook_id
|
|
5
|
-
isNullable: true
|
|
6
|
-
references:
|
|
7
|
-
table: event_webhook
|
|
8
|
-
column: id
|
|
9
|
-
onDelete: set null
|
|
10
|
-
onUpdate: cascade
|
|
11
|
-
- type: fk
|
|
12
|
-
name: integration_event_catalog_id
|
|
13
|
-
isNullable: true
|
|
14
|
-
references:
|
|
15
|
-
table: integration_event_catalog
|
|
16
|
-
column: id
|
|
17
|
-
onDelete: set null
|
|
18
|
-
onUpdate: cascade
|
|
19
|
-
- name: outbox_event_id
|
|
20
|
-
type: int
|
|
21
|
-
isNullable: true
|
|
22
|
-
- name: event_name
|
|
23
|
-
type: varchar
|
|
24
|
-
length: 255
|
|
25
|
-
- name: method
|
|
26
|
-
type: varchar
|
|
27
|
-
length: 15
|
|
28
|
-
- name: url
|
|
29
|
-
type: text
|
|
30
|
-
- name: status
|
|
31
|
-
type: enum
|
|
32
|
-
enum:
|
|
33
|
-
- success
|
|
34
|
-
- failed
|
|
35
|
-
- name: http_status
|
|
36
|
-
type: int
|
|
37
|
-
isNullable: true
|
|
38
|
-
- name: duration_ms
|
|
39
|
-
type: int
|
|
40
|
-
default: 0
|
|
41
|
-
- name: attempt_count
|
|
42
|
-
type: int
|
|
43
|
-
default: 1
|
|
44
|
-
- name: error_message
|
|
45
|
-
type: text
|
|
46
|
-
isNullable: true
|
|
47
|
-
- name: request_summary
|
|
48
|
-
type: json
|
|
49
|
-
isNullable: true
|
|
50
|
-
- name: response_summary
|
|
51
|
-
type: json
|
|
52
|
-
isNullable: true
|
|
53
|
-
- type: created_at
|
|
54
|
-
- type: updated_at
|
|
55
|
-
indices:
|
|
56
|
-
- columns:
|
|
57
|
-
- event_webhook_id
|
|
58
|
-
- columns:
|
|
59
|
-
- integration_event_catalog_id
|
|
60
|
-
- columns:
|
|
61
|
-
- event_name
|
|
62
|
-
- columns:
|
|
63
|
-
- status
|
|
64
|
-
- columns:
|
|
65
|
-
- created_at
|
|
66
|
-
|
|
1
|
+
columns:
|
|
2
|
+
- type: pk
|
|
3
|
+
- type: fk
|
|
4
|
+
name: event_webhook_id
|
|
5
|
+
isNullable: true
|
|
6
|
+
references:
|
|
7
|
+
table: event_webhook
|
|
8
|
+
column: id
|
|
9
|
+
onDelete: set null
|
|
10
|
+
onUpdate: cascade
|
|
11
|
+
- type: fk
|
|
12
|
+
name: integration_event_catalog_id
|
|
13
|
+
isNullable: true
|
|
14
|
+
references:
|
|
15
|
+
table: integration_event_catalog
|
|
16
|
+
column: id
|
|
17
|
+
onDelete: set null
|
|
18
|
+
onUpdate: cascade
|
|
19
|
+
- name: outbox_event_id
|
|
20
|
+
type: int
|
|
21
|
+
isNullable: true
|
|
22
|
+
- name: event_name
|
|
23
|
+
type: varchar
|
|
24
|
+
length: 255
|
|
25
|
+
- name: method
|
|
26
|
+
type: varchar
|
|
27
|
+
length: 15
|
|
28
|
+
- name: url
|
|
29
|
+
type: text
|
|
30
|
+
- name: status
|
|
31
|
+
type: enum
|
|
32
|
+
enum:
|
|
33
|
+
- success
|
|
34
|
+
- failed
|
|
35
|
+
- name: http_status
|
|
36
|
+
type: int
|
|
37
|
+
isNullable: true
|
|
38
|
+
- name: duration_ms
|
|
39
|
+
type: int
|
|
40
|
+
default: 0
|
|
41
|
+
- name: attempt_count
|
|
42
|
+
type: int
|
|
43
|
+
default: 1
|
|
44
|
+
- name: error_message
|
|
45
|
+
type: text
|
|
46
|
+
isNullable: true
|
|
47
|
+
- name: request_summary
|
|
48
|
+
type: json
|
|
49
|
+
isNullable: true
|
|
50
|
+
- name: response_summary
|
|
51
|
+
type: json
|
|
52
|
+
isNullable: true
|
|
53
|
+
- type: created_at
|
|
54
|
+
- type: updated_at
|
|
55
|
+
indices:
|
|
56
|
+
- columns:
|
|
57
|
+
- event_webhook_id
|
|
58
|
+
- columns:
|
|
59
|
+
- integration_event_catalog_id
|
|
60
|
+
- columns:
|
|
61
|
+
- event_name
|
|
62
|
+
- columns:
|
|
63
|
+
- status
|
|
64
|
+
- columns:
|
|
65
|
+
- created_at
|
|
66
|
+
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
columns:
|
|
2
|
-
- type: pk
|
|
3
|
-
- type: fk
|
|
4
|
-
name: event_webhook_id
|
|
5
|
-
references:
|
|
6
|
-
table: event_webhook
|
|
7
|
-
column: id
|
|
8
|
-
onDelete: cascade
|
|
9
|
-
onUpdate: cascade
|
|
10
|
-
- type: fk
|
|
11
|
-
name: integration_event_catalog_id
|
|
12
|
-
references:
|
|
13
|
-
table: integration_event_catalog
|
|
14
|
-
column: id
|
|
15
|
-
onDelete: cascade
|
|
16
|
-
onUpdate: cascade
|
|
17
|
-
- type: created_at
|
|
18
|
-
- type: updated_at
|
|
19
|
-
indices:
|
|
20
|
-
- columns:
|
|
21
|
-
- event_webhook_id
|
|
22
|
-
- integration_event_catalog_id
|
|
23
|
-
isUnique: true
|
|
24
|
-
- columns:
|
|
25
|
-
- integration_event_catalog_id
|
|
26
|
-
|
|
1
|
+
columns:
|
|
2
|
+
- type: pk
|
|
3
|
+
- type: fk
|
|
4
|
+
name: event_webhook_id
|
|
5
|
+
references:
|
|
6
|
+
table: event_webhook
|
|
7
|
+
column: id
|
|
8
|
+
onDelete: cascade
|
|
9
|
+
onUpdate: cascade
|
|
10
|
+
- type: fk
|
|
11
|
+
name: integration_event_catalog_id
|
|
12
|
+
references:
|
|
13
|
+
table: integration_event_catalog
|
|
14
|
+
column: id
|
|
15
|
+
onDelete: cascade
|
|
16
|
+
onUpdate: cascade
|
|
17
|
+
- type: created_at
|
|
18
|
+
- type: updated_at
|
|
19
|
+
indices:
|
|
20
|
+
- columns:
|
|
21
|
+
- event_webhook_id
|
|
22
|
+
- integration_event_catalog_id
|
|
23
|
+
isUnique: true
|
|
24
|
+
- columns:
|
|
25
|
+
- integration_event_catalog_id
|
|
26
|
+
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
columns:
|
|
2
|
-
- type: pk
|
|
3
|
-
- type: slug
|
|
4
|
-
- name: name
|
|
5
|
-
type: varchar
|
|
6
|
-
length: 127
|
|
7
|
-
- name: module
|
|
8
|
-
type: varchar
|
|
9
|
-
length: 127
|
|
10
|
-
- name: aggregate_type
|
|
11
|
-
type: varchar
|
|
12
|
-
length: 127
|
|
13
|
-
isNullable: true
|
|
14
|
-
- name: description
|
|
15
|
-
type: text
|
|
16
|
-
isNullable: true
|
|
17
|
-
- name: payload_schema
|
|
18
|
-
type: json
|
|
19
|
-
isNullable: true
|
|
20
|
-
- name: metadata_schema
|
|
21
|
-
type: json
|
|
22
|
-
isNullable: true
|
|
23
|
-
- name: status
|
|
24
|
-
type: enum
|
|
25
|
-
enum:
|
|
26
|
-
- active
|
|
27
|
-
- inactive
|
|
28
|
-
default: active
|
|
29
|
-
- type: created_at
|
|
30
|
-
- type: updated_at
|
|
31
|
-
indices:
|
|
32
|
-
- columns:
|
|
33
|
-
- slug
|
|
34
|
-
isUnique: true
|
|
35
|
-
- columns:
|
|
36
|
-
- module
|
|
37
|
-
- columns:
|
|
38
|
-
- aggregate_type
|
|
39
|
-
- columns:
|
|
40
|
-
- status
|
|
41
|
-
|
|
1
|
+
columns:
|
|
2
|
+
- type: pk
|
|
3
|
+
- type: slug
|
|
4
|
+
- name: name
|
|
5
|
+
type: varchar
|
|
6
|
+
length: 127
|
|
7
|
+
- name: module
|
|
8
|
+
type: varchar
|
|
9
|
+
length: 127
|
|
10
|
+
- name: aggregate_type
|
|
11
|
+
type: varchar
|
|
12
|
+
length: 127
|
|
13
|
+
isNullable: true
|
|
14
|
+
- name: description
|
|
15
|
+
type: text
|
|
16
|
+
isNullable: true
|
|
17
|
+
- name: payload_schema
|
|
18
|
+
type: json
|
|
19
|
+
isNullable: true
|
|
20
|
+
- name: metadata_schema
|
|
21
|
+
type: json
|
|
22
|
+
isNullable: true
|
|
23
|
+
- name: status
|
|
24
|
+
type: enum
|
|
25
|
+
enum:
|
|
26
|
+
- active
|
|
27
|
+
- inactive
|
|
28
|
+
default: active
|
|
29
|
+
- type: created_at
|
|
30
|
+
- type: updated_at
|
|
31
|
+
indices:
|
|
32
|
+
- columns:
|
|
33
|
+
- slug
|
|
34
|
+
isUnique: true
|
|
35
|
+
- columns:
|
|
36
|
+
- module
|
|
37
|
+
- columns:
|
|
38
|
+
- aggregate_type
|
|
39
|
+
- columns:
|
|
40
|
+
- status
|
|
41
|
+
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
columns:
|
|
2
|
-
- type: pk
|
|
3
|
-
- name: user_id
|
|
4
|
-
type: fk
|
|
5
|
-
references:
|
|
6
|
-
table: user
|
|
7
|
-
column: id
|
|
8
|
-
onDelete: CASCADE
|
|
9
|
-
- name: title
|
|
10
|
-
isNullable: true
|
|
11
|
-
- type: created_at
|
|
12
|
-
- type: updated_at
|
|
1
|
+
columns:
|
|
2
|
+
- type: pk
|
|
3
|
+
- name: user_id
|
|
4
|
+
type: fk
|
|
5
|
+
references:
|
|
6
|
+
table: user
|
|
7
|
+
column: id
|
|
8
|
+
onDelete: CASCADE
|
|
9
|
+
- name: title
|
|
10
|
+
isNullable: true
|
|
11
|
+
- type: created_at
|
|
12
|
+
- type: updated_at
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
columns:
|
|
2
|
-
- type: pk
|
|
3
|
-
- name: conversation_id
|
|
4
|
-
type: fk
|
|
5
|
-
references:
|
|
6
|
-
table: mcp_conversation
|
|
7
|
-
column: id
|
|
8
|
-
onDelete: CASCADE
|
|
9
|
-
- name: role
|
|
10
|
-
type: enum
|
|
11
|
-
enum:
|
|
12
|
-
- user
|
|
13
|
-
- assistant
|
|
14
|
-
- tool_call
|
|
15
|
-
- tool_result
|
|
16
|
-
- name: content
|
|
17
|
-
type: text
|
|
18
|
-
- name: tool_name
|
|
19
|
-
isNullable: true
|
|
20
|
-
- name: tool_call_id
|
|
21
|
-
isNullable: true
|
|
22
|
-
- type: created_at
|
|
23
|
-
- type: updated_at
|
|
1
|
+
columns:
|
|
2
|
+
- type: pk
|
|
3
|
+
- name: conversation_id
|
|
4
|
+
type: fk
|
|
5
|
+
references:
|
|
6
|
+
table: mcp_conversation
|
|
7
|
+
column: id
|
|
8
|
+
onDelete: CASCADE
|
|
9
|
+
- name: role
|
|
10
|
+
type: enum
|
|
11
|
+
enum:
|
|
12
|
+
- user
|
|
13
|
+
- assistant
|
|
14
|
+
- tool_call
|
|
15
|
+
- tool_result
|
|
16
|
+
- name: content
|
|
17
|
+
type: text
|
|
18
|
+
- name: tool_name
|
|
19
|
+
isNullable: true
|
|
20
|
+
- name: tool_call_id
|
|
21
|
+
isNullable: true
|
|
22
|
+
- type: created_at
|
|
23
|
+
- type: updated_at
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
columns:
|
|
2
|
-
- type: pk
|
|
3
|
-
- name: user_id
|
|
4
|
-
type: fk
|
|
5
|
-
references:
|
|
6
|
-
table: user
|
|
7
|
-
column: id
|
|
8
|
-
onDelete: SET NULL
|
|
9
|
-
isNullable: true
|
|
10
|
-
- name: tool_name
|
|
11
|
-
- name: input
|
|
12
|
-
type: text
|
|
13
|
-
isNullable: true
|
|
14
|
-
- name: success
|
|
15
|
-
type: boolean
|
|
16
|
-
default: false
|
|
17
|
-
- name: error
|
|
18
|
-
isNullable: true
|
|
19
|
-
- name: duration_ms
|
|
20
|
-
type: int
|
|
21
|
-
- type: created_at
|
|
22
|
-
- type: updated_at
|
|
1
|
+
columns:
|
|
2
|
+
- type: pk
|
|
3
|
+
- name: user_id
|
|
4
|
+
type: fk
|
|
5
|
+
references:
|
|
6
|
+
table: user
|
|
7
|
+
column: id
|
|
8
|
+
onDelete: SET NULL
|
|
9
|
+
isNullable: true
|
|
10
|
+
- name: tool_name
|
|
11
|
+
- name: input
|
|
12
|
+
type: text
|
|
13
|
+
isNullable: true
|
|
14
|
+
- name: success
|
|
15
|
+
type: boolean
|
|
16
|
+
default: false
|
|
17
|
+
- name: error
|
|
18
|
+
isNullable: true
|
|
19
|
+
- name: duration_ms
|
|
20
|
+
type: int
|
|
21
|
+
- type: created_at
|
|
22
|
+
- type: updated_at
|
package/hedhog/table/route.yaml
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
columns:
|
|
2
|
-
- type: pk
|
|
3
|
-
- name: type
|
|
4
|
-
type: enum
|
|
5
|
-
enum:
|
|
6
|
-
- HTTP
|
|
7
|
-
- MCP
|
|
8
|
-
default: HTTP
|
|
9
|
-
- name: name
|
|
10
|
-
isNullable: true
|
|
11
|
-
- name: url
|
|
12
|
-
isNullable: true
|
|
13
|
-
- name: method
|
|
14
|
-
type: enum
|
|
15
|
-
enum:
|
|
16
|
-
- GET
|
|
17
|
-
- POST
|
|
18
|
-
- PATCH
|
|
19
|
-
- DELETE
|
|
20
|
-
- PUT
|
|
21
|
-
- OPTIONS
|
|
22
|
-
- HEAD
|
|
23
|
-
isNullable: true
|
|
24
|
-
- name: tool_name
|
|
25
|
-
isNullable: true
|
|
26
|
-
- name: description
|
|
27
|
-
isNullable: true
|
|
28
|
-
- type: created_at
|
|
29
|
-
- type: updated_at
|
|
30
|
-
indices:
|
|
31
|
-
- columns:
|
|
32
|
-
- tool_name
|
|
33
|
-
isUnique: true
|
|
1
|
+
columns:
|
|
2
|
+
- type: pk
|
|
3
|
+
- name: type
|
|
4
|
+
type: enum
|
|
5
|
+
enum:
|
|
6
|
+
- HTTP
|
|
7
|
+
- MCP
|
|
8
|
+
default: HTTP
|
|
9
|
+
- name: name
|
|
10
|
+
isNullable: true
|
|
11
|
+
- name: url
|
|
12
|
+
isNullable: true
|
|
13
|
+
- name: method
|
|
14
|
+
type: enum
|
|
15
|
+
enum:
|
|
16
|
+
- GET
|
|
17
|
+
- POST
|
|
18
|
+
- PATCH
|
|
19
|
+
- DELETE
|
|
20
|
+
- PUT
|
|
21
|
+
- OPTIONS
|
|
22
|
+
- HEAD
|
|
23
|
+
isNullable: true
|
|
24
|
+
- name: tool_name
|
|
25
|
+
isNullable: true
|
|
26
|
+
- name: description
|
|
27
|
+
isNullable: true
|
|
28
|
+
- type: created_at
|
|
29
|
+
- type: updated_at
|
|
30
|
+
indices:
|
|
31
|
+
- columns:
|
|
32
|
+
- tool_name
|
|
33
|
+
isUnique: true
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
columns:
|
|
2
|
-
- type: pk
|
|
3
|
-
- type: fk
|
|
4
|
-
name: webhook_integration_id
|
|
5
|
-
isNullable: true
|
|
6
|
-
references:
|
|
7
|
-
table: webhook_integration
|
|
8
|
-
column: id
|
|
9
|
-
onDelete: set null
|
|
10
|
-
onUpdate: cascade
|
|
11
|
-
- name: public_uuid
|
|
12
|
-
type: varchar
|
|
13
|
-
length: 36
|
|
14
|
-
- name: status
|
|
15
|
-
type: enum
|
|
16
|
-
enum:
|
|
17
|
-
- success
|
|
18
|
-
- failed
|
|
19
|
-
- name: remote_ip
|
|
20
|
-
type: varchar
|
|
21
|
-
length: 127
|
|
22
|
-
isNullable: true
|
|
23
|
-
- name: duration_ms
|
|
24
|
-
type: int
|
|
25
|
-
default: 0
|
|
26
|
-
- name: error_message
|
|
27
|
-
type: text
|
|
28
|
-
isNullable: true
|
|
29
|
-
- name: payload_summary
|
|
30
|
-
type: json
|
|
31
|
-
isNullable: true
|
|
32
|
-
- name: response_summary
|
|
33
|
-
type: json
|
|
34
|
-
isNullable: true
|
|
35
|
-
- type: created_at
|
|
36
|
-
- type: updated_at
|
|
37
|
-
indices:
|
|
38
|
-
- columns:
|
|
39
|
-
- webhook_integration_id
|
|
40
|
-
- columns:
|
|
41
|
-
- public_uuid
|
|
42
|
-
- columns:
|
|
43
|
-
- status
|
|
44
|
-
- columns:
|
|
45
|
-
- created_at
|
|
46
|
-
|
|
1
|
+
columns:
|
|
2
|
+
- type: pk
|
|
3
|
+
- type: fk
|
|
4
|
+
name: webhook_integration_id
|
|
5
|
+
isNullable: true
|
|
6
|
+
references:
|
|
7
|
+
table: webhook_integration
|
|
8
|
+
column: id
|
|
9
|
+
onDelete: set null
|
|
10
|
+
onUpdate: cascade
|
|
11
|
+
- name: public_uuid
|
|
12
|
+
type: varchar
|
|
13
|
+
length: 36
|
|
14
|
+
- name: status
|
|
15
|
+
type: enum
|
|
16
|
+
enum:
|
|
17
|
+
- success
|
|
18
|
+
- failed
|
|
19
|
+
- name: remote_ip
|
|
20
|
+
type: varchar
|
|
21
|
+
length: 127
|
|
22
|
+
isNullable: true
|
|
23
|
+
- name: duration_ms
|
|
24
|
+
type: int
|
|
25
|
+
default: 0
|
|
26
|
+
- name: error_message
|
|
27
|
+
type: text
|
|
28
|
+
isNullable: true
|
|
29
|
+
- name: payload_summary
|
|
30
|
+
type: json
|
|
31
|
+
isNullable: true
|
|
32
|
+
- name: response_summary
|
|
33
|
+
type: json
|
|
34
|
+
isNullable: true
|
|
35
|
+
- type: created_at
|
|
36
|
+
- type: updated_at
|
|
37
|
+
indices:
|
|
38
|
+
- columns:
|
|
39
|
+
- webhook_integration_id
|
|
40
|
+
- columns:
|
|
41
|
+
- public_uuid
|
|
42
|
+
- columns:
|
|
43
|
+
- status
|
|
44
|
+
- columns:
|
|
45
|
+
- created_at
|
|
46
|
+
|