n8n-nodes-aivencerealtycrm 1.8.3 → 1.8.5
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.
|
@@ -808,27 +808,6 @@ class AivenceRealty {
|
|
|
808
808
|
default: 0,
|
|
809
809
|
description: 'Precio máximo en USD',
|
|
810
810
|
},
|
|
811
|
-
{
|
|
812
|
-
displayName: 'Estado',
|
|
813
|
-
name: 'searchEstado',
|
|
814
|
-
type: 'options',
|
|
815
|
-
displayOptions: {
|
|
816
|
-
show: {
|
|
817
|
-
resource: ['property'],
|
|
818
|
-
operation: ['search'],
|
|
819
|
-
},
|
|
820
|
-
},
|
|
821
|
-
options: [
|
|
822
|
-
{ name: 'En Venta', value: 'for_sale' },
|
|
823
|
-
{ name: 'En Alquiler', value: 'for_rent' },
|
|
824
|
-
{ name: 'Vendido', value: 'sold' },
|
|
825
|
-
{ name: 'Alquilado', value: 'rented' },
|
|
826
|
-
{ name: 'Pendiente', value: 'pending' },
|
|
827
|
-
{ name: 'Reservado', value: 'reserved' },
|
|
828
|
-
],
|
|
829
|
-
default: 'for_sale',
|
|
830
|
-
description: 'Estado de la propiedad',
|
|
831
|
-
},
|
|
832
811
|
{
|
|
833
812
|
displayName: 'Amenidades',
|
|
834
813
|
name: 'searchAmenidades',
|
|
@@ -1935,7 +1914,7 @@ class AivenceRealty {
|
|
|
1935
1914
|
}
|
|
1936
1915
|
responseData = await this.helpers.httpRequest({
|
|
1937
1916
|
method: 'GET',
|
|
1938
|
-
url: `${baseUrl}/api/v1/
|
|
1917
|
+
url: `${baseUrl}/api/v1/propiedades`,
|
|
1939
1918
|
qs,
|
|
1940
1919
|
json: true,
|
|
1941
1920
|
});
|
|
@@ -1943,7 +1922,7 @@ class AivenceRealty {
|
|
|
1943
1922
|
else if (operation === 'list') {
|
|
1944
1923
|
responseData = await this.helpers.httpRequest({
|
|
1945
1924
|
method: 'GET',
|
|
1946
|
-
url: `${baseUrl}/api/v1/
|
|
1925
|
+
url: `${baseUrl}/api/v1/propiedades`,
|
|
1947
1926
|
json: true,
|
|
1948
1927
|
});
|
|
1949
1928
|
}
|
|
@@ -1951,7 +1930,7 @@ class AivenceRealty {
|
|
|
1951
1930
|
const propertyId = this.getNodeParameter('propertyId', i);
|
|
1952
1931
|
responseData = await this.helpers.httpRequest({
|
|
1953
1932
|
method: 'GET',
|
|
1954
|
-
url: `${baseUrl}/api/v1/
|
|
1933
|
+
url: `${baseUrl}/api/v1/propiedades/${propertyId}`,
|
|
1955
1934
|
json: true,
|
|
1956
1935
|
});
|
|
1957
1936
|
}
|