n8n-nodes-stevomanager 1.2.0 → 1.3.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/dist/nodes/StevoManager/execute/index.js +8 -0
- package/dist/nodes/StevoManager/execute/index.js.map +1 -1
- package/dist/nodes/StevoManager/execute/messages/sendAudio.js +140 -0
- package/dist/nodes/StevoManager/execute/messages/sendAudio.js.map +1 -1
- package/dist/nodes/StevoManager/execute/messages/sendButtons.js +128 -19
- package/dist/nodes/StevoManager/execute/messages/sendButtons.js.map +1 -1
- package/dist/nodes/StevoManager/execute/messages/sendCarousel.d.ts +2 -0
- package/dist/nodes/StevoManager/execute/messages/sendCarousel.js +79 -0
- package/dist/nodes/StevoManager/execute/messages/sendCarousel.js.map +1 -0
- package/dist/nodes/StevoManager/execute/messages/sendContact.js +28 -15
- package/dist/nodes/StevoManager/execute/messages/sendContact.js.map +1 -1
- package/dist/nodes/StevoManager/execute/messages/sendDocument.js +141 -0
- package/dist/nodes/StevoManager/execute/messages/sendDocument.js.map +1 -1
- package/dist/nodes/StevoManager/execute/messages/sendImage.js +141 -0
- package/dist/nodes/StevoManager/execute/messages/sendImage.js.map +1 -1
- package/dist/nodes/StevoManager/execute/messages/sendLink.d.ts +2 -0
- package/dist/nodes/StevoManager/execute/messages/sendLink.js +104 -0
- package/dist/nodes/StevoManager/execute/messages/sendLink.js.map +1 -0
- package/dist/nodes/StevoManager/execute/messages/sendList.js +101 -19
- package/dist/nodes/StevoManager/execute/messages/sendList.js.map +1 -1
- package/dist/nodes/StevoManager/execute/messages/sendLocation.d.ts +2 -0
- package/dist/nodes/StevoManager/execute/messages/sendLocation.js +98 -0
- package/dist/nodes/StevoManager/execute/messages/sendLocation.js.map +1 -0
- package/dist/nodes/StevoManager/execute/messages/sendPoll.js +14 -4
- package/dist/nodes/StevoManager/execute/messages/sendPoll.js.map +1 -1
- package/dist/nodes/StevoManager/execute/messages/sendSticker.d.ts +2 -0
- package/dist/nodes/StevoManager/execute/messages/sendSticker.js +88 -0
- package/dist/nodes/StevoManager/execute/messages/sendSticker.js.map +1 -0
- package/dist/nodes/StevoManager/execute/messages/sendVideo.js +141 -0
- package/dist/nodes/StevoManager/execute/messages/sendVideo.js.map +1 -1
- package/dist/nodes/StevoManager/properties/messages.fields.js +549 -57
- package/dist/nodes/StevoManager/properties/messages.fields.js.map +1 -1
- package/dist/nodes/StevoManager/properties/messages.operations.js +24 -0
- package/dist/nodes/StevoManager/properties/messages.operations.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -181,6 +181,19 @@ exports.messagesFields = [
|
|
|
181
181
|
},
|
|
182
182
|
},
|
|
183
183
|
},
|
|
184
|
+
{
|
|
185
|
+
displayName: 'Enviar No GHL',
|
|
186
|
+
name: 'sendToGHL',
|
|
187
|
+
type: 'boolean',
|
|
188
|
+
default: false,
|
|
189
|
+
description: 'Whether to mirror the message to GoHighLevel',
|
|
190
|
+
displayOptions: {
|
|
191
|
+
show: {
|
|
192
|
+
resource: ['messages-api'],
|
|
193
|
+
operation: ['send-image'],
|
|
194
|
+
},
|
|
195
|
+
},
|
|
196
|
+
},
|
|
184
197
|
{
|
|
185
198
|
displayName: 'Opções',
|
|
186
199
|
name: 'options_message',
|
|
@@ -312,6 +325,19 @@ exports.messagesFields = [
|
|
|
312
325
|
},
|
|
313
326
|
},
|
|
314
327
|
},
|
|
328
|
+
{
|
|
329
|
+
displayName: 'Enviar No GHL',
|
|
330
|
+
name: 'sendToGHL',
|
|
331
|
+
type: 'boolean',
|
|
332
|
+
default: false,
|
|
333
|
+
description: 'Whether to mirror the message to GoHighLevel',
|
|
334
|
+
displayOptions: {
|
|
335
|
+
show: {
|
|
336
|
+
resource: ['messages-api'],
|
|
337
|
+
operation: ['send-video'],
|
|
338
|
+
},
|
|
339
|
+
},
|
|
340
|
+
},
|
|
315
341
|
{
|
|
316
342
|
displayName: 'Opções',
|
|
317
343
|
name: 'options_message',
|
|
@@ -430,6 +456,19 @@ exports.messagesFields = [
|
|
|
430
456
|
},
|
|
431
457
|
},
|
|
432
458
|
},
|
|
459
|
+
{
|
|
460
|
+
displayName: 'Enviar No GHL',
|
|
461
|
+
name: 'sendToGHL',
|
|
462
|
+
type: 'boolean',
|
|
463
|
+
default: false,
|
|
464
|
+
description: 'Whether to mirror the message to GoHighLevel',
|
|
465
|
+
displayOptions: {
|
|
466
|
+
show: {
|
|
467
|
+
resource: ['messages-api'],
|
|
468
|
+
operation: ['send-audio'],
|
|
469
|
+
},
|
|
470
|
+
},
|
|
471
|
+
},
|
|
433
472
|
{
|
|
434
473
|
displayName: 'Opções',
|
|
435
474
|
name: 'options_message',
|
|
@@ -505,6 +544,19 @@ exports.messagesFields = [
|
|
|
505
544
|
},
|
|
506
545
|
},
|
|
507
546
|
},
|
|
547
|
+
{
|
|
548
|
+
displayName: 'Enviar No GHL',
|
|
549
|
+
name: 'sendToGHL',
|
|
550
|
+
type: 'boolean',
|
|
551
|
+
default: false,
|
|
552
|
+
description: 'Whether to mirror the message to GoHighLevel',
|
|
553
|
+
displayOptions: {
|
|
554
|
+
show: {
|
|
555
|
+
resource: ['messages-api'],
|
|
556
|
+
operation: ['send-document'],
|
|
557
|
+
},
|
|
558
|
+
},
|
|
559
|
+
},
|
|
508
560
|
{
|
|
509
561
|
displayName: 'Opções',
|
|
510
562
|
name: 'options_message',
|
|
@@ -1012,6 +1064,7 @@ exports.messagesFields = [
|
|
|
1012
1064
|
type: 'string',
|
|
1013
1065
|
default: '',
|
|
1014
1066
|
required: true,
|
|
1067
|
+
description: 'Número do destinatário (com DDD e código do país)',
|
|
1015
1068
|
displayOptions: {
|
|
1016
1069
|
show: {
|
|
1017
1070
|
resource: ['messages-api'],
|
|
@@ -1020,74 +1073,131 @@ exports.messagesFields = [
|
|
|
1020
1073
|
},
|
|
1021
1074
|
},
|
|
1022
1075
|
{
|
|
1023
|
-
displayName: '
|
|
1024
|
-
name: '
|
|
1025
|
-
type: '
|
|
1026
|
-
|
|
1027
|
-
|
|
1076
|
+
displayName: 'Nome Completo',
|
|
1077
|
+
name: 'fullName',
|
|
1078
|
+
type: 'string',
|
|
1079
|
+
default: '',
|
|
1080
|
+
required: true,
|
|
1081
|
+
description: 'Nome completo do contato',
|
|
1082
|
+
displayOptions: {
|
|
1083
|
+
show: {
|
|
1084
|
+
resource: ['messages-api'],
|
|
1085
|
+
operation: ['send-contact'],
|
|
1086
|
+
},
|
|
1087
|
+
},
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
displayName: 'Telefone',
|
|
1091
|
+
name: 'phone',
|
|
1092
|
+
type: 'string',
|
|
1093
|
+
default: '',
|
|
1094
|
+
required: true,
|
|
1095
|
+
description: 'Número de telefone do contato (ex: +5527999999999)',
|
|
1096
|
+
displayOptions: {
|
|
1097
|
+
show: {
|
|
1098
|
+
resource: ['messages-api'],
|
|
1099
|
+
operation: ['send-contact'],
|
|
1100
|
+
},
|
|
1101
|
+
},
|
|
1102
|
+
},
|
|
1103
|
+
{
|
|
1104
|
+
displayName: 'Organização',
|
|
1105
|
+
name: 'organization',
|
|
1106
|
+
type: 'string',
|
|
1107
|
+
default: '',
|
|
1108
|
+
description: 'Nome da organização/empresa do contato',
|
|
1109
|
+
displayOptions: {
|
|
1110
|
+
show: {
|
|
1111
|
+
resource: ['messages-api'],
|
|
1112
|
+
operation: ['send-contact'],
|
|
1113
|
+
},
|
|
1114
|
+
},
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
displayName: 'Opções',
|
|
1118
|
+
name: 'options_message',
|
|
1119
|
+
type: 'collection',
|
|
1120
|
+
placeholder: 'Adicionar Campo',
|
|
1121
|
+
default: {},
|
|
1122
|
+
displayOptions: {
|
|
1123
|
+
show: {
|
|
1124
|
+
resource: ['messages-api'],
|
|
1125
|
+
operation: ['send-contact'],
|
|
1126
|
+
},
|
|
1028
1127
|
},
|
|
1029
|
-
default: { contactValues: [] },
|
|
1030
1128
|
options: [
|
|
1031
1129
|
{
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
required: true,
|
|
1049
|
-
description: 'Número do WhatsApp (apenas números, ex: 559999999999)',
|
|
1050
|
-
},
|
|
1051
|
-
{
|
|
1052
|
-
displayName: 'Número Formatado',
|
|
1053
|
-
name: 'phoneNumber',
|
|
1054
|
-
type: 'string',
|
|
1055
|
-
default: '',
|
|
1056
|
-
required: true,
|
|
1057
|
-
description: 'Número formatado (ex: +55 99 9 9999-9999)',
|
|
1130
|
+
displayName: 'Delay',
|
|
1131
|
+
name: 'delay',
|
|
1132
|
+
type: 'number',
|
|
1133
|
+
default: 1200,
|
|
1134
|
+
description: 'Delay em milissegundos antes de enviar',
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
displayName: 'Responder Mensagem',
|
|
1138
|
+
name: 'quoted',
|
|
1139
|
+
type: 'fixedCollection',
|
|
1140
|
+
typeOptions: {
|
|
1141
|
+
multipleValues: false,
|
|
1142
|
+
},
|
|
1143
|
+
default: {
|
|
1144
|
+
messageQuoted: {
|
|
1145
|
+
messageId: '',
|
|
1058
1146
|
},
|
|
1147
|
+
},
|
|
1148
|
+
options: [
|
|
1059
1149
|
{
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1150
|
+
name: 'messageQuoted',
|
|
1151
|
+
displayName: 'Mensagem',
|
|
1152
|
+
values: [
|
|
1153
|
+
{
|
|
1154
|
+
displayName: 'ID Da Mensagem',
|
|
1155
|
+
name: 'messageId',
|
|
1156
|
+
type: 'string',
|
|
1157
|
+
default: '',
|
|
1158
|
+
description: 'ID da mensagem que será respondida',
|
|
1159
|
+
},
|
|
1160
|
+
],
|
|
1065
1161
|
},
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1162
|
+
],
|
|
1163
|
+
},
|
|
1164
|
+
{
|
|
1165
|
+
displayName: 'Menções',
|
|
1166
|
+
name: 'mentions',
|
|
1167
|
+
type: 'fixedCollection',
|
|
1168
|
+
typeOptions: {
|
|
1169
|
+
multipleValues: false,
|
|
1170
|
+
},
|
|
1171
|
+
default: {
|
|
1172
|
+
mentionsSettings: {
|
|
1173
|
+
mentionsEveryOne: false,
|
|
1174
|
+
mentioned: '',
|
|
1073
1175
|
},
|
|
1176
|
+
},
|
|
1177
|
+
options: [
|
|
1074
1178
|
{
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1179
|
+
name: 'mentionsSettings',
|
|
1180
|
+
displayName: 'Configurações',
|
|
1181
|
+
values: [
|
|
1182
|
+
{
|
|
1183
|
+
displayName: 'Mencionar Todos',
|
|
1184
|
+
name: 'mentionsEveryOne',
|
|
1185
|
+
type: 'boolean',
|
|
1186
|
+
default: false,
|
|
1187
|
+
description: 'Whether to mention everyone in the group',
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
displayName: 'Mencionar Específico',
|
|
1191
|
+
name: 'mentioned',
|
|
1192
|
+
type: 'string',
|
|
1193
|
+
default: '',
|
|
1194
|
+
description: 'Números específicos para mencionar (separados por vírgula)',
|
|
1195
|
+
},
|
|
1196
|
+
],
|
|
1080
1197
|
},
|
|
1081
1198
|
],
|
|
1082
1199
|
},
|
|
1083
1200
|
],
|
|
1084
|
-
description: 'Lista de contatos para enviar',
|
|
1085
|
-
displayOptions: {
|
|
1086
|
-
show: {
|
|
1087
|
-
resource: ['messages-api'],
|
|
1088
|
-
operation: ['send-contact'],
|
|
1089
|
-
},
|
|
1090
|
-
},
|
|
1091
1201
|
},
|
|
1092
1202
|
{
|
|
1093
1203
|
displayName: 'Número Do Destinatário',
|
|
@@ -1408,6 +1518,10 @@ exports.messagesFields = [
|
|
|
1408
1518
|
name: 'Ligar',
|
|
1409
1519
|
value: 'call',
|
|
1410
1520
|
},
|
|
1521
|
+
{
|
|
1522
|
+
name: 'PIX',
|
|
1523
|
+
value: 'pix',
|
|
1524
|
+
},
|
|
1411
1525
|
],
|
|
1412
1526
|
default: 'reply',
|
|
1413
1527
|
},
|
|
@@ -1466,6 +1580,52 @@ exports.messagesFields = [
|
|
|
1466
1580
|
},
|
|
1467
1581
|
},
|
|
1468
1582
|
},
|
|
1583
|
+
{
|
|
1584
|
+
displayName: 'Tipo De Chave PIX',
|
|
1585
|
+
name: 'keyType',
|
|
1586
|
+
type: 'options',
|
|
1587
|
+
options: [
|
|
1588
|
+
{
|
|
1589
|
+
name: 'Telefone',
|
|
1590
|
+
value: 'phone',
|
|
1591
|
+
},
|
|
1592
|
+
{
|
|
1593
|
+
name: 'Email',
|
|
1594
|
+
value: 'email',
|
|
1595
|
+
},
|
|
1596
|
+
{
|
|
1597
|
+
name: 'CPF',
|
|
1598
|
+
value: 'cpf',
|
|
1599
|
+
},
|
|
1600
|
+
{
|
|
1601
|
+
name: 'CNPJ',
|
|
1602
|
+
value: 'cnpj',
|
|
1603
|
+
},
|
|
1604
|
+
{
|
|
1605
|
+
name: 'Aleatória',
|
|
1606
|
+
value: 'random',
|
|
1607
|
+
},
|
|
1608
|
+
],
|
|
1609
|
+
default: 'phone',
|
|
1610
|
+
displayOptions: {
|
|
1611
|
+
show: {
|
|
1612
|
+
type: ['pix'],
|
|
1613
|
+
},
|
|
1614
|
+
},
|
|
1615
|
+
},
|
|
1616
|
+
{
|
|
1617
|
+
displayName: 'Chave PIX',
|
|
1618
|
+
name: 'key',
|
|
1619
|
+
type: 'string',
|
|
1620
|
+
default: '',
|
|
1621
|
+
required: true,
|
|
1622
|
+
description: 'Chave PIX conforme o tipo selecionado',
|
|
1623
|
+
displayOptions: {
|
|
1624
|
+
show: {
|
|
1625
|
+
type: ['pix'],
|
|
1626
|
+
},
|
|
1627
|
+
},
|
|
1628
|
+
},
|
|
1469
1629
|
],
|
|
1470
1630
|
},
|
|
1471
1631
|
],
|
|
@@ -1636,6 +1796,338 @@ exports.messagesFields = [
|
|
|
1636
1796
|
operation: ['send-reaction'],
|
|
1637
1797
|
},
|
|
1638
1798
|
},
|
|
1639
|
-
}
|
|
1799
|
+
},
|
|
1800
|
+
{
|
|
1801
|
+
displayName: 'Número Do Destinatário',
|
|
1802
|
+
name: 'remoteJid',
|
|
1803
|
+
type: 'string',
|
|
1804
|
+
default: '',
|
|
1805
|
+
required: true,
|
|
1806
|
+
description: 'Número do destinatário (com DDD e código do país)',
|
|
1807
|
+
displayOptions: {
|
|
1808
|
+
show: {
|
|
1809
|
+
resource: ['messages-api'],
|
|
1810
|
+
operation: ['send-carousel'],
|
|
1811
|
+
},
|
|
1812
|
+
},
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
displayName: 'Cards',
|
|
1816
|
+
name: 'cards',
|
|
1817
|
+
placeholder: 'Adicionar Card',
|
|
1818
|
+
type: 'fixedCollection',
|
|
1819
|
+
typeOptions: {
|
|
1820
|
+
multipleValues: true,
|
|
1821
|
+
},
|
|
1822
|
+
default: {},
|
|
1823
|
+
description: 'Cards do carousel',
|
|
1824
|
+
displayOptions: {
|
|
1825
|
+
show: {
|
|
1826
|
+
resource: ['messages-api'],
|
|
1827
|
+
operation: ['send-carousel'],
|
|
1828
|
+
},
|
|
1829
|
+
},
|
|
1830
|
+
options: [
|
|
1831
|
+
{
|
|
1832
|
+
name: 'cardValues',
|
|
1833
|
+
displayName: 'Card',
|
|
1834
|
+
values: [
|
|
1835
|
+
{
|
|
1836
|
+
displayName: 'Texto',
|
|
1837
|
+
name: 'body',
|
|
1838
|
+
type: 'string',
|
|
1839
|
+
default: '',
|
|
1840
|
+
required: true,
|
|
1841
|
+
description: 'Texto do card',
|
|
1842
|
+
},
|
|
1843
|
+
{
|
|
1844
|
+
displayName: 'Título',
|
|
1845
|
+
name: 'title',
|
|
1846
|
+
type: 'string',
|
|
1847
|
+
default: '',
|
|
1848
|
+
description: 'Título do card',
|
|
1849
|
+
},
|
|
1850
|
+
{
|
|
1851
|
+
displayName: 'URL Da Imagem',
|
|
1852
|
+
name: 'thumbnailUrl',
|
|
1853
|
+
type: 'string',
|
|
1854
|
+
default: '',
|
|
1855
|
+
description: 'URL da imagem do card',
|
|
1856
|
+
},
|
|
1857
|
+
{
|
|
1858
|
+
displayName: 'Rodapé',
|
|
1859
|
+
name: 'footerText',
|
|
1860
|
+
type: 'string',
|
|
1861
|
+
default: '',
|
|
1862
|
+
description: 'Texto do rodapé do card',
|
|
1863
|
+
},
|
|
1864
|
+
],
|
|
1865
|
+
},
|
|
1866
|
+
],
|
|
1867
|
+
},
|
|
1868
|
+
{
|
|
1869
|
+
displayName: 'Opções',
|
|
1870
|
+
name: 'options_message',
|
|
1871
|
+
type: 'collection',
|
|
1872
|
+
placeholder: 'Adicionar Campo',
|
|
1873
|
+
default: {},
|
|
1874
|
+
displayOptions: {
|
|
1875
|
+
show: {
|
|
1876
|
+
resource: ['messages-api'],
|
|
1877
|
+
operation: ['send-carousel'],
|
|
1878
|
+
},
|
|
1879
|
+
},
|
|
1880
|
+
options: [
|
|
1881
|
+
{
|
|
1882
|
+
displayName: 'Delay',
|
|
1883
|
+
name: 'delay',
|
|
1884
|
+
type: 'number',
|
|
1885
|
+
default: 1200,
|
|
1886
|
+
description: 'Delay em milissegundos antes de enviar',
|
|
1887
|
+
},
|
|
1888
|
+
],
|
|
1889
|
+
},
|
|
1890
|
+
{
|
|
1891
|
+
displayName: 'Número Do Destinatário',
|
|
1892
|
+
name: 'remoteJid',
|
|
1893
|
+
type: 'string',
|
|
1894
|
+
default: '',
|
|
1895
|
+
required: true,
|
|
1896
|
+
description: 'Número do destinatário (com DDD e código do país)',
|
|
1897
|
+
displayOptions: {
|
|
1898
|
+
show: {
|
|
1899
|
+
resource: ['messages-api'],
|
|
1900
|
+
operation: ['send-link'],
|
|
1901
|
+
},
|
|
1902
|
+
},
|
|
1903
|
+
},
|
|
1904
|
+
{
|
|
1905
|
+
displayName: 'URL',
|
|
1906
|
+
name: 'url',
|
|
1907
|
+
type: 'string',
|
|
1908
|
+
default: '',
|
|
1909
|
+
required: true,
|
|
1910
|
+
description: 'URL do link a ser enviado',
|
|
1911
|
+
displayOptions: {
|
|
1912
|
+
show: {
|
|
1913
|
+
resource: ['messages-api'],
|
|
1914
|
+
operation: ['send-link'],
|
|
1915
|
+
},
|
|
1916
|
+
},
|
|
1917
|
+
},
|
|
1918
|
+
{
|
|
1919
|
+
displayName: 'Título',
|
|
1920
|
+
name: 'title',
|
|
1921
|
+
type: 'string',
|
|
1922
|
+
default: '',
|
|
1923
|
+
description: 'Título do link',
|
|
1924
|
+
displayOptions: {
|
|
1925
|
+
show: {
|
|
1926
|
+
resource: ['messages-api'],
|
|
1927
|
+
operation: ['send-link'],
|
|
1928
|
+
},
|
|
1929
|
+
},
|
|
1930
|
+
},
|
|
1931
|
+
{
|
|
1932
|
+
displayName: 'Texto',
|
|
1933
|
+
name: 'text',
|
|
1934
|
+
type: 'string',
|
|
1935
|
+
default: '',
|
|
1936
|
+
description: 'Texto da mensagem com o link',
|
|
1937
|
+
displayOptions: {
|
|
1938
|
+
show: {
|
|
1939
|
+
resource: ['messages-api'],
|
|
1940
|
+
operation: ['send-link'],
|
|
1941
|
+
},
|
|
1942
|
+
},
|
|
1943
|
+
},
|
|
1944
|
+
{
|
|
1945
|
+
displayName: 'Descrição',
|
|
1946
|
+
name: 'description',
|
|
1947
|
+
type: 'string',
|
|
1948
|
+
default: '',
|
|
1949
|
+
description: 'Descrição do link',
|
|
1950
|
+
displayOptions: {
|
|
1951
|
+
show: {
|
|
1952
|
+
resource: ['messages-api'],
|
|
1953
|
+
operation: ['send-link'],
|
|
1954
|
+
},
|
|
1955
|
+
},
|
|
1956
|
+
},
|
|
1957
|
+
{
|
|
1958
|
+
displayName: 'URL Da Imagem',
|
|
1959
|
+
name: 'imgUrl',
|
|
1960
|
+
type: 'string',
|
|
1961
|
+
default: '',
|
|
1962
|
+
description: 'URL da imagem de preview do link',
|
|
1963
|
+
displayOptions: {
|
|
1964
|
+
show: {
|
|
1965
|
+
resource: ['messages-api'],
|
|
1966
|
+
operation: ['send-link'],
|
|
1967
|
+
},
|
|
1968
|
+
},
|
|
1969
|
+
},
|
|
1970
|
+
{
|
|
1971
|
+
displayName: 'Opções',
|
|
1972
|
+
name: 'options_message',
|
|
1973
|
+
type: 'collection',
|
|
1974
|
+
placeholder: 'Adicionar Campo',
|
|
1975
|
+
default: {},
|
|
1976
|
+
displayOptions: {
|
|
1977
|
+
show: {
|
|
1978
|
+
resource: ['messages-api'],
|
|
1979
|
+
operation: ['send-link'],
|
|
1980
|
+
},
|
|
1981
|
+
},
|
|
1982
|
+
options: [
|
|
1983
|
+
{
|
|
1984
|
+
displayName: 'Delay',
|
|
1985
|
+
name: 'delay',
|
|
1986
|
+
type: 'number',
|
|
1987
|
+
default: 1200,
|
|
1988
|
+
description: 'Delay em milissegundos antes de enviar',
|
|
1989
|
+
},
|
|
1990
|
+
],
|
|
1991
|
+
},
|
|
1992
|
+
{
|
|
1993
|
+
displayName: 'Número Do Destinatário',
|
|
1994
|
+
name: 'remoteJid',
|
|
1995
|
+
type: 'string',
|
|
1996
|
+
default: '',
|
|
1997
|
+
required: true,
|
|
1998
|
+
description: 'Número do destinatário (com DDD e código do país)',
|
|
1999
|
+
displayOptions: {
|
|
2000
|
+
show: {
|
|
2001
|
+
resource: ['messages-api'],
|
|
2002
|
+
operation: ['send-location'],
|
|
2003
|
+
},
|
|
2004
|
+
},
|
|
2005
|
+
},
|
|
2006
|
+
{
|
|
2007
|
+
displayName: 'Latitude',
|
|
2008
|
+
name: 'latitude',
|
|
2009
|
+
type: 'number',
|
|
2010
|
+
default: 0,
|
|
2011
|
+
required: true,
|
|
2012
|
+
description: 'Latitude da localização',
|
|
2013
|
+
displayOptions: {
|
|
2014
|
+
show: {
|
|
2015
|
+
resource: ['messages-api'],
|
|
2016
|
+
operation: ['send-location'],
|
|
2017
|
+
},
|
|
2018
|
+
},
|
|
2019
|
+
},
|
|
2020
|
+
{
|
|
2021
|
+
displayName: 'Longitude',
|
|
2022
|
+
name: 'longitude',
|
|
2023
|
+
type: 'number',
|
|
2024
|
+
default: 0,
|
|
2025
|
+
required: true,
|
|
2026
|
+
description: 'Longitude da localização',
|
|
2027
|
+
displayOptions: {
|
|
2028
|
+
show: {
|
|
2029
|
+
resource: ['messages-api'],
|
|
2030
|
+
operation: ['send-location'],
|
|
2031
|
+
},
|
|
2032
|
+
},
|
|
2033
|
+
},
|
|
2034
|
+
{
|
|
2035
|
+
displayName: 'Nome',
|
|
2036
|
+
name: 'name',
|
|
2037
|
+
type: 'string',
|
|
2038
|
+
default: '',
|
|
2039
|
+
description: 'Nome do local',
|
|
2040
|
+
displayOptions: {
|
|
2041
|
+
show: {
|
|
2042
|
+
resource: ['messages-api'],
|
|
2043
|
+
operation: ['send-location'],
|
|
2044
|
+
},
|
|
2045
|
+
},
|
|
2046
|
+
},
|
|
2047
|
+
{
|
|
2048
|
+
displayName: 'Endereço',
|
|
2049
|
+
name: 'address',
|
|
2050
|
+
type: 'string',
|
|
2051
|
+
default: '',
|
|
2052
|
+
description: 'Endereço do local',
|
|
2053
|
+
displayOptions: {
|
|
2054
|
+
show: {
|
|
2055
|
+
resource: ['messages-api'],
|
|
2056
|
+
operation: ['send-location'],
|
|
2057
|
+
},
|
|
2058
|
+
},
|
|
2059
|
+
},
|
|
2060
|
+
{
|
|
2061
|
+
displayName: 'Opções',
|
|
2062
|
+
name: 'options_message',
|
|
2063
|
+
type: 'collection',
|
|
2064
|
+
placeholder: 'Adicionar Campo',
|
|
2065
|
+
default: {},
|
|
2066
|
+
displayOptions: {
|
|
2067
|
+
show: {
|
|
2068
|
+
resource: ['messages-api'],
|
|
2069
|
+
operation: ['send-location'],
|
|
2070
|
+
},
|
|
2071
|
+
},
|
|
2072
|
+
options: [
|
|
2073
|
+
{
|
|
2074
|
+
displayName: 'Delay',
|
|
2075
|
+
name: 'delay',
|
|
2076
|
+
type: 'number',
|
|
2077
|
+
default: 1200,
|
|
2078
|
+
description: 'Delay em milissegundos antes de enviar',
|
|
2079
|
+
},
|
|
2080
|
+
],
|
|
2081
|
+
},
|
|
2082
|
+
{
|
|
2083
|
+
displayName: 'Número Do Destinatário',
|
|
2084
|
+
name: 'remoteJid',
|
|
2085
|
+
type: 'string',
|
|
2086
|
+
default: '',
|
|
2087
|
+
required: true,
|
|
2088
|
+
description: 'Número do destinatário (com DDD e código do país)',
|
|
2089
|
+
displayOptions: {
|
|
2090
|
+
show: {
|
|
2091
|
+
resource: ['messages-api'],
|
|
2092
|
+
operation: ['send-sticker'],
|
|
2093
|
+
},
|
|
2094
|
+
},
|
|
2095
|
+
},
|
|
2096
|
+
{
|
|
2097
|
+
displayName: 'Sticker',
|
|
2098
|
+
name: 'sticker',
|
|
2099
|
+
type: 'string',
|
|
2100
|
+
default: '',
|
|
2101
|
+
required: true,
|
|
2102
|
+
description: 'URL do sticker/figurinha',
|
|
2103
|
+
displayOptions: {
|
|
2104
|
+
show: {
|
|
2105
|
+
resource: ['messages-api'],
|
|
2106
|
+
operation: ['send-sticker'],
|
|
2107
|
+
},
|
|
2108
|
+
},
|
|
2109
|
+
},
|
|
2110
|
+
{
|
|
2111
|
+
displayName: 'Opções',
|
|
2112
|
+
name: 'options_message',
|
|
2113
|
+
type: 'collection',
|
|
2114
|
+
placeholder: 'Adicionar Campo',
|
|
2115
|
+
default: {},
|
|
2116
|
+
displayOptions: {
|
|
2117
|
+
show: {
|
|
2118
|
+
resource: ['messages-api'],
|
|
2119
|
+
operation: ['send-sticker'],
|
|
2120
|
+
},
|
|
2121
|
+
},
|
|
2122
|
+
options: [
|
|
2123
|
+
{
|
|
2124
|
+
displayName: 'Delay',
|
|
2125
|
+
name: 'delay',
|
|
2126
|
+
type: 'number',
|
|
2127
|
+
default: 1200,
|
|
2128
|
+
description: 'Delay em milissegundos antes de enviar',
|
|
2129
|
+
},
|
|
2130
|
+
],
|
|
2131
|
+
},
|
|
1640
2132
|
];
|
|
1641
2133
|
//# sourceMappingURL=messages.fields.js.map
|