n8n-nodes-digitalsac 0.2.8 → 0.2.9

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.
@@ -130,6 +130,18 @@ class Digitalsac {
130
130
  },
131
131
  description: 'Cor da tag em formato hexadecimal (ex: #FF5733, #2196F3, #4CAF50)',
132
132
  },
133
+ {
134
+ displayName: 'Dados (JSON)',
135
+ name: 'bodyData',
136
+ type: 'json',
137
+ default: '{"data": "2024-01-15"}',
138
+ displayOptions: {
139
+ show: {
140
+ operation: ['validateDate'],
141
+ },
142
+ },
143
+ description: 'Data a ser validada no formato JSON',
144
+ },
133
145
  {
134
146
  displayName: 'Dados (JSON)',
135
147
  name: 'bodyData',
@@ -137,10 +149,70 @@ class Digitalsac {
137
149
  default: '{"ticketId": 123, "queueId": 1}',
138
150
  displayOptions: {
139
151
  show: {
140
- operation: ['validateDate', 'transferQueue', 'transferAgent', 'closeTicket', 'linkTag', 'linkKanban', 'linkCarteira'],
152
+ operation: ['transferQueue'],
153
+ },
154
+ },
155
+ description: 'ID do ticket e ID da fila de destino',
156
+ },
157
+ {
158
+ displayName: 'Dados (JSON)',
159
+ name: 'bodyData',
160
+ type: 'json',
161
+ default: '{"ticketId": 123, "userId": 1}',
162
+ displayOptions: {
163
+ show: {
164
+ operation: ['transferAgent'],
165
+ },
166
+ },
167
+ description: 'ID do ticket e ID do atendente de destino',
168
+ },
169
+ {
170
+ displayName: 'Dados (JSON)',
171
+ name: 'bodyData',
172
+ type: 'json',
173
+ default: '{"ticketId": 123}',
174
+ displayOptions: {
175
+ show: {
176
+ operation: ['closeTicket'],
177
+ },
178
+ },
179
+ description: 'ID do ticket a ser fechado',
180
+ },
181
+ {
182
+ displayName: 'Dados (JSON)',
183
+ name: 'bodyData',
184
+ type: 'json',
185
+ default: '{"ticketId": 123, "tagId": 456}',
186
+ displayOptions: {
187
+ show: {
188
+ operation: ['linkTag'],
189
+ },
190
+ },
191
+ description: 'ID do ticket e ID da tag a ser vinculada',
192
+ },
193
+ {
194
+ displayName: 'Dados (JSON)',
195
+ name: 'bodyData',
196
+ type: 'json',
197
+ default: '{"ticketId": 123, "kanbanId": 456, "userId": 789}',
198
+ displayOptions: {
199
+ show: {
200
+ operation: ['linkKanban'],
201
+ },
202
+ },
203
+ description: 'ID do ticket, ID do kanban e ID do usuário',
204
+ },
205
+ {
206
+ displayName: 'Dados (JSON)',
207
+ name: 'bodyData',
208
+ type: 'json',
209
+ default: '{"ticketId": 123, "userId": 456}',
210
+ displayOptions: {
211
+ show: {
212
+ operation: ['linkCarteira'],
141
213
  },
142
214
  },
143
- description: 'Dados no formato JSON conforme a operação selecionada',
215
+ description: 'ID do ticket e ID do usuário da carteira',
144
216
  },
145
217
  ],
146
218
  };
@@ -135,6 +135,18 @@ export class Digitalsac implements INodeType {
135
135
  },
136
136
  description: 'Cor da tag em formato hexadecimal (ex: #FF5733, #2196F3, #4CAF50)',
137
137
  },
138
+ {
139
+ displayName: 'Dados (JSON)',
140
+ name: 'bodyData',
141
+ type: 'json',
142
+ default: '{"data": "2024-01-15"}',
143
+ displayOptions: {
144
+ show: {
145
+ operation: ['validateDate'],
146
+ },
147
+ },
148
+ description: 'Data a ser validada no formato JSON',
149
+ },
138
150
  {
139
151
  displayName: 'Dados (JSON)',
140
152
  name: 'bodyData',
@@ -142,10 +154,70 @@ export class Digitalsac implements INodeType {
142
154
  default: '{"ticketId": 123, "queueId": 1}',
143
155
  displayOptions: {
144
156
  show: {
145
- operation: ['validateDate', 'transferQueue', 'transferAgent', 'closeTicket', 'linkTag', 'linkKanban', 'linkCarteira'],
157
+ operation: ['transferQueue'],
158
+ },
159
+ },
160
+ description: 'ID do ticket e ID da fila de destino',
161
+ },
162
+ {
163
+ displayName: 'Dados (JSON)',
164
+ name: 'bodyData',
165
+ type: 'json',
166
+ default: '{"ticketId": 123, "userId": 1}',
167
+ displayOptions: {
168
+ show: {
169
+ operation: ['transferAgent'],
170
+ },
171
+ },
172
+ description: 'ID do ticket e ID do atendente de destino',
173
+ },
174
+ {
175
+ displayName: 'Dados (JSON)',
176
+ name: 'bodyData',
177
+ type: 'json',
178
+ default: '{"ticketId": 123}',
179
+ displayOptions: {
180
+ show: {
181
+ operation: ['closeTicket'],
182
+ },
183
+ },
184
+ description: 'ID do ticket a ser fechado',
185
+ },
186
+ {
187
+ displayName: 'Dados (JSON)',
188
+ name: 'bodyData',
189
+ type: 'json',
190
+ default: '{"ticketId": 123, "tagId": 456}',
191
+ displayOptions: {
192
+ show: {
193
+ operation: ['linkTag'],
194
+ },
195
+ },
196
+ description: 'ID do ticket e ID da tag a ser vinculada',
197
+ },
198
+ {
199
+ displayName: 'Dados (JSON)',
200
+ name: 'bodyData',
201
+ type: 'json',
202
+ default: '{"ticketId": 123, "kanbanId": 456, "userId": 789}',
203
+ displayOptions: {
204
+ show: {
205
+ operation: ['linkKanban'],
206
+ },
207
+ },
208
+ description: 'ID do ticket, ID do kanban e ID do usuário',
209
+ },
210
+ {
211
+ displayName: 'Dados (JSON)',
212
+ name: 'bodyData',
213
+ type: 'json',
214
+ default: '{"ticketId": 123, "userId": 456}',
215
+ displayOptions: {
216
+ show: {
217
+ operation: ['linkCarteira'],
146
218
  },
147
219
  },
148
- description: 'Dados no formato JSON conforme a operação selecionada',
220
+ description: 'ID do ticket e ID do usuário da carteira',
149
221
  },
150
222
  ],
151
223
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-digitalsac",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "Izing Pro Digitalsac",
5
5
  "keywords": [
6
6
  "n8n",