@greatapps/greatagents 0.0.1
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/docs/README.md +630 -0
- package/package.json +7 -0
- package/src/modules/base_domains/index.js +10 -0
- package/src/modules/base_domains/properties.js +61 -0
- package/src/modules/conversions/index.js +12 -0
- package/src/modules/conversions/properties.js +47 -0
- package/src/modules/conversions/responses.js +57 -0
- package/src/modules/conversions/routes.js +120 -0
- package/src/modules/conversions_resume/index.js +10 -0
- package/src/modules/conversions_resume/properties.js +46 -0
- package/src/modules/domains/index.js +10 -0
- package/src/modules/domains/properties.js +75 -0
- package/src/modules/domains_redirects/index.js +10 -0
- package/src/modules/domains_redirects/properties.js +64 -0
- package/src/modules/experiments/index.js +10 -0
- package/src/modules/experiments/properties.js +129 -0
- package/src/modules/experiments_variations/index.js +10 -0
- package/src/modules/experiments_variations/properties.js +193 -0
- package/src/modules/integrations_accounts/index.js +11 -0
- package/src/modules/integrations_accounts/properties.js +140 -0
- package/src/modules/integrations_pages_elements/index.js +12 -0
- package/src/modules/integrations_pages_elements/properties.js +283 -0
- package/src/modules/pages/index.js +10 -0
- package/src/modules/pages/properties.js +170 -0
- package/src/modules/pages_blocks_folders/index.js +10 -0
- package/src/modules/pages_blocks_folders/properties.js +90 -0
- package/src/modules/pages_blocks_models/index.js +12 -0
- package/src/modules/pages_blocks_models/properties.js +91 -0
- package/src/modules/pages_editor_photos/index.js +10 -0
- package/src/modules/pages_editor_photos/properties.js +138 -0
- package/src/modules/pages_editor_photos_folders/index.js +10 -0
- package/src/modules/pages_editor_photos_folders/properties.js +92 -0
- package/src/modules/projects/index.js +10 -0
- package/src/modules/projects/properties.js +120 -0
- package/src/modules/projects_domains/index.js +10 -0
- package/src/modules/projects_domains/properties.js +65 -0
- package/src/modules/projects_users/index.js +10 -0
- package/src/modules/projects_users/properties.js +66 -0
- package/src/modules/templates/index.js +10 -0
- package/src/modules/templates/properties.js +86 -0
- package/src/modules/templates_blocks/index.js +10 -0
- package/src/modules/templates_blocks/properties.js +76 -0
- package/src/modules/templates_blocks_folders/index.js +11 -0
- package/src/modules/templates_blocks_folders/properties.js +54 -0
- package/src/modules/templates_categories/index.js +12 -0
- package/src/modules/templates_categories/properties.js +100 -0
- package/src/modules/templates_categories_links/index.js +12 -0
- package/src/modules/templates_categories_links/properties.js +63 -0
- package/src/modules/templates_groups/index.js +11 -0
- package/src/modules/templates_groups/properties.js +42 -0
- package/src/modules/views/index.js +12 -0
- package/src/modules/views/properties.js +44 -0
- package/src/modules/views/responses.js +57 -0
- package/src/modules/views/routes.js +56 -0
- package/src/modules/views_resume/index.js +10 -0
- package/src/modules/views_resume/properties.js +46 -0
- package/src/product.js +87 -0
- package/src/shared/parameters.js +19 -0
- package/src/shared/query.js +32 -0
- package/src/shared/responses.js +124 -0
|
@@ -0,0 +1,193 @@
|
|
|
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
|
+
},
|
|
13
|
+
datetime_alt: {
|
|
14
|
+
type: "date",
|
|
15
|
+
filterable: true,
|
|
16
|
+
updatable: true
|
|
17
|
+
},
|
|
18
|
+
datetime_del: {
|
|
19
|
+
type: "date",
|
|
20
|
+
filterable: true
|
|
21
|
+
},
|
|
22
|
+
datetime_add: {
|
|
23
|
+
type: "date",
|
|
24
|
+
filterable: true,
|
|
25
|
+
updatable: false
|
|
26
|
+
},
|
|
27
|
+
id_account: {
|
|
28
|
+
type: "number",
|
|
29
|
+
required: true,
|
|
30
|
+
index: true,
|
|
31
|
+
filterable: true,
|
|
32
|
+
interface: {
|
|
33
|
+
component: "input",
|
|
34
|
+
label: {
|
|
35
|
+
"pt-br": "Conta",
|
|
36
|
+
"en": "Account"
|
|
37
|
+
},
|
|
38
|
+
placeholder: {
|
|
39
|
+
"pt-br": "ID da conta",
|
|
40
|
+
"en": "Account ID"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
id_experiment: {
|
|
45
|
+
type: "number",
|
|
46
|
+
required: true,
|
|
47
|
+
index: true,
|
|
48
|
+
filterable: true,
|
|
49
|
+
reference: {
|
|
50
|
+
name: "experiments",
|
|
51
|
+
filter: { "id_account": "$id_account" },
|
|
52
|
+
label: "title",
|
|
53
|
+
value: "id"
|
|
54
|
+
},
|
|
55
|
+
interface: {
|
|
56
|
+
component: "select",
|
|
57
|
+
label: {
|
|
58
|
+
"pt-br": "Experimento",
|
|
59
|
+
"en": "Experiment"
|
|
60
|
+
},
|
|
61
|
+
placeholder: {
|
|
62
|
+
"pt-br": "Selecione um experimento",
|
|
63
|
+
"en": "Select an experiment"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
id_page: {
|
|
68
|
+
type: "number",
|
|
69
|
+
index: true,
|
|
70
|
+
filterable: true,
|
|
71
|
+
reference: {
|
|
72
|
+
name: "pages",
|
|
73
|
+
filter: { "id_account": "$id_account" },
|
|
74
|
+
label: "title",
|
|
75
|
+
value: "id"
|
|
76
|
+
},
|
|
77
|
+
interface: {
|
|
78
|
+
component: "select",
|
|
79
|
+
label: {
|
|
80
|
+
"pt-br": "Página",
|
|
81
|
+
"en": "Page"
|
|
82
|
+
},
|
|
83
|
+
placeholder: {
|
|
84
|
+
"pt-br": "Selecione uma página",
|
|
85
|
+
"en": "Select a page"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
title: {
|
|
90
|
+
type: "string",
|
|
91
|
+
required: true,
|
|
92
|
+
searchable: true,
|
|
93
|
+
filterable: true,
|
|
94
|
+
maxLength: 255,
|
|
95
|
+
minLength: 1,
|
|
96
|
+
interface: {
|
|
97
|
+
component: "input",
|
|
98
|
+
label: {
|
|
99
|
+
"pt-br": "Título da Variação",
|
|
100
|
+
"en": "Variation Title"
|
|
101
|
+
},
|
|
102
|
+
placeholder: {
|
|
103
|
+
"pt-br": "Digite o título da variação",
|
|
104
|
+
"en": "Enter the variation title"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
value: {
|
|
109
|
+
type: "number",
|
|
110
|
+
min: 0,
|
|
111
|
+
interface: {
|
|
112
|
+
component: "input",
|
|
113
|
+
label: {
|
|
114
|
+
"pt-br": "Valor",
|
|
115
|
+
"en": "Value"
|
|
116
|
+
},
|
|
117
|
+
placeholder: {
|
|
118
|
+
"pt-br": "Digite o valor",
|
|
119
|
+
"en": "Enter the value"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
visits: {
|
|
124
|
+
type: "number",
|
|
125
|
+
default: 0,
|
|
126
|
+
min: 0,
|
|
127
|
+
interface: {
|
|
128
|
+
component: "input",
|
|
129
|
+
label: {
|
|
130
|
+
"pt-br": "Visitas",
|
|
131
|
+
"en": "Visits"
|
|
132
|
+
},
|
|
133
|
+
placeholder: {
|
|
134
|
+
"pt-br": "Número de visitas",
|
|
135
|
+
"en": "Number of visits"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
conversions: {
|
|
140
|
+
type: "number",
|
|
141
|
+
default: 0,
|
|
142
|
+
min: 0,
|
|
143
|
+
interface: {
|
|
144
|
+
component: "input",
|
|
145
|
+
label: {
|
|
146
|
+
"pt-br": "Conversões",
|
|
147
|
+
"en": "Conversions"
|
|
148
|
+
},
|
|
149
|
+
placeholder: {
|
|
150
|
+
"pt-br": "Número de conversões",
|
|
151
|
+
"en": "Number of conversions"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
winner: {
|
|
156
|
+
type: "boolean",
|
|
157
|
+
default: false,
|
|
158
|
+
interface: {
|
|
159
|
+
component: "checkbox",
|
|
160
|
+
label: {
|
|
161
|
+
"pt-br": "Vencedor",
|
|
162
|
+
"en": "Winner"
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
datetime_publication: {
|
|
167
|
+
type: "date",
|
|
168
|
+
filterable: true,
|
|
169
|
+
interface: {
|
|
170
|
+
component: "datetime",
|
|
171
|
+
label: {
|
|
172
|
+
"pt-br": "Data de Publicação",
|
|
173
|
+
"en": "Publication Date"
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
impressions: {
|
|
178
|
+
type: "number",
|
|
179
|
+
default: 0,
|
|
180
|
+
min: 0,
|
|
181
|
+
interface: {
|
|
182
|
+
component: "input",
|
|
183
|
+
label: {
|
|
184
|
+
"pt-br": "Impressões",
|
|
185
|
+
"en": "Impressions"
|
|
186
|
+
},
|
|
187
|
+
placeholder: {
|
|
188
|
+
"pt-br": "Número de impressões",
|
|
189
|
+
"en": "Number of impressions"
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { properties } from "./properties.js";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
product: "greatpages",
|
|
5
|
+
name: "integrations_accounts",
|
|
6
|
+
cache: { ttlView: 30, ttlList: 0 },
|
|
7
|
+
summary: "Armazena informações de contas de integrações do sistema",
|
|
8
|
+
params: [ "id_account" ],
|
|
9
|
+
properties: properties,
|
|
10
|
+
routes: {}
|
|
11
|
+
};
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
export const properties = {
|
|
2
|
+
id: {
|
|
3
|
+
type: "number",
|
|
4
|
+
filterable: true,
|
|
5
|
+
unique: true,
|
|
6
|
+
autoIncrement: true,
|
|
7
|
+
index: true
|
|
8
|
+
},
|
|
9
|
+
id_account: {
|
|
10
|
+
type: "number",
|
|
11
|
+
required: true,
|
|
12
|
+
updatable: false,
|
|
13
|
+
filterable: true,
|
|
14
|
+
index: true,
|
|
15
|
+
interface: {
|
|
16
|
+
label: {
|
|
17
|
+
"pt-br": "Conta",
|
|
18
|
+
"en": "Account"
|
|
19
|
+
},
|
|
20
|
+
component: "select",
|
|
21
|
+
disabled: true
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
title: {
|
|
25
|
+
type: "string",
|
|
26
|
+
searchable: true,
|
|
27
|
+
maxLength: 255,
|
|
28
|
+
interface: {
|
|
29
|
+
label: {
|
|
30
|
+
"pt-br": "Título",
|
|
31
|
+
"en": "Title"
|
|
32
|
+
},
|
|
33
|
+
component: "input"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
integration: {
|
|
37
|
+
type: "string",
|
|
38
|
+
maxLength: 255,
|
|
39
|
+
interface: {
|
|
40
|
+
label: {
|
|
41
|
+
"pt-br": "Integração",
|
|
42
|
+
"en": "Integration"
|
|
43
|
+
},
|
|
44
|
+
options: [
|
|
45
|
+
{ label: {"pt-br": "Mailerlite", "en": "Mailerlite"}, value: "mailerlite" },
|
|
46
|
+
{ label: {"pt-br": "Mailbiz", "en": "Mailbiz"}, value: "mailbiz" },
|
|
47
|
+
{ label: {"pt-br": "ActiveCampaign", "en": "ActiveCampaign"}, value: "activecampaign" },
|
|
48
|
+
{ label: {"pt-br": "RD Station Marketing", "en": "RD Station Marketing"}, value: "rdstation_marketing" },
|
|
49
|
+
{ label: {"pt-br": "ExpertSender", "en": "ExpertSender"}, value: "expertsender" },
|
|
50
|
+
{ label: {"pt-br": "Pipefy", "en": "Pipefy"}, value: "pipefy" },
|
|
51
|
+
{ label: {"pt-br": "Pipedrive", "en": "Pipedrive"}, value: "pipedrive" },
|
|
52
|
+
{ label: {"pt-br": "Jetimob", "en": "Jetimob"}, value: "jetimob" },
|
|
53
|
+
{ label: {"pt-br": "Clint", "en": "Clint"}, value: "clint" },
|
|
54
|
+
{ label: {"pt-br": "ExpertSender ECDP", "en": "ExpertSender ECDP"}, value: "expertsender_ecdp" },
|
|
55
|
+
{ label: {"pt-br": "RD Station CRM", "en": "RD Station CRM"}, value: "rdstation_crm" },
|
|
56
|
+
{ label: {"pt-br": "HubSpot", "en": "HubSpot"}, value: "hubspot" },
|
|
57
|
+
{ label: {"pt-br": "SendFlow", "en": "SendFlow"}, value: "sendflow" },
|
|
58
|
+
{ label: {"pt-br": "SendEasy", "en": "SendEasy"}, value: "sendeasy" },
|
|
59
|
+
{ label: {"pt-br": "MailChimp", "en": "MailChimp"}, value: "mailchimp" },
|
|
60
|
+
{ label: {"pt-br": "Kommo", "en": "Kommo"}, value: "kommo" }
|
|
61
|
+
],
|
|
62
|
+
component: "input"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
integration_url: {
|
|
66
|
+
type: "string",
|
|
67
|
+
interface: {
|
|
68
|
+
label: {
|
|
69
|
+
"pt-br": "URL da Integração",
|
|
70
|
+
"en": "Integration URL"
|
|
71
|
+
},
|
|
72
|
+
component: "input",
|
|
73
|
+
format: "url"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
integration_token: {
|
|
77
|
+
type: "string",
|
|
78
|
+
interface: {
|
|
79
|
+
label: {
|
|
80
|
+
"pt-br": "Token da Integração",
|
|
81
|
+
"en": "Integration Token"
|
|
82
|
+
},
|
|
83
|
+
component: "textarea"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
private_integration_token: {
|
|
87
|
+
type: "string",
|
|
88
|
+
interface: {
|
|
89
|
+
label: {
|
|
90
|
+
"pt-br": "Token Privado da Integração",
|
|
91
|
+
"en": "Private Integration Token"
|
|
92
|
+
},
|
|
93
|
+
component: "input",
|
|
94
|
+
format: "password"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
id_project: {
|
|
98
|
+
type: "number",
|
|
99
|
+
filterable: true,
|
|
100
|
+
index: true,
|
|
101
|
+
reference: {
|
|
102
|
+
name: "projects",
|
|
103
|
+
filter: {
|
|
104
|
+
"id_account": "$id_account",
|
|
105
|
+
"joins":[{
|
|
106
|
+
"table": "projects_users",
|
|
107
|
+
"on": {
|
|
108
|
+
"projects_users.id_project": "projects.id",
|
|
109
|
+
"projects_users.id_account": "$id_account",
|
|
110
|
+
"projects_users.id_user": "$session.id_user"
|
|
111
|
+
}
|
|
112
|
+
}]
|
|
113
|
+
},
|
|
114
|
+
label: "title",
|
|
115
|
+
value: "id"
|
|
116
|
+
},
|
|
117
|
+
interface: {
|
|
118
|
+
label: {
|
|
119
|
+
"pt-br": "Projeto",
|
|
120
|
+
"en": "Project"
|
|
121
|
+
},
|
|
122
|
+
component: "select"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
deleted: {
|
|
126
|
+
type: "boolean",
|
|
127
|
+
default: false,
|
|
128
|
+
filterable: true
|
|
129
|
+
},
|
|
130
|
+
datetime_alt: {
|
|
131
|
+
type: "date",
|
|
132
|
+
filterable: true,
|
|
133
|
+
updatable: true
|
|
134
|
+
},
|
|
135
|
+
datetime_add: {
|
|
136
|
+
type: "date",
|
|
137
|
+
filterable: true,
|
|
138
|
+
updatable: false
|
|
139
|
+
}
|
|
140
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { properties } from "./properties.js";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
product: "greatpages",
|
|
5
|
+
name: "integrations_pages_elements",
|
|
6
|
+
cache: { ttlView: 30, ttlList: 0 },
|
|
7
|
+
summary: "Elementos de integração das páginas",
|
|
8
|
+
params: [ "id_account", "id_page" ],
|
|
9
|
+
description: "Gerencia os elementos de integração vinculados às páginas, incluindo configurações de APIs, tokens, campos de mapeamento e regras de negócio para automações",
|
|
10
|
+
properties: properties,
|
|
11
|
+
routes: {}
|
|
12
|
+
};
|
|
@@ -0,0 +1,283 @@
|
|
|
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
|
+
},
|
|
13
|
+
datetime_alt: {
|
|
14
|
+
type: "date",
|
|
15
|
+
filterable: true,
|
|
16
|
+
updatable: true
|
|
17
|
+
},
|
|
18
|
+
datetime_del: {
|
|
19
|
+
type: "date",
|
|
20
|
+
filterable: true
|
|
21
|
+
},
|
|
22
|
+
datetime_add: {
|
|
23
|
+
type: "date",
|
|
24
|
+
filterable: true,
|
|
25
|
+
updatable: false
|
|
26
|
+
},
|
|
27
|
+
id_account: {
|
|
28
|
+
type: "number",
|
|
29
|
+
required: true,
|
|
30
|
+
filterable: true,
|
|
31
|
+
index: true,
|
|
32
|
+
updatable: false,
|
|
33
|
+
interface: {
|
|
34
|
+
label: {
|
|
35
|
+
"pt-br": "ID da Conta",
|
|
36
|
+
"en": "Account ID"
|
|
37
|
+
},
|
|
38
|
+
component: "input",
|
|
39
|
+
disabled: true
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
id_page: {
|
|
43
|
+
type: "number",
|
|
44
|
+
filterable: true,
|
|
45
|
+
index: true,
|
|
46
|
+
reference: {
|
|
47
|
+
name: "pages",
|
|
48
|
+
filter: { "id_account": "$id_account" },
|
|
49
|
+
label: "title",
|
|
50
|
+
value: "id"
|
|
51
|
+
},
|
|
52
|
+
interface: {
|
|
53
|
+
label: {
|
|
54
|
+
"pt-br": "Página",
|
|
55
|
+
"en": "Page"
|
|
56
|
+
},
|
|
57
|
+
component: "select"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
element: {
|
|
61
|
+
type: "string",
|
|
62
|
+
filterable: true,
|
|
63
|
+
index: true,
|
|
64
|
+
interface: {
|
|
65
|
+
label: {
|
|
66
|
+
"pt-br": "ID do Elemento da Página",
|
|
67
|
+
"en": "Page Element ID"
|
|
68
|
+
},
|
|
69
|
+
component: "input"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
id_integration_account: {
|
|
73
|
+
type: "number",
|
|
74
|
+
filterable: true,
|
|
75
|
+
index: true,
|
|
76
|
+
reference: {
|
|
77
|
+
name: "integrations_accounts",
|
|
78
|
+
filter: { "id_account": "$id_account" },
|
|
79
|
+
label: "title",
|
|
80
|
+
value: "id"
|
|
81
|
+
},
|
|
82
|
+
interface: {
|
|
83
|
+
label: {
|
|
84
|
+
"pt-br": "Conta de Integração",
|
|
85
|
+
"en": "Integration Account"
|
|
86
|
+
},
|
|
87
|
+
component: "select"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
integration_group: {
|
|
91
|
+
type: "string",
|
|
92
|
+
filterable: true,
|
|
93
|
+
index: true,
|
|
94
|
+
interface: {
|
|
95
|
+
label: {
|
|
96
|
+
"pt-br": "ID do Grupo de Integração",
|
|
97
|
+
"en": "Integration Group ID"
|
|
98
|
+
},
|
|
99
|
+
component: "select"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
integration_tags: {
|
|
103
|
+
type: "string",
|
|
104
|
+
filterable: true,
|
|
105
|
+
index: true,
|
|
106
|
+
interface: {
|
|
107
|
+
label: {
|
|
108
|
+
"pt-br": "ID das Tags de Integração",
|
|
109
|
+
"en": "Integration Tags ID"
|
|
110
|
+
},
|
|
111
|
+
component: "select"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
integration_link: {
|
|
115
|
+
type: "string",
|
|
116
|
+
filterable: true,
|
|
117
|
+
searchable: true,
|
|
118
|
+
interface: {
|
|
119
|
+
label: {
|
|
120
|
+
"pt-br": "Link de Integração",
|
|
121
|
+
"en": "Integration Link"
|
|
122
|
+
},
|
|
123
|
+
component: "input",
|
|
124
|
+
format: "url"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
integration_type: {
|
|
128
|
+
type: "string",
|
|
129
|
+
maxLength: 255,
|
|
130
|
+
filterable: true,
|
|
131
|
+
searchable: true,
|
|
132
|
+
interface: {
|
|
133
|
+
label: {
|
|
134
|
+
"pt-br": "Tipo de Integração",
|
|
135
|
+
"en": "Integration Type"
|
|
136
|
+
},
|
|
137
|
+
options: [
|
|
138
|
+
{ label: {"pt-br":"Mailerlite", "en":"Mailerlite"}, value: "mailerlite" },
|
|
139
|
+
{ label: {"pt-br":"Mailbiz", "en":"Mailbiz"}, value: "mailbiz" },
|
|
140
|
+
{ label: {"pt-br":"ActiveCampaign", "en":"ActiveCampaign"}, value: "activecampaign" },
|
|
141
|
+
{ label: {"pt-br":"RD Station Marketing", "en":"RD Station Marketing"}, value: "rdstation_marketing" },
|
|
142
|
+
{ label: {"pt-br":"ExpertSender", "en":"ExpertSender"}, value: "expertsender" },
|
|
143
|
+
{ label: {"pt-br":"Pipefy", "en":"Pipefy"}, value: "pipefy" },
|
|
144
|
+
{ label: {"pt-br":"Pipedrive", "en":"Pipedrive"}, value: "pipedrive" },
|
|
145
|
+
{ label: {"pt-br":"Jetimob", "en":"Jetimob"}, value: "jetimob" },
|
|
146
|
+
{ label: {"pt-br":"Clint", "en":"Clint"}, value: "clint" },
|
|
147
|
+
{ label: {"pt-br":"ExpertSender ECDP", "en":"ExpertSender ECDP"}, value: "expertsender_ecdp" },
|
|
148
|
+
{ label: {"pt-br":"RD Station CRM", "en":"RD Station CRM"}, value: "rdstation_crm" },
|
|
149
|
+
{ label: {"pt-br":"HubSpot", "en":"HubSpot"}, value: "hubspot" },
|
|
150
|
+
{ label: {"pt-br":"SendFlow", "en":"SendFlow"}, value: "sendflow" },
|
|
151
|
+
{ label: {"pt-br":"SendEasy", "en":"SendEasy"}, value: "sendeasy" },
|
|
152
|
+
{ label: {"pt-br":"MailChimp", "en":"MailChimp"}, value: "mailchimp" },
|
|
153
|
+
{ label: {"pt-br":"Kommo", "en":"Kommo"}, value: "kommo" }
|
|
154
|
+
],
|
|
155
|
+
component: "input"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
integration_method: {
|
|
159
|
+
type: "string",
|
|
160
|
+
maxLength: 255,
|
|
161
|
+
filterable: true,
|
|
162
|
+
interface: {
|
|
163
|
+
label: {
|
|
164
|
+
"pt-br": "Método de Integração",
|
|
165
|
+
"en": "Integration Method"
|
|
166
|
+
},
|
|
167
|
+
component: "input",
|
|
168
|
+
options: [
|
|
169
|
+
{
|
|
170
|
+
title:{
|
|
171
|
+
"pt-br": "Enviar via POST",
|
|
172
|
+
"en": "Send via POST"
|
|
173
|
+
},
|
|
174
|
+
value: "POST"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
title:{
|
|
178
|
+
"pt-br": "Enviar via POST+JSON",
|
|
179
|
+
"en": "Send via POST+JSON"
|
|
180
|
+
},
|
|
181
|
+
value: "JSON"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
title:{
|
|
185
|
+
"pt-br": "Enviar via POST",
|
|
186
|
+
"en": "Send via POST"
|
|
187
|
+
},
|
|
188
|
+
value: "GET"
|
|
189
|
+
}
|
|
190
|
+
]
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
integration_fields: {
|
|
194
|
+
type: "string",
|
|
195
|
+
interface: {
|
|
196
|
+
label: {
|
|
197
|
+
"pt-br": "Campos de Integração",
|
|
198
|
+
"en": "Integration Fields"
|
|
199
|
+
},
|
|
200
|
+
component: "input"
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
integration_token: {
|
|
204
|
+
type: "string",
|
|
205
|
+
interface: {
|
|
206
|
+
label: {
|
|
207
|
+
"pt-br": "Token de Integração",
|
|
208
|
+
"en": "Integration Token"
|
|
209
|
+
},
|
|
210
|
+
component: "input"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
register_business: {
|
|
214
|
+
type: "boolean",
|
|
215
|
+
default: false,
|
|
216
|
+
interface: {
|
|
217
|
+
label: {
|
|
218
|
+
"pt-br": "Cadastrar Negócio",
|
|
219
|
+
"en": "Register Business"
|
|
220
|
+
},
|
|
221
|
+
component: "select",
|
|
222
|
+
options: [
|
|
223
|
+
{ label: { "pt-br": "Sim", "en": "Yes" }, value: true },
|
|
224
|
+
{ label: { "pt-br": "Não", "en": "No" }, value: false }
|
|
225
|
+
]
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
register_business_title: {
|
|
229
|
+
type: "string",
|
|
230
|
+
searchable: true,
|
|
231
|
+
interface: {
|
|
232
|
+
label: {
|
|
233
|
+
"pt-br": "Título do Negócio",
|
|
234
|
+
"en": "Business Title"
|
|
235
|
+
},
|
|
236
|
+
component: "input"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
register_business_value: {
|
|
240
|
+
type: "number",
|
|
241
|
+
interface: {
|
|
242
|
+
label: {
|
|
243
|
+
"pt-br": "Valor do Negócio",
|
|
244
|
+
"en": "Business Value"
|
|
245
|
+
},
|
|
246
|
+
component: "input",
|
|
247
|
+
format: "currency"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
register_business_date: {
|
|
251
|
+
type: "number",
|
|
252
|
+
interface: {
|
|
253
|
+
label: {
|
|
254
|
+
"pt-br": "Data do Negócio",
|
|
255
|
+
"en": "Business Date"
|
|
256
|
+
},
|
|
257
|
+
component: "input"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
register_business_funnel: {
|
|
261
|
+
type: "string",
|
|
262
|
+
interface: {
|
|
263
|
+
label: {
|
|
264
|
+
"pt-br": "Funil do Negócio",
|
|
265
|
+
"en": "Business Funnel"
|
|
266
|
+
},
|
|
267
|
+
component: "select"
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
title: {
|
|
271
|
+
type: "string",
|
|
272
|
+
maxLength: 255,
|
|
273
|
+
searchable: true,
|
|
274
|
+
filterable: true,
|
|
275
|
+
interface: {
|
|
276
|
+
label: {
|
|
277
|
+
"pt-br": "Título",
|
|
278
|
+
"en": "Title"
|
|
279
|
+
},
|
|
280
|
+
component: "input"
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
};
|