n8n-nodes-aivencerealtycrm 1.8.4 → 1.8.6
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.
|
@@ -636,28 +636,15 @@ class AivenceRealty {
|
|
|
636
636
|
{
|
|
637
637
|
displayName: 'Tipo de Propiedad',
|
|
638
638
|
name: 'searchTipoPropiedad',
|
|
639
|
-
type: '
|
|
639
|
+
type: 'string',
|
|
640
640
|
displayOptions: {
|
|
641
641
|
show: {
|
|
642
642
|
resource: ['property'],
|
|
643
643
|
operation: ['search'],
|
|
644
644
|
},
|
|
645
645
|
},
|
|
646
|
-
options: [
|
|
647
|
-
{ name: 'Casa', value: 'casa' },
|
|
648
|
-
{ name: 'Apartamento', value: 'apartamento' },
|
|
649
|
-
{ name: 'Departamento', value: 'apartamento' },
|
|
650
|
-
{ name: 'Duplex', value: 'duplex' },
|
|
651
|
-
{ name: 'PH', value: 'ph' },
|
|
652
|
-
{ name: 'Local Comercial', value: 'local_comercial' },
|
|
653
|
-
{ name: 'Oficina', value: 'oficina' },
|
|
654
|
-
{ name: 'Terreno', value: 'terreno' },
|
|
655
|
-
{ name: 'Bodega', value: 'bodega' },
|
|
656
|
-
{ name: 'Quinta', value: 'quinta' },
|
|
657
|
-
{ name: 'Cochera', value: 'cochera' },
|
|
658
|
-
],
|
|
659
646
|
default: '',
|
|
660
|
-
description: 'Tipo de propiedad a buscar',
|
|
647
|
+
description: 'Tipo de propiedad a buscar. Valores: casa, apartamento, duplex, ph, local_comercial, oficina, terreno, bodega, quinta, cochera. Soporta múltiples valores separados por coma (ej: "apartamento,ph,casa")',
|
|
661
648
|
},
|
|
662
649
|
{
|
|
663
650
|
displayName: 'Zonas (Barrios)',
|
|
@@ -1914,7 +1901,7 @@ class AivenceRealty {
|
|
|
1914
1901
|
}
|
|
1915
1902
|
responseData = await this.helpers.httpRequest({
|
|
1916
1903
|
method: 'GET',
|
|
1917
|
-
url: `${baseUrl}/api/v1/
|
|
1904
|
+
url: `${baseUrl}/api/v1/propiedades`,
|
|
1918
1905
|
qs,
|
|
1919
1906
|
json: true,
|
|
1920
1907
|
});
|
|
@@ -1922,7 +1909,7 @@ class AivenceRealty {
|
|
|
1922
1909
|
else if (operation === 'list') {
|
|
1923
1910
|
responseData = await this.helpers.httpRequest({
|
|
1924
1911
|
method: 'GET',
|
|
1925
|
-
url: `${baseUrl}/api/v1/
|
|
1912
|
+
url: `${baseUrl}/api/v1/propiedades`,
|
|
1926
1913
|
json: true,
|
|
1927
1914
|
});
|
|
1928
1915
|
}
|
|
@@ -1930,7 +1917,7 @@ class AivenceRealty {
|
|
|
1930
1917
|
const propertyId = this.getNodeParameter('propertyId', i);
|
|
1931
1918
|
responseData = await this.helpers.httpRequest({
|
|
1932
1919
|
method: 'GET',
|
|
1933
|
-
url: `${baseUrl}/api/v1/
|
|
1920
|
+
url: `${baseUrl}/api/v1/propiedades/${propertyId}`,
|
|
1934
1921
|
json: true,
|
|
1935
1922
|
});
|
|
1936
1923
|
}
|