@greatapps/greatagents 0.1.26 → 0.1.29

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": "@greatapps/greatagents",
3
- "version": "0.1.26",
3
+ "version": "0.1.29",
4
4
  "description": "Schemas para GreatAgents",
5
5
  "main": "./src/product.js",
6
6
  "type": "module"
@@ -84,6 +84,23 @@ export const properties = {
84
84
  component: "select"
85
85
  }
86
86
  },
87
+ id_tool_credential: {
88
+ type: "number",
89
+ required: false,
90
+ filterable: true,
91
+ reference: {
92
+ module: "tool_credentials",
93
+ label: "label",
94
+ value: "id",
95
+ },
96
+ interface: {
97
+ label: {
98
+ "pt-br": "Credencial",
99
+ "en": "Credential"
100
+ },
101
+ component: "select"
102
+ }
103
+ },
87
104
  enabled: {
88
105
  type: "boolean",
89
106
  default: true,
@@ -97,7 +97,38 @@ export const properties = {
97
97
  "en": "Give a short and descriptive title for the objective"
98
98
  }
99
99
  }
100
- },
100
+ },
101
+ slug: {
102
+ type: "string",
103
+ required: true,
104
+ filterable: true,
105
+ validation: {
106
+ maxLength: 255
107
+ },
108
+ interface: {
109
+ label: {
110
+ "pt-br": "Slug (identificador)",
111
+ "en": "Slug (identifier)"
112
+ },
113
+ component: "string",
114
+ placeholder: {
115
+ "pt-br": "Ex: agendar-consulta",
116
+ "en": "E.g.: schedule-appointment"
117
+ }
118
+ }
119
+ },
120
+ active: {
121
+ type: "boolean",
122
+ default: true,
123
+ filterable: true,
124
+ interface: {
125
+ label: {
126
+ "pt-br": "Ativo",
127
+ "en": "Active"
128
+ },
129
+ component: "switch"
130
+ }
131
+ },
101
132
  prompt: {
102
133
  type: "string",
103
134
  interface: {
@@ -79,7 +79,7 @@ export const properties = {
79
79
  }
80
80
  },
81
81
  prompt_content: {
82
- type: "text",
82
+ type: "string",
83
83
  required: true,
84
84
  interface: {
85
85
  label: {
@@ -68,7 +68,6 @@ export const properties = {
68
68
  id_tool: {
69
69
  type: "number",
70
70
  required: false,
71
- updatable: false,
72
71
  filterable: true,
73
72
  index: true,
74
73
  reference: {
@@ -85,24 +84,24 @@ export const properties = {
85
84
  disabled: true
86
85
  }
87
86
  },
88
- id_agent: {
89
- type: "number",
90
- required: false,
91
- updatable: false,
87
+ label: {
88
+ type: "string",
89
+ required: true,
90
+ searchable: true,
92
91
  filterable: true,
93
- index: true,
94
- reference: {
95
- module: "agents",
96
- label: "title",
97
- value: "id",
92
+ validation: {
93
+ maxLength: 255
98
94
  },
99
95
  interface: {
100
96
  label: {
101
- "pt-br": "Agente",
102
- "en": "Agent"
97
+ "pt-br": "Label",
98
+ "en": "Label"
103
99
  },
104
- component: "select",
105
- disabled: true
100
+ component: "string",
101
+ placeholder: {
102
+ "pt-br": "Ex: Google Calendar - Clínica São Paulo",
103
+ "en": "Ex: Google Calendar - Clinic São Paulo"
104
+ }
106
105
  }
107
106
  },
108
107
  external_reference: {