n8n-nodes-new-evolution-api 3.0.8 → 3.2.0

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.
Files changed (29) hide show
  1. package/dist/nodes/EvolutionApi/execute/index.js +12 -0
  2. package/dist/nodes/EvolutionApi/execute/index.js.map +1 -1
  3. package/dist/nodes/EvolutionApi/execute/messages/sendAlbum.d.ts +25 -0
  4. package/dist/nodes/EvolutionApi/execute/messages/sendAlbum.js +93 -0
  5. package/dist/nodes/EvolutionApi/execute/messages/sendAlbum.js.map +1 -0
  6. package/dist/nodes/EvolutionApi/execute/messages/sendCarousel.d.ts +25 -0
  7. package/dist/nodes/EvolutionApi/execute/messages/sendCarousel.js +140 -0
  8. package/dist/nodes/EvolutionApi/execute/messages/sendCarousel.js.map +1 -0
  9. package/dist/nodes/EvolutionApi/execute/messages/sendCollection.d.ts +25 -0
  10. package/dist/nodes/EvolutionApi/execute/messages/sendCollection.js +96 -0
  11. package/dist/nodes/EvolutionApi/execute/messages/sendCollection.js.map +1 -0
  12. package/dist/nodes/EvolutionApi/execute/messages/sendPix.js +35 -15
  13. package/dist/nodes/EvolutionApi/execute/messages/sendPix.js.map +1 -1
  14. package/dist/nodes/EvolutionApi/execute/messages/sendShop.d.ts +25 -0
  15. package/dist/nodes/EvolutionApi/execute/messages/sendShop.js +97 -0
  16. package/dist/nodes/EvolutionApi/execute/messages/sendShop.js.map +1 -0
  17. package/dist/nodes/EvolutionApi/execute/messages/sendStatusMentions.d.ts +25 -0
  18. package/dist/nodes/EvolutionApi/execute/messages/sendStatusMentions.js +93 -0
  19. package/dist/nodes/EvolutionApi/execute/messages/sendStatusMentions.js.map +1 -0
  20. package/dist/nodes/EvolutionApi/execute/messages/sendStickerPack.d.ts +25 -0
  21. package/dist/nodes/EvolutionApi/execute/messages/sendStickerPack.js +90 -0
  22. package/dist/nodes/EvolutionApi/execute/messages/sendStickerPack.js.map +1 -0
  23. package/dist/nodes/EvolutionApi/properties/messages.fields.js +849 -0
  24. package/dist/nodes/EvolutionApi/properties/messages.fields.js.map +1 -1
  25. package/dist/nodes/EvolutionApi/properties/messages.operations.js +37 -1
  26. package/dist/nodes/EvolutionApi/properties/messages.operations.js.map +1 -1
  27. package/dist/package.json +2 -2
  28. package/dist/tsconfig.tsbuildinfo +1 -1
  29. package/package.json +2 -2
@@ -17,6 +17,11 @@ const sendOperations = [
17
17
  'send-pix',
18
18
  'send-reaction',
19
19
  'send-template',
20
+ 'send-carousel',
21
+ 'send-album',
22
+ 'send-sticker-pack',
23
+ 'send-shop',
24
+ 'send-collection',
20
25
  ];
21
26
  exports.messagesFields = [
22
27
  {
@@ -2323,5 +2328,849 @@ exports.messagesFields = [
2323
2328
  },
2324
2329
  },
2325
2330
  },
2331
+ {
2332
+ displayName: 'Instance Name or ID',
2333
+ name: 'instanceName',
2334
+ type: 'options',
2335
+ typeOptions: {
2336
+ loadOptionsMethod: 'getInstances',
2337
+ },
2338
+ default: '',
2339
+ required: true,
2340
+ description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>',
2341
+ displayOptions: {
2342
+ show: {
2343
+ resource: ['messages-api'],
2344
+ operation: ['send-carousel'],
2345
+ },
2346
+ },
2347
+ },
2348
+ {
2349
+ displayName: 'Número Do Destinatário',
2350
+ name: 'remoteJid',
2351
+ type: 'string',
2352
+ default: '',
2353
+ required: true,
2354
+ description: 'Número do destinatário (ex: 5511999999999)',
2355
+ displayOptions: {
2356
+ show: {
2357
+ resource: ['messages-api'],
2358
+ operation: ['send-carousel'],
2359
+ recipientType: ['number'],
2360
+ },
2361
+ },
2362
+ },
2363
+ {
2364
+ displayName: 'Título Do Carousel',
2365
+ name: 'carouselTitle',
2366
+ type: 'string',
2367
+ default: '',
2368
+ description: 'Título opcional do carousel',
2369
+ displayOptions: {
2370
+ show: {
2371
+ resource: ['messages-api'],
2372
+ operation: ['send-carousel'],
2373
+ },
2374
+ },
2375
+ },
2376
+ {
2377
+ displayName: 'Corpo Do Carousel',
2378
+ name: 'carouselBody',
2379
+ type: 'string',
2380
+ default: '',
2381
+ description: 'Texto do corpo do carousel',
2382
+ displayOptions: {
2383
+ show: {
2384
+ resource: ['messages-api'],
2385
+ operation: ['send-carousel'],
2386
+ },
2387
+ },
2388
+ },
2389
+ {
2390
+ displayName: 'Subtítulo',
2391
+ name: 'carouselSubtitle',
2392
+ type: 'string',
2393
+ default: '',
2394
+ description: 'Subtítulo opcional do carousel',
2395
+ displayOptions: {
2396
+ show: {
2397
+ resource: ['messages-api'],
2398
+ operation: ['send-carousel'],
2399
+ },
2400
+ },
2401
+ },
2402
+ {
2403
+ displayName: 'Rodapé',
2404
+ name: 'carouselFooter',
2405
+ type: 'string',
2406
+ default: '',
2407
+ description: 'Rodapé opcional do carousel',
2408
+ displayOptions: {
2409
+ show: {
2410
+ resource: ['messages-api'],
2411
+ operation: ['send-carousel'],
2412
+ },
2413
+ },
2414
+ },
2415
+ {
2416
+ displayName: 'Cards',
2417
+ name: 'carouselCards',
2418
+ placeholder: 'Adicionar Card',
2419
+ type: 'fixedCollection',
2420
+ typeOptions: {
2421
+ multipleValues: true,
2422
+ },
2423
+ default: {},
2424
+ required: true,
2425
+ options: [
2426
+ {
2427
+ name: 'cardValues',
2428
+ displayName: 'Card',
2429
+ values: [
2430
+ {
2431
+ displayName: 'Tipo De Mídia',
2432
+ name: 'mediaType',
2433
+ type: 'options',
2434
+ options: [
2435
+ { name: 'Imagem', value: 'image' },
2436
+ { name: 'Vídeo', value: 'video' },
2437
+ ],
2438
+ default: 'image',
2439
+ },
2440
+ {
2441
+ displayName: 'URL Da Mídia',
2442
+ name: 'mediaUrl',
2443
+ type: 'string',
2444
+ default: '',
2445
+ required: true,
2446
+ description: 'URL da imagem ou vídeo do card',
2447
+ },
2448
+ {
2449
+ displayName: 'Título Do Card',
2450
+ name: 'cardTitle',
2451
+ type: 'string',
2452
+ default: '',
2453
+ },
2454
+ {
2455
+ displayName: 'Corpo Do Card',
2456
+ name: 'cardBody',
2457
+ type: 'string',
2458
+ default: '',
2459
+ },
2460
+ {
2461
+ displayName: 'Rodapé Do Card',
2462
+ name: 'cardFooter',
2463
+ type: 'string',
2464
+ default: '',
2465
+ },
2466
+ {
2467
+ displayName: 'Botões',
2468
+ name: 'buttons',
2469
+ placeholder: 'Adicionar Botão',
2470
+ type: 'fixedCollection',
2471
+ typeOptions: {
2472
+ multipleValues: true,
2473
+ },
2474
+ default: {},
2475
+ options: [
2476
+ {
2477
+ name: 'buttonValues',
2478
+ displayName: 'Botão',
2479
+ values: [
2480
+ {
2481
+ displayName: 'Tipo',
2482
+ name: 'buttonType',
2483
+ type: 'options',
2484
+ options: [
2485
+ { name: 'Resposta Rápida', value: 'quick_reply' },
2486
+ { name: 'Link URL', value: 'cta_url' },
2487
+ { name: 'Copiar Código', value: 'cta_copy' },
2488
+ { name: 'Ligar', value: 'cta_call' },
2489
+ ],
2490
+ default: 'quick_reply',
2491
+ },
2492
+ {
2493
+ displayName: 'Texto Do Botão',
2494
+ name: 'displayText',
2495
+ type: 'string',
2496
+ default: '',
2497
+ required: true,
2498
+ },
2499
+ {
2500
+ displayName: 'ID Do Botão',
2501
+ name: 'id',
2502
+ type: 'string',
2503
+ default: '',
2504
+ displayOptions: { show: { buttonType: ['quick_reply'] } },
2505
+ },
2506
+ {
2507
+ displayName: 'URL',
2508
+ name: 'url',
2509
+ type: 'string',
2510
+ default: '',
2511
+ displayOptions: { show: { buttonType: ['cta_url'] } },
2512
+ },
2513
+ {
2514
+ displayName: 'Código Para Copiar',
2515
+ name: 'copyCode',
2516
+ type: 'string',
2517
+ default: '',
2518
+ displayOptions: { show: { buttonType: ['cta_copy'] } },
2519
+ },
2520
+ {
2521
+ displayName: 'Número De Telefone',
2522
+ name: 'phoneNumber',
2523
+ type: 'string',
2524
+ default: '',
2525
+ displayOptions: { show: { buttonType: ['cta_call'] } },
2526
+ },
2527
+ ],
2528
+ },
2529
+ ],
2530
+ },
2531
+ ],
2532
+ },
2533
+ ],
2534
+ description: 'Cards do carousel com mídia e botões',
2535
+ displayOptions: {
2536
+ show: {
2537
+ resource: ['messages-api'],
2538
+ operation: ['send-carousel'],
2539
+ },
2540
+ },
2541
+ },
2542
+ {
2543
+ displayName: 'Instance Name or ID',
2544
+ name: 'instanceName',
2545
+ type: 'options',
2546
+ typeOptions: {
2547
+ loadOptionsMethod: 'getInstances',
2548
+ },
2549
+ default: '',
2550
+ required: true,
2551
+ description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>',
2552
+ displayOptions: {
2553
+ show: {
2554
+ resource: ['messages-api'],
2555
+ operation: ['send-album'],
2556
+ },
2557
+ },
2558
+ },
2559
+ {
2560
+ displayName: 'Número Do Destinatário',
2561
+ name: 'remoteJid',
2562
+ type: 'string',
2563
+ default: '',
2564
+ required: true,
2565
+ description: 'Número do destinatário (ex: 5511999999999)',
2566
+ displayOptions: {
2567
+ show: {
2568
+ resource: ['messages-api'],
2569
+ operation: ['send-album'],
2570
+ recipientType: ['number'],
2571
+ },
2572
+ },
2573
+ },
2574
+ {
2575
+ displayName: 'Mídias Do Álbum',
2576
+ name: 'albumItems',
2577
+ placeholder: 'Adicionar Mídia',
2578
+ type: 'fixedCollection',
2579
+ typeOptions: {
2580
+ multipleValues: true,
2581
+ },
2582
+ default: {},
2583
+ required: true,
2584
+ options: [
2585
+ {
2586
+ name: 'mediaValues',
2587
+ displayName: 'Mídia',
2588
+ values: [
2589
+ {
2590
+ displayName: 'Tipo',
2591
+ name: 'mediaType',
2592
+ type: 'options',
2593
+ options: [
2594
+ { name: 'Imagem', value: 'image' },
2595
+ { name: 'Vídeo', value: 'video' },
2596
+ ],
2597
+ default: 'image',
2598
+ },
2599
+ {
2600
+ displayName: 'URL Da Mídia',
2601
+ name: 'mediaUrl',
2602
+ type: 'string',
2603
+ default: '',
2604
+ required: true,
2605
+ description: 'URL ou base64 da imagem/vídeo',
2606
+ },
2607
+ {
2608
+ displayName: 'Legenda',
2609
+ name: 'caption',
2610
+ type: 'string',
2611
+ default: '',
2612
+ description: 'Legenda opcional para esta mídia',
2613
+ },
2614
+ ],
2615
+ },
2616
+ ],
2617
+ description: 'Mídias (imagens e/ou vídeos) que compõem o álbum',
2618
+ displayOptions: {
2619
+ show: {
2620
+ resource: ['messages-api'],
2621
+ operation: ['send-album'],
2622
+ },
2623
+ },
2624
+ },
2625
+ {
2626
+ displayName: 'Instance Name or ID',
2627
+ name: 'instanceName',
2628
+ type: 'options',
2629
+ typeOptions: {
2630
+ loadOptionsMethod: 'getInstances',
2631
+ },
2632
+ default: '',
2633
+ required: true,
2634
+ description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>',
2635
+ displayOptions: {
2636
+ show: {
2637
+ resource: ['messages-api'],
2638
+ operation: ['send-sticker-pack'],
2639
+ },
2640
+ },
2641
+ },
2642
+ {
2643
+ displayName: 'Número Do Destinatário',
2644
+ name: 'remoteJid',
2645
+ type: 'string',
2646
+ default: '',
2647
+ required: true,
2648
+ description: 'Número do destinatário (ex: 5511999999999)',
2649
+ displayOptions: {
2650
+ show: {
2651
+ resource: ['messages-api'],
2652
+ operation: ['send-sticker-pack'],
2653
+ recipientType: ['number'],
2654
+ },
2655
+ },
2656
+ },
2657
+ {
2658
+ displayName: 'Nome Do Pack',
2659
+ name: 'packName',
2660
+ type: 'string',
2661
+ default: '',
2662
+ required: true,
2663
+ description: 'Nome do pacote de stickers',
2664
+ displayOptions: {
2665
+ show: {
2666
+ resource: ['messages-api'],
2667
+ operation: ['send-sticker-pack'],
2668
+ },
2669
+ },
2670
+ },
2671
+ {
2672
+ displayName: 'Publicador',
2673
+ name: 'packPublisher',
2674
+ type: 'string',
2675
+ default: '',
2676
+ required: true,
2677
+ description: 'Nome do publicador/autor do pack',
2678
+ displayOptions: {
2679
+ show: {
2680
+ resource: ['messages-api'],
2681
+ operation: ['send-sticker-pack'],
2682
+ },
2683
+ },
2684
+ },
2685
+ {
2686
+ displayName: 'Descrição',
2687
+ name: 'packDescription',
2688
+ type: 'string',
2689
+ default: '',
2690
+ description: 'Descrição opcional do pack',
2691
+ displayOptions: {
2692
+ show: {
2693
+ resource: ['messages-api'],
2694
+ operation: ['send-sticker-pack'],
2695
+ },
2696
+ },
2697
+ },
2698
+ {
2699
+ displayName: 'Capa Do Pack',
2700
+ name: 'packCover',
2701
+ type: 'string',
2702
+ default: '',
2703
+ description: 'URL ou base64 da imagem de capa do pack',
2704
+ displayOptions: {
2705
+ show: {
2706
+ resource: ['messages-api'],
2707
+ operation: ['send-sticker-pack'],
2708
+ },
2709
+ },
2710
+ },
2711
+ {
2712
+ displayName: 'Stickers',
2713
+ name: 'packStickers',
2714
+ placeholder: 'Adicionar Sticker',
2715
+ type: 'fixedCollection',
2716
+ typeOptions: {
2717
+ multipleValues: true,
2718
+ },
2719
+ default: {},
2720
+ required: true,
2721
+ options: [
2722
+ {
2723
+ name: 'stickerValues',
2724
+ displayName: 'Sticker',
2725
+ values: [
2726
+ {
2727
+ displayName: 'URL Do Sticker',
2728
+ name: 'stickerUrl',
2729
+ type: 'string',
2730
+ default: '',
2731
+ required: true,
2732
+ description: 'URL ou base64 do sticker (formato .webp recomendado)',
2733
+ },
2734
+ ],
2735
+ },
2736
+ ],
2737
+ description: 'Lista de stickers que compõem o pack',
2738
+ displayOptions: {
2739
+ show: {
2740
+ resource: ['messages-api'],
2741
+ operation: ['send-sticker-pack'],
2742
+ },
2743
+ },
2744
+ },
2745
+ {
2746
+ displayName: 'Instance Name or ID',
2747
+ name: 'instanceName',
2748
+ type: 'options',
2749
+ typeOptions: {
2750
+ loadOptionsMethod: 'getInstances',
2751
+ },
2752
+ default: '',
2753
+ required: true,
2754
+ description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>',
2755
+ displayOptions: {
2756
+ show: {
2757
+ resource: ['messages-api'],
2758
+ operation: ['send-shop'],
2759
+ },
2760
+ },
2761
+ },
2762
+ {
2763
+ displayName: 'Número Do Destinatário',
2764
+ name: 'remoteJid',
2765
+ type: 'string',
2766
+ default: '',
2767
+ required: true,
2768
+ description: 'Número do destinatário (ex: 5511999999999)',
2769
+ displayOptions: {
2770
+ show: {
2771
+ resource: ['messages-api'],
2772
+ operation: ['send-shop'],
2773
+ recipientType: ['number'],
2774
+ },
2775
+ },
2776
+ },
2777
+ {
2778
+ displayName: 'Shop ID',
2779
+ name: 'shopId',
2780
+ type: 'string',
2781
+ default: '',
2782
+ required: true,
2783
+ description: 'ID da loja/catálogo do WhatsApp Business',
2784
+ displayOptions: {
2785
+ show: {
2786
+ resource: ['messages-api'],
2787
+ operation: ['send-shop'],
2788
+ },
2789
+ },
2790
+ },
2791
+ {
2792
+ displayName: 'Título',
2793
+ name: 'shopTitle',
2794
+ type: 'string',
2795
+ default: '',
2796
+ description: 'Título opcional da mensagem de loja',
2797
+ displayOptions: {
2798
+ show: {
2799
+ resource: ['messages-api'],
2800
+ operation: ['send-shop'],
2801
+ },
2802
+ },
2803
+ },
2804
+ {
2805
+ displayName: 'Corpo',
2806
+ name: 'shopBody',
2807
+ type: 'string',
2808
+ default: '',
2809
+ description: 'Texto do corpo da mensagem',
2810
+ displayOptions: {
2811
+ show: {
2812
+ resource: ['messages-api'],
2813
+ operation: ['send-shop'],
2814
+ },
2815
+ },
2816
+ },
2817
+ {
2818
+ displayName: 'Subtítulo',
2819
+ name: 'shopSubtitle',
2820
+ type: 'string',
2821
+ default: '',
2822
+ displayOptions: {
2823
+ show: {
2824
+ resource: ['messages-api'],
2825
+ operation: ['send-shop'],
2826
+ },
2827
+ },
2828
+ },
2829
+ {
2830
+ displayName: 'Rodapé',
2831
+ name: 'shopFooter',
2832
+ type: 'string',
2833
+ default: '',
2834
+ displayOptions: {
2835
+ show: {
2836
+ resource: ['messages-api'],
2837
+ operation: ['send-shop'],
2838
+ },
2839
+ },
2840
+ },
2841
+ {
2842
+ displayName: 'Surface',
2843
+ name: 'shopSurface',
2844
+ type: 'number',
2845
+ default: 1,
2846
+ description: 'Tipo de superfície (1-4)',
2847
+ displayOptions: {
2848
+ show: {
2849
+ resource: ['messages-api'],
2850
+ operation: ['send-shop'],
2851
+ },
2852
+ },
2853
+ },
2854
+ {
2855
+ displayName: 'URL Da Imagem',
2856
+ name: 'shopImageUrl',
2857
+ type: 'string',
2858
+ default: '',
2859
+ description: 'URL de uma imagem de preview',
2860
+ displayOptions: {
2861
+ show: {
2862
+ resource: ['messages-api'],
2863
+ operation: ['send-shop'],
2864
+ },
2865
+ },
2866
+ },
2867
+ {
2868
+ displayName: 'URL Do Vídeo',
2869
+ name: 'shopVideoUrl',
2870
+ type: 'string',
2871
+ default: '',
2872
+ description: 'URL de um vídeo de preview',
2873
+ displayOptions: {
2874
+ show: {
2875
+ resource: ['messages-api'],
2876
+ operation: ['send-shop'],
2877
+ },
2878
+ },
2879
+ },
2880
+ {
2881
+ displayName: 'Visualização Única',
2882
+ name: 'shopViewOnce',
2883
+ type: 'boolean',
2884
+ default: false,
2885
+ description: 'Whether the message can only be viewed once',
2886
+ displayOptions: {
2887
+ show: {
2888
+ resource: ['messages-api'],
2889
+ operation: ['send-shop'],
2890
+ },
2891
+ },
2892
+ },
2893
+ {
2894
+ displayName: 'Instance Name or ID',
2895
+ name: 'instanceName',
2896
+ type: 'options',
2897
+ typeOptions: {
2898
+ loadOptionsMethod: 'getInstances',
2899
+ },
2900
+ default: '',
2901
+ required: true,
2902
+ description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>',
2903
+ displayOptions: {
2904
+ show: {
2905
+ resource: ['messages-api'],
2906
+ operation: ['send-collection'],
2907
+ },
2908
+ },
2909
+ },
2910
+ {
2911
+ displayName: 'Número Do Destinatário',
2912
+ name: 'remoteJid',
2913
+ type: 'string',
2914
+ default: '',
2915
+ required: true,
2916
+ description: 'Número do destinatário (ex: 5511999999999)',
2917
+ displayOptions: {
2918
+ show: {
2919
+ resource: ['messages-api'],
2920
+ operation: ['send-collection'],
2921
+ recipientType: ['number'],
2922
+ },
2923
+ },
2924
+ },
2925
+ {
2926
+ displayName: 'Business JID',
2927
+ name: 'businessJid',
2928
+ type: 'string',
2929
+ default: '',
2930
+ required: true,
2931
+ description: 'JID do número business que possui a coleção',
2932
+ displayOptions: {
2933
+ show: {
2934
+ resource: ['messages-api'],
2935
+ operation: ['send-collection'],
2936
+ },
2937
+ },
2938
+ },
2939
+ {
2940
+ displayName: 'Collection ID',
2941
+ name: 'collectionId',
2942
+ type: 'string',
2943
+ default: '',
2944
+ required: true,
2945
+ description: 'ID da coleção de produtos',
2946
+ displayOptions: {
2947
+ show: {
2948
+ resource: ['messages-api'],
2949
+ operation: ['send-collection'],
2950
+ },
2951
+ },
2952
+ },
2953
+ {
2954
+ displayName: 'Título',
2955
+ name: 'collectionTitle',
2956
+ type: 'string',
2957
+ default: '',
2958
+ displayOptions: {
2959
+ show: {
2960
+ resource: ['messages-api'],
2961
+ operation: ['send-collection'],
2962
+ },
2963
+ },
2964
+ },
2965
+ {
2966
+ displayName: 'Corpo',
2967
+ name: 'collectionBody',
2968
+ type: 'string',
2969
+ default: '',
2970
+ displayOptions: {
2971
+ show: {
2972
+ resource: ['messages-api'],
2973
+ operation: ['send-collection'],
2974
+ },
2975
+ },
2976
+ },
2977
+ {
2978
+ displayName: 'Subtítulo',
2979
+ name: 'collectionSubtitle',
2980
+ type: 'string',
2981
+ default: '',
2982
+ displayOptions: {
2983
+ show: {
2984
+ resource: ['messages-api'],
2985
+ operation: ['send-collection'],
2986
+ },
2987
+ },
2988
+ },
2989
+ {
2990
+ displayName: 'Rodapé',
2991
+ name: 'collectionFooter',
2992
+ type: 'string',
2993
+ default: '',
2994
+ displayOptions: {
2995
+ show: {
2996
+ resource: ['messages-api'],
2997
+ operation: ['send-collection'],
2998
+ },
2999
+ },
3000
+ },
3001
+ {
3002
+ displayName: 'Versão',
3003
+ name: 'collectionVersion',
3004
+ type: 'number',
3005
+ default: 1,
3006
+ displayOptions: {
3007
+ show: {
3008
+ resource: ['messages-api'],
3009
+ operation: ['send-collection'],
3010
+ },
3011
+ },
3012
+ },
3013
+ {
3014
+ displayName: 'URL Da Imagem',
3015
+ name: 'collectionImageUrl',
3016
+ type: 'string',
3017
+ default: '',
3018
+ displayOptions: {
3019
+ show: {
3020
+ resource: ['messages-api'],
3021
+ operation: ['send-collection'],
3022
+ },
3023
+ },
3024
+ },
3025
+ {
3026
+ displayName: 'Visualização Única',
3027
+ name: 'collectionViewOnce',
3028
+ type: 'boolean',
3029
+ default: false,
3030
+ description: 'Whether the message can only be viewed once',
3031
+ displayOptions: {
3032
+ show: {
3033
+ resource: ['messages-api'],
3034
+ operation: ['send-collection'],
3035
+ },
3036
+ },
3037
+ },
3038
+ {
3039
+ displayName: 'Instance Name or ID',
3040
+ name: 'instanceName',
3041
+ type: 'options',
3042
+ typeOptions: {
3043
+ loadOptionsMethod: 'getInstances',
3044
+ },
3045
+ default: '',
3046
+ required: true,
3047
+ description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>',
3048
+ displayOptions: {
3049
+ show: {
3050
+ resource: ['messages-api'],
3051
+ operation: ['send-status-mentions'],
3052
+ },
3053
+ },
3054
+ },
3055
+ {
3056
+ displayName: 'Tipo De Conteúdo',
3057
+ name: 'statusType',
3058
+ type: 'options',
3059
+ options: [
3060
+ { name: 'Texto', value: 'text' },
3061
+ { name: 'Imagem', value: 'image' },
3062
+ { name: 'Vídeo', value: 'video' },
3063
+ { name: 'Áudio', value: 'audio' },
3064
+ ],
3065
+ default: 'text',
3066
+ required: true,
3067
+ description: 'Tipo de conteúdo do status',
3068
+ displayOptions: {
3069
+ show: {
3070
+ resource: ['messages-api'],
3071
+ operation: ['send-status-mentions'],
3072
+ },
3073
+ },
3074
+ },
3075
+ {
3076
+ displayName: 'Conteúdo',
3077
+ name: 'statusContent',
3078
+ type: 'string',
3079
+ default: '',
3080
+ required: true,
3081
+ description: 'Texto ou URL/base64 da mídia',
3082
+ displayOptions: {
3083
+ show: {
3084
+ resource: ['messages-api'],
3085
+ operation: ['send-status-mentions'],
3086
+ },
3087
+ },
3088
+ },
3089
+ {
3090
+ displayName: 'Legenda',
3091
+ name: 'statusCaption',
3092
+ type: 'string',
3093
+ default: '',
3094
+ description: 'Legenda para mídia (imagem/vídeo)',
3095
+ displayOptions: {
3096
+ show: {
3097
+ resource: ['messages-api'],
3098
+ operation: ['send-status-mentions'],
3099
+ statusType: ['image', 'video'],
3100
+ },
3101
+ },
3102
+ },
3103
+ {
3104
+ displayName: 'Números Para Mencionar',
3105
+ name: 'statusMentions',
3106
+ type: 'string',
3107
+ default: '',
3108
+ required: true,
3109
+ description: 'Números separados por vírgula (máximo 5). Ex: 5511999999999,5511888888888.',
3110
+ displayOptions: {
3111
+ show: {
3112
+ resource: ['messages-api'],
3113
+ operation: ['send-status-mentions'],
3114
+ },
3115
+ },
3116
+ },
3117
+ {
3118
+ displayName: 'Fonte (Para Texto)',
3119
+ name: 'statusFont',
3120
+ type: 'number',
3121
+ default: 0,
3122
+ description: 'Número da fonte (0-5)',
3123
+ displayOptions: {
3124
+ show: {
3125
+ resource: ['messages-api'],
3126
+ operation: ['send-status-mentions'],
3127
+ statusType: ['text'],
3128
+ },
3129
+ },
3130
+ },
3131
+ {
3132
+ displayName: 'Cor Do Texto',
3133
+ name: 'statusTextColor',
3134
+ type: 'color',
3135
+ default: '',
3136
+ description: 'Cor do texto em hexadecimal (ex: #FFFFFF)',
3137
+ displayOptions: {
3138
+ show: {
3139
+ resource: ['messages-api'],
3140
+ operation: ['send-status-mentions'],
3141
+ statusType: ['text'],
3142
+ },
3143
+ },
3144
+ },
3145
+ {
3146
+ displayName: 'Cor De Fundo',
3147
+ name: 'statusBackgroundColor',
3148
+ type: 'color',
3149
+ default: '',
3150
+ description: 'Cor de fundo em hexadecimal (ex: #075e54)',
3151
+ displayOptions: {
3152
+ show: {
3153
+ resource: ['messages-api'],
3154
+ operation: ['send-status-mentions'],
3155
+ statusType: ['text'],
3156
+ },
3157
+ },
3158
+ },
3159
+ {
3160
+ displayName: 'Texto Adicional',
3161
+ name: 'pixText',
3162
+ type: 'string',
3163
+ default: '',
3164
+ description: 'Texto adicional opcional para a mensagem PIX',
3165
+ displayOptions: {
3166
+ show: {
3167
+ resource: ['messages-api'],
3168
+ operation: ['send-pix'],
3169
+ },
3170
+ hide: {
3171
+ keyType: ['emv'],
3172
+ },
3173
+ },
3174
+ },
2326
3175
  ];
2327
3176
  //# sourceMappingURL=messages.fields.js.map