@greatapps/greatagents 0.1.10 → 0.1.11
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/objectives/index.js +1 -1
- package/src/modules/objectives/properties.js +8 -7
- package/src/product.js +1 -25
- package/docs/ERD_GAGents_Database.mmd +0 -331
- package/scripts/MIGRATION_COMPLETE_DOCUMENTATION.md +0 -672
- package/scripts/README.md +0 -165
- package/scripts/constraints.sql +0 -585
- package/scripts/indexes.sql +0 -661
- package/scripts/migrate_v1.sql +0 -1225
- package/scripts/tables/001_accounts.sql +0 -51
- package/scripts/tables/002_users.sql +0 -69
- package/scripts/tables/003_people.sql +0 -70
- package/scripts/tables/004_tags.sql +0 -62
- package/scripts/tables/005_credentials.sql +0 -79
- package/scripts/tables/006_agents.sql +0 -70
- package/scripts/tables/007_tools.sql +0 -68
- package/scripts/tables/008_channels.sql +0 -75
- package/scripts/tables/009_leads.sql +0 -85
- package/scripts/tables/010_missions.sql +0 -62
- package/scripts/tables/011_objectives.sql +0 -68
- package/scripts/tables/012_conversations.sql +0 -80
- package/scripts/tables/013_objectives_tools.sql +0 -66
- package/scripts/tables/014_messages.sql +0 -78
- package/scripts/tables/015_companies.sql +0 -77
- package/scripts/tables/016_conversations_tags.sql +0 -64
- package/scripts/tables/017_leads_tags.sql +0 -64
- package/scripts/triggers.sql +0 -497
- package/src/modules/channels/index.js +0 -10
- package/src/modules/channels/properties.js +0 -150
- package/src/modules/companies/index.js +0 -10
- package/src/modules/companies/properties.js +0 -168
- package/src/modules/conversations/index.js +0 -10
- package/src/modules/conversations/properties.js +0 -163
- package/src/modules/conversations_tags/index.js +0 -10
- package/src/modules/conversations_tags/properties.js +0 -84
- package/src/modules/credentials/index.js +0 -10
- package/src/modules/credentials/properties.js +0 -271
- package/src/modules/leads/index.js +0 -10
- package/src/modules/leads/properties.js +0 -193
- package/src/modules/leads_tags/index.js +0 -10
- package/src/modules/leads_tags/properties.js +0 -84
- package/src/modules/messages/index.js +0 -10
- package/src/modules/messages/properties.js +0 -152
- package/src/modules/missions/index.js +0 -10
- package/src/modules/missions/properties.js +0 -101
- package/src/modules/objectives_tools/index.js +0 -10
- package/src/modules/objectives_tools/properties.js +0 -109
- package/src/modules/people/index.js +0 -10
- package/src/modules/people/properties.js +0 -161
- package/src/modules/tags/index.js +0 -10
- package/src/modules/tags/properties.js +0 -80
- package/src/modules/tools/index.js +0 -10
- package/src/modules/tools/properties.js +0 -121
|
@@ -1,168 +0,0 @@
|
|
|
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
|
-
id_account: {
|
|
29
|
-
type: "number",
|
|
30
|
-
required: true,
|
|
31
|
-
updatable: false,
|
|
32
|
-
filterable: true,
|
|
33
|
-
reference: {
|
|
34
|
-
module: "accounts",
|
|
35
|
-
label: "name",
|
|
36
|
-
value: "id",
|
|
37
|
-
disabled: true
|
|
38
|
-
},
|
|
39
|
-
interface: {
|
|
40
|
-
label: {
|
|
41
|
-
"pt-br": "Conta",
|
|
42
|
-
"en": "Account"
|
|
43
|
-
},
|
|
44
|
-
component: "select",
|
|
45
|
-
disabled: true
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
id_lead: {
|
|
49
|
-
type: "number",
|
|
50
|
-
required: true,
|
|
51
|
-
updatable: false,
|
|
52
|
-
filterable: true,
|
|
53
|
-
reference: {
|
|
54
|
-
module: "leads",
|
|
55
|
-
label: "full_name",
|
|
56
|
-
value: "id",
|
|
57
|
-
disabled: true
|
|
58
|
-
},
|
|
59
|
-
interface: {
|
|
60
|
-
label: {
|
|
61
|
-
"pt-br": "Lead",
|
|
62
|
-
"en": "Lead"
|
|
63
|
-
},
|
|
64
|
-
component: "select",
|
|
65
|
-
disabled: true
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
name: {
|
|
69
|
-
type: "string",
|
|
70
|
-
searchable: true,
|
|
71
|
-
validation: {
|
|
72
|
-
maxLength: 255
|
|
73
|
-
},
|
|
74
|
-
interface: {
|
|
75
|
-
label: {
|
|
76
|
-
"pt-br": "Nome da empresa",
|
|
77
|
-
"en": "Company name"
|
|
78
|
-
},
|
|
79
|
-
component: "string",
|
|
80
|
-
placeholder: {
|
|
81
|
-
"pt-br": "Nome da empresa",
|
|
82
|
-
"en": "Company name"
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
website: {
|
|
87
|
-
type: "string",
|
|
88
|
-
searchable: true,
|
|
89
|
-
validation: {
|
|
90
|
-
maxLength: 255,
|
|
91
|
-
pattern: "url"
|
|
92
|
-
},
|
|
93
|
-
interface: {
|
|
94
|
-
label: {
|
|
95
|
-
"pt-br": "Website",
|
|
96
|
-
"en": "Website"
|
|
97
|
-
},
|
|
98
|
-
component: "string",
|
|
99
|
-
placeholder: {
|
|
100
|
-
"pt-br": "Website da empresa",
|
|
101
|
-
"en": "Company website"
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
document: {
|
|
106
|
-
type: "string",
|
|
107
|
-
searchable: true,
|
|
108
|
-
validation: {
|
|
109
|
-
maxLength: 50
|
|
110
|
-
},
|
|
111
|
-
interface: {
|
|
112
|
-
label: {
|
|
113
|
-
"pt-br": "CNPJ",
|
|
114
|
-
"en": "Document"
|
|
115
|
-
},
|
|
116
|
-
component: "string",
|
|
117
|
-
placeholder: {
|
|
118
|
-
"pt-br": "CNPJ da empresa",
|
|
119
|
-
"en": "Company document"
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
notes: {
|
|
124
|
-
type: "string",
|
|
125
|
-
searchable: true,
|
|
126
|
-
interface: {
|
|
127
|
-
label: {
|
|
128
|
-
"pt-br": "Notas",
|
|
129
|
-
"en": "Notes"
|
|
130
|
-
},
|
|
131
|
-
component: "textarea",
|
|
132
|
-
placeholder: {
|
|
133
|
-
"pt-br": "Notas sobre a empresa",
|
|
134
|
-
"en": "Notes about the company"
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
industry: {
|
|
139
|
-
type: "string",
|
|
140
|
-
searchable: true,
|
|
141
|
-
interface: {
|
|
142
|
-
label: {
|
|
143
|
-
"pt-br": "Indústria",
|
|
144
|
-
"en": "Industry"
|
|
145
|
-
},
|
|
146
|
-
component: "string",
|
|
147
|
-
placeholder: {
|
|
148
|
-
"pt-br": "Indústria da empresa",
|
|
149
|
-
"en": "Company industry"
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
size: {
|
|
154
|
-
type: "string",
|
|
155
|
-
searchable: true,
|
|
156
|
-
interface: {
|
|
157
|
-
label: {
|
|
158
|
-
"pt-br": "Tamanho",
|
|
159
|
-
"en": "Size"
|
|
160
|
-
},
|
|
161
|
-
component: "string",
|
|
162
|
-
placeholder: {
|
|
163
|
-
"pt-br": "Tamanho da empresa",
|
|
164
|
-
"en": "Company size"
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
};
|
|
@@ -1,163 +0,0 @@
|
|
|
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
|
-
id_account: {
|
|
29
|
-
type: "number",
|
|
30
|
-
required: true,
|
|
31
|
-
updatable: false,
|
|
32
|
-
filterable: true,
|
|
33
|
-
reference: {
|
|
34
|
-
module: "accounts",
|
|
35
|
-
label: "name",
|
|
36
|
-
value: "id",
|
|
37
|
-
disabled: true
|
|
38
|
-
},
|
|
39
|
-
interface: {
|
|
40
|
-
label: {
|
|
41
|
-
"pt-br": "Conta",
|
|
42
|
-
"en": "Account"
|
|
43
|
-
},
|
|
44
|
-
component: "select",
|
|
45
|
-
disabled: true
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
id_lead: {
|
|
49
|
-
type: "number",
|
|
50
|
-
filterable: true,
|
|
51
|
-
index: true,
|
|
52
|
-
reference: {
|
|
53
|
-
module: "leads",
|
|
54
|
-
label: "id",
|
|
55
|
-
value: "id",
|
|
56
|
-
disabled: true
|
|
57
|
-
},
|
|
58
|
-
interface: {
|
|
59
|
-
label: {
|
|
60
|
-
"pt-br": "lead",
|
|
61
|
-
"en": "Lead"
|
|
62
|
-
},
|
|
63
|
-
component: "select"
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
id_channel: {
|
|
67
|
-
type: "number",
|
|
68
|
-
filterable: true,
|
|
69
|
-
index: true,
|
|
70
|
-
reference: {
|
|
71
|
-
module: "channels",
|
|
72
|
-
label: "name",
|
|
73
|
-
value: "id",
|
|
74
|
-
disabled: true
|
|
75
|
-
},
|
|
76
|
-
interface: {
|
|
77
|
-
label: {
|
|
78
|
-
"pt-br": "Canal",
|
|
79
|
-
"en": "Channel"
|
|
80
|
-
},
|
|
81
|
-
component: "select"
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
id_assignee: {
|
|
85
|
-
type: "number",
|
|
86
|
-
filterable: true,
|
|
87
|
-
index: true,
|
|
88
|
-
reference: {
|
|
89
|
-
module: "users",
|
|
90
|
-
label: "name",
|
|
91
|
-
value: "id",
|
|
92
|
-
disabled: true
|
|
93
|
-
},
|
|
94
|
-
interface: {
|
|
95
|
-
label: {
|
|
96
|
-
"pt-br": "Atribuído a",
|
|
97
|
-
"en": "Assignee"
|
|
98
|
-
},
|
|
99
|
-
component: "select"
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
last_message_at: {
|
|
103
|
-
type: "date",
|
|
104
|
-
filterable: true,
|
|
105
|
-
updatable: true,
|
|
106
|
-
required: false,
|
|
107
|
-
interface: {
|
|
108
|
-
label: {
|
|
109
|
-
"pt-br": "Última mensagem",
|
|
110
|
-
"en": "Last message"
|
|
111
|
-
},
|
|
112
|
-
component: "datetime"
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
id_last_message: {
|
|
116
|
-
type: "number",
|
|
117
|
-
filterable: true,
|
|
118
|
-
required: false,
|
|
119
|
-
index: true,
|
|
120
|
-
reference: {
|
|
121
|
-
module: "messages",
|
|
122
|
-
label: "id",
|
|
123
|
-
value: "id",
|
|
124
|
-
disabled: true
|
|
125
|
-
},
|
|
126
|
-
interface: {
|
|
127
|
-
label: {
|
|
128
|
-
"pt-br": "Última mensagem",
|
|
129
|
-
"en": "Last message"
|
|
130
|
-
},
|
|
131
|
-
component: "number"
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
stop_ai: {
|
|
135
|
-
type: "boolean",
|
|
136
|
-
default: false,
|
|
137
|
-
filterable: true,
|
|
138
|
-
interface: {
|
|
139
|
-
label: {
|
|
140
|
-
"pt-br": "Parar I.A.",
|
|
141
|
-
"en": "Stop A.I."
|
|
142
|
-
},
|
|
143
|
-
component: "checkbox"
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
status: {
|
|
147
|
-
type: "string",
|
|
148
|
-
filterable: true,
|
|
149
|
-
default: 0,
|
|
150
|
-
options: [
|
|
151
|
-
{ value: "open", label: { "pt-br": "Aberto", "en": "Open" } },
|
|
152
|
-
{ value: "pending", label: { "pt-br": "Pendente", "en": "Pending" } },
|
|
153
|
-
{ value: "closed", label: { "pt-br": "Fechado", "en": "Closed" } },
|
|
154
|
-
],
|
|
155
|
-
interface: {
|
|
156
|
-
component: "select",
|
|
157
|
-
label: {
|
|
158
|
-
"pt-br": "Status",
|
|
159
|
-
"en": "Status"
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
};
|
|
@@ -1,84 +0,0 @@
|
|
|
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
|
-
id_account: {
|
|
29
|
-
type: "number",
|
|
30
|
-
required: true,
|
|
31
|
-
updatable: false,
|
|
32
|
-
filterable: true,
|
|
33
|
-
reference: {
|
|
34
|
-
module: "accounts",
|
|
35
|
-
label: "name",
|
|
36
|
-
value: "id",
|
|
37
|
-
disabled: true
|
|
38
|
-
},
|
|
39
|
-
interface: {
|
|
40
|
-
label: {
|
|
41
|
-
"pt-br": "Conta",
|
|
42
|
-
"en": "Account"
|
|
43
|
-
},
|
|
44
|
-
component: "select",
|
|
45
|
-
disabled: true
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
id_conversation: {
|
|
49
|
-
type: "number",
|
|
50
|
-
filterable: true,
|
|
51
|
-
index: true,
|
|
52
|
-
reference: {
|
|
53
|
-
module: "conversations",
|
|
54
|
-
label: "id",
|
|
55
|
-
value: "id",
|
|
56
|
-
disabled: true
|
|
57
|
-
},
|
|
58
|
-
interface: {
|
|
59
|
-
label: {
|
|
60
|
-
"pt-br": "ID da Conversa",
|
|
61
|
-
"en": "Conversation ID"
|
|
62
|
-
},
|
|
63
|
-
component: "number"
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
id_tag: {
|
|
67
|
-
type: "number",
|
|
68
|
-
filterable: true,
|
|
69
|
-
index: true,
|
|
70
|
-
reference: {
|
|
71
|
-
module: "tags",
|
|
72
|
-
label: "name",
|
|
73
|
-
value: "id",
|
|
74
|
-
disabled: true
|
|
75
|
-
},
|
|
76
|
-
interface: {
|
|
77
|
-
label: {
|
|
78
|
-
"pt-br": "ID da tag",
|
|
79
|
-
"en": "Tag ID"
|
|
80
|
-
},
|
|
81
|
-
component: "number"
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
};
|
|
@@ -1,271 +0,0 @@
|
|
|
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
|
-
id_account: {
|
|
29
|
-
type: "number",
|
|
30
|
-
required: true,
|
|
31
|
-
updatable: false,
|
|
32
|
-
filterable: true,
|
|
33
|
-
reference: {
|
|
34
|
-
module: "accounts",
|
|
35
|
-
label: "name",
|
|
36
|
-
value: "id",
|
|
37
|
-
disabled: true
|
|
38
|
-
},
|
|
39
|
-
interface: {
|
|
40
|
-
label: {
|
|
41
|
-
"pt-br": "Conta",
|
|
42
|
-
"en": "Account"
|
|
43
|
-
},
|
|
44
|
-
component: "select",
|
|
45
|
-
disabled: true
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
title: {
|
|
49
|
-
type: "string",
|
|
50
|
-
required: true,
|
|
51
|
-
filterable: true,
|
|
52
|
-
searchable: true,
|
|
53
|
-
validation: {
|
|
54
|
-
maxLength: 255
|
|
55
|
-
},
|
|
56
|
-
interface: {
|
|
57
|
-
label: {
|
|
58
|
-
"pt-br": "Título",
|
|
59
|
-
"en": "Title"
|
|
60
|
-
},
|
|
61
|
-
component: "string",
|
|
62
|
-
placeholder: {
|
|
63
|
-
"pt-br": "Dê um título curto e descritivo",
|
|
64
|
-
"en": "Give a short and descriptive title"
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
provider: {
|
|
69
|
-
type: "string",
|
|
70
|
-
required: true,
|
|
71
|
-
filterable: true,
|
|
72
|
-
default: "web-chat",
|
|
73
|
-
options: [
|
|
74
|
-
{ value: "web-chat", label: { "pt-br": "Web Chat", "en": "Web Chat" } },
|
|
75
|
-
{ value: "whatsapp-oficial", label: { "pt-br": "WhatsApp (API Oficial)", "en": "WhatsApp (API Oficial)" } },
|
|
76
|
-
{ value: "z-api", label: { "pt-br": "WhatsApp (Z-API)", "en": "WhatsApp (Z-API)" } },
|
|
77
|
-
{ value: "evolution-api", label: { "pt-br": "WhatsApp (Evolution API)", "en": "WhatsApp (Evolution API)" } },
|
|
78
|
-
{ value: "telegram", label: { "pt-br": "Telegram", "en": "Telegram" } },
|
|
79
|
-
{ value: "facebook", label: { "pt-br": "Facebook", "en": "Facebook" } },
|
|
80
|
-
{ value: "instagram", label: { "pt-br": "Instagram", "en": "Instagram" } },
|
|
81
|
-
{ value: "custom", label: { "pt-br": "Customizado", "en": "Custom" } }
|
|
82
|
-
],
|
|
83
|
-
interface: {
|
|
84
|
-
component: "select",
|
|
85
|
-
label: {
|
|
86
|
-
"pt-br": "Provedor",
|
|
87
|
-
"en": "Provider"
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
authType: {
|
|
92
|
-
type: "string",
|
|
93
|
-
required: true,
|
|
94
|
-
filterable: true,
|
|
95
|
-
default: "none",
|
|
96
|
-
options: [
|
|
97
|
-
{ value: "none", label: { "pt-br": "Nenhum", "en": "None" } },
|
|
98
|
-
{ value: "basic", label: { "pt-br": "Básico", "en": "Basic" } },
|
|
99
|
-
{ value: "oauth2", label: { "pt-br": "OAuth2", "en": "OAuth2" } },
|
|
100
|
-
{ value: "apikey", label: { "pt-br": "API Key", "en": "API Key" } }
|
|
101
|
-
],
|
|
102
|
-
interface: {
|
|
103
|
-
component: "select",
|
|
104
|
-
label: {
|
|
105
|
-
"pt-br": "Tipo de autenticação",
|
|
106
|
-
"en": "Authentication type"
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
userName:{
|
|
111
|
-
type: "string",
|
|
112
|
-
interface: {
|
|
113
|
-
label: {
|
|
114
|
-
"pt-br": "Usuário de autenticação",
|
|
115
|
-
"en": "Authentication user"
|
|
116
|
-
},
|
|
117
|
-
component: "string",
|
|
118
|
-
placeholder: {
|
|
119
|
-
"pt-br": "Usuário para autenticação",
|
|
120
|
-
"en": "User for authentication"
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
password: {
|
|
125
|
-
type: "string",
|
|
126
|
-
interface: {
|
|
127
|
-
label: {
|
|
128
|
-
"pt-br": "Senha de autenticação",
|
|
129
|
-
"en": "Authentication password"
|
|
130
|
-
},
|
|
131
|
-
component: "password",
|
|
132
|
-
placeholder: {
|
|
133
|
-
"pt-br": "Senha para autenticação",
|
|
134
|
-
"en": "Password for authentication"
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
apiKey: {
|
|
139
|
-
type: "string",
|
|
140
|
-
interface: {
|
|
141
|
-
label: {
|
|
142
|
-
"pt-br": "Chave de API",
|
|
143
|
-
"en": "API Key"
|
|
144
|
-
},
|
|
145
|
-
component: "string",
|
|
146
|
-
placeholder: {
|
|
147
|
-
"pt-br": "Chave de API para autenticação",
|
|
148
|
-
"en": "API Key for authentication"
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
token: {
|
|
153
|
-
type: "string",
|
|
154
|
-
interface: {
|
|
155
|
-
label: {
|
|
156
|
-
"pt-br": "Token de acesso",
|
|
157
|
-
"en": "Access Token"
|
|
158
|
-
},
|
|
159
|
-
component: "string",
|
|
160
|
-
placeholder: {
|
|
161
|
-
"pt-br": "Token de acesso para autenticação",
|
|
162
|
-
"en": "Access Token for authentication"
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
paramName: {
|
|
167
|
-
type: "string",
|
|
168
|
-
interface: {
|
|
169
|
-
label: {
|
|
170
|
-
"pt-br": "Nome do parâmetro",
|
|
171
|
-
"en": "Parameter name"
|
|
172
|
-
},
|
|
173
|
-
component: "string",
|
|
174
|
-
placeholder: {
|
|
175
|
-
"pt-br": "Nome do parâmetro para envio do token",
|
|
176
|
-
"en": "Parameter name for sending the token"
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
refreshToken: {
|
|
181
|
-
type: "string",
|
|
182
|
-
interface: {
|
|
183
|
-
label: {
|
|
184
|
-
"pt-br": "Token de atualização",
|
|
185
|
-
"en": "Refresh Token",
|
|
186
|
-
},
|
|
187
|
-
component: "string",
|
|
188
|
-
placeholder: {
|
|
189
|
-
"pt-br": "Token de atualização para autenticação",
|
|
190
|
-
"en": "Refresh Token for authentication"
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
},
|
|
194
|
-
clientSecret: {
|
|
195
|
-
type: "string",
|
|
196
|
-
interface: {
|
|
197
|
-
label: {
|
|
198
|
-
"pt-br": "Segredo do cliente",
|
|
199
|
-
"en": "Client Secret"
|
|
200
|
-
},
|
|
201
|
-
component: "string",
|
|
202
|
-
placeholder: {
|
|
203
|
-
"pt-br": "Segredo do cliente para autenticação",
|
|
204
|
-
"en": "Client Secret for authentication"
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
},
|
|
208
|
-
clientId: {
|
|
209
|
-
type: "string",
|
|
210
|
-
interface: {
|
|
211
|
-
label: {
|
|
212
|
-
"pt-br": "ID do cliente",
|
|
213
|
-
"en": "Client ID"
|
|
214
|
-
},
|
|
215
|
-
component: "string",
|
|
216
|
-
placeholder: {
|
|
217
|
-
"pt-br": "ID do cliente para autenticação",
|
|
218
|
-
"en": "Client ID for authentication"
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
},
|
|
222
|
-
sendIn: {
|
|
223
|
-
type: "string",
|
|
224
|
-
default: "none",
|
|
225
|
-
options: [
|
|
226
|
-
{ value: "none", label: { "pt-br": "Nenhum", "en": "None" } },
|
|
227
|
-
{ value: "bearer", label: { "pt-br": "Bearer", "en": "Bearer" } },
|
|
228
|
-
{ value: "header", label: { "pt-br": "Header", "en": "Header" } },
|
|
229
|
-
{ value: "query", label: { "pt-br": "Query", "en": "Query" } },
|
|
230
|
-
{ value: "body", label: { "pt-br": "Body", "en": "Body" } }
|
|
231
|
-
],
|
|
232
|
-
interface: {
|
|
233
|
-
component: "select",
|
|
234
|
-
label: {
|
|
235
|
-
"pt-br": "Tipo de autenticação para envio",
|
|
236
|
-
"en": "Authentication type for sending"
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
},
|
|
240
|
-
scheme: {
|
|
241
|
-
type: "string",
|
|
242
|
-
default: "none",
|
|
243
|
-
options: [
|
|
244
|
-
{ value: "none", label: { "pt-br": "Nenhum", "en": "None" } },
|
|
245
|
-
{ value: "raw", label: { "pt-br": "Raw", "en": "Raw" } },
|
|
246
|
-
{ value: "bearer", label: { "pt-br": "Bearer", "en": "Bearer" } },
|
|
247
|
-
{ value: "prefix", label: { "pt-br": "Prefix", "en": "Prefix" } }
|
|
248
|
-
],
|
|
249
|
-
interface: {
|
|
250
|
-
component: "select",
|
|
251
|
-
label: {
|
|
252
|
-
"pt-br": "Tipo de autenticação para envio",
|
|
253
|
-
"en": "Authentication type for sending"
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
prefix: {
|
|
258
|
-
type: "string",
|
|
259
|
-
interface: {
|
|
260
|
-
label: {
|
|
261
|
-
"pt-br": "Prefixo",
|
|
262
|
-
"en": "Prefix"
|
|
263
|
-
},
|
|
264
|
-
component: "string",
|
|
265
|
-
placeholder: {
|
|
266
|
-
"pt-br": "Prefixo para autenticação",
|
|
267
|
-
"en": "Prefix for authentication"
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
},
|
|
271
|
-
};
|