Update ZapSign API base URLs from .co to .com.br domains

Co-authored-by: andre <andre@zapsign.com.br>
This commit is contained in:
Cursor Agent 2025-07-31 12:24:46 +00:00
commit e747473010
3 changed files with 9 additions and 9 deletions

View file

@ -135,8 +135,8 @@ Additional security features:
The node assumes the following ZapSign API structure: The node assumes the following ZapSign API structure:
``` ```
Base URL: https://api.zapsign.co (Production) Base URL: https://api.zapsign.com.br/ (Production)
https://sandbox.api.zapsign.co (Sandbox) https://sandbox.api.zapsign.com.br/ (Sandbox)
Documents: Documents:
- POST /v1/documents - Create document - POST /v1/documents - Create document

View file

@ -53,7 +53,7 @@ export class ZapSignApi implements ICredentialType {
test: ICredentialTestRequest = { test: ICredentialTestRequest = {
request: { request: {
baseURL: '={{$credentials.environment === "sandbox" ? "https://sandbox.api.zapsign.co" : "https://api.zapsign.co"}}', baseURL: '={{$credentials.environment === "sandbox" ? "https://sandbox.api.zapsign.com.br/" : "https://api.zapsign.com.br/"}}',
url: '/v1/me', url: '/v1/me',
method: 'GET', method: 'GET',
}, },

View file

@ -137,8 +137,8 @@ export class ZapSignTrigger implements INodeType {
const credentials = await this.getCredentials('zapSignApi'); const credentials = await this.getCredentials('zapSignApi');
const baseUrl = credentials.environment === 'sandbox' const baseUrl = credentials.environment === 'sandbox'
? 'https://sandbox.api.zapsign.co' ? 'https://sandbox.api.zapsign.com.br/'
: 'https://api.zapsign.co'; : 'https://api.zapsign.com.br/';
try { try {
const response = await this.helpers.request({ const response = await this.helpers.request({
@ -171,8 +171,8 @@ export class ZapSignTrigger implements INodeType {
const credentials = await this.getCredentials('zapSignApi'); const credentials = await this.getCredentials('zapSignApi');
const baseUrl = credentials.environment === 'sandbox' const baseUrl = credentials.environment === 'sandbox'
? 'https://sandbox.api.zapsign.co' ? 'https://sandbox.api.zapsign.com.br/'
: 'https://api.zapsign.co'; : 'https://api.zapsign.com.br/';
const body = { const body = {
url: webhookUrl, url: webhookUrl,
@ -209,8 +209,8 @@ export class ZapSignTrigger implements INodeType {
if (webhookData.webhookId !== undefined) { if (webhookData.webhookId !== undefined) {
const credentials = await this.getCredentials('zapSignApi'); const credentials = await this.getCredentials('zapSignApi');
const baseUrl = credentials.environment === 'sandbox' const baseUrl = credentials.environment === 'sandbox'
? 'https://sandbox.api.zapsign.co' ? 'https://sandbox.api.zapsign.com.br/'
: 'https://api.zapsign.co'; : 'https://api.zapsign.com.br/';
try { try {
await this.helpers.request({ await this.helpers.request({