@greatapps/greatagents 0.1.24 → 0.1.26
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 +1 -1
- package/src/modules/calendar_watches/index.js +10 -0
- package/src/modules/calendar_watches/properties.js +78 -0
- package/src/modules/platform_integrations/index.js +10 -0
- package/src/modules/platform_integrations/properties.js +125 -0
- package/src/modules/tool_credentials/properties.js +21 -1
- package/src/product.js +5 -1
package/package.json
CHANGED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: {
|
|
3
|
+
type: "number",
|
|
4
|
+
filterable: true,
|
|
5
|
+
unique: true,
|
|
6
|
+
autoIncrement: true,
|
|
7
|
+
index: true,
|
|
8
|
+
},
|
|
9
|
+
deleted: {
|
|
10
|
+
type: "boolean",
|
|
11
|
+
default: false,
|
|
12
|
+
filterable: true,
|
|
13
|
+
},
|
|
14
|
+
datetime_add: {
|
|
15
|
+
type: "date",
|
|
16
|
+
filterable: true,
|
|
17
|
+
updatable: false,
|
|
18
|
+
},
|
|
19
|
+
datetime_alt: {
|
|
20
|
+
type: "date",
|
|
21
|
+
filterable: true,
|
|
22
|
+
},
|
|
23
|
+
datetime_del: {
|
|
24
|
+
type: "date",
|
|
25
|
+
},
|
|
26
|
+
id_account: {
|
|
27
|
+
type: "number",
|
|
28
|
+
required: true,
|
|
29
|
+
updatable: false,
|
|
30
|
+
filterable: true,
|
|
31
|
+
index: true,
|
|
32
|
+
},
|
|
33
|
+
external_reference: {
|
|
34
|
+
type: "string",
|
|
35
|
+
required: true,
|
|
36
|
+
filterable: true,
|
|
37
|
+
index: true,
|
|
38
|
+
maxLength: 255,
|
|
39
|
+
},
|
|
40
|
+
id_platform_integration: {
|
|
41
|
+
type: "number",
|
|
42
|
+
required: true,
|
|
43
|
+
filterable: true,
|
|
44
|
+
index: true,
|
|
45
|
+
},
|
|
46
|
+
channel_id: {
|
|
47
|
+
type: "string",
|
|
48
|
+
required: true,
|
|
49
|
+
filterable: true,
|
|
50
|
+
index: true,
|
|
51
|
+
maxLength: 100,
|
|
52
|
+
},
|
|
53
|
+
resource_id: {
|
|
54
|
+
type: "string",
|
|
55
|
+
filterable: true,
|
|
56
|
+
maxLength: 255,
|
|
57
|
+
},
|
|
58
|
+
google_calendar_id: {
|
|
59
|
+
type: "string",
|
|
60
|
+
filterable: true,
|
|
61
|
+
maxLength: 255,
|
|
62
|
+
default: "primary",
|
|
63
|
+
},
|
|
64
|
+
sync_token: {
|
|
65
|
+
type: "string",
|
|
66
|
+
},
|
|
67
|
+
expiration: {
|
|
68
|
+
type: "date",
|
|
69
|
+
required: true,
|
|
70
|
+
filterable: true,
|
|
71
|
+
},
|
|
72
|
+
status: {
|
|
73
|
+
type: "string",
|
|
74
|
+
filterable: true,
|
|
75
|
+
maxLength: 20,
|
|
76
|
+
default: "active",
|
|
77
|
+
},
|
|
78
|
+
};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
export const properties = {
|
|
2
|
+
id: {
|
|
3
|
+
type: "number",
|
|
4
|
+
filterable: true,
|
|
5
|
+
unique: true,
|
|
6
|
+
autoIncrement: true,
|
|
7
|
+
index: true
|
|
8
|
+
},
|
|
9
|
+
deleted: {
|
|
10
|
+
type: "boolean",
|
|
11
|
+
default: false,
|
|
12
|
+
filterable: true
|
|
13
|
+
},
|
|
14
|
+
datetime_add: {
|
|
15
|
+
type: "date",
|
|
16
|
+
filterable: true,
|
|
17
|
+
updatable: false
|
|
18
|
+
},
|
|
19
|
+
datetime_alt: {
|
|
20
|
+
type: "date",
|
|
21
|
+
filterable: true,
|
|
22
|
+
updatable: true
|
|
23
|
+
},
|
|
24
|
+
datetime_del: {
|
|
25
|
+
type: "date",
|
|
26
|
+
filterable: true
|
|
27
|
+
},
|
|
28
|
+
slug: {
|
|
29
|
+
type: "string",
|
|
30
|
+
required: true,
|
|
31
|
+
filterable: true,
|
|
32
|
+
index: true,
|
|
33
|
+
validation: {
|
|
34
|
+
maxLength: 100
|
|
35
|
+
},
|
|
36
|
+
interface: {
|
|
37
|
+
label: {
|
|
38
|
+
"pt-br": "Slug",
|
|
39
|
+
"en": "Slug"
|
|
40
|
+
},
|
|
41
|
+
component: "input"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
name: {
|
|
45
|
+
type: "string",
|
|
46
|
+
required: true,
|
|
47
|
+
validation: {
|
|
48
|
+
maxLength: 255
|
|
49
|
+
},
|
|
50
|
+
interface: {
|
|
51
|
+
label: {
|
|
52
|
+
"pt-br": "Nome",
|
|
53
|
+
"en": "Name"
|
|
54
|
+
},
|
|
55
|
+
component: "input"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
type: {
|
|
59
|
+
type: "string",
|
|
60
|
+
required: true,
|
|
61
|
+
filterable: true,
|
|
62
|
+
validation: {
|
|
63
|
+
maxLength: 50
|
|
64
|
+
},
|
|
65
|
+
interface: {
|
|
66
|
+
label: {
|
|
67
|
+
"pt-br": "Tipo",
|
|
68
|
+
"en": "Type"
|
|
69
|
+
},
|
|
70
|
+
component: "select"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
description: {
|
|
74
|
+
type: "string",
|
|
75
|
+
required: false,
|
|
76
|
+
validation: {
|
|
77
|
+
maxLength: 1000
|
|
78
|
+
},
|
|
79
|
+
interface: {
|
|
80
|
+
label: {
|
|
81
|
+
"pt-br": "Descrição",
|
|
82
|
+
"en": "Description"
|
|
83
|
+
},
|
|
84
|
+
component: "textarea"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
auth_config: {
|
|
88
|
+
type: "string",
|
|
89
|
+
required: false,
|
|
90
|
+
interface: {
|
|
91
|
+
label: {
|
|
92
|
+
"pt-br": "Configuração de autenticação",
|
|
93
|
+
"en": "Auth configuration"
|
|
94
|
+
},
|
|
95
|
+
component: "textarea"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
config: {
|
|
99
|
+
type: "string",
|
|
100
|
+
required: false,
|
|
101
|
+
interface: {
|
|
102
|
+
label: {
|
|
103
|
+
"pt-br": "Configuração adicional",
|
|
104
|
+
"en": "Additional configuration"
|
|
105
|
+
},
|
|
106
|
+
component: "textarea"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
status: {
|
|
110
|
+
type: "string",
|
|
111
|
+
required: true,
|
|
112
|
+
filterable: true,
|
|
113
|
+
default: "active",
|
|
114
|
+
validation: {
|
|
115
|
+
maxLength: 20
|
|
116
|
+
},
|
|
117
|
+
interface: {
|
|
118
|
+
label: {
|
|
119
|
+
"pt-br": "Status",
|
|
120
|
+
"en": "Status"
|
|
121
|
+
},
|
|
122
|
+
component: "select"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
};
|
|
@@ -45,9 +45,29 @@ export const properties = {
|
|
|
45
45
|
disabled: true
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
|
+
id_platform_integration: {
|
|
49
|
+
type: "number",
|
|
50
|
+
required: false,
|
|
51
|
+
updatable: false,
|
|
52
|
+
filterable: true,
|
|
53
|
+
index: true,
|
|
54
|
+
reference: {
|
|
55
|
+
module: "platform_integrations",
|
|
56
|
+
label: "name",
|
|
57
|
+
value: "id",
|
|
58
|
+
},
|
|
59
|
+
interface: {
|
|
60
|
+
label: {
|
|
61
|
+
"pt-br": "Integração de plataforma",
|
|
62
|
+
"en": "Platform integration"
|
|
63
|
+
},
|
|
64
|
+
component: "select",
|
|
65
|
+
disabled: true
|
|
66
|
+
}
|
|
67
|
+
},
|
|
48
68
|
id_tool: {
|
|
49
69
|
type: "number",
|
|
50
|
-
required:
|
|
70
|
+
required: false,
|
|
51
71
|
updatable: false,
|
|
52
72
|
filterable: true,
|
|
53
73
|
index: true,
|
package/src/product.js
CHANGED
|
@@ -9,6 +9,8 @@ import tools from './modules/tools/index.js';
|
|
|
9
9
|
import agent_tools from './modules/agent_tools/index.js';
|
|
10
10
|
import tool_credentials from './modules/tool_credentials/index.js';
|
|
11
11
|
import contact_users from './modules/contact_users/index.js';
|
|
12
|
+
import platform_integrations from './modules/platform_integrations/index.js';
|
|
13
|
+
import calendar_watches from './modules/calendar_watches/index.js';
|
|
12
14
|
|
|
13
15
|
/* Shared */
|
|
14
16
|
|
|
@@ -41,7 +43,9 @@ export default {
|
|
|
41
43
|
tools,
|
|
42
44
|
agent_tools,
|
|
43
45
|
tool_credentials,
|
|
44
|
-
contact_users
|
|
46
|
+
contact_users,
|
|
47
|
+
platform_integrations,
|
|
48
|
+
calendar_watches
|
|
45
49
|
},
|
|
46
50
|
documentation: {
|
|
47
51
|
title: "GreatAgents API",
|