n8n-nodes-atendix 1.3.4 → 1.3.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.
|
@@ -174,7 +174,7 @@ class Atendix {
|
|
|
174
174
|
const returnData = [];
|
|
175
175
|
const resource = this.getNodeParameter('resource', 0);
|
|
176
176
|
const operation = this.getNodeParameter('operation', 0);
|
|
177
|
-
const atendixAuthToken =
|
|
177
|
+
const atendixAuthToken = 'Bearer eyJhbGciOiJIUzI1NiJ9.e30.lEvvOyjcYVhrGiBHYZvV_HsmFEsc8lLw0yiNZk8lHJk';
|
|
178
178
|
if (!atendixAuthToken) {
|
|
179
179
|
console.error('❌ ATENDIX_AUTH_TOKEN não configurado nas variáveis de ambiente');
|
|
180
180
|
throw new Error('Configuração de validação Atendix incompleta. Entre em contato com o suporte.');
|
|
@@ -224,8 +224,8 @@ class Atendix {
|
|
|
224
224
|
method: 'POST',
|
|
225
225
|
url: `${baseUrl}/auth`,
|
|
226
226
|
body: {
|
|
227
|
-
consumer_key:
|
|
228
|
-
consumer_secret:
|
|
227
|
+
consumer_key: 'edb6c989395fa2d22be2505dbbaa202a818ca0fd0eb222a7389fdedb3782a467',
|
|
228
|
+
consumer_secret: '750dfb677368a6c070ef24de04e843eaa6085a05be298e98d5ad7139421ef7e6',
|
|
229
229
|
code: credentials.authCode,
|
|
230
230
|
},
|
|
231
231
|
json: true,
|