From 04a6f7c95435ff3a3f25d16227ea778c89896b18 Mon Sep 17 00:00:00 2001 From: Helio Elias Date: Fri, 21 Jul 2023 15:02:09 +0000 Subject: [PATCH 01/36] fix docker and create docker-compose with all services --- .../docker-compose.yaml | 12 +- Docker/evolution-api-all-services/.env | 109 ++++++++++++++++++ .../docker-compose.yaml | 91 +++++++++++++++ 3 files changed, 204 insertions(+), 8 deletions(-) rename docker-compose.yaml => Docker/docker-compose.yaml (73%) create mode 100644 Docker/evolution-api-all-services/.env create mode 100644 Docker/evolution-api-all-services/docker-compose.yaml diff --git a/docker-compose.yaml b/Docker/docker-compose.yaml similarity index 73% rename from docker-compose.yaml rename to Docker/docker-compose.yaml index c6d1bc73..cbc55c12 100644 --- a/docker-compose.yaml +++ b/Docker/docker-compose.yaml @@ -1,9 +1,10 @@ version: '3.3' services: + api: container_name: evolution_api - image: evolution/api:local + image: davidsongomes/evolution-api restart: always ports: - 8080:8080 @@ -11,16 +12,11 @@ services: - evolution_instances:/evolution/instances - evolution_store:/evolution/store env_file: - - ./Docker/.env + - .env command: ['node', './dist/src/main.js'] expose: - 8080 volumes: evolution_instances: - evolution_store: - -networks: - evolution-net: - external: true - \ No newline at end of file + evolution_store: \ No newline at end of file diff --git a/Docker/evolution-api-all-services/.env b/Docker/evolution-api-all-services/.env new file mode 100644 index 00000000..555ba7bc --- /dev/null +++ b/Docker/evolution-api-all-services/.env @@ -0,0 +1,109 @@ +# Server URL - Set your application url +SERVER_URL='http://localhost:8080' + +# Cors - * for all or set separate by commas - ex.: 'yourdomain1.com, yourdomain2.com' +CORS_ORIGIN='*' +CORS_METHODS='POST,GET,PUT,DELETE' +CORS_CREDENTIALS=true + +# Determine the logs to be displayed +LOG_LEVEL='ERROR,WARN,DEBUG,INFO,LOG,VERBOSE,DARK,WEBHOOKS' +LOG_COLOR=true +# Log Baileys - "fatal" | "error" | "warn" | "info" | "debug" | "trace" +LOG_BAILEYS=error + +# Determine how long the instance should be deleted from memory in case of no connection. +# Default time: 5 minutes +# If you don't even want an expiration, enter the value false +DEL_INSTANCE=false + +# Temporary data storage +STORE_MESSAGES=true +STORE_MESSAGE_UP=true +STORE_CONTACTS=true +STORE_CHATS=true + +# Set Store Interval in Seconds (7200 = 2h) +CLEAN_STORE_CLEANING_INTERVAL=7200 +CLEAN_STORE_MESSAGES=true +CLEAN_STORE_MESSAGE_UP=true +CLEAN_STORE_CONTACTS=true +CLEAN_STORE_CHATS=true + +# Permanent data storage +DATABASE_ENABLED=true +DATABASE_CONNECTION_URI=mongodb://root:root@mongodb:27017/?authSource=admin&readPreference=primary&ssl=false&directConnection=true +DATABASE_CONNECTION_DB_PREFIX_NAME=evolution + +# Choose the data you want to save in the application's database or store +DATABASE_SAVE_DATA_INSTANCE=false +DATABASE_SAVE_DATA_NEW_MESSAGE=false +DATABASE_SAVE_MESSAGE_UPDATE=false +DATABASE_SAVE_DATA_CONTACTS=false +DATABASE_SAVE_DATA_CHATS=false + +REDIS_ENABLED=true +REDIS_URI=redis://redis:6379 +REDIS_PREFIX_KEY=evolution + +# Global Webhook Settings +# Each instance's Webhook URL and events will be requested at the time it is created +## Define a global webhook that will listen for enabled events from all instances +WEBHOOK_GLOBAL_URL='' +WEBHOOK_GLOBAL_ENABLED=false +# With this option activated, you work with a url per webhook event, respecting the global url and the name of each event +WEBHOOK_GLOBAL_WEBHOOK_BY_EVENTS=false +## Set the events you want to hear +WEBHOOK_EVENTS_APPLICATION_STARTUP=false +WEBHOOK_EVENTS_QRCODE_UPDATED=true +WEBHOOK_EVENTS_MESSAGES_SET=true +WEBHOOK_EVENTS_MESSAGES_UPSERT=true +WEBHOOK_EVENTS_MESSAGES_UPDATE=true +WEBHOOK_EVENTS_MESSAGES_DELETE=true +WEBHOOK_EVENTS_SEND_MESSAGE=true +WEBHOOK_EVENTS_CONTACTS_SET=true +WEBHOOK_EVENTS_CONTACTS_UPSERT=true +WEBHOOK_EVENTS_CONTACTS_UPDATE=true +WEBHOOK_EVENTS_PRESENCE_UPDATE=true +WEBHOOK_EVENTS_CHATS_SET=true +WEBHOOK_EVENTS_CHATS_UPSERT=true +WEBHOOK_EVENTS_CHATS_UPDATE=true +WEBHOOK_EVENTS_CHATS_DELETE=true +WEBHOOK_EVENTS_GROUPS_UPSERT=true +WEBHOOK_EVENTS_GROUPS_UPDATE=true +WEBHOOK_EVENTS_GROUP_PARTICIPANTS_UPDATE=true +WEBHOOK_EVENTS_CONNECTION_UPDATE=true +# This event fires every time a new token is requested via the refresh route +WEBHOOK_EVENTS_NEW_JWT_TOKEN=false + +# Name that will be displayed on smartphone connection +CONFIG_SESSION_PHONE_CLIENT='Evolution API' +# Browser Name = chrome | firefox | edge | opera | safari +CONFIG_SESSION_PHONE_NAME=chrome + +# Set qrcode display limit +QRCODE_LIMIT=30 + +# Defines an authentication type for the api +# We recommend using the apikey because it will allow you to use a custom token, +# if you use jwt, a random token will be generated and may be expired and you will have to generate a new token +# jwt or 'apikey' +AUTHENTICATION_TYPE='apikey' +## Define a global apikey to access all instances. +### OBS: This key must be inserted in the request header to create an instance. +AUTHENTICATION_API_KEY='B6D711FCDE4D4FD5936544120E713976' +AUTHENTICATION_EXPOSE_IN_FETCH_INSTANCES=true +## Set the secret key to encrypt and decrypt your token and its expiration time +# seconds - 3600s ===1h | zero (0) - never expires +AUTHENTICATION_JWT_EXPIRIN_IN=0 +AUTHENTICATION_JWT_SECRET='L0YWtjb2w554WFqPG' +# Set the instance name and webhook url to create an instance in init the application +# With this option activated, you work with a url per webhook event, respecting the local url and the name of each event +# container or server +AUTHENTICATION_INSTANCE_MODE=server +# if you are using container mode, set the container name and the webhook url to default instance +AUTHENTICATION_INSTANCE_NAME=evolution +AUTHENTICATION_INSTANCE_WEBHOOK_URL='' +AUTHENTICATION_INSTANCE_CHATWOOT_ACCOUNT_ID=1 +AUTHENTICATION_INSTANCE_CHATWOOT_TOKEN=123456 +AUTHENTICATION_INSTANCE_CHATWOOT_URL='' \ No newline at end of file diff --git a/Docker/evolution-api-all-services/docker-compose.yaml b/Docker/evolution-api-all-services/docker-compose.yaml new file mode 100644 index 00000000..1fe01975 --- /dev/null +++ b/Docker/evolution-api-all-services/docker-compose.yaml @@ -0,0 +1,91 @@ +version: '3.3' + +services: + + mongodb: + container_name: mongodb + image: mongo + restart: on-failure + ports: + - 27017:27017 + environment: + - MONGO_INITDB_ROOT_USERNAME=root + - MONGO_INITDB_ROOT_PASSWORD=root + - PUID=1000 + - PGID=1000 + volumes: + - evolution_mongodb_data:/data/db + - evolution_mongodb_configdb:/data/configdb + expose: + - 27017 + + mongo-express: + container_name: mongodb-express + image: mongo-express + restart: on-failure + ports: + - 8081:8081 + depends_on: + - mongodb + environment: + ME_CONFIG_BASICAUTH_USERNAME: root + ME_CONFIG_BASICAUTH_PASSWORD: root + ME_CONFIG_MONGODB_SERVER: mongodb + ME_CONFIG_MONGODB_ADMINUSERNAME: root + ME_CONFIG_MONGODB_ADMINPASSWORD: root + links: + - mongodb + + redis: + container_name: redis + image: redis:latest + restart: on-failure + ports: + - 6379:6379 + command: > + redis-server + --port 6379 + --appendonly yes + volumes: + - evolution_redis:/data + + rebrow: + container_name: rebrow + image: marian/rebrow + restart: on-failure + depends_on: + - redis + ports: + - 5001:5001 + links: + - redis + + api: + container_name: evolution_api + image: davidsongomes/evolution-api + restart: always + depends_on: + - mongodb + - redis + ports: + - 8080:8080 + volumes: + - evolution_instances:/evolution/instances + - evolution_store:/evolution/store + env_file: + - .env + command: ['node', './dist/src/main.js'] + expose: + - 8080 + +volumes: + evolution_mongodb_data: + evolution_mongodb_configdb: + evolution_redis: + evolution_instances: + evolution_store: + +networks: + evolution-net: + external: true + \ No newline at end of file From d6194316e1e05f409e4b31c5ec241a622836d54a Mon Sep 17 00:00:00 2001 From: Helio Elias Date: Wed, 2 Aug 2023 13:25:00 -0300 Subject: [PATCH 02/36] Fix Dockers --- package.json | 2 ++ src/install-evolution-api-ws.ts | 15 +++++++++++++++ src/uninstall-evolution-api-ws.ts | 16 ++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 src/install-evolution-api-ws.ts create mode 100644 src/uninstall-evolution-api-ws.ts diff --git a/package.json b/package.json index 5c182838..09df55a4 100644 --- a/package.json +++ b/package.json @@ -66,6 +66,7 @@ "mongoose": "^6.10.5", "node-cache": "^5.1.2", "node-mime-types": "^1.1.0", + "node-windows": "^1.0.0-beta.8", "pino": "^8.11.0", "proxy-agent": "^6.2.1", "qrcode": "^1.5.1", @@ -81,6 +82,7 @@ "@types/js-yaml": "^4.0.5", "@types/jsonwebtoken": "^8.5.9", "@types/node": "^18.15.11", + "@types/node-windows": "^0.1.2", "@types/qrcode": "^1.5.0", "@types/qrcode-terminal": "^0.12.0", "@types/uuid": "^8.3.4", diff --git a/src/install-evolution-api-ws.ts b/src/install-evolution-api-ws.ts new file mode 100644 index 00000000..1faadbf9 --- /dev/null +++ b/src/install-evolution-api-ws.ts @@ -0,0 +1,15 @@ +import nodeWindows from 'node-windows'; +import path from 'path'; + +const svc = new nodeWindows.Service({ + name: 'EvolutionAPIServer', + description: + 'WhatsApp-Api-NodeJs - This project is based on the CodeChat. The original project is an implementation of Baileys', + script: path.join(__dirname, 'main.js'), +}); + +svc.on('install', () => { + svc.start(); +}); + +svc.install(); diff --git a/src/uninstall-evolution-api-ws.ts b/src/uninstall-evolution-api-ws.ts new file mode 100644 index 00000000..4311f503 --- /dev/null +++ b/src/uninstall-evolution-api-ws.ts @@ -0,0 +1,16 @@ +import nodeWindows from 'node-windows'; +import path from 'path'; + +const svc = new nodeWindows.Service({ + name: 'EvolutionAPIServer', + description: + 'WhatsApp-Api-NodeJs - This project is based on the CodeChat. The original project is an implementation of Baileys', + script: path.join(__dirname, 'main.js'), +}); + +svc.on('uninstall', () => { + console.log('Uninstall complete.'); + console.log('The service exists: ', svc.exists); +}); + +svc.uninstall(); From f32e259d2ff5cb67dd33f783d3e3bea4bf56c3e5 Mon Sep 17 00:00:00 2001 From: Helio Elias Date: Tue, 8 Aug 2023 21:06:58 -0300 Subject: [PATCH 03/36] Fix isURL function to by pass url with localhost, when webhook is enable --- src/install-evolution-api-ws.ts | 15 --------------- src/uninstall-evolution-api-ws.ts | 16 ---------------- src/whatsapp/services/whatsapp.service.ts | 2 +- 3 files changed, 1 insertion(+), 32 deletions(-) delete mode 100644 src/install-evolution-api-ws.ts delete mode 100644 src/uninstall-evolution-api-ws.ts diff --git a/src/install-evolution-api-ws.ts b/src/install-evolution-api-ws.ts deleted file mode 100644 index 1faadbf9..00000000 --- a/src/install-evolution-api-ws.ts +++ /dev/null @@ -1,15 +0,0 @@ -import nodeWindows from 'node-windows'; -import path from 'path'; - -const svc = new nodeWindows.Service({ - name: 'EvolutionAPIServer', - description: - 'WhatsApp-Api-NodeJs - This project is based on the CodeChat. The original project is an implementation of Baileys', - script: path.join(__dirname, 'main.js'), -}); - -svc.on('install', () => { - svc.start(); -}); - -svc.install(); diff --git a/src/uninstall-evolution-api-ws.ts b/src/uninstall-evolution-api-ws.ts deleted file mode 100644 index 4311f503..00000000 --- a/src/uninstall-evolution-api-ws.ts +++ /dev/null @@ -1,16 +0,0 @@ -import nodeWindows from 'node-windows'; -import path from 'path'; - -const svc = new nodeWindows.Service({ - name: 'EvolutionAPIServer', - description: - 'WhatsApp-Api-NodeJs - This project is based on the CodeChat. The original project is an implementation of Baileys', - script: path.join(__dirname, 'main.js'), -}); - -svc.on('uninstall', () => { - console.log('Uninstall complete.'); - console.log('The service exists: ', svc.exists); -}); - -svc.uninstall(); diff --git a/src/whatsapp/services/whatsapp.service.ts b/src/whatsapp/services/whatsapp.service.ts index 6de7d847..dc82a516 100644 --- a/src/whatsapp/services/whatsapp.service.ts +++ b/src/whatsapp/services/whatsapp.service.ts @@ -453,7 +453,7 @@ export class WAStartupService { } try { - if (this.localWebhook.enabled && isURL(this.localWebhook.url)) { + if (this.localWebhook.enabled && isURL(this.localWebhook.url, { require_tld: false })) { const httpService = axios.create({ baseURL }); const postData = { event, From 6e401eecdef2ae450f9713965fe5dc382c01446c Mon Sep 17 00:00:00 2001 From: Allyson de Paula Date: Wed, 9 Aug 2023 16:56:38 -0300 Subject: [PATCH 04/36] Bugfix Internal Error 500: fetchInstances (apikey not found) --- src/whatsapp/controllers/instance.controller.ts | 3 ++- src/whatsapp/services/monitor.service.ts | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/whatsapp/controllers/instance.controller.ts b/src/whatsapp/controllers/instance.controller.ts index 2b62af23..900df29a 100644 --- a/src/whatsapp/controllers/instance.controller.ts +++ b/src/whatsapp/controllers/instance.controller.ts @@ -286,12 +286,13 @@ export class InstanceController { } public async fetchInstances({ instanceName }: InstanceDto) { - this.logger.verbose('requested fetchInstances from ' + instanceName + ' instance'); if (instanceName) { + this.logger.verbose('requested fetchInstances from ' + instanceName + ' instance'); this.logger.verbose('instanceName: ' + instanceName); return this.waMonitor.instanceInfo(instanceName); } + this.logger.verbose('requested fetchInstances (all instances)'); return this.waMonitor.instanceInfo(); } diff --git a/src/whatsapp/services/monitor.service.ts b/src/whatsapp/services/monitor.service.ts index 50f671d9..9df6a0e3 100644 --- a/src/whatsapp/services/monitor.service.ts +++ b/src/whatsapp/services/monitor.service.ts @@ -115,7 +115,7 @@ export class WAMonitoringService { if (this.configService.get('AUTHENTICATION').EXPOSE_IN_FETCH_INSTANCES) { instanceData.instance['serverUrl'] = this.configService.get('SERVER').URL; - instanceData.instance['apikey'] = (await this.repository.auth.find(key)).apikey; + instanceData.instance['apikey'] = (await this.repository.auth.find(key))?.apikey; instanceData.instance['chatwoot'] = chatwoot; } @@ -134,7 +134,7 @@ export class WAMonitoringService { if (this.configService.get('AUTHENTICATION').EXPOSE_IN_FETCH_INSTANCES) { instanceData.instance['serverUrl'] = this.configService.get('SERVER').URL; - instanceData.instance['apikey'] = (await this.repository.auth.find(key)).apikey; + instanceData.instance['apikey'] = (await this.repository.auth.find(key))?.apikey; instanceData.instance['chatwoot'] = chatwoot; } From 907a0ee1354247bbaa8eff3a4b682dabd0bc6b24 Mon Sep 17 00:00:00 2001 From: Allyson de Paula Date: Sat, 12 Aug 2023 15:05:10 -0300 Subject: [PATCH 05/36] Proxy test --- package.json | 1 + src/whatsapp/services/whatsapp.service.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/package.json b/package.json index 54511a9c..384db0fd 100644 --- a/package.json +++ b/package.json @@ -73,6 +73,7 @@ "qrcode-terminal": "^0.12.0", "redis": "^4.6.5", "sharp": "^0.30.7", + "socks-proxy-agent": "^8.0.1", "uuid": "^9.0.0" }, "devDependencies": { diff --git a/src/whatsapp/services/whatsapp.service.ts b/src/whatsapp/services/whatsapp.service.ts index 6de7d847..8d439d45 100644 --- a/src/whatsapp/services/whatsapp.service.ts +++ b/src/whatsapp/services/whatsapp.service.ts @@ -121,6 +121,7 @@ import { RepositoryBroker } from '../repository/repository.manager'; import { Events, MessageSubtype, TypeMediaMessage, wa } from '../types/wa.types'; import { waMonitor } from '../whatsapp.module'; import { ChatwootService } from './chatwoot.service'; +import { SocksProxyAgent } from 'socks-proxy-agent'; export class WAStartupService { constructor( @@ -874,6 +875,7 @@ export class WAStartupService { return message; }, + // agent: new SocksProxyAgent('socks5://192.168.1.4:1080'), }; this.endSession = false; From a2cd57d9c66bcd706cfcb3f8a465829dad7afd52 Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Sat, 19 Aug 2023 10:42:41 -0300 Subject: [PATCH 06/36] feat: Inegration with Chama AI --- src/main.ts | 2 + src/validate/validate.schema.ts | 14 ++ .../controllers/chamaai.controller.ts | 29 +++ src/whatsapp/dto/chamaai.dto.ts | 7 + src/whatsapp/models/chamaai.model.ts | 24 +++ src/whatsapp/models/index.ts | 1 + src/whatsapp/repository/chamaai.repository.ts | 62 ++++++ src/whatsapp/repository/repository.manager.ts | 7 + src/whatsapp/routers/chamaai.router.ts | 52 +++++ src/whatsapp/routers/index.router.ts | 4 +- src/whatsapp/services/chamaai.service.ts | 196 ++++++++++++++++++ src/whatsapp/services/whatsapp.service.ts | 65 +++++- src/whatsapp/types/wa.types.ts | 8 + src/whatsapp/whatsapp.module.ts | 10 + 14 files changed, 477 insertions(+), 4 deletions(-) create mode 100644 src/whatsapp/controllers/chamaai.controller.ts create mode 100644 src/whatsapp/dto/chamaai.dto.ts create mode 100644 src/whatsapp/models/chamaai.model.ts create mode 100644 src/whatsapp/repository/chamaai.repository.ts create mode 100644 src/whatsapp/routers/chamaai.router.ts create mode 100644 src/whatsapp/services/chamaai.service.ts diff --git a/src/main.ts b/src/main.ts index 75dd95b3..2095bd4c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -47,6 +47,8 @@ function bootstrap() { app.set('views', join(ROOT_DIR, 'views')); app.use(express.static(join(ROOT_DIR, 'public'))); + app.use('/store', express.static(join(ROOT_DIR, 'store'))); + app.use('/', router); app.use( diff --git a/src/validate/validate.schema.ts b/src/validate/validate.schema.ts index bce05660..ebfed66a 100644 --- a/src/validate/validate.schema.ts +++ b/src/validate/validate.schema.ts @@ -1023,3 +1023,17 @@ export const proxySchema: JSONSchema7 = { required: ['enabled', 'proxy'], ...isNotEmpty('enabled', 'proxy'), }; + +export const chamaaiSchema: JSONSchema7 = { + $id: v4(), + type: 'object', + properties: { + enabled: { type: 'boolean', enum: [true, false] }, + url: { type: 'string' }, + token: { type: 'string' }, + waNumber: { type: 'string' }, + answerByAudio: { type: 'boolean', enum: [true, false] }, + }, + required: ['enabled', 'url', 'token', 'waNumber', 'answerByAudio'], + ...isNotEmpty('enabled', 'url', 'token', 'waNumber', 'answerByAudio'), +}; diff --git a/src/whatsapp/controllers/chamaai.controller.ts b/src/whatsapp/controllers/chamaai.controller.ts new file mode 100644 index 00000000..e9cafb50 --- /dev/null +++ b/src/whatsapp/controllers/chamaai.controller.ts @@ -0,0 +1,29 @@ +import { Logger } from '../../config/logger.config'; +import { ChamaaiDto } from '../dto/chamaai.dto'; +import { InstanceDto } from '../dto/instance.dto'; +import { ChamaaiService } from '../services/chamaai.service'; + +const logger = new Logger('ChamaaiController'); + +export class ChamaaiController { + constructor(private readonly chamaaiService: ChamaaiService) {} + + public async createChamaai(instance: InstanceDto, data: ChamaaiDto) { + logger.verbose('requested createChamaai from ' + instance.instanceName + ' instance'); + + if (!data.enabled) { + logger.verbose('chamaai disabled'); + data.url = ''; + data.token = ''; + data.waNumber = ''; + data.answerByAudio = false; + } + + return this.chamaaiService.create(instance, data); + } + + public async findChamaai(instance: InstanceDto) { + logger.verbose('requested findChamaai from ' + instance.instanceName + ' instance'); + return this.chamaaiService.find(instance); + } +} diff --git a/src/whatsapp/dto/chamaai.dto.ts b/src/whatsapp/dto/chamaai.dto.ts new file mode 100644 index 00000000..2c71a07d --- /dev/null +++ b/src/whatsapp/dto/chamaai.dto.ts @@ -0,0 +1,7 @@ +export class ChamaaiDto { + enabled: boolean; + url: string; + token: string; + waNumber: string; + answerByAudio: boolean; +} diff --git a/src/whatsapp/models/chamaai.model.ts b/src/whatsapp/models/chamaai.model.ts new file mode 100644 index 00000000..d3d10aff --- /dev/null +++ b/src/whatsapp/models/chamaai.model.ts @@ -0,0 +1,24 @@ +import { Schema } from 'mongoose'; + +import { dbserver } from '../../libs/db.connect'; + +export class ChamaaiRaw { + _id?: string; + enabled?: boolean; + url?: string; + token?: string; + waNumber?: string; + answerByAudio?: boolean; +} + +const chamaaiSchema = new Schema({ + _id: { type: String, _id: true }, + enabled: { type: Boolean, required: true }, + url: { type: String, required: true }, + token: { type: String, required: true }, + waNumber: { type: String, required: true }, + answerByAudio: { type: Boolean, required: true }, +}); + +export const ChamaaiModel = dbserver?.model(ChamaaiRaw.name, chamaaiSchema, 'chamaai'); +export type IChamaaiModel = typeof ChamaaiModel; diff --git a/src/whatsapp/models/index.ts b/src/whatsapp/models/index.ts index 5d71911d..e79093f9 100644 --- a/src/whatsapp/models/index.ts +++ b/src/whatsapp/models/index.ts @@ -1,4 +1,5 @@ export * from './auth.model'; +export * from './chamaai.model'; export * from './chat.model'; export * from './chatwoot.model'; export * from './contact.model'; diff --git a/src/whatsapp/repository/chamaai.repository.ts b/src/whatsapp/repository/chamaai.repository.ts new file mode 100644 index 00000000..a2009f41 --- /dev/null +++ b/src/whatsapp/repository/chamaai.repository.ts @@ -0,0 +1,62 @@ +import { readFileSync } from 'fs'; +import { join } from 'path'; + +import { ConfigService } from '../../config/env.config'; +import { Logger } from '../../config/logger.config'; +import { IInsert, Repository } from '../abstract/abstract.repository'; +import { ChamaaiRaw, IChamaaiModel } from '../models'; + +export class ChamaaiRepository extends Repository { + constructor(private readonly chamaaiModel: IChamaaiModel, private readonly configService: ConfigService) { + super(configService); + } + + private readonly logger = new Logger('ChamaaiRepository'); + + public async create(data: ChamaaiRaw, instance: string): Promise { + try { + this.logger.verbose('creating chamaai'); + if (this.dbSettings.ENABLED) { + this.logger.verbose('saving chamaai to db'); + const insert = await this.chamaaiModel.replaceOne({ _id: instance }, { ...data }, { upsert: true }); + + this.logger.verbose('chamaai saved to db: ' + insert.modifiedCount + ' chamaai'); + return { insertCount: insert.modifiedCount }; + } + + this.logger.verbose('saving chamaai to store'); + + this.writeStore({ + path: join(this.storePath, 'chamaai'), + fileName: instance, + data, + }); + + this.logger.verbose('chamaai saved to store in path: ' + join(this.storePath, 'chamaai') + '/' + instance); + + this.logger.verbose('chamaai created'); + return { insertCount: 1 }; + } catch (error) { + return error; + } + } + + public async find(instance: string): Promise { + try { + this.logger.verbose('finding chamaai'); + if (this.dbSettings.ENABLED) { + this.logger.verbose('finding chamaai in db'); + return await this.chamaaiModel.findOne({ _id: instance }); + } + + this.logger.verbose('finding chamaai in store'); + return JSON.parse( + readFileSync(join(this.storePath, 'chamaai', instance + '.json'), { + encoding: 'utf-8', + }), + ) as ChamaaiRaw; + } catch (error) { + return {}; + } + } +} diff --git a/src/whatsapp/repository/repository.manager.ts b/src/whatsapp/repository/repository.manager.ts index 2cd4931e..1c16fdef 100644 --- a/src/whatsapp/repository/repository.manager.ts +++ b/src/whatsapp/repository/repository.manager.ts @@ -5,6 +5,7 @@ import { join } from 'path'; import { Auth, ConfigService, Database } from '../../config/env.config'; import { Logger } from '../../config/logger.config'; import { AuthRepository } from './auth.repository'; +import { ChamaaiRepository } from './chamaai.repository'; import { ChatRepository } from './chat.repository'; import { ChatwootRepository } from './chatwoot.repository'; import { ContactRepository } from './contact.repository'; @@ -29,6 +30,7 @@ export class RepositoryBroker { public readonly rabbitmq: RabbitmqRepository, public readonly typebot: TypebotRepository, public readonly proxy: ProxyRepository, + public readonly chamaai: ChamaaiRepository, public readonly auth: AuthRepository, private configService: ConfigService, dbServer?: MongoClient, @@ -63,6 +65,7 @@ export class RepositoryBroker { const rabbitmqDir = join(storePath, 'rabbitmq'); const typebotDir = join(storePath, 'typebot'); const proxyDir = join(storePath, 'proxy'); + const chamaaiDir = join(storePath, 'chamaai'); const tempDir = join(storePath, 'temp'); if (!fs.existsSync(authDir)) { @@ -113,6 +116,10 @@ export class RepositoryBroker { this.logger.verbose('creating proxy dir: ' + proxyDir); fs.mkdirSync(proxyDir, { recursive: true }); } + if (!fs.existsSync(chamaaiDir)) { + this.logger.verbose('creating chamaai dir: ' + chamaaiDir); + fs.mkdirSync(chamaaiDir, { recursive: true }); + } if (!fs.existsSync(tempDir)) { this.logger.verbose('creating temp dir: ' + tempDir); fs.mkdirSync(tempDir, { recursive: true }); diff --git a/src/whatsapp/routers/chamaai.router.ts b/src/whatsapp/routers/chamaai.router.ts new file mode 100644 index 00000000..e8021306 --- /dev/null +++ b/src/whatsapp/routers/chamaai.router.ts @@ -0,0 +1,52 @@ +import { RequestHandler, Router } from 'express'; + +import { Logger } from '../../config/logger.config'; +import { chamaaiSchema, instanceNameSchema } from '../../validate/validate.schema'; +import { RouterBroker } from '../abstract/abstract.router'; +import { ChamaaiDto } from '../dto/chamaai.dto'; +import { InstanceDto } from '../dto/instance.dto'; +import { chamaaiController } from '../whatsapp.module'; +import { HttpStatus } from './index.router'; + +const logger = new Logger('ChamaaiRouter'); + +export class ChamaaiRouter extends RouterBroker { + constructor(...guards: RequestHandler[]) { + super(); + this.router + .post(this.routerPath('set'), ...guards, async (req, res) => { + logger.verbose('request received in setChamaai'); + logger.verbose('request body: '); + logger.verbose(req.body); + + logger.verbose('request query: '); + logger.verbose(req.query); + const response = await this.dataValidate({ + request: req, + schema: chamaaiSchema, + ClassRef: ChamaaiDto, + execute: (instance, data) => chamaaiController.createChamaai(instance, data), + }); + + res.status(HttpStatus.CREATED).json(response); + }) + .get(this.routerPath('find'), ...guards, async (req, res) => { + logger.verbose('request received in findChamaai'); + logger.verbose('request body: '); + logger.verbose(req.body); + + logger.verbose('request query: '); + logger.verbose(req.query); + const response = await this.dataValidate({ + request: req, + schema: instanceNameSchema, + ClassRef: InstanceDto, + execute: (instance) => chamaaiController.findChamaai(instance), + }); + + res.status(HttpStatus.OK).json(response); + }); + } + + public readonly router = Router(); +} diff --git a/src/whatsapp/routers/index.router.ts b/src/whatsapp/routers/index.router.ts index a84e815d..f67c936a 100644 --- a/src/whatsapp/routers/index.router.ts +++ b/src/whatsapp/routers/index.router.ts @@ -4,6 +4,7 @@ import fs from 'fs'; import { Auth, configService } from '../../config/env.config'; import { authGuard } from '../guards/auth.guard'; import { instanceExistsGuard, instanceLoggedGuard } from '../guards/instance.guard'; +import { ChamaaiRouter } from './chamaai.router'; import { ChatRouter } from './chat.router'; import { ChatwootRouter } from './chatwoot.router'; import { GroupRouter } from './group.router'; @@ -52,6 +53,7 @@ router .use('/websocket', new WebsocketRouter(...guards).router) .use('/rabbitmq', new RabbitmqRouter(...guards).router) .use('/typebot', new TypebotRouter(...guards).router) - .use('/proxy', new ProxyRouter(...guards).router); + .use('/proxy', new ProxyRouter(...guards).router) + .use('/chamaai', new ChamaaiRouter(...guards).router); export { HttpStatus, router }; diff --git a/src/whatsapp/services/chamaai.service.ts b/src/whatsapp/services/chamaai.service.ts new file mode 100644 index 00000000..9e42ffca --- /dev/null +++ b/src/whatsapp/services/chamaai.service.ts @@ -0,0 +1,196 @@ +import axios from 'axios'; +import { writeFileSync } from 'fs'; +import path from 'path'; + +import { ConfigService, HttpServer } from '../../config/env.config'; +import { Logger } from '../../config/logger.config'; +import { ChamaaiDto } from '../dto/chamaai.dto'; +import { InstanceDto } from '../dto/instance.dto'; +import { ChamaaiRaw } from '../models'; +import { WAMonitoringService } from './monitor.service'; + +export class ChamaaiService { + constructor(private readonly waMonitor: WAMonitoringService, private readonly configService: ConfigService) {} + + private readonly logger = new Logger(ChamaaiService.name); + + public create(instance: InstanceDto, data: ChamaaiDto) { + this.logger.verbose('create chamaai: ' + instance.instanceName); + this.waMonitor.waInstances[instance.instanceName].setChamaai(data); + + return { chamaai: { ...instance, chamaai: data } }; + } + + public async find(instance: InstanceDto): Promise { + try { + this.logger.verbose('find chamaai: ' + instance.instanceName); + const result = await this.waMonitor.waInstances[instance.instanceName].findChamaai(); + + if (Object.keys(result).length === 0) { + throw new Error('Chamaai not found'); + } + + return result; + } catch (error) { + return { enabled: false, url: '', token: '', waNumber: '', answerByAudio: false }; + } + } + + private getTypeMessage(msg: any) { + this.logger.verbose('get type message'); + + const types = { + conversation: msg.conversation, + extendedTextMessage: msg.extendedTextMessage?.text, + }; + + this.logger.verbose('type message: ' + types); + + return types; + } + + private getMessageContent(types: any) { + this.logger.verbose('get message content'); + const typeKey = Object.keys(types).find((key) => types[key] !== undefined); + + const result = typeKey ? types[typeKey] : undefined; + + this.logger.verbose('message content: ' + result); + + return result; + } + + private getConversationMessage(msg: any) { + this.logger.verbose('get conversation message'); + + const types = this.getTypeMessage(msg); + + const messageContent = this.getMessageContent(types); + + this.logger.verbose('conversation message: ' + messageContent); + + return messageContent; + } + + private calculateTypingTime(text: string) { + const wordsPerMinute = 100; + + const wordCount = text.split(' ').length; + const typingTimeInMinutes = wordCount / wordsPerMinute; + const typingTimeInMilliseconds = typingTimeInMinutes * 60; + return typingTimeInMilliseconds; + } + + private convertToMilliseconds(count: number) { + const averageCharactersPerSecond = 10; + const characterCount = count; + const speakingTimeInSeconds = characterCount / averageCharactersPerSecond; + return speakingTimeInSeconds; + } + + public async sendChamaai(instance: InstanceDto, remoteJid: string, msg: any) { + const content = this.getConversationMessage(msg.message); + const msgType = msg.messageType; + const find = await this.find(instance); + const url = find.url; + const token = find.token; + const waNumber = find.waNumber; + const answerByAudio = find.answerByAudio; + + if (!content && msgType !== 'audioMessage') { + return; + } + + let data; + let endpoint; + + if (msgType === 'audioMessage') { + const downloadBase64 = await this.waMonitor.waInstances[instance.instanceName].getBase64FromMediaMessage({ + message: { + ...msg, + }, + }); + + const random = Math.random().toString(36).substring(7); + const nameFile = `${random}.ogg`; + + const fileData = Buffer.from(downloadBase64.base64, 'base64'); + + const fileName = `${path.join( + this.waMonitor.waInstances[instance.instanceName].storePath, + 'temp', + `${nameFile}`, + )}`; + + writeFileSync(fileName, fileData, 'utf8'); + + const urlServer = this.configService.get('SERVER').URL; + + const url = `${urlServer}/store/temp/${nameFile}`; + + data = { + waNumber: waNumber, + audioUrl: url, + queryNumber: remoteJid.split('@')[0], + answerByAudio: answerByAudio, + }; + endpoint = 'processMessageAudio'; + } else { + data = { + waNumber: waNumber, + question: content, + queryNumber: remoteJid.split('@')[0], + answerByAudio: answerByAudio, + }; + endpoint = 'processMessageText'; + } + + const request = await axios.post(`${url}/${endpoint}`, data, { + headers: { + Authorization: `${token}`, + }, + }); + + console.log(request.data); + + const answer = request.data?.answer; + + const type = request.data?.type; + + const characterCount = request.data?.characterCount; + + if (answer) { + if (type === 'text') { + this.waMonitor.waInstances[instance.instanceName].textMessage({ + number: remoteJid.split('@')[0], + options: { + delay: this.calculateTypingTime(answer) * 1000 || 1000, + presence: 'composing', + linkPreview: false, + quoted: { + key: msg.key, + message: msg.message, + }, + }, + textMessage: { + text: answer, + }, + }); + } + + if (type === 'audio') { + this.waMonitor.waInstances[instance.instanceName].audioWhatsapp({ + number: remoteJid.split('@')[0], + options: { + delay: characterCount ? this.convertToMilliseconds(characterCount) * 1000 || 1000 : 1000, + presence: 'recording', + encoding: true, + }, + audioMessage: { + audio: answer, + }, + }); + } + } + } +} diff --git a/src/whatsapp/services/whatsapp.service.ts b/src/whatsapp/services/whatsapp.service.ts index d11946ee..445069a5 100644 --- a/src/whatsapp/services/whatsapp.service.ts +++ b/src/whatsapp/services/whatsapp.service.ts @@ -113,7 +113,7 @@ import { SendTextDto, StatusMessage, } from '../dto/sendMessage.dto'; -import { ProxyRaw, RabbitmqRaw, SettingsRaw, TypebotRaw } from '../models'; +import { ChamaaiRaw, ProxyRaw, RabbitmqRaw, SettingsRaw, TypebotRaw } from '../models'; import { ChatRaw } from '../models/chat.model'; import { ChatwootRaw } from '../models/chatwoot.model'; import { ContactRaw } from '../models/contact.model'; @@ -126,6 +126,7 @@ import { MessageUpQuery } from '../repository/messageUp.repository'; import { RepositoryBroker } from '../repository/repository.manager'; import { Events, MessageSubtype, TypeMediaMessage, wa } from '../types/wa.types'; import { waMonitor } from '../whatsapp.module'; +import { ChamaaiService } from './chamaai.service'; import { ChatwootService } from './chatwoot.service'; import { TypebotService } from './typebot.service'; @@ -151,6 +152,7 @@ export class WAStartupService { private readonly localRabbitmq: wa.LocalRabbitmq = {}; public readonly localTypebot: wa.LocalTypebot = {}; private readonly localProxy: wa.LocalProxy = {}; + private readonly localChamaai: wa.LocalChamaai = {}; public stateConnection: wa.StateConnection = { state: 'close' }; public readonly storePath = join(ROOT_DIR, 'store'); private readonly msgRetryCounterCache: CacheStore = new NodeCache(); @@ -164,6 +166,8 @@ export class WAStartupService { private typebotService = new TypebotService(waMonitor); + private chamaaiService = new ChamaaiService(waMonitor, this.configService); + public set instanceName(name: string) { this.logger.verbose(`Initializing instance '${name}'`); if (!name) { @@ -579,6 +583,52 @@ export class WAStartupService { return data; } + private async loadChamaai() { + this.logger.verbose('Loading chamaai'); + const data = await this.repository.chamaai.find(this.instanceName); + + this.localChamaai.enabled = data?.enabled; + this.logger.verbose(`Chamaai enabled: ${this.localChamaai.enabled}`); + + this.localChamaai.url = data?.url; + this.logger.verbose(`Chamaai url: ${this.localChamaai.url}`); + + this.localChamaai.token = data?.token; + this.logger.verbose(`Chamaai token: ${this.localChamaai.token}`); + + this.localChamaai.waNumber = data?.waNumber; + this.logger.verbose(`Chamaai waNumber: ${this.localChamaai.waNumber}`); + + this.localChamaai.answerByAudio = data?.answerByAudio; + this.logger.verbose(`Chamaai answerByAudio: ${this.localChamaai.answerByAudio}`); + + this.logger.verbose('Chamaai loaded'); + } + + public async setChamaai(data: ChamaaiRaw) { + this.logger.verbose('Setting chamaai'); + await this.repository.chamaai.create(data, this.instanceName); + this.logger.verbose(`Chamaai url: ${data.url}`); + this.logger.verbose(`Chamaai token: ${data.token}`); + this.logger.verbose(`Chamaai waNumber: ${data.waNumber}`); + this.logger.verbose(`Chamaai answerByAudio: ${data.answerByAudio}`); + + Object.assign(this.localChamaai, data); + this.logger.verbose('Chamaai set'); + } + + public async findChamaai() { + this.logger.verbose('Finding chamaai'); + const data = await this.repository.chamaai.find(this.instanceName); + + if (!data) { + this.logger.verbose('Chamaai not found'); + throw new NotFoundException('Chamaai not found'); + } + + return data; + } + public async sendDataWebhook(event: Events, data: T, local = true) { const webhookGlobal = this.configService.get('WEBHOOK'); const webhookLocal = this.localWebhook.events; @@ -1065,6 +1115,7 @@ export class WAStartupService { this.loadRabbitmq(); this.loadTypebot(); this.loadProxy(); + this.loadChamaai(); this.instance.authState = await this.defineAuthState(); @@ -1383,7 +1434,7 @@ export class WAStartupService { ); } - if (this.localTypebot.enabled && messageRaw.key.remoteJid.includes('@s.whatsapp.net')) { + if (this.localTypebot.enabled && messageRaw.key.fromMe === false) { await this.typebotService.sendTypebot( { instanceName: this.instance.name }, messageRaw.key.remoteJid, @@ -1391,6 +1442,14 @@ export class WAStartupService { ); } + if (this.localChamaai.enabled && messageRaw.key.fromMe === false) { + await this.chamaaiService.sendChamaai( + { instanceName: this.instance.name }, + messageRaw.key.remoteJid, + messageRaw, + ); + } + this.logger.verbose('Inserting message in database'); await this.repository.message.insert([messageRaw], this.instance.name, database.SAVE_DATA.NEW_MESSAGE); @@ -2315,7 +2374,7 @@ export class WAStartupService { return await this.sendMessageWithTyping(data.number, { ...generate.message }, data?.options); } - private async processAudio(audio: string, number: string) { + public async processAudio(audio: string, number: string) { this.logger.verbose('Processing audio'); let tempAudioPath: string; let outputAudio: string; diff --git a/src/whatsapp/types/wa.types.ts b/src/whatsapp/types/wa.types.ts index 893b5f87..72718b65 100644 --- a/src/whatsapp/types/wa.types.ts +++ b/src/whatsapp/types/wa.types.ts @@ -102,6 +102,14 @@ export declare namespace wa { proxy?: string; }; + export type LocalChamaai = { + enabled?: boolean; + url?: string; + token?: string; + waNumber?: string; + answerByAudio?: boolean; + }; + export type StateConnection = { instance?: string; state?: WAConnectionState | 'refused'; diff --git a/src/whatsapp/whatsapp.module.ts b/src/whatsapp/whatsapp.module.ts index d8ed5a62..a37e98ef 100644 --- a/src/whatsapp/whatsapp.module.ts +++ b/src/whatsapp/whatsapp.module.ts @@ -3,6 +3,7 @@ import { eventEmitter } from '../config/event.config'; import { Logger } from '../config/logger.config'; import { dbserver } from '../libs/db.connect'; import { RedisCache } from '../libs/redis.client'; +import { ChamaaiController } from './controllers/chamaai.controller'; import { ChatController } from './controllers/chat.controller'; import { ChatwootController } from './controllers/chatwoot.controller'; import { GroupController } from './controllers/group.controller'; @@ -17,6 +18,7 @@ import { WebhookController } from './controllers/webhook.controller'; import { WebsocketController } from './controllers/websocket.controller'; import { AuthModel, + ChamaaiModel, ChatModel, ChatwootModel, ContactModel, @@ -30,6 +32,7 @@ import { WebsocketModel, } from './models'; import { AuthRepository } from './repository/auth.repository'; +import { ChamaaiRepository } from './repository/chamaai.repository'; import { ChatRepository } from './repository/chat.repository'; import { ChatwootRepository } from './repository/chatwoot.repository'; import { ContactRepository } from './repository/contact.repository'; @@ -43,6 +46,7 @@ import { TypebotRepository } from './repository/typebot.repository'; import { WebhookRepository } from './repository/webhook.repository'; import { WebsocketRepository } from './repository/websocket.repository'; import { AuthService } from './services/auth.service'; +import { ChamaaiService } from './services/chamaai.service'; import { ChatwootService } from './services/chatwoot.service'; import { WAMonitoringService } from './services/monitor.service'; import { ProxyService } from './services/proxy.service'; @@ -62,6 +66,7 @@ const typebotRepository = new TypebotRepository(TypebotModel, configService); const webhookRepository = new WebhookRepository(WebhookModel, configService); const websocketRepository = new WebsocketRepository(WebsocketModel, configService); const proxyRepository = new ProxyRepository(ProxyModel, configService); +const chamaaiRepository = new ChamaaiRepository(ChamaaiModel, configService); const rabbitmqRepository = new RabbitmqRepository(RabbitmqModel, configService); const chatwootRepository = new ChatwootRepository(ChatwootModel, configService); const settingsRepository = new SettingsRepository(SettingsModel, configService); @@ -79,6 +84,7 @@ export const repository = new RepositoryBroker( rabbitmqRepository, typebotRepository, proxyRepository, + chamaaiRepository, authRepository, configService, dbserver?.getClient(), @@ -106,6 +112,10 @@ const proxyService = new ProxyService(waMonitor); export const proxyController = new ProxyController(proxyService); +const chamaaiService = new ChamaaiService(waMonitor, configService); + +export const chamaaiController = new ChamaaiController(chamaaiService); + const rabbitmqService = new RabbitmqService(waMonitor); export const rabbitmqController = new RabbitmqController(rabbitmqService); From b7218a05be69314f355577303f5c655a2982ce11 Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Sat, 19 Aug 2023 15:13:35 -0300 Subject: [PATCH 07/36] feat: Inegration with Chama AI --- src/whatsapp/services/chamaai.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/whatsapp/services/chamaai.service.ts b/src/whatsapp/services/chamaai.service.ts index 9e42ffca..ffa2d5a6 100644 --- a/src/whatsapp/services/chamaai.service.ts +++ b/src/whatsapp/services/chamaai.service.ts @@ -82,7 +82,7 @@ export class ChamaaiService { } private convertToMilliseconds(count: number) { - const averageCharactersPerSecond = 10; + const averageCharactersPerSecond = 15; const characterCount = count; const speakingTimeInSeconds = characterCount / averageCharactersPerSecond; return speakingTimeInSeconds; From 03637b2d4d8640733294be31b35eb6a396ee1195 Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Wed, 23 Aug 2023 07:27:40 -0300 Subject: [PATCH 08/36] Added listening_from_me option in Set Typebot --- CHANGELOG.md | 10 +++++ Dockerfile | 2 +- Extras/typebot/typebot-example.json | 2 +- package.json | 2 +- src/config/env.config.ts | 39 ++++++++++++------- src/validate/validate.schema.ts | 5 ++- .../controllers/instance.controller.ts | 4 ++ src/whatsapp/dto/instance.dto.ts | 1 + src/whatsapp/dto/typebot.dto.ts | 1 + src/whatsapp/models/typebot.model.ts | 2 + src/whatsapp/services/chamaai.service.ts | 2 - src/whatsapp/services/chatwoot.service.ts | 16 ++++---- src/whatsapp/services/monitor.service.ts | 5 +++ src/whatsapp/services/typebot.service.ts | 23 +++++++---- src/whatsapp/services/whatsapp.service.ts | 18 ++++++--- src/whatsapp/types/wa.types.ts | 1 + 16 files changed, 90 insertions(+), 43 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 059dd781..23129582 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +# 1.5.1 (homolog) + +### Feature + +* Added listening_from_me option in Set Typebot + +### Fixed + +* Fix looping connection messages in chatwoot + # 1.5.0 (2023-08-18 12:47) ### Feature diff --git a/Dockerfile b/Dockerfile index c9975782..3777091f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM node:16.18-alpine -LABEL version="1.5.0" description="Api to control whatsapp features through http requests." +LABEL version="1.5.1" description="Api to control whatsapp features through http requests." LABEL maintainer="Davidson Gomes" git="https://github.com/DavidsonGomes" LABEL contact="contato@agenciadgcode.com" diff --git a/Extras/typebot/typebot-example.json b/Extras/typebot/typebot-example.json index 93ababc4..c45cd509 100644 --- a/Extras/typebot/typebot-example.json +++ b/Extras/typebot/typebot-example.json @@ -1 +1 @@ -{"id":"l27ft2bq9a7tke15i7m64d9o","version":"3","createdAt":"2023-08-04T17:27:18.072Z","updatedAt":"2023-08-11T21:38:15.669Z","icon":null,"name":"[Dgcode] [whatsapp] Pesquisa Satisfacao","folderId":"cll1fzkfy0008pa65kgz3tm86","groups":[{"id":"c76ucoughhenpernmadu7ibg","title":"Start","blocks":[{"id":"qn40kjwtw1he3l1bujt3bnje","type":"start","label":"Start","groupId":"c76ucoughhenpernmadu7ibg","outgoingEdgeId":"aovnigvk665gzhyzg7bxhvn0"}],"graphCoordinates":{"x":-126.43,"y":220.29}},{"id":"nog2woqmvhssnnjlcpwd41k5","title":"Apresentação","blocks":[{"id":"potdr8jwrn6mnkjipynqjmhh","type":"Set variable","groupId":"nog2woqmvhssnnjlcpwd41k5","options":{"type":"Random ID","variableId":"vsu5or5sxes9lyuhsgcl3cuyd"}},{"id":"jp1v0u6lucs72qn8h2y0krll","type":"Google Sheets","groupId":"nog2woqmvhssnnjlcpwd41k5","options":{"action":"Insert a row","sheetId":"0","cellsToInsert":[{"id":"e7h6q8pa9q9p2xv4owpfkwa4","value":"{{ID}}","column":"ID"}],"credentialsId":"clkvo2r8h0003mk664r70mype","spreadsheetId":"1qFqRjMIJXc6BLoJSqrpIw-aF3pVjVav64lQo-SBmoBs"}},{"id":"mcpyoq8x28bnwp23g7h1dbc1","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Olá! Bem-vindo(a) à nossa "},{"bold":true,"text":"pesquisa de satisfação"},{"text":"."}]}]},"groupId":"nog2woqmvhssnnjlcpwd41k5"},{"id":"o0731ch0epj2vm2c5aoxyvw1","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Meu nome é "},{"bold":true,"text":"🤖 Mike"},{"text":", estou aqui para ouvir sua opinião e experiência com nossos serviços."}]}]},"groupId":"nog2woqmvhssnnjlcpwd41k5"},{"id":"hgqbj5kmosz64cb435xqh0am","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Sua opinião é fundamental para nos ajudar a melhorar!"}]}]},"groupId":"nog2woqmvhssnnjlcpwd41k5"},{"id":"cbvgdo0jknjyzmvwe6o614ni","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Vamos começar?"}]}]},"groupId":"nog2woqmvhssnnjlcpwd41k5"},{"id":"nmhkn4jod3evk08tbq5vw3s3","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Qual o seu nome?"}]}]},"groupId":"nog2woqmvhssnnjlcpwd41k5"},{"id":"o8ijci5gdfsp6fpv07kwh8br","type":"text input","groupId":"nog2woqmvhssnnjlcpwd41k5","options":{"isLong":false,"labels":{"button":"Enviar","placeholder":"Digite o seu nome"},"variableId":"vo40px5r6wg9vhs9fixd45kzn"}},{"id":"etbdi8paer56f82p6xc379um","type":"Google Sheets","groupId":"nog2woqmvhssnnjlcpwd41k5","options":{"action":"Update a row","filter":{"comparisons":[{"id":"w2o1z5ire06bqcg8b53kzct8","value":"{{ID}}","column":"ID","comparisonOperator":"Equal to"}],"logicalOperator":"AND"},"sheetId":"0","cellsToUpsert":[{"id":"cn2vxka7p4a590r61ia7kwzg","value":"{{name}}","column":"Nome"}],"credentialsId":"clkvo2r8h0003mk664r70mype","spreadsheetId":"1qFqRjMIJXc6BLoJSqrpIw-aF3pVjVav64lQo-SBmoBs"},"outgoingEdgeId":"hqxrso204tkg5p71o96hduaz"}],"graphCoordinates":{"x":771.26,"y":213}},{"id":"j5co2kcotxafuxhzlj7u0qnn","title":"Qual seu email?","blocks":[{"id":"he1367t9ssao735kidd86mna","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Muito bem {{name}}, agora me informe seu endereço de email?"}]}]},"groupId":"j5co2kcotxafuxhzlj7u0qnn"},{"id":"qb8nwfs52g168tmnvp257b44","type":"email input","groupId":"j5co2kcotxafuxhzlj7u0qnn","options":{"labels":{"button":"Enviar","placeholder":"Digite o seu email"},"variableId":"vr75l1drc5uoxvisje0hio5ph","retryMessageContent":"Email incorreto!"}},{"id":"m0tqedan6l1j5jr6fb9wfdm7","type":"Google Sheets","groupId":"j5co2kcotxafuxhzlj7u0qnn","options":{"action":"Update a row","filter":{"comparisons":[{"id":"w2o1z5ire06bqcg8b53kzct8","value":"{{ID}}","column":"ID","comparisonOperator":"Equal to"}],"logicalOperator":"AND"},"sheetId":"0","cellsToUpsert":[{"id":"cn2vxka7p4a590r61ia7kwzg","value":"{{email}}","column":"Email"}],"credentialsId":"clkvo2r8h0003mk664r70mype","spreadsheetId":"1qFqRjMIJXc6BLoJSqrpIw-aF3pVjVav64lQo-SBmoBs"},"outgoingEdgeId":"ghbmp8sjr88b30phgi89qkjl"}],"graphCoordinates":{"x":1236.92,"y":204.84}},{"id":"wtd0o382phaji7i7u2n8pody","title":"Pergunta 1","blocks":[{"id":"zr69lw3bcmmkgahqq8og7shw","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Em uma escala de 0 a 10, qual é o seu nível de satisfação geral com os serviços que nossa empresa fornece?"}]}]},"groupId":"wtd0o382phaji7i7u2n8pody"},{"id":"ku0zpu43cbbnd7y0ai71ptde","type":"rating input","groupId":"wtd0o382phaji7i7u2n8pody","options":{"labels":{"button":"Send"},"length":10,"buttonType":"Numbers","customIcon":{"isEnabled":false},"variableId":"vbfl3sqze2wzicn9l1n9ckjs4"}},{"id":"l2s8irgrtrxfwy97v2gclajy","type":"Google Sheets","groupId":"wtd0o382phaji7i7u2n8pody","options":{"action":"Update a row","filter":{"comparisons":[{"id":"w2o1z5ire06bqcg8b53kzct8","value":"{{ID}}","column":"ID","comparisonOperator":"Equal to"}],"logicalOperator":"AND"},"sheetId":"0","cellsToUpsert":[{"id":"cn2vxka7p4a590r61ia7kwzg","value":"{{question1}}","column":"Pergunta 1"}],"credentialsId":"clkvo2r8h0003mk664r70mype","spreadsheetId":"1qFqRjMIJXc6BLoJSqrpIw-aF3pVjVav64lQo-SBmoBs"},"outgoingEdgeId":"d2m2uo2gvnqzqw7m3hqp78zk"}],"graphCoordinates":{"x":1692.4,"y":194.19}},{"id":"ylerbfc1l2o62j68g8ghegxt","title":"Pergunta 2","blocks":[{"id":"l19jgtpln9al473dudr0gbzn","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Em uma escala de 0 a 10, em que medida nossa empresa atendeu às suas expectativas em termos de qualidade do serviço prestado?"}]}]},"groupId":"ylerbfc1l2o62j68g8ghegxt"},{"id":"kfxuc6p58cdzy1xcyp4i4ra7","type":"rating input","groupId":"ylerbfc1l2o62j68g8ghegxt","options":{"labels":{"button":"Send"},"length":10,"buttonType":"Numbers","customIcon":{"isEnabled":false},"variableId":"vkgl2bfdbyms1dyc1s6efx678"}},{"id":"v6vdddy19ncfhrkeettwr123","type":"Google Sheets","groupId":"ylerbfc1l2o62j68g8ghegxt","options":{"action":"Update a row","filter":{"comparisons":[{"id":"w2o1z5ire06bqcg8b53kzct8","value":"{{ID}}","column":"ID","comparisonOperator":"Equal to"}],"logicalOperator":"AND"},"sheetId":"0","cellsToUpsert":[{"id":"cn2vxka7p4a590r61ia7kwzg","value":"{{question2}}","column":"Pergunta 2"}],"credentialsId":"clkvo2r8h0003mk664r70mype","spreadsheetId":"1qFqRjMIJXc6BLoJSqrpIw-aF3pVjVav64lQo-SBmoBs"},"outgoingEdgeId":"oylxp0jgu571sjsgqevol5yi"}],"graphCoordinates":{"x":2156.14,"y":190.76}},{"id":"lbieknd0qp42pogsby5l82ww","title":"Pergunta 3","blocks":[{"id":"y43s12dnoxh772c9o3pmnhxf","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Você teve alguma dificuldade em se comunicar com nossa equipe de suporte ao cliente?"}]},{"type":"p","children":[{"text":""}]},{"type":"p","children":[{"text":"1 - Sim"}]},{"type":"p","children":[{"text":"2 - Não"}]}]},"groupId":"lbieknd0qp42pogsby5l82ww"},{"id":"fb6ckchqp8vx9ypig07we6q4","type":"text input","groupId":"lbieknd0qp42pogsby5l82ww","options":{"isLong":false,"labels":{"button":"Enviar","placeholder":"Responda com uma das opções"},"variableId":"vzhsu0uc4suqoz38kv3q891ma"}},{"id":"rj84ja6d3mgouspwhrkeadz7","type":"Google Sheets","groupId":"lbieknd0qp42pogsby5l82ww","options":{"action":"Update a row","filter":{"comparisons":[{"id":"w2o1z5ire06bqcg8b53kzct8","value":"{{ID}}","column":"ID","comparisonOperator":"Equal to"}],"logicalOperator":"AND"},"sheetId":"0","cellsToUpsert":[{"id":"cn2vxka7p4a590r61ia7kwzg","value":"{{question3}}","column":"Pergunta 3"}],"credentialsId":"clkvo2r8h0003mk664r70mype","spreadsheetId":"1qFqRjMIJXc6BLoJSqrpIw-aF3pVjVav64lQo-SBmoBs"}},{"id":"b538q1mt18l6oddo397nh1m4","type":"Condition","items":[{"id":"dwhc3ptqvktlgfvl17xg79s5","type":1,"blockId":"b538q1mt18l6oddo397nh1m4","content":{"comparisons":[{"id":"rln6ido55pzqyr9ihqp3r0oe","value":"^([Ss][IiÍí][Mm]|1)$","variableId":"vzhsu0uc4suqoz38kv3q891ma","comparisonOperator":"Matches regex"}],"logicalOperator":"OR"},"outgoingEdgeId":"w6ao5pi6wt0966tobkned56m"},{"id":"cod3tkt16ry8ixm5u7rwxzm9","type":1,"blockId":"b538q1mt18l6oddo397nh1m4","content":{"comparisons":[{"id":"n0dm7n4vyowa9bftkmu0ypud","value":"^([Nn][AaÃã][Oo]|2)$","variableId":"vzhsu0uc4suqoz38kv3q891ma","comparisonOperator":"Matches regex"}],"logicalOperator":"OR"},"outgoingEdgeId":"wlfmh2g3j5avj75sa9q6rsab"}],"groupId":"lbieknd0qp42pogsby5l82ww","outgoingEdgeId":"ehcwqdrkc4025pui2y1s9390"}],"graphCoordinates":{"x":2605.34,"y":189.93}},{"id":"qzhp25b9f2lvt4yeniqvjkav","title":"Pergunta 4","blocks":[{"id":"pos7njae2r35r29kcbyxtz2j","type":"text","content":{"richText":[{"type":"p","children":[{"text":"{{name}}, por favor, descreva o problema para que possamos melhorar."}]}]},"groupId":"qzhp25b9f2lvt4yeniqvjkav"},{"id":"ce2eodve0e4f2rubk4wv5jf1","type":"text input","groupId":"qzhp25b9f2lvt4yeniqvjkav","options":{"isLong":false,"labels":{"button":"Enviar","placeholder":"Descreva o problema"},"variableId":"vd6fm2i9shcdjz8bhhwbsdh6t"}},{"id":"e75om4ccho8uob245t2wethw","type":"Google Sheets","groupId":"qzhp25b9f2lvt4yeniqvjkav","options":{"action":"Update a row","filter":{"comparisons":[{"id":"w2o1z5ire06bqcg8b53kzct8","value":"{{ID}}","column":"ID","comparisonOperator":"Equal to"}],"logicalOperator":"AND"},"sheetId":"0","cellsToUpsert":[{"id":"cn2vxka7p4a590r61ia7kwzg","value":"{{question4}}","column":"Pergunta 4"}],"credentialsId":"clkvo2r8h0003mk664r70mype","spreadsheetId":"1qFqRjMIJXc6BLoJSqrpIw-aF3pVjVav64lQo-SBmoBs"},"outgoingEdgeId":"fe7xrdj315gebr22f0eylupl"}],"graphCoordinates":{"x":3041.23,"y":187.11}},{"id":"c8kh8eee1m3wyy372v4n6m1i","title":"Pergunta 5","blocks":[{"id":"txqi87lwinpa0p5of0xmqxu6","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Em uma escala de 0 a 10, como você avalia a capacidade da nossa empresa de cumprir os prazos acordados?"}]}]},"groupId":"c8kh8eee1m3wyy372v4n6m1i"},{"id":"mg2tmcmwnx3tap0hs4b7e0la","type":"rating input","groupId":"c8kh8eee1m3wyy372v4n6m1i","options":{"labels":{"button":"Enviar"},"length":10,"buttonType":"Numbers","customIcon":{"isEnabled":false},"variableId":"vz6lvahwo15dosvckdtkxduly"}},{"id":"cciytmy1bulw32j24ndbq39r","type":"Google Sheets","groupId":"c8kh8eee1m3wyy372v4n6m1i","options":{"action":"Update a row","filter":{"comparisons":[{"id":"w2o1z5ire06bqcg8b53kzct8","value":"{{ID}}","column":"ID","comparisonOperator":"Equal to"}],"logicalOperator":"AND"},"sheetId":"0","cellsToUpsert":[{"id":"cn2vxka7p4a590r61ia7kwzg","value":"{{question5}}","column":"Pergunta 5"}],"credentialsId":"clkvo2r8h0003mk664r70mype","spreadsheetId":"1qFqRjMIJXc6BLoJSqrpIw-aF3pVjVav64lQo-SBmoBs"},"outgoingEdgeId":"dlfg76etmcqs3sgxplnisbf1"}],"graphCoordinates":{"x":3501.8,"y":179.58}},{"id":"tn8bcyughy9dsxhmjngrosvj","title":"Pergunta 6","blocks":[{"id":"aema350m33n9dljopcsxn8q5","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Você recomendaria nossos serviços para outras pessoas ou empresas?"}]},{"type":"p","children":[{"text":""}]},{"type":"p","children":[{"text":"1 - Sim"}]},{"type":"p","children":[{"text":"2 - Não"}]}]},"groupId":"tn8bcyughy9dsxhmjngrosvj"},{"id":"wk4bkxbxcfu9skrzn8p8077u","type":"text input","groupId":"tn8bcyughy9dsxhmjngrosvj","options":{"isLong":false,"labels":{"button":"Enviar","placeholder":"Responda com uma das opções"},"variableId":"vndjnalmnb3ez9beeon5tzrgq"}},{"id":"uucahcq4zwadysop7n9ktbms","type":"Google Sheets","groupId":"tn8bcyughy9dsxhmjngrosvj","options":{"action":"Update a row","filter":{"comparisons":[{"id":"w2o1z5ire06bqcg8b53kzct8","value":"{{ID}}","column":"ID","comparisonOperator":"Equal to"}],"logicalOperator":"AND"},"sheetId":"0","cellsToUpsert":[{"id":"cn2vxka7p4a590r61ia7kwzg","value":"{{question6}}","column":"Pergunta 6"}],"credentialsId":"clkvo2r8h0003mk664r70mype","spreadsheetId":"1qFqRjMIJXc6BLoJSqrpIw-aF3pVjVav64lQo-SBmoBs"}},{"id":"n3j2dxaalkljl020o0o61ef9","type":"Condition","items":[{"id":"ifhm8cj8lsulhrarnfda2oal","type":1,"blockId":"n3j2dxaalkljl020o0o61ef9","content":{"comparisons":[{"id":"rln6ido55pzqyr9ihqp3r0oe","value":"^([Ss][IiÍí][Mm]|1)$","variableId":"vndjnalmnb3ez9beeon5tzrgq","comparisonOperator":"Matches regex"}],"logicalOperator":"OR"},"outgoingEdgeId":"yu9762ttf5jn3bmhd6uzrsv8"},{"id":"gxp6j3ouga4r0t8364tn8axs","type":1,"blockId":"n3j2dxaalkljl020o0o61ef9","content":{"comparisons":[{"id":"n0dm7n4vyowa9bftkmu0ypud","value":"^([Nn][AaÃã][Oo]|2)$","variableId":"vndjnalmnb3ez9beeon5tzrgq","comparisonOperator":"Matches regex"}],"logicalOperator":"OR"},"outgoingEdgeId":"ji1y2o1hldhemto0ymwou09c"}],"groupId":"tn8bcyughy9dsxhmjngrosvj","outgoingEdgeId":"d3u83fikqplfy9ntva3sm7eg"}],"graphCoordinates":{"x":3926.41,"y":186.15}},{"id":"nzkhdw3hdv550aepsxvk2a0u","title":"Pergunta 7","blocks":[{"id":"io90onrpfrokejgkps94r3dj","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Que pena {{name}}, por gentileza, nos conte o motivo?"}]}]},"groupId":"nzkhdw3hdv550aepsxvk2a0u"},{"id":"dj7dbgyjqk0a5u3jn6kzykb2","type":"text input","groupId":"nzkhdw3hdv550aepsxvk2a0u","options":{"isLong":false,"labels":{"button":"Enviar","placeholder":"Digite o motivo"},"variableId":"vept0w6tr0w7eyyi52hgq1r3c"}},{"id":"i10wbfctp4dzroie3310rra0","type":"Google Sheets","groupId":"nzkhdw3hdv550aepsxvk2a0u","options":{"action":"Update a row","filter":{"comparisons":[{"id":"w2o1z5ire06bqcg8b53kzct8","value":"{{ID}}","column":"ID","comparisonOperator":"Equal to"}],"logicalOperator":"AND"},"sheetId":"0","cellsToUpsert":[{"id":"cn2vxka7p4a590r61ia7kwzg","value":"{{question7}}","column":"Pergunta 7"}],"credentialsId":"clkvo2r8h0003mk664r70mype","spreadsheetId":"1qFqRjMIJXc6BLoJSqrpIw-aF3pVjVav64lQo-SBmoBs"},"outgoingEdgeId":"vu3k1pxfilhmz59malpqvj1u"}],"graphCoordinates":{"x":4352.64,"y":194.04}},{"id":"jdz9w8vrz09vefk4wqrf0vwl","title":"Pergunta 8","blocks":[{"id":"hndzyb58fqxudykajr22skla","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Existe alguma sugestão que você gostaria de nos dar para melhorar nossos serviços?"}]},{"type":"p","children":[{"text":""}]},{"type":"p","children":[{"text":"1 - Sim"}]},{"type":"p","children":[{"text":"2 - Não"}]}]},"groupId":"jdz9w8vrz09vefk4wqrf0vwl"},{"id":"ol9l8fdb3q65auykrn383q6d","type":"text input","groupId":"jdz9w8vrz09vefk4wqrf0vwl","options":{"isLong":false,"labels":{"button":"Enviar","placeholder":"Responda com uma das opções"},"variableId":"vy5it60mewmth7mayzhlgmzf0"}},{"id":"qhxod01c7mdlfrxr5cy0xgoj","type":"Google Sheets","groupId":"jdz9w8vrz09vefk4wqrf0vwl","options":{"action":"Update a row","filter":{"comparisons":[{"id":"w2o1z5ire06bqcg8b53kzct8","value":"{{ID}}","column":"ID","comparisonOperator":"Equal to"}],"logicalOperator":"AND"},"sheetId":"0","cellsToUpsert":[{"id":"cn2vxka7p4a590r61ia7kwzg","value":"{{question8}}","column":"Pergunta 8"}],"credentialsId":"clkvo2r8h0003mk664r70mype","spreadsheetId":"1qFqRjMIJXc6BLoJSqrpIw-aF3pVjVav64lQo-SBmoBs"}},{"id":"zderh9hqjkpuz58p79szfa1i","type":"Condition","items":[{"id":"lur26nqa8dv7m4jmmljpyyf1","type":1,"blockId":"zderh9hqjkpuz58p79szfa1i","content":{"comparisons":[{"id":"rln6ido55pzqyr9ihqp3r0oe","value":"^([Ss][IiÍí][Mm]|1)$","variableId":"vy5it60mewmth7mayzhlgmzf0","comparisonOperator":"Matches regex"}],"logicalOperator":"OR"},"outgoingEdgeId":"x2fzu1uuukp9cgmdzecp7mgk"},{"id":"aoj7e49zimwxng4o7bd6u00s","type":1,"blockId":"zderh9hqjkpuz58p79szfa1i","content":{"comparisons":[{"id":"n0dm7n4vyowa9bftkmu0ypud","value":"^([Nn][AaÃã][Oo]|2)$","variableId":"vy5it60mewmth7mayzhlgmzf0","comparisonOperator":"Matches regex"}],"logicalOperator":"OR"},"outgoingEdgeId":"mb1fg83gijikrafud2ml6zbn"}],"groupId":"jdz9w8vrz09vefk4wqrf0vwl","outgoingEdgeId":"amyrx4i2rm3cjksym5zvwd50"}],"graphCoordinates":{"x":4768.69,"y":201.49}},{"id":"c4k1ftb4rbynkb01ulwuh4qh","title":"Pergunta 9","blocks":[{"id":"jqn5de3i29ygjyf6usbj117t","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Qual seria a sua sugestão?"}]}]},"groupId":"c4k1ftb4rbynkb01ulwuh4qh"},{"id":"wfucksh3yaeq21l7mnlnsx75","type":"text input","groupId":"c4k1ftb4rbynkb01ulwuh4qh","options":{"isLong":false,"labels":{"button":"Enviar","placeholder":"Deixe sua sugestão"},"variableId":"vhygxyvhu5l6r2uws1cbthmxm"}},{"id":"kt1w6r6mucelx2odhnka5td1","type":"Google Sheets","groupId":"c4k1ftb4rbynkb01ulwuh4qh","options":{"action":"Update a row","filter":{"comparisons":[{"id":"w2o1z5ire06bqcg8b53kzct8","value":"{{ID}}","column":"ID","comparisonOperator":"Equal to"}],"logicalOperator":"AND"},"sheetId":"0","cellsToUpsert":[{"id":"cn2vxka7p4a590r61ia7kwzg","value":"{{question9}}","column":"Pergunta 9"}],"credentialsId":"clkvo2r8h0003mk664r70mype","spreadsheetId":"1qFqRjMIJXc6BLoJSqrpIw-aF3pVjVav64lQo-SBmoBs"},"outgoingEdgeId":"imbs12h9gb2dpmrb19yvx71u"}],"graphCoordinates":{"x":5233.77,"y":205.27}},{"id":"vvyooiddvdbon0t21bvzdr7q","title":"Finalização","blocks":[{"id":"efk089lhks1ev4khy38caner","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Então {{name}}, agradecemos muito por dedicar um tempo para nos fornecer seu feedback."}]}]},"groupId":"vvyooiddvdbon0t21bvzdr7q"},{"id":"pvu3g8vpqdi3aecu2u0in2d0","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Sua opinião é muito importante para nós, e trabalharemos arduamente para melhorar ainda mais nossos serviços!"}]}]},"groupId":"vvyooiddvdbon0t21bvzdr7q"},{"id":"wqe9r1ivjf0ikubqichufzsg","type":"Webhook","groupId":"vvyooiddvdbon0t21bvzdr7q","options":{"isCustomBody":true,"isAdvancedConfig":true,"variablesForTest":[],"responseVariableMapping":[]},"webhookId":"i3g1959ev6fl9s61ir8hn1we"}],"graphCoordinates":{"x":7067.06,"y":231.55}},{"id":"ffm0s2y4head3auw808hwfnx","title":"Retorna Pergunta 3","blocks":[{"id":"ox70407atqtf1kwrszis4cix","type":"Set variable","groupId":"ffm0s2y4head3auw808hwfnx","options":{"type":"Empty","variableId":"vzhsu0uc4suqoz38kv3q891ma"}},{"id":"bcwkrcxtsc8drzwynb2igu0g","type":"Jump","groupId":"ffm0s2y4head3auw808hwfnx","options":{"groupId":"lbieknd0qp42pogsby5l82ww"}}],"graphCoordinates":{"x":3031.03,"y":754.83}},{"id":"cf8r0wx0sgw6c9v79ebja1tj","title":"Retorna Pergunta 6","blocks":[{"id":"e02yfpbpj298m1q9y4tb905i","type":"Set variable","groupId":"cf8r0wx0sgw6c9v79ebja1tj","options":{"type":"Empty","variableId":"vndjnalmnb3ez9beeon5tzrgq"}},{"id":"wjfe41oxiik0jgwcye7sczeu","type":"Jump","groupId":"cf8r0wx0sgw6c9v79ebja1tj","options":{"groupId":"tn8bcyughy9dsxhmjngrosvj"}}],"graphCoordinates":{"x":4360.16,"y":732.74}},{"id":"b7zfnwcxvu28s98ii03isdae","title":"Retorna Pergunta 8","blocks":[{"id":"j1xmpy60ggf162ej9a0rti4f","type":"Set variable","groupId":"b7zfnwcxvu28s98ii03isdae","options":{"type":"Empty","variableId":"vy5it60mewmth7mayzhlgmzf0"}},{"id":"lk06yb9dvrctn2u9tx35n12c","type":"Jump","groupId":"b7zfnwcxvu28s98ii03isdae","options":{"groupId":"jdz9w8vrz09vefk4wqrf0vwl"}}],"graphCoordinates":{"x":5213.21,"y":778}},{"id":"z0idhsnqisrd695z0j1tnqvw","title":"Retorna Pergunta 10","blocks":[{"id":"gs96ig682082mj4igcjjuh76","type":"Set variable","groupId":"z0idhsnqisrd695z0j1tnqvw","options":{"type":"Empty","variableId":"vx6p4ivk4mnssvbhl30c5zng9"}},{"id":"tihlp1xm8mvpdm3d0dqkwwx6","type":"Jump","groupId":"z0idhsnqisrd695z0j1tnqvw","options":{"groupId":"cs5kjnrcsh4bjiuvwf99agho"}}],"graphCoordinates":{"x":6100.86,"y":819.65}},{"id":"qsrkmfsr04kayulair47gmn0","title":"Gera QRCODE pix","blocks":[{"id":"qs1uxqm8jqla9uui43ofms65","type":"Webhook","groupId":"qsrkmfsr04kayulair47gmn0","options":{"isCustomBody":true,"isAdvancedConfig":true,"variablesForTest":[],"responseVariableMapping":[{"id":"gcia6kdba4yydt14klsg8h6x","bodyPath":"data.qrcode_base64","variableId":"vamn8ortov9nk1y04vczo375h"}]},"webhookId":"ajx8mv7trd50mbv2uj6fr3x5"},{"id":"sz447ty7t4vreto9bf07h52i","type":"Set variable","groupId":"qsrkmfsr04kayulair47gmn0","options":{"type":"Custom","variableId":"vamn8ortov9nk1y04vczo375h","expressionToEvaluate":"if({{remoteJid}}){\n return {{qrcode}}.replace('data:image/png;base64,', ''); \n}else{\n return {{qrcode}}\n}\n"}},{"id":"c3wp5ic2wx9emj6kkii42xpj","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Aqui está qrcode para sua contribuição de R$ {{question11}}, caso tenha dificuldade na leitura utilize a nossa chave:"}]},{"type":"p","children":[{"text":""}]},{"type":"p","children":[{"text":"Telefone: 7499879409"}]},{"type":"p","children":[{"text":"Em nome de: Davidson Oliveira Gomes"}]}]},"groupId":"qsrkmfsr04kayulair47gmn0"},{"id":"jncggap4fivalzgntw3bfaom","type":"image","content":{"url":"{{qrcode}}"},"groupId":"qsrkmfsr04kayulair47gmn0"},{"id":"chiz9utw18jvui4c2r0vsiqp","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Muito obrigado pela sua contribuição!"}]}]},"groupId":"qsrkmfsr04kayulair47gmn0","outgoingEdgeId":"cwlt91vwhr7gvgx0qx2mnxtr"}],"graphCoordinates":{"x":6607.75,"y":229.53}},{"id":"cs5kjnrcsh4bjiuvwf99agho","title":"Pergunta 10","blocks":[{"id":"axpk3aoauusbiy8av70fc2fo","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Gostaria de fazer uma contribuição?"}]},{"type":"p","children":[{"text":""}]},{"type":"p","children":[{"text":"1 - Sim"}]},{"type":"p","children":[{"text":"2 - Não"}]}]},"groupId":"cs5kjnrcsh4bjiuvwf99agho"},{"id":"q136n37ja1g5dyhdeisur4rg","type":"text input","groupId":"cs5kjnrcsh4bjiuvwf99agho","options":{"isLong":false,"labels":{"button":"Enviar","placeholder":"Deixe sua resposta"},"variableId":"vx6p4ivk4mnssvbhl30c5zng9"}},{"id":"m3sx9dam0ngbyni52l5b8b34","type":"Google Sheets","groupId":"cs5kjnrcsh4bjiuvwf99agho","options":{"action":"Update a row","filter":{"comparisons":[{"id":"w2o1z5ire06bqcg8b53kzct8","value":"{{ID}}","column":"ID","comparisonOperator":"Equal to"}],"logicalOperator":"AND"},"sheetId":"0","cellsToUpsert":[{"id":"cn2vxka7p4a590r61ia7kwzg","value":"{{question10}}","column":"Pergunta 10"}],"credentialsId":"clkvo2r8h0003mk664r70mype","spreadsheetId":"1qFqRjMIJXc6BLoJSqrpIw-aF3pVjVav64lQo-SBmoBs"}},{"id":"xza6e0p4hgkfz1wvwcjss48s","type":"Condition","items":[{"id":"m5mvt5ecw81eevl428n56aji","type":1,"blockId":"xza6e0p4hgkfz1wvwcjss48s","content":{"comparisons":[{"id":"rln6ido55pzqyr9ihqp3r0oe","value":"^([Ss][IiÍí][Mm]|1)$","variableId":"vx6p4ivk4mnssvbhl30c5zng9","comparisonOperator":"Matches regex"}],"logicalOperator":"OR"},"outgoingEdgeId":"fe1wk4fc1xzt7mefasb2qzqz"},{"id":"bpcidulg0g7v8pwh3w9my880","type":1,"blockId":"xza6e0p4hgkfz1wvwcjss48s","content":{"comparisons":[{"id":"n0dm7n4vyowa9bftkmu0ypud","value":"^([Nn][AaÃã][Oo]|2)$","variableId":"vx6p4ivk4mnssvbhl30c5zng9","comparisonOperator":"Matches regex"}],"logicalOperator":"OR"},"outgoingEdgeId":"xg1zkpvob8ilx2r8p0kv604d"}],"groupId":"cs5kjnrcsh4bjiuvwf99agho","outgoingEdgeId":"o746eh96sq2j7juionfql73t"}],"graphCoordinates":{"x":5708.94,"y":210.9}},{"id":"tq60r6azxrmn17b4y7mjovf5","title":"Pergunta 11","blocks":[{"id":"o5fspfge731wt6m781nzjsll","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Muito bem {{name}}, quanto você deseja contribuir?"}]}]},"groupId":"tq60r6azxrmn17b4y7mjovf5"},{"id":"khncvmg5fcjsmu8tlmf8in6m","type":"number input","groupId":"tq60r6azxrmn17b4y7mjovf5","options":{"max":5000,"min":1,"step":1,"labels":{"button":"Enviar","placeholder":"Digite um numero"},"variableId":"vhoqah2c0blbx92bfmd4gjnyx"}},{"id":"xcd54kvlpao5si54yuvle8y8","type":"Google Sheets","groupId":"tq60r6azxrmn17b4y7mjovf5","options":{"action":"Update a row","filter":{"comparisons":[{"id":"w2o1z5ire06bqcg8b53kzct8","value":"{{ID}}","column":"ID","comparisonOperator":"Equal to"}],"logicalOperator":"AND"},"sheetId":"0","cellsToUpsert":[{"id":"cn2vxka7p4a590r61ia7kwzg","value":"{{question11}}","column":"Pergunta 11"}],"credentialsId":"clkvo2r8h0003mk664r70mype","spreadsheetId":"1qFqRjMIJXc6BLoJSqrpIw-aF3pVjVav64lQo-SBmoBs"},"outgoingEdgeId":"t1r05l9c3n3n377bdt8adu2x"}],"graphCoordinates":{"x":6158.94,"y":224.91}},{"id":"h0svx6gyzgjsclr9hbpo04v6","title":"Configurações Iniciais","blocks":[{"id":"na4zglpatkg8ejqcap8lcv69","type":"Set variable","groupId":"h0svx6gyzgjsclr9hbpo04v6","options":{"variableId":"vp1ask55v2r58ukom5lek5hej","expressionToEvaluate":"https://8338-2804-910-16a-ff01-bd73-9d18-5395-c820.ngrok-free.app"}},{"id":"t2bdxy8x8fsn29yijk02ti43","type":"Set variable","groupId":"h0svx6gyzgjsclr9hbpo04v6","options":{"variableId":"vtsldvs2u8ui93tktazy77djw","expressionToEvaluate":"8EAA51D7-F658-409D-9C9C-0A68DDC783DD1"}},{"id":"rt5h0lk6jaoh5hzag0s5hidd","type":"Set variable","groupId":"h0svx6gyzgjsclr9hbpo04v6","options":{"variableId":"vkg1qlinovziltaloqhso2cw7","expressionToEvaluate":"https://pix.dgcode.com.br"}},{"id":"mh758b8y8288t56s6wz73mht","type":"Set variable","groupId":"h0svx6gyzgjsclr9hbpo04v6","options":{"variableId":"vpjyy2e2ha6mu5x10q0nowuz3","expressionToEvaluate":"Davidson Oliveira Gomes"}},{"id":"ri9kv80djsej7r51m8xfjhuk","type":"Set variable","groupId":"h0svx6gyzgjsclr9hbpo04v6","options":{"variableId":"vicsm3nkvhssvfhgss2xce2ad","expressionToEvaluate":"Telefone"}},{"id":"ye4teva02mnxph0rvfszdnsn","type":"Set variable","groupId":"h0svx6gyzgjsclr9hbpo04v6","options":{"variableId":"vlmflx32cjlz457h0uzdi706g","expressionToEvaluate":"74999879409"}},{"id":"hfz4hqzfe6wgje96ezb5kann","type":"Set variable","groupId":"h0svx6gyzgjsclr9hbpo04v6","options":{"variableId":"veesfw943copg17w2qzdln9be","expressionToEvaluate":"Irece"}},{"id":"nd3yk369k7j73kws6exos0jw","type":"Set variable","groupId":"h0svx6gyzgjsclr9hbpo04v6","options":{"variableId":"vavwvk4wgst506zdioplg4u8p","expressionToEvaluate":"TypeBot"},"outgoingEdgeId":"mb90csrzzep8qz2opcxmw736"}],"graphCoordinates":{"x":312.08,"y":218.28}}],"variables":[{"id":"vo40px5r6wg9vhs9fixd45kzn","name":"name"},{"id":"vr75l1drc5uoxvisje0hio5ph","name":"email"},{"id":"vzhsu0uc4suqoz38kv3q891ma","name":"question3"},{"id":"vbfl3sqze2wzicn9l1n9ckjs4","name":"question1"},{"id":"vkgl2bfdbyms1dyc1s6efx678","name":"question2"},{"id":"vd6fm2i9shcdjz8bhhwbsdh6t","name":"question4"},{"id":"vz6lvahwo15dosvckdtkxduly","name":"question5"},{"id":"vndjnalmnb3ez9beeon5tzrgq","name":"question6"},{"id":"vept0w6tr0w7eyyi52hgq1r3c","name":"question7"},{"id":"vy5it60mewmth7mayzhlgmzf0","name":"question8"},{"id":"vhygxyvhu5l6r2uws1cbthmxm","name":"question9"},{"id":"vrdwfo2lpoei2fzlzazh4pp61","name":"pushName"},{"id":"vz1uq7t77aivpi5crwy6ifact","name":"remoteJid"},{"id":"vsu5or5sxes9lyuhsgcl3cuyd","name":"ID"},{"id":"vamn8ortov9nk1y04vczo375h","name":"qrcode"},{"id":"vx6p4ivk4mnssvbhl30c5zng9","name":"question10"},{"id":"vhoqah2c0blbx92bfmd4gjnyx","name":"question11"},{"id":"vpjyy2e2ha6mu5x10q0nowuz3","name":"me"},{"id":"vicsm3nkvhssvfhgss2xce2ad","name":"typePIX"},{"id":"vavwvk4wgst506zdioplg4u8p","name":"reference"},{"id":"vlmflx32cjlz457h0uzdi706g","name":"keyPIX"},{"id":"vkg1qlinovziltaloqhso2cw7","name":"apiURL"},{"id":"veesfw943copg17w2qzdln9be","name":"city"},{"id":"vp1ask55v2r58ukom5lek5hej","name":"evolutionURL"},{"id":"vtsldvs2u8ui93tktazy77djw","name":"evolutionToken"}],"edges":[{"id":"w6ao5pi6wt0966tobkned56m","to":{"groupId":"qzhp25b9f2lvt4yeniqvjkav"},"from":{"itemId":"dwhc3ptqvktlgfvl17xg79s5","blockId":"b538q1mt18l6oddo397nh1m4","groupId":"lbieknd0qp42pogsby5l82ww"}},{"id":"wlfmh2g3j5avj75sa9q6rsab","to":{"groupId":"tn8bcyughy9dsxhmjngrosvj"},"from":{"itemId":"cod3tkt16ry8ixm5u7rwxzm9","blockId":"b538q1mt18l6oddo397nh1m4","groupId":"lbieknd0qp42pogsby5l82ww"}},{"id":"yu9762ttf5jn3bmhd6uzrsv8","to":{"groupId":"jdz9w8vrz09vefk4wqrf0vwl"},"from":{"itemId":"ifhm8cj8lsulhrarnfda2oal","blockId":"n3j2dxaalkljl020o0o61ef9","groupId":"tn8bcyughy9dsxhmjngrosvj"}},{"id":"ji1y2o1hldhemto0ymwou09c","to":{"groupId":"nzkhdw3hdv550aepsxvk2a0u"},"from":{"itemId":"gxp6j3ouga4r0t8364tn8axs","blockId":"n3j2dxaalkljl020o0o61ef9","groupId":"tn8bcyughy9dsxhmjngrosvj"}},{"id":"x2fzu1uuukp9cgmdzecp7mgk","to":{"groupId":"c4k1ftb4rbynkb01ulwuh4qh"},"from":{"itemId":"lur26nqa8dv7m4jmmljpyyf1","blockId":"zderh9hqjkpuz58p79szfa1i","groupId":"jdz9w8vrz09vefk4wqrf0vwl"}},{"id":"d3u83fikqplfy9ntva3sm7eg","to":{"groupId":"cf8r0wx0sgw6c9v79ebja1tj"},"from":{"blockId":"n3j2dxaalkljl020o0o61ef9","groupId":"tn8bcyughy9dsxhmjngrosvj"}},{"id":"ehcwqdrkc4025pui2y1s9390","to":{"groupId":"ffm0s2y4head3auw808hwfnx"},"from":{"blockId":"b538q1mt18l6oddo397nh1m4","groupId":"lbieknd0qp42pogsby5l82ww"}},{"id":"hqxrso204tkg5p71o96hduaz","to":{"groupId":"j5co2kcotxafuxhzlj7u0qnn"},"from":{"blockId":"etbdi8paer56f82p6xc379um","groupId":"nog2woqmvhssnnjlcpwd41k5"}},{"id":"ghbmp8sjr88b30phgi89qkjl","to":{"groupId":"wtd0o382phaji7i7u2n8pody"},"from":{"blockId":"m0tqedan6l1j5jr6fb9wfdm7","groupId":"j5co2kcotxafuxhzlj7u0qnn"}},{"id":"d2m2uo2gvnqzqw7m3hqp78zk","to":{"groupId":"ylerbfc1l2o62j68g8ghegxt"},"from":{"blockId":"l2s8irgrtrxfwy97v2gclajy","groupId":"wtd0o382phaji7i7u2n8pody"}},{"id":"oylxp0jgu571sjsgqevol5yi","to":{"groupId":"lbieknd0qp42pogsby5l82ww"},"from":{"blockId":"v6vdddy19ncfhrkeettwr123","groupId":"ylerbfc1l2o62j68g8ghegxt"}},{"id":"fe7xrdj315gebr22f0eylupl","to":{"groupId":"c8kh8eee1m3wyy372v4n6m1i"},"from":{"blockId":"e75om4ccho8uob245t2wethw","groupId":"qzhp25b9f2lvt4yeniqvjkav"}},{"id":"dlfg76etmcqs3sgxplnisbf1","to":{"groupId":"tn8bcyughy9dsxhmjngrosvj"},"from":{"blockId":"cciytmy1bulw32j24ndbq39r","groupId":"c8kh8eee1m3wyy372v4n6m1i"}},{"id":"vu3k1pxfilhmz59malpqvj1u","to":{"groupId":"jdz9w8vrz09vefk4wqrf0vwl"},"from":{"blockId":"i10wbfctp4dzroie3310rra0","groupId":"nzkhdw3hdv550aepsxvk2a0u"}},{"id":"imbs12h9gb2dpmrb19yvx71u","to":{"groupId":"cs5kjnrcsh4bjiuvwf99agho"},"from":{"blockId":"kt1w6r6mucelx2odhnka5td1","groupId":"c4k1ftb4rbynkb01ulwuh4qh"}},{"id":"mb1fg83gijikrafud2ml6zbn","to":{"groupId":"cs5kjnrcsh4bjiuvwf99agho"},"from":{"itemId":"aoj7e49zimwxng4o7bd6u00s","blockId":"zderh9hqjkpuz58p79szfa1i","groupId":"jdz9w8vrz09vefk4wqrf0vwl"}},{"id":"amyrx4i2rm3cjksym5zvwd50","to":{"groupId":"b7zfnwcxvu28s98ii03isdae"},"from":{"blockId":"zderh9hqjkpuz58p79szfa1i","groupId":"jdz9w8vrz09vefk4wqrf0vwl"}},{"id":"o746eh96sq2j7juionfql73t","to":{"groupId":"z0idhsnqisrd695z0j1tnqvw"},"from":{"blockId":"xza6e0p4hgkfz1wvwcjss48s","groupId":"cs5kjnrcsh4bjiuvwf99agho"}},{"id":"fe1wk4fc1xzt7mefasb2qzqz","to":{"groupId":"tq60r6azxrmn17b4y7mjovf5"},"from":{"itemId":"m5mvt5ecw81eevl428n56aji","blockId":"xza6e0p4hgkfz1wvwcjss48s","groupId":"cs5kjnrcsh4bjiuvwf99agho"}},{"id":"xg1zkpvob8ilx2r8p0kv604d","to":{"groupId":"vvyooiddvdbon0t21bvzdr7q"},"from":{"itemId":"bpcidulg0g7v8pwh3w9my880","blockId":"xza6e0p4hgkfz1wvwcjss48s","groupId":"cs5kjnrcsh4bjiuvwf99agho"}},{"id":"t1r05l9c3n3n377bdt8adu2x","to":{"groupId":"qsrkmfsr04kayulair47gmn0"},"from":{"blockId":"xcd54kvlpao5si54yuvle8y8","groupId":"tq60r6azxrmn17b4y7mjovf5"}},{"id":"cwlt91vwhr7gvgx0qx2mnxtr","to":{"groupId":"vvyooiddvdbon0t21bvzdr7q"},"from":{"blockId":"chiz9utw18jvui4c2r0vsiqp","groupId":"qsrkmfsr04kayulair47gmn0"}},{"id":"aovnigvk665gzhyzg7bxhvn0","to":{"groupId":"h0svx6gyzgjsclr9hbpo04v6"},"from":{"blockId":"qn40kjwtw1he3l1bujt3bnje","groupId":"c76ucoughhenpernmadu7ibg"}},{"id":"mb90csrzzep8qz2opcxmw736","to":{"groupId":"nog2woqmvhssnnjlcpwd41k5"},"from":{"blockId":"nd3yk369k7j73kws6exos0jw","groupId":"h0svx6gyzgjsclr9hbpo04v6"}}],"theme":{"chat":{"inputs":{"color":"#ffffff","backgroundColor":"#1e293b","placeholderColor":"#9095A0"},"buttons":{"color":"#ffffff","backgroundColor":"#1a5fff"},"roundness":"large","hostAvatar":{"isEnabled":true},"guestAvatar":{"isEnabled":false},"hostBubbles":{"color":"#ffffff","backgroundColor":"#1e293b"},"guestBubbles":{"color":"#FFFFFF","backgroundColor":"#FF8E21"}},"general":{"font":"Open Sans","background":{"type":"Color","content":"#171923"}}},"selectedThemeTemplateId":"typebot-dark","settings":{"general":{"isBrandingEnabled":false},"metadata":{"imageUrl":"https://i.imgur.com/48TjKBb.jpg","description":"Sua opinião é fundamental para nos ajudar a melhorar!"},"typingEmulation":{"speed":300,"enabled":true,"maxDelay":1.5}},"publicId":"dgcode-pesquisa-satisfacao-whatsapp-7m64d9o","customDomain":null,"workspaceId":"clktt8c1y0001qa66zyg5tt23","resultsTablePreferences":null,"isArchived":false,"isClosed":false} \ No newline at end of file +{"id":"l27ft2bq9a7tke15i7m64d9o","version":"3","createdAt":"2023-08-04T17:27:18.072Z","updatedAt":"2023-08-20T13:35:33.073Z","icon":null,"name":"[Dgcode] [whatsapp] Pesquisa Satisfacao","folderId":"cll1fzkfy0008pa65kgz3tm86","groups":[{"id":"c76ucoughhenpernmadu7ibg","title":"Start","blocks":[{"id":"qn40kjwtw1he3l1bujt3bnje","type":"start","label":"Start","groupId":"c76ucoughhenpernmadu7ibg","outgoingEdgeId":"aovnigvk665gzhyzg7bxhvn0"}],"graphCoordinates":{"x":-126.43,"y":220.29}},{"id":"nog2woqmvhssnnjlcpwd41k5","title":"Apresentação","blocks":[{"id":"potdr8jwrn6mnkjipynqjmhh","type":"Set variable","groupId":"nog2woqmvhssnnjlcpwd41k5","options":{"type":"Random ID","variableId":"vsu5or5sxes9lyuhsgcl3cuyd"}},{"id":"mcpyoq8x28bnwp23g7h1dbc1","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Olá! {{pushName}} Bem-vindo(a) à nossa "},{"bold":true,"text":"pesquisa de satisfação"},{"text":"."}]}]},"groupId":"nog2woqmvhssnnjlcpwd41k5"},{"id":"o0731ch0epj2vm2c5aoxyvw1","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Meu nome é "},{"bold":true,"text":"🤖 Mike"},{"text":", estou aqui para ouvir sua opinião e experiência com nossos serviços."}]}]},"groupId":"nog2woqmvhssnnjlcpwd41k5"},{"id":"twx683ok814enh3bwlaexe0t","type":"Wait","groupId":"nog2woqmvhssnnjlcpwd41k5","options":{"secondsToWaitFor":"5"}},{"id":"hgqbj5kmosz64cb435xqh0am","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Sua opinião é fundamental para nos ajudar a melhorar!"}]}]},"groupId":"nog2woqmvhssnnjlcpwd41k5"},{"id":"cbvgdo0jknjyzmvwe6o614ni","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Vamos começar?"}]}]},"groupId":"nog2woqmvhssnnjlcpwd41k5"},{"id":"vpj58atr9o534tjhhu0l0t0b","type":"Wait","groupId":"nog2woqmvhssnnjlcpwd41k5","options":{"secondsToWaitFor":"5"}},{"id":"nmhkn4jod3evk08tbq5vw3s3","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Qual o seu nome?"}]}]},"groupId":"nog2woqmvhssnnjlcpwd41k5"},{"id":"o8ijci5gdfsp6fpv07kwh8br","type":"text input","groupId":"nog2woqmvhssnnjlcpwd41k5","options":{"isLong":false,"labels":{"button":"Enviar","placeholder":"Digite o seu nome"},"variableId":"vo40px5r6wg9vhs9fixd45kzn"},"outgoingEdgeId":"vwx6ofz1ur8maxcbw8fk66x9"}],"graphCoordinates":{"x":771.26,"y":213}},{"id":"j5co2kcotxafuxhzlj7u0qnn","title":"Qual seu email?","blocks":[{"id":"he1367t9ssao735kidd86mna","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Muito bem {{name}}, agora me informe seu endereço de email?"}]}]},"groupId":"j5co2kcotxafuxhzlj7u0qnn"},{"id":"qb8nwfs52g168tmnvp257b44","type":"email input","groupId":"j5co2kcotxafuxhzlj7u0qnn","options":{"labels":{"button":"Enviar","placeholder":"Digite o seu email"},"variableId":"vr75l1drc5uoxvisje0hio5ph","retryMessageContent":"Email incorreto!"},"outgoingEdgeId":"v53mvhejcapb4a1zq98swq5b"}],"graphCoordinates":{"x":1236.92,"y":204.84}},{"id":"wtd0o382phaji7i7u2n8pody","title":"Pergunta 1","blocks":[{"id":"zr69lw3bcmmkgahqq8og7shw","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Em uma escala de 0 a 10, qual é o seu nível de satisfação geral com os serviços que nossa empresa fornece?"}]}]},"groupId":"wtd0o382phaji7i7u2n8pody"},{"id":"ku0zpu43cbbnd7y0ai71ptde","type":"rating input","groupId":"wtd0o382phaji7i7u2n8pody","options":{"labels":{"button":"Send"},"length":10,"buttonType":"Numbers","customIcon":{"isEnabled":false},"variableId":"vbfl3sqze2wzicn9l1n9ckjs4"},"outgoingEdgeId":"ed1x8zan90zvrpo9xk9moroe"}],"graphCoordinates":{"x":1692.4,"y":194.19}},{"id":"ylerbfc1l2o62j68g8ghegxt","title":"Pergunta 2","blocks":[{"id":"l19jgtpln9al473dudr0gbzn","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Em uma escala de 0 a 10, em que medida nossa empresa atendeu às suas expectativas em termos de qualidade do serviço prestado?"}]}]},"groupId":"ylerbfc1l2o62j68g8ghegxt"},{"id":"kfxuc6p58cdzy1xcyp4i4ra7","type":"rating input","groupId":"ylerbfc1l2o62j68g8ghegxt","options":{"labels":{"button":"Send"},"length":10,"buttonType":"Numbers","customIcon":{"isEnabled":false},"variableId":"vkgl2bfdbyms1dyc1s6efx678"},"outgoingEdgeId":"iy61ajcfl6ubbj7zghxeu6f7"}],"graphCoordinates":{"x":2156.14,"y":190.76}},{"id":"lbieknd0qp42pogsby5l82ww","title":"Pergunta 3","blocks":[{"id":"y43s12dnoxh772c9o3pmnhxf","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Você teve alguma dificuldade em se comunicar com nossa equipe de suporte ao cliente?"}]},{"type":"p","children":[{"text":""}]},{"type":"p","children":[{"text":"1 - Sim"}]},{"type":"p","children":[{"text":"2 - Não"}]}]},"groupId":"lbieknd0qp42pogsby5l82ww"},{"id":"fb6ckchqp8vx9ypig07we6q4","type":"text input","groupId":"lbieknd0qp42pogsby5l82ww","options":{"isLong":false,"labels":{"button":"Enviar","placeholder":"Responda com uma das opções"},"variableId":"vzhsu0uc4suqoz38kv3q891ma"}},{"id":"b538q1mt18l6oddo397nh1m4","type":"Condition","items":[{"id":"dwhc3ptqvktlgfvl17xg79s5","type":1,"blockId":"b538q1mt18l6oddo397nh1m4","content":{"comparisons":[{"id":"rln6ido55pzqyr9ihqp3r0oe","value":"^([Ss][IiÍí][Mm]|1)$","variableId":"vzhsu0uc4suqoz38kv3q891ma","comparisonOperator":"Matches regex"}],"logicalOperator":"OR"},"outgoingEdgeId":"w6ao5pi6wt0966tobkned56m"},{"id":"cod3tkt16ry8ixm5u7rwxzm9","type":1,"blockId":"b538q1mt18l6oddo397nh1m4","content":{"comparisons":[{"id":"n0dm7n4vyowa9bftkmu0ypud","value":"^([Nn][AaÃã][Oo]|2)$","variableId":"vzhsu0uc4suqoz38kv3q891ma","comparisonOperator":"Matches regex"}],"logicalOperator":"OR"},"outgoingEdgeId":"wlfmh2g3j5avj75sa9q6rsab"}],"groupId":"lbieknd0qp42pogsby5l82ww","outgoingEdgeId":"ehcwqdrkc4025pui2y1s9390"}],"graphCoordinates":{"x":2605.34,"y":189.93}},{"id":"qzhp25b9f2lvt4yeniqvjkav","title":"Pergunta 4","blocks":[{"id":"pos7njae2r35r29kcbyxtz2j","type":"text","content":{"richText":[{"type":"p","children":[{"text":"{{name}}, por favor, descreva o problema para que possamos melhorar."}]}]},"groupId":"qzhp25b9f2lvt4yeniqvjkav"},{"id":"ce2eodve0e4f2rubk4wv5jf1","type":"text input","groupId":"qzhp25b9f2lvt4yeniqvjkav","options":{"isLong":false,"labels":{"button":"Enviar","placeholder":"Descreva o problema"},"variableId":"vd6fm2i9shcdjz8bhhwbsdh6t"},"outgoingEdgeId":"i11xudmpsb1tbsss7qoge6cm"}],"graphCoordinates":{"x":3041.23,"y":187.11}},{"id":"c8kh8eee1m3wyy372v4n6m1i","title":"Pergunta 5","blocks":[{"id":"txqi87lwinpa0p5of0xmqxu6","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Em uma escala de 0 a 10, como você avalia a capacidade da nossa empresa de cumprir os prazos acordados?"}]}]},"groupId":"c8kh8eee1m3wyy372v4n6m1i"},{"id":"mg2tmcmwnx3tap0hs4b7e0la","type":"rating input","groupId":"c8kh8eee1m3wyy372v4n6m1i","options":{"labels":{"button":"Enviar"},"length":10,"buttonType":"Numbers","customIcon":{"isEnabled":false},"variableId":"vz6lvahwo15dosvckdtkxduly"},"outgoingEdgeId":"c9nrzzcxt8w4dgk2sfez53n5"}],"graphCoordinates":{"x":3501.8,"y":179.58}},{"id":"tn8bcyughy9dsxhmjngrosvj","title":"Pergunta 6","blocks":[{"id":"aema350m33n9dljopcsxn8q5","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Você recomendaria nossos serviços para outras pessoas ou empresas?"}]},{"type":"p","children":[{"text":""}]},{"type":"p","children":[{"text":"1 - Sim"}]},{"type":"p","children":[{"text":"2 - Não"}]}]},"groupId":"tn8bcyughy9dsxhmjngrosvj"},{"id":"wk4bkxbxcfu9skrzn8p8077u","type":"text input","groupId":"tn8bcyughy9dsxhmjngrosvj","options":{"isLong":false,"labels":{"button":"Enviar","placeholder":"Responda com uma das opções"},"variableId":"vndjnalmnb3ez9beeon5tzrgq"}},{"id":"n3j2dxaalkljl020o0o61ef9","type":"Condition","items":[{"id":"ifhm8cj8lsulhrarnfda2oal","type":1,"blockId":"n3j2dxaalkljl020o0o61ef9","content":{"comparisons":[{"id":"rln6ido55pzqyr9ihqp3r0oe","value":"^([Ss][IiÍí][Mm]|1)$","variableId":"vndjnalmnb3ez9beeon5tzrgq","comparisonOperator":"Matches regex"}],"logicalOperator":"OR"},"outgoingEdgeId":"yu9762ttf5jn3bmhd6uzrsv8"},{"id":"gxp6j3ouga4r0t8364tn8axs","type":1,"blockId":"n3j2dxaalkljl020o0o61ef9","content":{"comparisons":[{"id":"n0dm7n4vyowa9bftkmu0ypud","value":"^([Nn][AaÃã][Oo]|2)$","variableId":"vndjnalmnb3ez9beeon5tzrgq","comparisonOperator":"Matches regex"}],"logicalOperator":"OR"},"outgoingEdgeId":"ji1y2o1hldhemto0ymwou09c"}],"groupId":"tn8bcyughy9dsxhmjngrosvj","outgoingEdgeId":"d3u83fikqplfy9ntva3sm7eg"}],"graphCoordinates":{"x":3926.41,"y":186.15}},{"id":"nzkhdw3hdv550aepsxvk2a0u","title":"Pergunta 7","blocks":[{"id":"io90onrpfrokejgkps94r3dj","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Que pena {{name}}, por gentileza, nos conte o motivo?"}]}]},"groupId":"nzkhdw3hdv550aepsxvk2a0u"},{"id":"dj7dbgyjqk0a5u3jn6kzykb2","type":"text input","groupId":"nzkhdw3hdv550aepsxvk2a0u","options":{"isLong":false,"labels":{"button":"Enviar","placeholder":"Digite o motivo"},"variableId":"vept0w6tr0w7eyyi52hgq1r3c"},"outgoingEdgeId":"k7vrrf5cfxopvmhsbf35bt3m"}],"graphCoordinates":{"x":4352.64,"y":194.04}},{"id":"jdz9w8vrz09vefk4wqrf0vwl","title":"Pergunta 8","blocks":[{"id":"hndzyb58fqxudykajr22skla","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Existe alguma sugestão que você gostaria de nos dar para melhorar nossos serviços?"}]},{"type":"p","children":[{"text":""}]},{"type":"p","children":[{"text":"1 - Sim"}]},{"type":"p","children":[{"text":"2 - Não"}]}]},"groupId":"jdz9w8vrz09vefk4wqrf0vwl"},{"id":"ol9l8fdb3q65auykrn383q6d","type":"text input","groupId":"jdz9w8vrz09vefk4wqrf0vwl","options":{"isLong":false,"labels":{"button":"Enviar","placeholder":"Responda com uma das opções"},"variableId":"vy5it60mewmth7mayzhlgmzf0"}},{"id":"zderh9hqjkpuz58p79szfa1i","type":"Condition","items":[{"id":"lur26nqa8dv7m4jmmljpyyf1","type":1,"blockId":"zderh9hqjkpuz58p79szfa1i","content":{"comparisons":[{"id":"rln6ido55pzqyr9ihqp3r0oe","value":"^([Ss][IiÍí][Mm]|1)$","variableId":"vy5it60mewmth7mayzhlgmzf0","comparisonOperator":"Matches regex"}],"logicalOperator":"OR"},"outgoingEdgeId":"x2fzu1uuukp9cgmdzecp7mgk"},{"id":"aoj7e49zimwxng4o7bd6u00s","type":1,"blockId":"zderh9hqjkpuz58p79szfa1i","content":{"comparisons":[{"id":"n0dm7n4vyowa9bftkmu0ypud","value":"^([Nn][AaÃã][Oo]|2)$","variableId":"vy5it60mewmth7mayzhlgmzf0","comparisonOperator":"Matches regex"}],"logicalOperator":"OR"},"outgoingEdgeId":"mb1fg83gijikrafud2ml6zbn"}],"groupId":"jdz9w8vrz09vefk4wqrf0vwl","outgoingEdgeId":"amyrx4i2rm3cjksym5zvwd50"}],"graphCoordinates":{"x":4768.69,"y":201.49}},{"id":"c4k1ftb4rbynkb01ulwuh4qh","title":"Pergunta 9","blocks":[{"id":"jqn5de3i29ygjyf6usbj117t","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Qual seria a sua sugestão?"}]}]},"groupId":"c4k1ftb4rbynkb01ulwuh4qh"},{"id":"wfucksh3yaeq21l7mnlnsx75","type":"text input","groupId":"c4k1ftb4rbynkb01ulwuh4qh","options":{"isLong":false,"labels":{"button":"Enviar","placeholder":"Deixe sua sugestão"},"variableId":"vhygxyvhu5l6r2uws1cbthmxm"},"outgoingEdgeId":"u8c55of7l95fnz25gf7swt1m"}],"graphCoordinates":{"x":5233.77,"y":205.27}},{"id":"vvyooiddvdbon0t21bvzdr7q","title":"Finalização","blocks":[{"id":"efk089lhks1ev4khy38caner","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Então {{name}}, agradecemos muito por dedicar um tempo para nos fornecer seu feedback."}]}]},"groupId":"vvyooiddvdbon0t21bvzdr7q"},{"id":"pvu3g8vpqdi3aecu2u0in2d0","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Sua opinião é muito importante para nós, e trabalharemos arduamente para melhorar ainda mais nossos serviços!"}]}]},"groupId":"vvyooiddvdbon0t21bvzdr7q"},{"id":"wqe9r1ivjf0ikubqichufzsg","type":"Webhook","groupId":"vvyooiddvdbon0t21bvzdr7q","options":{"isCustomBody":true,"isAdvancedConfig":true,"variablesForTest":[],"responseVariableMapping":[]},"webhookId":"i3g1959ev6fl9s61ir8hn1we"}],"graphCoordinates":{"x":7067.06,"y":231.55}},{"id":"ffm0s2y4head3auw808hwfnx","title":"Retorna Pergunta 3","blocks":[{"id":"ox70407atqtf1kwrszis4cix","type":"Set variable","groupId":"ffm0s2y4head3auw808hwfnx","options":{"type":"Empty","variableId":"vzhsu0uc4suqoz38kv3q891ma"}},{"id":"bcwkrcxtsc8drzwynb2igu0g","type":"Jump","groupId":"ffm0s2y4head3auw808hwfnx","options":{"groupId":"lbieknd0qp42pogsby5l82ww"}}],"graphCoordinates":{"x":3040.8,"y":772.28}},{"id":"cf8r0wx0sgw6c9v79ebja1tj","title":"Retorna Pergunta 6","blocks":[{"id":"e02yfpbpj298m1q9y4tb905i","type":"Set variable","groupId":"cf8r0wx0sgw6c9v79ebja1tj","options":{"type":"Empty","variableId":"vndjnalmnb3ez9beeon5tzrgq"}},{"id":"wjfe41oxiik0jgwcye7sczeu","type":"Jump","groupId":"cf8r0wx0sgw6c9v79ebja1tj","options":{"groupId":"tn8bcyughy9dsxhmjngrosvj"}}],"graphCoordinates":{"x":4360.16,"y":732.74}},{"id":"b7zfnwcxvu28s98ii03isdae","title":"Retorna Pergunta 8","blocks":[{"id":"j1xmpy60ggf162ej9a0rti4f","type":"Set variable","groupId":"b7zfnwcxvu28s98ii03isdae","options":{"type":"Empty","variableId":"vy5it60mewmth7mayzhlgmzf0"}},{"id":"lk06yb9dvrctn2u9tx35n12c","type":"Jump","groupId":"b7zfnwcxvu28s98ii03isdae","options":{"groupId":"jdz9w8vrz09vefk4wqrf0vwl"}}],"graphCoordinates":{"x":5213.21,"y":778}},{"id":"z0idhsnqisrd695z0j1tnqvw","title":"Retorna Pergunta 10","blocks":[{"id":"gs96ig682082mj4igcjjuh76","type":"Set variable","groupId":"z0idhsnqisrd695z0j1tnqvw","options":{"type":"Empty","variableId":"vx6p4ivk4mnssvbhl30c5zng9"}},{"id":"tihlp1xm8mvpdm3d0dqkwwx6","type":"Jump","groupId":"z0idhsnqisrd695z0j1tnqvw","options":{"groupId":"cs5kjnrcsh4bjiuvwf99agho"}}],"graphCoordinates":{"x":6100.86,"y":819.65}},{"id":"qsrkmfsr04kayulair47gmn0","title":"Gera QRCODE pix","blocks":[{"id":"qs1uxqm8jqla9uui43ofms65","type":"Webhook","groupId":"qsrkmfsr04kayulair47gmn0","options":{"isCustomBody":true,"isAdvancedConfig":true,"variablesForTest":[],"responseVariableMapping":[{"id":"gcia6kdba4yydt14klsg8h6x","bodyPath":"data.qrcode_base64","variableId":"vamn8ortov9nk1y04vczo375h"}]},"webhookId":"ajx8mv7trd50mbv2uj6fr3x5"},{"id":"sz447ty7t4vreto9bf07h52i","type":"Set variable","groupId":"qsrkmfsr04kayulair47gmn0","options":{"type":"Custom","variableId":"vamn8ortov9nk1y04vczo375h","expressionToEvaluate":"if({{remoteJid}}){\n return {{qrcode}}.replace('data:image/png;base64,', ''); \n}else{\n return {{qrcode}}\n}\n"}},{"id":"c3wp5ic2wx9emj6kkii42xpj","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Aqui está qrcode para sua contribuição de R$ {{question11}}, caso tenha dificuldade na leitura utilize a nossa chave:"}]},{"type":"p","children":[{"text":""}]},{"type":"p","children":[{"text":"Telefone: 7499879409"}]},{"type":"p","children":[{"text":"Em nome de: Davidson Oliveira Gomes"}]}]},"groupId":"qsrkmfsr04kayulair47gmn0"},{"id":"jncggap4fivalzgntw3bfaom","type":"image","content":{"url":"{{qrcode}}"},"groupId":"qsrkmfsr04kayulair47gmn0"},{"id":"chiz9utw18jvui4c2r0vsiqp","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Muito obrigado pela sua contribuição!"}]}]},"groupId":"qsrkmfsr04kayulair47gmn0","outgoingEdgeId":"cwlt91vwhr7gvgx0qx2mnxtr"}],"graphCoordinates":{"x":6607.75,"y":229.53}},{"id":"cs5kjnrcsh4bjiuvwf99agho","title":"Pergunta 10","blocks":[{"id":"axpk3aoauusbiy8av70fc2fo","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Gostaria de fazer uma contribuição?"}]},{"type":"p","children":[{"text":""}]},{"type":"p","children":[{"text":"1 - Sim"}]},{"type":"p","children":[{"text":"2 - Não"}]}]},"groupId":"cs5kjnrcsh4bjiuvwf99agho"},{"id":"q136n37ja1g5dyhdeisur4rg","type":"text input","groupId":"cs5kjnrcsh4bjiuvwf99agho","options":{"isLong":false,"labels":{"button":"Enviar","placeholder":"Deixe sua resposta"},"variableId":"vx6p4ivk4mnssvbhl30c5zng9"}},{"id":"xza6e0p4hgkfz1wvwcjss48s","type":"Condition","items":[{"id":"m5mvt5ecw81eevl428n56aji","type":1,"blockId":"xza6e0p4hgkfz1wvwcjss48s","content":{"comparisons":[{"id":"rln6ido55pzqyr9ihqp3r0oe","value":"^([Ss][IiÍí][Mm]|1)$","variableId":"vx6p4ivk4mnssvbhl30c5zng9","comparisonOperator":"Matches regex"}],"logicalOperator":"OR"},"outgoingEdgeId":"fe1wk4fc1xzt7mefasb2qzqz"},{"id":"bpcidulg0g7v8pwh3w9my880","type":1,"blockId":"xza6e0p4hgkfz1wvwcjss48s","content":{"comparisons":[{"id":"n0dm7n4vyowa9bftkmu0ypud","value":"^([Nn][AaÃã][Oo]|2)$","variableId":"vx6p4ivk4mnssvbhl30c5zng9","comparisonOperator":"Matches regex"}],"logicalOperator":"OR"},"outgoingEdgeId":"xg1zkpvob8ilx2r8p0kv604d"}],"groupId":"cs5kjnrcsh4bjiuvwf99agho","outgoingEdgeId":"o746eh96sq2j7juionfql73t"}],"graphCoordinates":{"x":5708.94,"y":210.9}},{"id":"tq60r6azxrmn17b4y7mjovf5","title":"Pergunta 11","blocks":[{"id":"o5fspfge731wt6m781nzjsll","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Muito bem {{name}}, quanto você deseja contribuir?"}]}]},"groupId":"tq60r6azxrmn17b4y7mjovf5"},{"id":"khncvmg5fcjsmu8tlmf8in6m","type":"number input","groupId":"tq60r6azxrmn17b4y7mjovf5","options":{"max":5000,"min":1,"step":1,"labels":{"button":"Enviar","placeholder":"Digite um numero"},"variableId":"vhoqah2c0blbx92bfmd4gjnyx"},"outgoingEdgeId":"ns2kch8n15uklzwf8kn4m0lb"}],"graphCoordinates":{"x":6158.94,"y":224.91}},{"id":"h0svx6gyzgjsclr9hbpo04v6","title":"Configurações Iniciais","blocks":[{"id":"na4zglpatkg8ejqcap8lcv69","type":"Set variable","groupId":"h0svx6gyzgjsclr9hbpo04v6","options":{"variableId":"vp1ask55v2r58ukom5lek5hej","expressionToEvaluate":"https://d715-45-39-187-135.ngrok-free.app"}},{"id":"t2bdxy8x8fsn29yijk02ti43","type":"Set variable","groupId":"h0svx6gyzgjsclr9hbpo04v6","options":{"variableId":"vtsldvs2u8ui93tktazy77djw","expressionToEvaluate":"0f1c6e17-5a6a-4989-8c12-a7e7350870fe"}},{"id":"rt5h0lk6jaoh5hzag0s5hidd","type":"Set variable","groupId":"h0svx6gyzgjsclr9hbpo04v6","options":{"variableId":"vkg1qlinovziltaloqhso2cw7","expressionToEvaluate":"https://pix.dgcode.com.br"}},{"id":"mh758b8y8288t56s6wz73mht","type":"Set variable","groupId":"h0svx6gyzgjsclr9hbpo04v6","options":{"variableId":"vpjyy2e2ha6mu5x10q0nowuz3","expressionToEvaluate":"Davidson Oliveira Gomes"}},{"id":"ri9kv80djsej7r51m8xfjhuk","type":"Set variable","groupId":"h0svx6gyzgjsclr9hbpo04v6","options":{"variableId":"vicsm3nkvhssvfhgss2xce2ad","expressionToEvaluate":"Telefone"}},{"id":"ye4teva02mnxph0rvfszdnsn","type":"Set variable","groupId":"h0svx6gyzgjsclr9hbpo04v6","options":{"variableId":"vlmflx32cjlz457h0uzdi706g","expressionToEvaluate":"74999879409"}},{"id":"hfz4hqzfe6wgje96ezb5kann","type":"Set variable","groupId":"h0svx6gyzgjsclr9hbpo04v6","options":{"variableId":"veesfw943copg17w2qzdln9be","expressionToEvaluate":"Irece"}},{"id":"nd3yk369k7j73kws6exos0jw","type":"Set variable","groupId":"h0svx6gyzgjsclr9hbpo04v6","options":{"variableId":"vavwvk4wgst506zdioplg4u8p","expressionToEvaluate":"TypeBot"},"outgoingEdgeId":"mb90csrzzep8qz2opcxmw736"}],"graphCoordinates":{"x":312.08,"y":218.28}}],"variables":[{"id":"vo40px5r6wg9vhs9fixd45kzn","name":"name"},{"id":"vr75l1drc5uoxvisje0hio5ph","name":"email"},{"id":"vzhsu0uc4suqoz38kv3q891ma","name":"question3"},{"id":"vbfl3sqze2wzicn9l1n9ckjs4","name":"question1"},{"id":"vkgl2bfdbyms1dyc1s6efx678","name":"question2"},{"id":"vd6fm2i9shcdjz8bhhwbsdh6t","name":"question4"},{"id":"vz6lvahwo15dosvckdtkxduly","name":"question5"},{"id":"vndjnalmnb3ez9beeon5tzrgq","name":"question6"},{"id":"vept0w6tr0w7eyyi52hgq1r3c","name":"question7"},{"id":"vy5it60mewmth7mayzhlgmzf0","name":"question8"},{"id":"vhygxyvhu5l6r2uws1cbthmxm","name":"question9"},{"id":"vrdwfo2lpoei2fzlzazh4pp61","name":"pushName"},{"id":"vz1uq7t77aivpi5crwy6ifact","name":"remoteJid"},{"id":"vsu5or5sxes9lyuhsgcl3cuyd","name":"ID"},{"id":"vamn8ortov9nk1y04vczo375h","name":"qrcode"},{"id":"vx6p4ivk4mnssvbhl30c5zng9","name":"question10"},{"id":"vhoqah2c0blbx92bfmd4gjnyx","name":"question11"},{"id":"vpjyy2e2ha6mu5x10q0nowuz3","name":"me"},{"id":"vicsm3nkvhssvfhgss2xce2ad","name":"typePIX"},{"id":"vavwvk4wgst506zdioplg4u8p","name":"reference"},{"id":"vlmflx32cjlz457h0uzdi706g","name":"keyPIX"},{"id":"vkg1qlinovziltaloqhso2cw7","name":"apiURL"},{"id":"veesfw943copg17w2qzdln9be","name":"city"},{"id":"vp1ask55v2r58ukom5lek5hej","name":"evolutionURL"},{"id":"vtsldvs2u8ui93tktazy77djw","name":"evolutionToken"},{"id":"vpoyfwgfw4tbt4l4iy4homfoq","name":"instanceName"}],"edges":[{"id":"w6ao5pi6wt0966tobkned56m","to":{"groupId":"qzhp25b9f2lvt4yeniqvjkav"},"from":{"itemId":"dwhc3ptqvktlgfvl17xg79s5","blockId":"b538q1mt18l6oddo397nh1m4","groupId":"lbieknd0qp42pogsby5l82ww"}},{"id":"wlfmh2g3j5avj75sa9q6rsab","to":{"groupId":"tn8bcyughy9dsxhmjngrosvj"},"from":{"itemId":"cod3tkt16ry8ixm5u7rwxzm9","blockId":"b538q1mt18l6oddo397nh1m4","groupId":"lbieknd0qp42pogsby5l82ww"}},{"id":"yu9762ttf5jn3bmhd6uzrsv8","to":{"groupId":"jdz9w8vrz09vefk4wqrf0vwl"},"from":{"itemId":"ifhm8cj8lsulhrarnfda2oal","blockId":"n3j2dxaalkljl020o0o61ef9","groupId":"tn8bcyughy9dsxhmjngrosvj"}},{"id":"ji1y2o1hldhemto0ymwou09c","to":{"groupId":"nzkhdw3hdv550aepsxvk2a0u"},"from":{"itemId":"gxp6j3ouga4r0t8364tn8axs","blockId":"n3j2dxaalkljl020o0o61ef9","groupId":"tn8bcyughy9dsxhmjngrosvj"}},{"id":"x2fzu1uuukp9cgmdzecp7mgk","to":{"groupId":"c4k1ftb4rbynkb01ulwuh4qh"},"from":{"itemId":"lur26nqa8dv7m4jmmljpyyf1","blockId":"zderh9hqjkpuz58p79szfa1i","groupId":"jdz9w8vrz09vefk4wqrf0vwl"}},{"id":"d3u83fikqplfy9ntva3sm7eg","to":{"groupId":"cf8r0wx0sgw6c9v79ebja1tj"},"from":{"blockId":"n3j2dxaalkljl020o0o61ef9","groupId":"tn8bcyughy9dsxhmjngrosvj"}},{"id":"ehcwqdrkc4025pui2y1s9390","to":{"groupId":"ffm0s2y4head3auw808hwfnx"},"from":{"blockId":"b538q1mt18l6oddo397nh1m4","groupId":"lbieknd0qp42pogsby5l82ww"}},{"id":"mb1fg83gijikrafud2ml6zbn","to":{"groupId":"cs5kjnrcsh4bjiuvwf99agho"},"from":{"itemId":"aoj7e49zimwxng4o7bd6u00s","blockId":"zderh9hqjkpuz58p79szfa1i","groupId":"jdz9w8vrz09vefk4wqrf0vwl"}},{"id":"amyrx4i2rm3cjksym5zvwd50","to":{"groupId":"b7zfnwcxvu28s98ii03isdae"},"from":{"blockId":"zderh9hqjkpuz58p79szfa1i","groupId":"jdz9w8vrz09vefk4wqrf0vwl"}},{"id":"o746eh96sq2j7juionfql73t","to":{"groupId":"z0idhsnqisrd695z0j1tnqvw"},"from":{"blockId":"xza6e0p4hgkfz1wvwcjss48s","groupId":"cs5kjnrcsh4bjiuvwf99agho"}},{"id":"fe1wk4fc1xzt7mefasb2qzqz","to":{"groupId":"tq60r6azxrmn17b4y7mjovf5"},"from":{"itemId":"m5mvt5ecw81eevl428n56aji","blockId":"xza6e0p4hgkfz1wvwcjss48s","groupId":"cs5kjnrcsh4bjiuvwf99agho"}},{"id":"xg1zkpvob8ilx2r8p0kv604d","to":{"groupId":"vvyooiddvdbon0t21bvzdr7q"},"from":{"itemId":"bpcidulg0g7v8pwh3w9my880","blockId":"xza6e0p4hgkfz1wvwcjss48s","groupId":"cs5kjnrcsh4bjiuvwf99agho"}},{"id":"cwlt91vwhr7gvgx0qx2mnxtr","to":{"groupId":"vvyooiddvdbon0t21bvzdr7q"},"from":{"blockId":"chiz9utw18jvui4c2r0vsiqp","groupId":"qsrkmfsr04kayulair47gmn0"}},{"id":"aovnigvk665gzhyzg7bxhvn0","to":{"groupId":"h0svx6gyzgjsclr9hbpo04v6"},"from":{"blockId":"qn40kjwtw1he3l1bujt3bnje","groupId":"c76ucoughhenpernmadu7ibg"}},{"id":"mb90csrzzep8qz2opcxmw736","to":{"groupId":"nog2woqmvhssnnjlcpwd41k5"},"from":{"blockId":"nd3yk369k7j73kws6exos0jw","groupId":"h0svx6gyzgjsclr9hbpo04v6"}},{"id":"vwx6ofz1ur8maxcbw8fk66x9","to":{"groupId":"j5co2kcotxafuxhzlj7u0qnn"},"from":{"blockId":"o8ijci5gdfsp6fpv07kwh8br","groupId":"nog2woqmvhssnnjlcpwd41k5"}},{"id":"v53mvhejcapb4a1zq98swq5b","to":{"groupId":"wtd0o382phaji7i7u2n8pody"},"from":{"blockId":"qb8nwfs52g168tmnvp257b44","groupId":"j5co2kcotxafuxhzlj7u0qnn"}},{"id":"ed1x8zan90zvrpo9xk9moroe","to":{"groupId":"ylerbfc1l2o62j68g8ghegxt"},"from":{"blockId":"ku0zpu43cbbnd7y0ai71ptde","groupId":"wtd0o382phaji7i7u2n8pody"}},{"id":"iy61ajcfl6ubbj7zghxeu6f7","to":{"groupId":"lbieknd0qp42pogsby5l82ww"},"from":{"blockId":"kfxuc6p58cdzy1xcyp4i4ra7","groupId":"ylerbfc1l2o62j68g8ghegxt"}},{"id":"i11xudmpsb1tbsss7qoge6cm","to":{"groupId":"c8kh8eee1m3wyy372v4n6m1i"},"from":{"blockId":"ce2eodve0e4f2rubk4wv5jf1","groupId":"qzhp25b9f2lvt4yeniqvjkav"}},{"id":"c9nrzzcxt8w4dgk2sfez53n5","to":{"groupId":"tn8bcyughy9dsxhmjngrosvj"},"from":{"blockId":"mg2tmcmwnx3tap0hs4b7e0la","groupId":"c8kh8eee1m3wyy372v4n6m1i"}},{"id":"k7vrrf5cfxopvmhsbf35bt3m","to":{"groupId":"jdz9w8vrz09vefk4wqrf0vwl"},"from":{"blockId":"dj7dbgyjqk0a5u3jn6kzykb2","groupId":"nzkhdw3hdv550aepsxvk2a0u"}},{"id":"u8c55of7l95fnz25gf7swt1m","to":{"groupId":"cs5kjnrcsh4bjiuvwf99agho"},"from":{"blockId":"wfucksh3yaeq21l7mnlnsx75","groupId":"c4k1ftb4rbynkb01ulwuh4qh"}},{"id":"ns2kch8n15uklzwf8kn4m0lb","to":{"groupId":"qsrkmfsr04kayulair47gmn0"},"from":{"blockId":"khncvmg5fcjsmu8tlmf8in6m","groupId":"tq60r6azxrmn17b4y7mjovf5"}}],"theme":{"chat":{"inputs":{"color":"#ffffff","backgroundColor":"#1e293b","placeholderColor":"#9095A0"},"buttons":{"color":"#ffffff","backgroundColor":"#1a5fff"},"roundness":"large","hostAvatar":{"isEnabled":true},"guestAvatar":{"isEnabled":false},"hostBubbles":{"color":"#ffffff","backgroundColor":"#1e293b"},"guestBubbles":{"color":"#FFFFFF","backgroundColor":"#FF8E21"}},"general":{"font":"Open Sans","background":{"type":"Color","content":"#171923"}}},"selectedThemeTemplateId":"typebot-dark","settings":{"general":{"isBrandingEnabled":false},"metadata":{"imageUrl":"https://i.imgur.com/48TjKBb.jpg","description":"Sua opinião é fundamental para nos ajudar a melhorar!"},"typingEmulation":{"speed":300,"enabled":true,"maxDelay":1.5}},"publicId":"dgcode-pesquisa-satisfacao-whatsapp-7m64d9o","customDomain":null,"workspaceId":"clktt8c1y0001qa66zyg5tt23","resultsTablePreferences":null,"isArchived":false,"isClosed":false} \ No newline at end of file diff --git a/package.json b/package.json index 6f92aaf3..c7fbc0ab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "evolution-api", - "version": "1.5.0", + "version": "1.5.1", "description": "Rest api for communication with WhatsApp", "main": "./dist/src/main.js", "scripts": { diff --git a/src/config/env.config.ts b/src/config/env.config.ts index 4f28dbd5..f68c4108 100644 --- a/src/config/env.config.ts +++ b/src/config/env.config.ts @@ -166,17 +166,17 @@ export class ConfigService { return { SERVER: { TYPE: process.env.SERVER_TYPE as 'http' | 'https', - PORT: Number.parseInt(process.env.SERVER_PORT), + PORT: Number.parseInt(process.env.SERVER_PORT) || 8080, URL: process.env.SERVER_URL, }, CORS: { - ORIGIN: process.env.CORS_ORIGIN.split(','), - METHODS: process.env.CORS_METHODS.split(',') as HttpMethods[], + ORIGIN: process.env.CORS_ORIGIN.split(',') || ['*'], + METHODS: (process.env.CORS_METHODS.split(',') as HttpMethods[]) || ['POST', 'GET', 'PUT', 'DELETE'], CREDENTIALS: process.env?.CORS_CREDENTIALS === 'true', }, SSL_CONF: { - PRIVKEY: process.env?.SSL_CONF_PRIVKEY, - FULLCHAIN: process.env?.SSL_CONF_FULLCHAIN, + PRIVKEY: process.env?.SSL_CONF_PRIVKEY || '', + FULLCHAIN: process.env?.SSL_CONF_FULLCHAIN || '', }, STORE: { MESSAGES: process.env?.STORE_MESSAGES === 'true', @@ -195,8 +195,8 @@ export class ConfigService { }, DATABASE: { CONNECTION: { - URI: process.env.DATABASE_CONNECTION_URI, - DB_PREFIX_NAME: process.env.DATABASE_CONNECTION_DB_PREFIX_NAME, + URI: process.env.DATABASE_CONNECTION_URI || '', + DB_PREFIX_NAME: process.env.DATABASE_CONNECTION_DB_PREFIX_NAME || 'evolution', }, ENABLED: process.env?.DATABASE_ENABLED === 'true', SAVE_DATA: { @@ -209,18 +209,27 @@ export class ConfigService { }, REDIS: { ENABLED: process.env?.REDIS_ENABLED === 'true', - URI: process.env.REDIS_URI, - PREFIX_KEY: process.env.REDIS_PREFIX_KEY, + URI: process.env.REDIS_URI || '', + PREFIX_KEY: process.env.REDIS_PREFIX_KEY || 'evolution', }, RABBITMQ: { ENABLED: process.env?.RABBITMQ_ENABLED === 'true', - URI: process.env.RABBITMQ_URI, + URI: process.env.RABBITMQ_URI || '', }, WEBSOCKET: { ENABLED: process.env?.WEBSOCKET_ENABLED === 'true', }, LOG: { - LEVEL: process.env?.LOG_LEVEL.split(',') as LogLevel[], + LEVEL: (process.env?.LOG_LEVEL.split(',') as LogLevel[]) || [ + 'ERROR', + 'WARN', + 'DEBUG', + 'INFO', + 'LOG', + 'VERBOSE', + 'DARK', + 'WEBHOOKS', + ], COLOR: process.env?.LOG_COLOR === 'true', BAILEYS: (process.env?.LOG_BAILEYS as LogBaileys) || 'error', }, @@ -229,7 +238,7 @@ export class ConfigService { : Number.parseInt(process.env.DEL_INSTANCE) || false, WEBHOOK: { GLOBAL: { - URL: process.env?.WEBHOOK_GLOBAL_URL, + URL: process.env?.WEBHOOK_GLOBAL_URL || '', ENABLED: process.env?.WEBHOOK_GLOBAL_ENABLED === 'true', WEBHOOK_BY_EVENTS: process.env?.WEBHOOK_GLOBAL_WEBHOOK_BY_EVENTS === 'true', }, @@ -266,16 +275,16 @@ export class ConfigService { COLOR: process.env.QRCODE_COLOR || '#198754', }, AUTHENTICATION: { - TYPE: process.env.AUTHENTICATION_TYPE as 'jwt', + TYPE: process.env.AUTHENTICATION_TYPE as 'apikey', API_KEY: { - KEY: process.env.AUTHENTICATION_API_KEY, + KEY: process.env.AUTHENTICATION_API_KEY || 'BQYHJGJHJ', }, EXPOSE_IN_FETCH_INSTANCES: process.env?.AUTHENTICATION_EXPOSE_IN_FETCH_INSTANCES === 'true', JWT: { EXPIRIN_IN: Number.isInteger(process.env?.AUTHENTICATION_JWT_EXPIRIN_IN) ? Number.parseInt(process.env.AUTHENTICATION_JWT_EXPIRIN_IN) : 3600, - SECRET: process.env.AUTHENTICATION_JWT_SECRET, + SECRET: process.env.AUTHENTICATION_JWT_SECRET || 'L=0YWt]b2w[WF>#>:&E`', }, }, }; diff --git a/src/validate/validate.schema.ts b/src/validate/validate.schema.ts index ebfed66a..2875cf2b 100644 --- a/src/validate/validate.schema.ts +++ b/src/validate/validate.schema.ts @@ -985,9 +985,10 @@ export const typebotSchema: JSONSchema7 = { expire: { type: 'integer' }, delay_message: { type: 'integer' }, unknown_message: { type: 'string' }, + listening_from_me: { type: 'boolean', enum: [true, false] }, }, - required: ['enabled', 'url', 'typebot', 'expire'], - ...isNotEmpty('enabled', 'url', 'typebot', 'expire'), + required: ['enabled', 'url', 'typebot', 'expire', 'delay_message', 'unknown_message', 'listening_from_me'], + ...isNotEmpty('enabled', 'url', 'typebot', 'expire', 'delay_message', 'unknown_message', 'listening_from_me'), }; export const typebotStatusSchema: JSONSchema7 = { diff --git a/src/whatsapp/controllers/instance.controller.ts b/src/whatsapp/controllers/instance.controller.ts index 2a904761..1bcc868d 100644 --- a/src/whatsapp/controllers/instance.controller.ts +++ b/src/whatsapp/controllers/instance.controller.ts @@ -67,6 +67,7 @@ export class InstanceController { typebot_keyword_finish, typebot_delay_message, typebot_unknown_message, + typebot_listening_from_me, }: InstanceDto) { try { this.logger.verbose('requested createInstance from ' + instanceName + ' instance'); @@ -247,6 +248,7 @@ export class InstanceController { keyword_finish: typebot_keyword_finish, delay_message: typebot_delay_message, unknown_message: typebot_unknown_message, + listening_from_me: typebot_listening_from_me, }); } catch (error) { this.logger.log(error); @@ -304,6 +306,7 @@ export class InstanceController { keyword_finish: typebot_keyword_finish, delay_message: typebot_delay_message, unknown_message: typebot_unknown_message, + listening_from_me: typebot_listening_from_me, }, settings, qrcode: getQrcode, @@ -396,6 +399,7 @@ export class InstanceController { keyword_finish: typebot_keyword_finish, delay_message: typebot_delay_message, unknown_message: typebot_unknown_message, + listening_from_me: typebot_listening_from_me, }, settings, chatwoot: { diff --git a/src/whatsapp/dto/instance.dto.ts b/src/whatsapp/dto/instance.dto.ts index cffe0303..7807d1a5 100644 --- a/src/whatsapp/dto/instance.dto.ts +++ b/src/whatsapp/dto/instance.dto.ts @@ -28,6 +28,7 @@ export class InstanceDto { typebot_keyword_finish?: string; typebot_delay_message?: number; typebot_unknown_message?: string; + typebot_listening_from_me?: boolean; proxy_enabled?: boolean; proxy_proxy?: string; } diff --git a/src/whatsapp/dto/typebot.dto.ts b/src/whatsapp/dto/typebot.dto.ts index cda5ae58..6e9c6111 100644 --- a/src/whatsapp/dto/typebot.dto.ts +++ b/src/whatsapp/dto/typebot.dto.ts @@ -14,5 +14,6 @@ export class TypebotDto { keyword_finish?: string; delay_message?: number; unknown_message?: string; + listening_from_me?: boolean; sessions?: Session[]; } diff --git a/src/whatsapp/models/typebot.model.ts b/src/whatsapp/models/typebot.model.ts index 5b005294..28135ebd 100644 --- a/src/whatsapp/models/typebot.model.ts +++ b/src/whatsapp/models/typebot.model.ts @@ -19,6 +19,7 @@ export class TypebotRaw { keyword_finish?: string; delay_message?: number; unknown_message?: string; + listening_from_me?: boolean; sessions?: Session[]; } @@ -31,6 +32,7 @@ const typebotSchema = new Schema({ keyword_finish: { type: String, required: true }, delay_message: { type: Number, required: true }, unknown_message: { type: String, required: true }, + listening_from_me: { type: Boolean, required: true }, sessions: [ { remoteJid: { type: String, required: true }, diff --git a/src/whatsapp/services/chamaai.service.ts b/src/whatsapp/services/chamaai.service.ts index ffa2d5a6..adfea803 100644 --- a/src/whatsapp/services/chamaai.service.ts +++ b/src/whatsapp/services/chamaai.service.ts @@ -151,8 +151,6 @@ export class ChamaaiService { }, }); - console.log(request.data); - const answer = request.data?.answer; const type = request.data?.type; diff --git a/src/whatsapp/services/chatwoot.service.ts b/src/whatsapp/services/chatwoot.service.ts index 4dc9215c..abe48150 100644 --- a/src/whatsapp/services/chatwoot.service.ts +++ b/src/whatsapp/services/chatwoot.service.ts @@ -1444,16 +1444,16 @@ export class ChatwootService { await this.createBotMessage(instance, msgStatus, 'incoming'); } - if (event === 'connection.update') { - this.logger.verbose('event connection.update'); + // if (event === 'connection.update') { + // this.logger.verbose('event connection.update'); - if (body.status === 'open') { - const msgConnection = `🚀 Connection successfully established!`; + // if (body.status === 'open') { + // const msgConnection = `🚀 Connection successfully established!`; - this.logger.verbose('send message to chatwoot'); - await this.createBotMessage(instance, msgConnection, 'incoming'); - } - } + // this.logger.verbose('send message to chatwoot'); + // await this.createBotMessage(instance, msgConnection, 'incoming'); + // } + // } if (event === 'qrcode.updated') { this.logger.verbose('event qrcode.updated'); diff --git a/src/whatsapp/services/monitor.service.ts b/src/whatsapp/services/monitor.service.ts index 039a5f29..4c386180 100644 --- a/src/whatsapp/services/monitor.service.ts +++ b/src/whatsapp/services/monitor.service.ts @@ -220,6 +220,11 @@ export class WAMonitoringService { execSync(`rm -rf ${join(STORE_DIR, 'auth', 'apikey', instanceName + '.json')}`); execSync(`rm -rf ${join(STORE_DIR, 'webhook', instanceName + '.json')}`); execSync(`rm -rf ${join(STORE_DIR, 'chatwoot', instanceName + '*')}`); + execSync(`rm -rf ${join(STORE_DIR, 'chamaai', instanceName + '*')}`); + execSync(`rm -rf ${join(STORE_DIR, 'proxy', instanceName + '*')}`); + execSync(`rm -rf ${join(STORE_DIR, 'rabbitmq', instanceName + '*')}`); + execSync(`rm -rf ${join(STORE_DIR, 'typebot', instanceName + '*')}`); + execSync(`rm -rf ${join(STORE_DIR, 'websocket', instanceName + '*')}`); execSync(`rm -rf ${join(STORE_DIR, 'settings', instanceName + '*')}`); return; diff --git a/src/whatsapp/services/typebot.service.ts b/src/whatsapp/services/typebot.service.ts index 1128bb0d..6ebcf8b1 100644 --- a/src/whatsapp/services/typebot.service.ts +++ b/src/whatsapp/services/typebot.service.ts @@ -53,6 +53,7 @@ export class TypebotService { keyword_finish: findData.keyword_finish, delay_message: findData.delay_message, unknown_message: findData.unknown_message, + listening_from_me: findData.listening_from_me, sessions: findData.sessions, }; @@ -76,6 +77,7 @@ export class TypebotService { keyword_finish: findData.keyword_finish, delay_message: findData.delay_message, unknown_message: findData.unknown_message, + listening_from_me: findData.listening_from_me, sessions: findData.sessions, }; @@ -195,6 +197,7 @@ export class TypebotService { keyword_finish: data.keyword_finish, delay_message: data.delay_message, unknown_message: data.unknown_message, + listening_from_me: data.listening_from_me, sessions: data.sessions, }; @@ -354,13 +357,15 @@ export class TypebotService { } public async sendTypebot(instance: InstanceDto, remoteJid: string, msg: MessageRaw) { - const url = (await this.find(instance)).url; - const typebot = (await this.find(instance)).typebot; - const sessions = ((await this.find(instance)).sessions as Session[]) ?? []; - const expire = (await this.find(instance)).expire; - const keyword_finish = (await this.find(instance)).keyword_finish; - const delay_message = (await this.find(instance)).delay_message; - const unknown_message = (await this.find(instance)).unknown_message; + const findTypebot = await this.find(instance); + const url = findTypebot.url; + const typebot = findTypebot.typebot; + const sessions = (findTypebot.sessions as Session[]) ?? []; + const expire = findTypebot.expire; + const keyword_finish = findTypebot.keyword_finish; + const delay_message = findTypebot.delay_message; + const unknown_message = findTypebot.unknown_message; + const listening_from_me = findTypebot.listening_from_me; const session = sessions.find((session) => session.remoteJid === remoteJid); @@ -381,6 +386,7 @@ export class TypebotService { keyword_finish: keyword_finish, delay_message: delay_message, unknown_message: unknown_message, + listening_from_me: listening_from_me, sessions: sessions, remoteJid: remoteJid, pushName: msg.pushName, @@ -404,6 +410,7 @@ export class TypebotService { keyword_finish: keyword_finish, delay_message: delay_message, unknown_message: unknown_message, + listening_from_me: listening_from_me, sessions: sessions, remoteJid: remoteJid, pushName: msg.pushName, @@ -428,6 +435,7 @@ export class TypebotService { keyword_finish: keyword_finish, delay_message: delay_message, unknown_message: unknown_message, + listening_from_me: listening_from_me, sessions, }; @@ -462,6 +470,7 @@ export class TypebotService { keyword_finish: keyword_finish, delay_message: delay_message, unknown_message: unknown_message, + listening_from_me: listening_from_me, sessions, }; diff --git a/src/whatsapp/services/whatsapp.service.ts b/src/whatsapp/services/whatsapp.service.ts index 445069a5..432d8075 100644 --- a/src/whatsapp/services/whatsapp.service.ts +++ b/src/whatsapp/services/whatsapp.service.ts @@ -519,6 +519,9 @@ export class WAStartupService { this.localTypebot.unknown_message = data?.unknown_message; this.logger.verbose(`Typebot unknown_message: ${this.localTypebot.unknown_message}`); + this.localTypebot.listening_from_me = data?.listening_from_me; + this.logger.verbose(`Typebot listening_from_me: ${this.localTypebot.listening_from_me}`); + this.localTypebot.sessions = data?.sessions; this.logger.verbose('Typebot loaded'); @@ -532,6 +535,7 @@ export class WAStartupService { this.logger.verbose(`Typebot keyword_finish: ${data.keyword_finish}`); this.logger.verbose(`Typebot delay_message: ${data.delay_message}`); this.logger.verbose(`Typebot unknown_message: ${data.unknown_message}`); + this.logger.verbose(`Typebot listening_from_me: ${data.listening_from_me}`); Object.assign(this.localTypebot, data); this.logger.verbose('Typebot set'); } @@ -1434,12 +1438,14 @@ export class WAStartupService { ); } - if (this.localTypebot.enabled && messageRaw.key.fromMe === false) { - await this.typebotService.sendTypebot( - { instanceName: this.instance.name }, - messageRaw.key.remoteJid, - messageRaw, - ); + if (this.localTypebot.enabled) { + if (!(this.localTypebot.listening_from_me === false && messageRaw.key.fromMe === true)) { + await this.typebotService.sendTypebot( + { instanceName: this.instance.name }, + messageRaw.key.remoteJid, + messageRaw, + ); + } } if (this.localChamaai.enabled && messageRaw.key.fromMe === false) { diff --git a/src/whatsapp/types/wa.types.ts b/src/whatsapp/types/wa.types.ts index 72718b65..b4020649 100644 --- a/src/whatsapp/types/wa.types.ts +++ b/src/whatsapp/types/wa.types.ts @@ -94,6 +94,7 @@ export declare namespace wa { keyword_finish?: string; delay_message?: number; unknown_message?: string; + listening_from_me?: boolean; sessions?: Session[]; }; From 10c7e81e0271c0acd87816389a015410227bc215 Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Wed, 23 Aug 2023 07:54:46 -0300 Subject: [PATCH 09/36] Added webhooks for typebot events --- CHANGELOG.md | 2 ++ Docker/.env.example | 5 +++ Dockerfile | 5 +++ src/config/env.config.ts | 6 ++++ src/dev-env.yml | 11 ++++-- src/validate/validate.schema.ts | 12 +++++++ .../controllers/instance.controller.ts | 9 +++++ .../controllers/rabbitmq.controller.ts | 3 ++ .../controllers/webhook.controller.ts | 3 ++ .../controllers/websocket.controller.ts | 3 ++ src/whatsapp/services/typebot.service.ts | 34 +++++++++++++++---- src/whatsapp/types/wa.types.ts | 3 ++ 12 files changed, 87 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 23129582..7b3b343e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ ### Feature * Added listening_from_me option in Set Typebot +* Added variables options in Start Typebot +* Added webhooks for typebot events ### Fixed diff --git a/Docker/.env.example b/Docker/.env.example index bf21a71c..69ceaf23 100644 --- a/Docker/.env.example +++ b/Docker/.env.example @@ -81,6 +81,11 @@ WEBHOOK_EVENTS_CONNECTION_UPDATE=true WEBHOOK_EVENTS_CALL=true # This event fires every time a new token is requested via the refresh route WEBHOOK_EVENTS_NEW_JWT_TOKEN=false +# This events is used with Typebot +WEBHOOK_EVENTS_TYPEBOT_START=false +WEBHOOK_EVENTS_TYPEBOT_CHANGE_STATUS=false +# This event is used with Chama AI +WEBHOOK_EVENTS_CHAMA_AI_ACTION=false # Name that will be displayed on smartphone connection CONFIG_SESSION_PHONE_CLIENT=EvolutionAPI diff --git a/Dockerfile b/Dockerfile index 3777091f..d4defe07 100644 --- a/Dockerfile +++ b/Dockerfile @@ -84,6 +84,11 @@ ENV WEBHOOK_EVENTS_CALL=true ENV WEBHOOK_EVENTS_NEW_JWT_TOKEN=false +ENV WEBHOOK_EVENTS_TYPEBOT_START=false +ENV WEBHOOK_EVENTS_TYPEBOT_CHANGE_STATUS=false + +ENV WEBHOOK_EVENTS_CHAMA_AI_ACTION=false + ENV CONFIG_SESSION_PHONE_CLIENT=EvolutionAPI ENV CONFIG_SESSION_PHONE_NAME=chrome diff --git a/src/config/env.config.ts b/src/config/env.config.ts index f68c4108..a2255b32 100644 --- a/src/config/env.config.ts +++ b/src/config/env.config.ts @@ -92,6 +92,9 @@ export type EventsWebhook = { GROUP_PARTICIPANTS_UPDATE: boolean; CALL: boolean; NEW_JWT_TOKEN: boolean; + TYPEBOT_START: boolean; + TYPEBOT_CHANGE_STATUS: boolean; + CHAMA_AI_ACTION: boolean; }; export type ApiKey = { KEY: string }; @@ -264,6 +267,9 @@ export class ConfigService { GROUP_PARTICIPANTS_UPDATE: process.env?.WEBHOOK_EVENTS_GROUP_PARTICIPANTS_UPDATE === 'true', CALL: process.env?.WEBHOOK_EVENTS_CALL === 'true', NEW_JWT_TOKEN: process.env?.WEBHOOK_EVENTS_NEW_JWT_TOKEN === 'true', + TYPEBOT_START: process.env?.WEBHOOK_EVENTS_TYPEBOT_START === 'true', + TYPEBOT_CHANGE_STATUS: process.env?.WEBHOOK_EVENTS_TYPEBOT_CHANGE_STATUS === 'true', + CHAMA_AI_ACTION: process.env?.WEBHOOK_EVENTS_CHAMA_AI_ACTION === 'true', }, }, CONFIG_SESSION_PHONE: { diff --git a/src/dev-env.yml b/src/dev-env.yml index 235ec1b7..bd9ad277 100644 --- a/src/dev-env.yml +++ b/src/dev-env.yml @@ -83,7 +83,7 @@ RABBITMQ: ENABLED: false URI: "amqp://guest:guest@localhost:5672" -WEBSOCKET: +WEBSOCKET: ENABLED: false # Global Webhook Settings @@ -120,6 +120,11 @@ WEBHOOK: CALL: true # This event fires every time a new token is requested via the refresh route NEW_JWT_TOKEN: false + # This events is used with Typebot + TYPEBOT_START: false + TYPEBOT_CHANGE_STATUS: false + # This event is used with Chama AI + CHAMA_AI_ACTION: false CONFIG_SESSION_PHONE: # Name that will be displayed on smartphone connection @@ -129,7 +134,7 @@ CONFIG_SESSION_PHONE: # Set qrcode display limit QRCODE: LIMIT: 30 - COLOR: '#198754' + COLOR: "#198754" # Defines an authentication type for the api # We recommend using the apikey because it will allow you to use a custom token, @@ -145,4 +150,4 @@ AUTHENTICATION: # Set the secret key to encrypt and decrypt your token and its expiration time. JWT: EXPIRIN_IN: 0 # seconds - 3600s === 1h | zero (0) - never expires - SECRET: L=0YWt]b2w[WF>#>:&E` \ No newline at end of file + SECRET: L=0YWt]b2w[WF>#>:&E` diff --git a/src/validate/validate.schema.ts b/src/validate/validate.schema.ts index 2875cf2b..b8a4c0ad 100644 --- a/src/validate/validate.schema.ts +++ b/src/validate/validate.schema.ts @@ -55,6 +55,9 @@ export const instanceNameSchema: JSONSchema7 = { 'CONNECTION_UPDATE', 'CALL', 'NEW_JWT_TOKEN', + 'TYPEBOT_START', + 'TYPEBOT_CHANGE_STATUS', + 'CHAMA_AI_ACTION', ], }, }, @@ -856,6 +859,9 @@ export const webhookSchema: JSONSchema7 = { 'CONNECTION_UPDATE', 'CALL', 'NEW_JWT_TOKEN', + 'TYPEBOT_START', + 'TYPEBOT_CHANGE_STATUS', + 'CHAMA_AI_ACTION', ], }, }, @@ -927,6 +933,9 @@ export const websocketSchema: JSONSchema7 = { 'CONNECTION_UPDATE', 'CALL', 'NEW_JWT_TOKEN', + 'TYPEBOT_START', + 'TYPEBOT_CHANGE_STATUS', + 'CHAMA_AI_ACTION', ], }, }, @@ -967,6 +976,9 @@ export const rabbitmqSchema: JSONSchema7 = { 'CONNECTION_UPDATE', 'CALL', 'NEW_JWT_TOKEN', + 'TYPEBOT_START', + 'TYPEBOT_CHANGE_STATUS', + 'CHAMA_AI_ACTION', ], }, }, diff --git a/src/whatsapp/controllers/instance.controller.ts b/src/whatsapp/controllers/instance.controller.ts index 1bcc868d..818fabf1 100644 --- a/src/whatsapp/controllers/instance.controller.ts +++ b/src/whatsapp/controllers/instance.controller.ts @@ -127,6 +127,9 @@ export class InstanceController { 'CONNECTION_UPDATE', 'CALL', 'NEW_JWT_TOKEN', + 'TYPEBOT_START', + 'TYPEBOT_CHANGE_STATUS', + 'CHAMA_AI_ACTION', ]; } else { newEvents = events; @@ -173,6 +176,9 @@ export class InstanceController { 'CONNECTION_UPDATE', 'CALL', 'NEW_JWT_TOKEN', + 'TYPEBOT_START', + 'TYPEBOT_CHANGE_STATUS', + 'CHAMA_AI_ACTION', ]; } else { newEvents = events; @@ -217,6 +223,9 @@ export class InstanceController { 'CONNECTION_UPDATE', 'CALL', 'NEW_JWT_TOKEN', + 'TYPEBOT_START', + 'TYPEBOT_CHANGE_STATUS', + 'CHAMA_AI_ACTION', ]; } else { newEvents = events; diff --git a/src/whatsapp/controllers/rabbitmq.controller.ts b/src/whatsapp/controllers/rabbitmq.controller.ts index 4efd1c3f..8d33ce84 100644 --- a/src/whatsapp/controllers/rabbitmq.controller.ts +++ b/src/whatsapp/controllers/rabbitmq.controller.ts @@ -40,6 +40,9 @@ export class RabbitmqController { 'CONNECTION_UPDATE', 'CALL', 'NEW_JWT_TOKEN', + 'TYPEBOT_START', + 'TYPEBOT_CHANGE_STATUS', + 'CHAMA_AI_ACTION', ]; } diff --git a/src/whatsapp/controllers/webhook.controller.ts b/src/whatsapp/controllers/webhook.controller.ts index 5515b8cc..8201f1b5 100644 --- a/src/whatsapp/controllers/webhook.controller.ts +++ b/src/whatsapp/controllers/webhook.controller.ts @@ -48,6 +48,9 @@ export class WebhookController { 'CONNECTION_UPDATE', 'CALL', 'NEW_JWT_TOKEN', + 'TYPEBOT_START', + 'TYPEBOT_CHANGE_STATUS', + 'CHAMA_AI_ACTION', ]; } diff --git a/src/whatsapp/controllers/websocket.controller.ts b/src/whatsapp/controllers/websocket.controller.ts index fb6bea0f..5771027a 100644 --- a/src/whatsapp/controllers/websocket.controller.ts +++ b/src/whatsapp/controllers/websocket.controller.ts @@ -40,6 +40,9 @@ export class WebsocketController { 'CONNECTION_UPDATE', 'CALL', 'NEW_JWT_TOKEN', + 'TYPEBOT_START', + 'TYPEBOT_CHANGE_STATUS', + 'CHAMA_AI_ACTION', ]; } diff --git a/src/whatsapp/services/typebot.service.ts b/src/whatsapp/services/typebot.service.ts index 6ebcf8b1..ff595c6b 100644 --- a/src/whatsapp/services/typebot.service.ts +++ b/src/whatsapp/services/typebot.service.ts @@ -4,6 +4,7 @@ import { Logger } from '../../config/logger.config'; import { InstanceDto } from '../dto/instance.dto'; import { Session, TypebotDto } from '../dto/typebot.dto'; import { MessageRaw } from '../models'; +import { Events } from '../types/wa.types'; import { WAMonitoringService } from './monitor.service'; export class TypebotService { @@ -83,6 +84,14 @@ export class TypebotService { this.create(instance, typebotData); + this.waMonitor.waInstances[instance.instanceName].sendDataWebhook(Events.TYPEBOT_CHANGE_STATUS, { + remoteJid: remoteJid, + status: status, + url: findData.url, + typebot: findData.typebot, + session, + }); + return { typebot: { ...instance, typebot: typebotData } }; } @@ -90,6 +99,15 @@ export class TypebotService { const remoteJid = data.remoteJid; const url = data.url; const typebot = data.typebot; + const variables = data.variables; + + const prefilledVariables = { + remoteJid: remoteJid, + }; + + variables.forEach((variable) => { + prefilledVariables[variable.name] = variable.value; + }); const id = Math.floor(Math.random() * 10000000000).toString(); @@ -97,14 +115,9 @@ export class TypebotService { sessionId: id, startParams: { typebot: data.typebot, - prefilledVariables: { - remoteJid: data.remoteJid, - pushName: data.pushName, - instanceName: instance.instanceName, - }, + prefilledVariables: prefilledVariables, }, }; - console.log(reqData); const request = await axios.post(data.url + '/api/v1/sendMessage', reqData); @@ -116,6 +129,14 @@ export class TypebotService { request.data.clientSideActions, ); + this.waMonitor.waInstances[instance.instanceName].sendDataWebhook(Events.TYPEBOT_START, { + remoteJid: remoteJid, + url: url, + typebot: typebot, + variables: variables, + sessionId: id, + }); + return { typebot: { ...instance, @@ -123,6 +144,7 @@ export class TypebotService { url: url, remoteJid: remoteJid, typebot: typebot, + variables: variables, }, }, }; diff --git a/src/whatsapp/types/wa.types.ts b/src/whatsapp/types/wa.types.ts index b4020649..2025e7f7 100644 --- a/src/whatsapp/types/wa.types.ts +++ b/src/whatsapp/types/wa.types.ts @@ -23,6 +23,9 @@ export enum Events { GROUPS_UPDATE = 'groups.update', GROUP_PARTICIPANTS_UPDATE = 'group-participants.update', CALL = 'call', + TYPEBOT_START = 'typebot.start', + TYPEBOT_CHANGE_STATUS = 'typebot.change-status', + CHAMA_AI_ACTION = 'chama-ai.action', } export declare namespace wa { From 706cc6f49c5547279eb1245e229a4e7fc994b4e2 Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Wed, 23 Aug 2023 08:15:53 -0300 Subject: [PATCH 10/36] Added webhooks for typebot events --- src/whatsapp/services/chamaai.service.ts | 36 ++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/src/whatsapp/services/chamaai.service.ts b/src/whatsapp/services/chamaai.service.ts index adfea803..ad2a42ad 100644 --- a/src/whatsapp/services/chamaai.service.ts +++ b/src/whatsapp/services/chamaai.service.ts @@ -7,6 +7,7 @@ import { Logger } from '../../config/logger.config'; import { ChamaaiDto } from '../dto/chamaai.dto'; import { InstanceDto } from '../dto/instance.dto'; import { ChamaaiRaw } from '../models'; +import { Events } from '../types/wa.types'; import { WAMonitoringService } from './monitor.service'; export class ChamaaiService { @@ -88,6 +89,32 @@ export class ChamaaiService { return speakingTimeInSeconds; } + private getRegexPatterns() { + const patternsToCheck = [ + '.*atend.*humano.*', + '.*falar.*com.*um.*humano.*', + '.*fala.*humano.*', + '.*atend.*humano.*', + '.*fala.*atend.*', + '.*preciso.*ajuda.*', + '.*quero.*suporte.*', + '.*preciso.*assiste.*', + '.*ajuda.*atend.*', + '.*chama.*atendente.*', + '.*suporte.*urgente.*', + '.*atend.*por.*favor.*', + '.*quero.*falar.*com.*alguém.*', + '.*falar.*com.*um.*humano.*', + '.*transfer.*humano.*', + '.*transfer.*atend.*', + '.*equipe.*humano.*', + '.*suporte.*humano.*', + ]; + + const regexPatterns = patternsToCheck.map((pattern) => new RegExp(pattern, 'iu')); + return regexPatterns; + } + public async sendChamaai(instance: InstanceDto, remoteJid: string, msg: any) { const content = this.getConversationMessage(msg.message); const msgType = msg.messageType; @@ -189,6 +216,15 @@ export class ChamaaiService { }, }); } + + if (this.getRegexPatterns().some((pattern) => pattern.test(answer))) { + this.waMonitor.waInstances[instance.instanceName].sendDataWebhook(Events.CHAMA_AI_ACTION, { + remoteJid: remoteJid, + message: msg, + answer: answer, + action: 'transfer', + }); + } } } } From c03919be2d2f78555affc8ef03a3d208156021ca Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Wed, 23 Aug 2023 08:58:49 -0300 Subject: [PATCH 11/36] Added ChamaAI integration --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b3b343e..5701dfb4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ * Added listening_from_me option in Set Typebot * Added variables options in Start Typebot * Added webhooks for typebot events +* Added ChamaAI integration ### Fixed From 9b72b3e332de2b74082078b0f585e93266030c45 Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Fri, 25 Aug 2023 09:01:48 -0300 Subject: [PATCH 12/36] Added webhook to send errors --- CHANGELOG.md | 1 + Docker/.env.example | 2 ++ Dockerfile | 2 ++ src/config/env.config.ts | 2 ++ src/dev-env.yml | 2 ++ src/main.ts | 31 ++++++++++++++++++- src/whatsapp/guards/instance.guard.ts | 43 ++++++++++++++++----------- 7 files changed, 65 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5701dfb4..427a412b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ * Added variables options in Start Typebot * Added webhooks for typebot events * Added ChamaAI integration +* Added webhook to send errors ### Fixed diff --git a/Docker/.env.example b/Docker/.env.example index 69ceaf23..ef70e704 100644 --- a/Docker/.env.example +++ b/Docker/.env.example @@ -86,6 +86,8 @@ WEBHOOK_EVENTS_TYPEBOT_START=false WEBHOOK_EVENTS_TYPEBOT_CHANGE_STATUS=false # This event is used with Chama AI WEBHOOK_EVENTS_CHAMA_AI_ACTION=false +# This event is used to send errors +WEBHOOK_EVENTS_ERRORS=false # Name that will be displayed on smartphone connection CONFIG_SESSION_PHONE_CLIENT=EvolutionAPI diff --git a/Dockerfile b/Dockerfile index d4defe07..76699acb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -89,6 +89,8 @@ ENV WEBHOOK_EVENTS_TYPEBOT_CHANGE_STATUS=false ENV WEBHOOK_EVENTS_CHAMA_AI_ACTION=false +ENV WEBHOOK_EVENTS_ERRORS=false + ENV CONFIG_SESSION_PHONE_CLIENT=EvolutionAPI ENV CONFIG_SESSION_PHONE_NAME=chrome diff --git a/src/config/env.config.ts b/src/config/env.config.ts index a2255b32..fb566eaf 100644 --- a/src/config/env.config.ts +++ b/src/config/env.config.ts @@ -95,6 +95,7 @@ export type EventsWebhook = { TYPEBOT_START: boolean; TYPEBOT_CHANGE_STATUS: boolean; CHAMA_AI_ACTION: boolean; + ERRORS: boolean; }; export type ApiKey = { KEY: string }; @@ -270,6 +271,7 @@ export class ConfigService { TYPEBOT_START: process.env?.WEBHOOK_EVENTS_TYPEBOT_START === 'true', TYPEBOT_CHANGE_STATUS: process.env?.WEBHOOK_EVENTS_TYPEBOT_CHANGE_STATUS === 'true', CHAMA_AI_ACTION: process.env?.WEBHOOK_EVENTS_CHAMA_AI_ACTION === 'true', + ERRORS: process.env?.WEBHOOK_EVENTS_ERRORS === 'true', }, }, CONFIG_SESSION_PHONE: { diff --git a/src/dev-env.yml b/src/dev-env.yml index bd9ad277..624137e7 100644 --- a/src/dev-env.yml +++ b/src/dev-env.yml @@ -125,6 +125,8 @@ WEBHOOK: TYPEBOT_CHANGE_STATUS: false # This event is used with Chama AI CHAMA_AI_ACTION: false + # This event is used to send errors to the webhook + ERRORS: false CONFIG_SESSION_PHONE: # Name that will be displayed on smartphone connection diff --git a/src/main.ts b/src/main.ts index 2095bd4c..5727575c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,11 +1,12 @@ import 'express-async-errors'; +import axios from 'axios'; import compression from 'compression'; import cors from 'cors'; import express, { json, NextFunction, Request, Response, urlencoded } from 'express'; import { join } from 'path'; -import { configService, Cors, HttpServer, Rabbitmq } from './config/env.config'; +import { configService, Cors, HttpServer, Rabbitmq, Webhook } from './config/env.config'; import { onUnexpectedError } from './config/error.config'; import { Logger } from './config/logger.config'; import { ROOT_DIR } from './config/path.config'; @@ -54,6 +55,34 @@ function bootstrap() { app.use( (err: Error, req: Request, res: Response, next: NextFunction) => { if (err) { + const webhook = configService.get('WEBHOOK'); + + if (webhook.GLOBAL.ENABLED && webhook.EVENTS.ERRORS) { + const tzoffset = new Date().getTimezoneOffset() * 60000; //offset in milliseconds + const localISOTime = new Date(Date.now() - tzoffset).toISOString(); + const now = localISOTime; + + const errorData = { + event: 'error', + data: { + error: err['error'] || 'Internal Server Error', + message: err['message'] || 'Internal Server Error', + status: err['status'] || 500, + response: { + message: err['message'] || 'Internal Server Error', + }, + }, + date_time: now, + }; + + logger.error(errorData); + + const baseURL = configService.get('WEBHOOK').GLOBAL.URL; + const httpService = axios.create({ baseURL }); + + httpService.post('', errorData); + } + return res.status(err['status'] || 500).json({ status: err['status'] || 500, error: err['error'] || 'Internal Server Error', diff --git a/src/whatsapp/guards/instance.guard.ts b/src/whatsapp/guards/instance.guard.ts index 144f4d40..e5b7ebe0 100644 --- a/src/whatsapp/guards/instance.guard.ts +++ b/src/whatsapp/guards/instance.guard.ts @@ -4,31 +4,40 @@ import { join } from 'path'; import { configService, Database, Redis } from '../../config/env.config'; import { INSTANCE_DIR } from '../../config/path.config'; -import { BadRequestException, ForbiddenException, NotFoundException } from '../../exceptions'; +import { + BadRequestException, + ForbiddenException, + InternalServerErrorException, + NotFoundException, +} from '../../exceptions'; import { dbserver } from '../../libs/db.connect'; import { InstanceDto } from '../dto/instance.dto'; import { cache, waMonitor } from '../whatsapp.module'; async function getInstance(instanceName: string) { - const db = configService.get('DATABASE'); - const redisConf = configService.get('REDIS'); + try { + const db = configService.get('DATABASE'); + const redisConf = configService.get('REDIS'); - const exists = !!waMonitor.waInstances[instanceName]; + const exists = !!waMonitor.waInstances[instanceName]; - if (redisConf.ENABLED) { - const keyExists = await cache.keyExists(); - return exists || keyExists; + if (redisConf.ENABLED) { + const keyExists = await cache.keyExists(); + return exists || keyExists; + } + + if (db.ENABLED) { + const collection = dbserver + .getClient() + .db(db.CONNECTION.DB_PREFIX_NAME + '-instances') + .collection(instanceName); + return exists || (await collection.find({}).toArray()).length > 0; + } + + return exists || existsSync(join(INSTANCE_DIR, instanceName)); + } catch (error) { + throw new InternalServerErrorException(error?.toString()); } - - if (db.ENABLED) { - const collection = dbserver - .getClient() - .db(db.CONNECTION.DB_PREFIX_NAME + '-instances') - .collection(instanceName); - return exists || (await collection.find({}).toArray()).length > 0; - } - - return exists || existsSync(join(INSTANCE_DIR, instanceName)); } export async function instanceExistsGuard(req: Request, _: Response, next: NextFunction) { From 54cfa67d529647b482e21da0a516523b2b8a37bd Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Fri, 25 Aug 2023 09:31:13 -0300 Subject: [PATCH 13/36] Added webhook to send errors --- Docker/.env.example | 1 + Dockerfile | 1 + src/config/env.config.ts | 2 ++ src/dev-env.yml | 1 + src/main.ts | 4 ++-- 5 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Docker/.env.example b/Docker/.env.example index ef70e704..847f6ef1 100644 --- a/Docker/.env.example +++ b/Docker/.env.example @@ -88,6 +88,7 @@ WEBHOOK_EVENTS_TYPEBOT_CHANGE_STATUS=false WEBHOOK_EVENTS_CHAMA_AI_ACTION=false # This event is used to send errors WEBHOOK_EVENTS_ERRORS=false +WEBHOOK_EVENTS_ERRORS_WEBHOOK= # Name that will be displayed on smartphone connection CONFIG_SESSION_PHONE_CLIENT=EvolutionAPI diff --git a/Dockerfile b/Dockerfile index 76699acb..6959ea30 100644 --- a/Dockerfile +++ b/Dockerfile @@ -90,6 +90,7 @@ ENV WEBHOOK_EVENTS_TYPEBOT_CHANGE_STATUS=false ENV WEBHOOK_EVENTS_CHAMA_AI_ACTION=false ENV WEBHOOK_EVENTS_ERRORS=false +ENV WEBHOOK_EVENTS_ERRORS_WEBHOOK= ENV CONFIG_SESSION_PHONE_CLIENT=EvolutionAPI ENV CONFIG_SESSION_PHONE_NAME=chrome diff --git a/src/config/env.config.ts b/src/config/env.config.ts index fb566eaf..94f67a7f 100644 --- a/src/config/env.config.ts +++ b/src/config/env.config.ts @@ -96,6 +96,7 @@ export type EventsWebhook = { TYPEBOT_CHANGE_STATUS: boolean; CHAMA_AI_ACTION: boolean; ERRORS: boolean; + ERRORS_WEBHOOK: string; }; export type ApiKey = { KEY: string }; @@ -272,6 +273,7 @@ export class ConfigService { TYPEBOT_CHANGE_STATUS: process.env?.WEBHOOK_EVENTS_TYPEBOT_CHANGE_STATUS === 'true', CHAMA_AI_ACTION: process.env?.WEBHOOK_EVENTS_CHAMA_AI_ACTION === 'true', ERRORS: process.env?.WEBHOOK_EVENTS_ERRORS === 'true', + ERRORS_WEBHOOK: process.env?.WEBHOOK_EVENTS_ERRORS_WEBHOOK || '', }, }, CONFIG_SESSION_PHONE: { diff --git a/src/dev-env.yml b/src/dev-env.yml index 624137e7..7f686cb1 100644 --- a/src/dev-env.yml +++ b/src/dev-env.yml @@ -127,6 +127,7 @@ WEBHOOK: CHAMA_AI_ACTION: false # This event is used to send errors to the webhook ERRORS: false + ERRORS_WEBHOOK: CONFIG_SESSION_PHONE: # Name that will be displayed on smartphone connection diff --git a/src/main.ts b/src/main.ts index 5727575c..167909b1 100644 --- a/src/main.ts +++ b/src/main.ts @@ -57,7 +57,7 @@ function bootstrap() { if (err) { const webhook = configService.get('WEBHOOK'); - if (webhook.GLOBAL.ENABLED && webhook.EVENTS.ERRORS) { + if (webhook.EVENTS.ERRORS_WEBHOOK && webhook.EVENTS.ERRORS_WEBHOOK != '' && webhook.EVENTS.ERRORS) { const tzoffset = new Date().getTimezoneOffset() * 60000; //offset in milliseconds const localISOTime = new Date(Date.now() - tzoffset).toISOString(); const now = localISOTime; @@ -77,7 +77,7 @@ function bootstrap() { logger.error(errorData); - const baseURL = configService.get('WEBHOOK').GLOBAL.URL; + const baseURL = webhook.EVENTS.ERRORS_WEBHOOK; const httpService = axios.create({ baseURL }); httpService.post('', errorData); From 821a422ab526c56b2bdd2e9554dfb905cb49e2a5 Mon Sep 17 00:00:00 2001 From: Wender Teixeira Date: Mon, 28 Aug 2023 23:26:40 -0300 Subject: [PATCH 14/36] Fix set event rabbitmq/websocket --- src/whatsapp/controllers/instance.controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/whatsapp/controllers/instance.controller.ts b/src/whatsapp/controllers/instance.controller.ts index 818fabf1..7d3691b5 100644 --- a/src/whatsapp/controllers/instance.controller.ts +++ b/src/whatsapp/controllers/instance.controller.ts @@ -181,7 +181,7 @@ export class InstanceController { 'CHAMA_AI_ACTION', ]; } else { - newEvents = events; + newEvents = websocket_events; } this.websocketService.create(instance, { enabled: true, @@ -232,7 +232,7 @@ export class InstanceController { } this.rabbitmqService.create(instance, { enabled: true, - events: newEvents, + events: rabbitmq_events, }); rabbitmqEvents = (await this.rabbitmqService.find(instance)).events; From 92632b2b96f16a25090c30ac2bfe9344422ab4c8 Mon Sep 17 00:00:00 2001 From: Alan Mosko Date: Tue, 29 Aug 2023 14:29:50 -0300 Subject: [PATCH 15/36] wip --- Docker/.env.example | 4 ++-- Dockerfile | 2 +- src/config/env.config.ts | 2 +- src/dev-env.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Docker/.env.example b/Docker/.env.example index bf21a71c..739d24c0 100644 --- a/Docker/.env.example +++ b/Docker/.env.example @@ -84,8 +84,8 @@ WEBHOOK_EVENTS_NEW_JWT_TOKEN=false # Name that will be displayed on smartphone connection CONFIG_SESSION_PHONE_CLIENT=EvolutionAPI -# Browser Name = chrome | firefox | edge | opera | safari -CONFIG_SESSION_PHONE_NAME=chrome +# Browser Name = Chrome | Firefox | Edge | Opera | Safari +CONFIG_SESSION_PHONE_NAME=Chrome # Set qrcode display limit QRCODE_LIMIT=30 diff --git a/Dockerfile b/Dockerfile index c9975782..2a241a1d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -85,7 +85,7 @@ ENV WEBHOOK_EVENTS_CALL=true ENV WEBHOOK_EVENTS_NEW_JWT_TOKEN=false ENV CONFIG_SESSION_PHONE_CLIENT=EvolutionAPI -ENV CONFIG_SESSION_PHONE_NAME=chrome +ENV CONFIG_SESSION_PHONE_NAME=Chrome ENV QRCODE_LIMIT=30 ENV QRCODE_COLOR=#198754 diff --git a/src/config/env.config.ts b/src/config/env.config.ts index db425c17..85e5ee70 100644 --- a/src/config/env.config.ts +++ b/src/config/env.config.ts @@ -259,7 +259,7 @@ export class ConfigService { }, CONFIG_SESSION_PHONE: { CLIENT: process.env?.CONFIG_SESSION_PHONE_CLIENT || 'Evolution API', - NAME: process.env?.CONFIG_SESSION_PHONE_NAME || 'chrome', + NAME: process.env?.CONFIG_SESSION_PHONE_NAME || 'Chrome', }, QRCODE: { LIMIT: Number.parseInt(process.env.QRCODE_LIMIT) || 30, diff --git a/src/dev-env.yml b/src/dev-env.yml index 235ec1b7..66a65ef4 100644 --- a/src/dev-env.yml +++ b/src/dev-env.yml @@ -124,7 +124,7 @@ WEBHOOK: CONFIG_SESSION_PHONE: # Name that will be displayed on smartphone connection CLIENT: "Evolution API" - NAME: chrome # chrome | firefox | edge | opera | safari + NAME: Chrome # Chrome | Firefox | Edge | Opera | Safari # Set qrcode display limit QRCODE: From e61fe4d092d0019921e9b4206043ad5c718c4786 Mon Sep 17 00:00:00 2001 From: Wender Teixeira Date: Wed, 30 Aug 2023 12:38:53 -0300 Subject: [PATCH 16/36] Update error.config.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit encerramento controlado para lidar com erros não capturados no aplicativo. --- src/config/error.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/config/error.config.ts b/src/config/error.config.ts index 6449d52e..7a6717da 100644 --- a/src/config/error.config.ts +++ b/src/config/error.config.ts @@ -8,6 +8,7 @@ export function onUnexpectedError() { stderr: process.stderr.fd, error, }); + process.exit(1); }); process.on('unhandledRejection', (error, origin) => { @@ -17,5 +18,6 @@ export function onUnexpectedError() { stderr: process.stderr.fd, error, }); + process.exit(1); }); } From 16a18c4f2285986209f4138e7d9942a3db992273 Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Wed, 30 Aug 2023 13:27:47 -0300 Subject: [PATCH 17/36] fix: update error.config.ts --- src/config/env.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/env.config.ts b/src/config/env.config.ts index 070e7279..e4995aab 100644 --- a/src/config/env.config.ts +++ b/src/config/env.config.ts @@ -239,7 +239,7 @@ export class ConfigService { BAILEYS: (process.env?.LOG_BAILEYS as LogBaileys) || 'error', }, DEL_INSTANCE: isBooleanString(process.env?.DEL_INSTANCE) - ? process.env.DEL_INSTANCE === 5 + ? process.env.DEL_INSTANCE === 'true' : Number.parseInt(process.env.DEL_INSTANCE) || false, WEBHOOK: { GLOBAL: { From d00e1df29c202378eaa6076904f66505d9c06f3e Mon Sep 17 00:00:00 2001 From: Alan Mosko Date: Wed, 30 Aug 2023 15:09:03 -0300 Subject: [PATCH 18/36] [Melhoria] Group Create Verifica todos os participantes e pega apenas os que existe no WhatsApp --- src/whatsapp/services/whatsapp.service.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/whatsapp/services/whatsapp.service.ts b/src/whatsapp/services/whatsapp.service.ts index d11946ee..12b145aa 100644 --- a/src/whatsapp/services/whatsapp.service.ts +++ b/src/whatsapp/services/whatsapp.service.ts @@ -2969,7 +2969,9 @@ export class WAStartupService { public async createGroup(create: CreateGroupDto) { this.logger.verbose('Creating group: ' + create.subject); try { - const participants = create.participants.map((p) => this.createJid(p)); + const participants = (await this.whatsappNumber({ numbers: create.participants })) + .filter((participant) => participant.exists) + .map((participant) => participant.jid); const { id } = await this.client.groupCreate(create.subject, participants); this.logger.verbose('Group created: ' + id); @@ -2979,7 +2981,7 @@ export class WAStartupService { } if (create?.promoteParticipants) { - this.logger.verbose('Prometing group participants: ' + create.description); + this.logger.verbose('Prometing group participants: ' + participants); await this.updateGParticipant({ groupJid: id, action: 'promote', @@ -2987,8 +2989,8 @@ export class WAStartupService { }); } - const group = await this.client.groupMetadata(id); this.logger.verbose('Getting group metadata'); + const group = await this.client.groupMetadata(id); return group; } catch (error) { From 3ea3abe81a375e89c4826f3fcc8efb74cca2e3a6 Mon Sep 17 00:00:00 2001 From: Francis Breit Date: Thu, 31 Aug 2023 07:55:53 -0300 Subject: [PATCH 19/36] Update manager.json - Added the following settings for instances: Set Typebot and Typebot Change Session Status. - Fixed bug in Webhook settings --- Extras/appsmith/manager.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Extras/appsmith/manager.json b/Extras/appsmith/manager.json index 0c26ec23..391f1a03 100644 --- a/Extras/appsmith/manager.json +++ b/Extras/appsmith/manager.json @@ -1 +1 @@ -{"clientSchemaVersion":1.0,"serverSchemaVersion":6.0,"exportedApplication":{"name":"EvolutionAPI Public","isPublic":true,"pages":[{"id":"Home","isDefault":true}],"publishedPages":[{"id":"Home","isDefault":true}],"viewMode":false,"appIsExample":false,"unreadCommentThreads":0.0,"color":"#F5D1D1","icon":"smartphone","slug":"evolutionapi-public","unpublishedAppLayout":{"type":"DESKTOP"},"publishedAppLayout":{"type":"DESKTOP"},"unpublishedCustomJSLibs":[],"publishedCustomJSLibs":[],"evaluationVersion":2.0,"applicationVersion":2.0,"collapseInvisibleWidgets":true,"isManualUpdate":false,"deleted":false},"datasourceList":[],"customJSLibList":[],"pageList":[{"unpublishedPage":{"name":"Home","slug":"home","customSlug":"","layouts":[{"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":4896.0,"snapColumns":64.0,"detachFromLayout":true,"widgetId":"0","topRow":0.0,"bottomRow":420.0,"containerStyle":"none","snapRows":124.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"version":82.0,"minHeight":1292.0,"dynamicTriggerPathList":[],"parentColumnSpace":1.0,"dynamicBindingPathList":[],"leftColumn":0.0,"children":[{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","borderColor":"#E0DEDE","isVisibleDownload":true,"iconSVG":"https://appcdn.appsmith.com/static/media/icon.24905525921dd6f5ff46d0dd843b9e12.svg","topRow":6.0,"isSortable":true,"type":"TABLE_WIDGET_V2","inlineEditingSaveOption":"ROW_LEVEL","animateLoading":true,"dynamicBindingPathList":[{"key":"tableData"},{"key":"primaryColumns.customColumn9.boxShadow"},{"key":"primaryColumns.customColumn9.borderRadius"},{"key":"primaryColumns.customColumn9.menuColor"},{"key":"primaryColumns.customColumn8.computedValue"},{"key":"primaryColumns.customColumn7.computedValue"},{"key":"primaryColumns.customColumn6.computedValue"},{"key":"primaryColumns.customColumn5.computedValue"},{"key":"primaryColumns.customColumn2.computedValue"},{"key":"primaryColumns.customColumn1.textColor"},{"key":"primaryColumns.customColumn1.cellBackground"},{"key":"primaryColumns.customColumn1.computedValue"},{"key":"primaryColumns.instance.computedValue"},{"key":"isVisible"},{"key":"accentColor"},{"key":"borderRadius"},{"key":"boxShadow"}],"needsHeightForContent":true,"leftColumn":14.0,"delimiter":",","defaultSelectedRowIndex":0.0,"showInlineEditingOptionDropdown":true,"accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisibleFilters":true,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","enableClientSideSearch":true,"version":2.0,"totalRecordsCount":0.0,"isLoading":false,"childStylesheet":{"button":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"menuButton":{"menuColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"iconButton":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"editActions":{"saveButtonColor":"{{appsmith.theme.colors.primaryColor}}","saveBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","discardButtonColor":"{{appsmith.theme.colors.primaryColor}}","discardBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"}},"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","columnUpdatedAt":1.690746223636E12,"defaultSelectedRowIndices":[0.0],"mobileBottomRow":32.0,"widgetName":"TableInstances","defaultPageSize":0.0,"columnOrder":["instance","customColumn5","customColumn1","customColumn2","customColumn6","customColumn7","customColumn8","customColumn9"],"dynamicPropertyPathList":[{"key":"primaryColumns.customColumn1.cellBackground"},{"key":"isVisible"}],"displayName":"Table","bottomRow":42.0,"columnWidthMap":{"customColumn3":92.0,"customColumn2":340.0,"customColumn5":254.0,"customColumn9":60.0},"parentRowSpace":10.0,"hideCard":false,"mobileRightColumn":36.0,"parentColumnSpace":20.078125,"dynamicTriggerPathList":[{"key":"primaryColumns.customColumn9.menuItems.menuItemjfzsd8g6yr.onClick"},{"key":"primaryColumns.customColumn9.menuItems.menuItem4sqork5nmt.onClick"},{"key":"primaryColumns.customColumn9.menuItems.menuItemig6ua4ixjx.onClick"},{"key":"primaryColumns.customColumn9.menuItems.menuItemx9oyhys8cj.onClick"},{"key":"primaryColumns.customColumn9.menuItems.menuItemxk5jvvwwef.onClick"}],"borderWidth":"1","primaryColumns":{"instance":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":0.0,"width":150.0,"originalId":"instance","id":"instance","alias":"instance","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":true,"isDerived":false,"label":"Instance","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.instanceName))}}","sticky":"","validation":{}},"customColumn1":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":1.0,"width":150.0,"originalId":"customColumn1","id":"customColumn1","alias":"Status","horizontalAlignment":"CENTER","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":true,"isDerived":true,"label":"Status","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.status))}}","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF","cellBackground":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.status === \"open\" ? \"#499B51\" : currentRow.instance.status === \"close\" ? \"#DD524C\" : \"#2770FC\"))}}","textColor":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.colors.backgroundColor)))}}"},"customColumn2":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":2.0,"width":150.0,"originalId":"customColumn2","id":"customColumn2","alias":"Apikey","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":true,"isDerived":true,"label":"Apikey","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.apikey))}}","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF"},"customColumn5":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":5.0,"width":150.0,"originalId":"customColumn5","id":"customColumn5","alias":"Owner","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":true,"isDerived":true,"label":"Owner","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.owner))}}","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF"},"customColumn6":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":6.0,"width":150.0,"originalId":"customColumn6","id":"customColumn6","alias":"profilePictureUrl","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":false,"isDerived":true,"label":"profilePictureUrl","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.profilePictureUrl))}}","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF"},"customColumn7":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":7.0,"width":150.0,"originalId":"customColumn7","id":"customColumn7","alias":"profileName","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":false,"isDerived":true,"label":"profileName","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.profileName))}}","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF"},"customColumn8":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":8.0,"width":150.0,"originalId":"customColumn8","id":"customColumn8","alias":"profileStatus","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":false,"isDerived":true,"label":"profileStatus","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.profileStatus))}}","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF"},"customColumn9":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":9.0,"width":150.0,"originalId":"customColumn9","id":"customColumn9","alias":"#","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"menuButton","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":true,"isDerived":true,"label":"#","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF","menuColor":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.colors.primaryColor)))}}","borderRadius":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.borderRadius.appBorderRadius)))}}","boxShadow":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( \"none\"))}}","customAlias":"","menuItemsSource":"STATIC","menuButtonLabel":" ","menuButtoniconName":"chevron-down","menuItems":{"menuItemjfzsd8g6yr":{"id":"menuItemjfzsd8g6yr","index":0.0,"label":"Webhook","widgetId":"vygcejtdun","isDisabled":false,"isVisible":true,"onClick":"{{Find_Webhook.run({\n //\"key\": \"value\",\n});\nshowModal('ModalWebhook');}}"},"menuItem4sqork5nmt":{"id":"menuItem4sqork5nmt","index":1.0,"label":"Settings","widgetId":"0hw8oqpwcj","isDisabled":false,"isVisible":true,"onClick":"{{Find_Settings.run();\nshowModal('ModalSettings');}}"},"menuItemx9oyhys8cj":{"id":"menuItemx9oyhys8cj","index":2.0,"label":"Websocket","widgetId":"j75a4k6ecq","isDisabled":false,"isVisible":true,"onClick":"{{Find_Websocket.run();\nshowModal('ModalWebsocket');}}"},"menuItemxk5jvvwwef":{"id":"menuItemxk5jvvwwef","index":3.0,"label":"Rabbitmq","widgetId":"3u94ov6qst","isDisabled":false,"isVisible":true,"onClick":"{{Find_Rabbitmq.run();\nshowModal('ModalRabbitmq');}}"},"menuItemig6ua4ixjx":{"id":"menuItemig6ua4ixjx","index":4.0,"label":"Chatwoot","widgetId":"fuq5dtgbqc","isDisabled":false,"isVisible":true,"onClick":"{{Find_Chatwoot.run();\nshowModal('ModalChatwoot');}}"}}}},"key":"e3yxhhyeel","canFreezeColumn":true,"isDeprecated":false,"rightColumn":63.0,"textSize":"0.875rem","widgetId":"uupm7enu8u","minWidth":450.0,"tableData":"{{fetch_Instances.data}}","label":"Data","searchKey":"","parentId":"0","renderMode":"CANVAS","mobileTopRow":4.0,"horizontalAlignment":"LEFT","isVisibleSearch":true,"responsiveBehavior":"fill","mobileLeftColumn":2.0,"isVisiblePagination":true,"verticalAlignment":"CENTER"},{"resetFormOnClick":false,"boxShadow":"none","mobileBottomRow":5.0,"widgetName":"BtnNewInstance","onClick":"{{showModal('ModalInstance');}}","buttonColor":"rgb(3, 179, 101)","dynamicPropertyPathList":[{"key":"isVisible"}],"displayName":"Button","iconSVG":"/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg","searchTags":["click","submit"],"topRow":1.0,"bottomRow":5.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","hideCard":false,"mobileRightColumn":8.0,"animateLoading":true,"parentColumnSpace":11.828125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":7.0,"dynamicBindingPathList":[{"key":"isVisible"},{"key":"borderRadius"}],"text":"New Instance","isDisabled":false,"key":"crzwqv3pdr","isDeprecated":false,"rightColumn":19.0,"isDefaultClickDisabled":true,"iconName":"add","widgetId":"84ei9q1ugm","minWidth":120.0,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":1.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":0.0,"buttonVariant":"PRIMARY","iconAlign":"left","placement":"CENTER"},{"boxShadow":"none","mobileBottomRow":74.0,"widgetName":"ModalQrcode","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":50.0,"bottomRow":500.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":45.0,"animateLoading":true,"parentColumnSpace":11.828125,"leftColumn":21.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas1","displayName":"Canvas","topRow":0.0,"bottomRow":450.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":240.0,"mobileRightColumn":283.875,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","mobileBottomRow":52.0,"widgetName":"ImageQrcode","displayName":"Image","iconSVG":"https://appcdn.appsmith.com/static/media/icon.30c8cbd442cce232b01ba2d434c53a53.svg","topRow":6.0,"bottomRow":43.0,"parentRowSpace":10.0,"type":"IMAGE_WIDGET","hideCard":false,"mobileRightColumn":55.0,"animateLoading":true,"parentColumnSpace":20.078125,"dynamicTriggerPathList":[],"imageShape":"RECTANGLE","leftColumn":2.0,"dynamicBindingPathList":[{"key":"image"},{"key":"borderRadius"}],"defaultImage":"https://evolution-api.com/files/evolution-api-favicon.png","key":"4chlj9l432","image":"{{Connect.data.base64}}","isDeprecated":false,"rightColumn":61.0,"objectFit":"contain","widgetId":"27dpgapd7q","isVisible":true,"version":1.0,"parentId":"we6j3r2byy","renderMode":"CANVAS","isLoading":false,"mobileTopRow":40.0,"maxZoomLevel":1.0,"enableDownload":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":43.0,"enableRotation":false},{"boxShadow":"none","mobileBottomRow":4.0,"widgetName":"IconButton1","onClick":"{{closeModal('ModalQrcode');\nfetch_Instances.run()}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","displayName":"Icon button","iconSVG":"/static/media/icon.80fc7466c0d7181ec0271de7fda795ec.svg","searchTags":["click","submit"],"topRow":0.0,"bottomRow":4.0,"type":"ICON_BUTTON_WIDGET","hideCard":false,"mobileRightColumn":64.0,"animateLoading":true,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":58.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"iconSize":24.0,"isDisabled":false,"key":"pezy0hb491","isDeprecated":false,"rightColumn":64.0,"iconName":"cross","widgetId":"i1dw369dch","minWidth":50.0,"isVisible":true,"version":1.0,"parentId":"we6j3r2byy","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"hug","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":58.0,"buttonVariant":"TERTIARY"},{"mobileBottomRow":5.0,"widgetName":"Text1","displayName":"Text","iconSVG":"/static/media/icon.c3b6033f570046f8c6288d911333a827.svg","searchTags":["typography","paragraph","label"],"topRow":1.0,"bottomRow":5.0,"type":"TEXT_WIDGET","hideCard":false,"mobileRightColumn":41.0,"animateLoading":true,"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","dynamicTriggerPathList":[],"leftColumn":1.0,"dynamicBindingPathList":[{"key":"fontFamily"}],"shouldTruncate":false,"truncateButtonColor":"{{appsmith.theme.colors.primaryColor}}","text":"Qrcode","key":"9s8f10sepn","isDeprecated":false,"rightColumn":41.0,"textAlign":"LEFT","dynamicHeight":"AUTO_HEIGHT","widgetId":"mg2cqsi9fn","minWidth":450.0,"isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1.0,"parentId":"we6j3r2byy","renderMode":"CANVAS","isLoading":false,"mobileTopRow":1.0,"responsiveBehavior":"fill","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":1.0,"maxDynamicHeight":9000.0,"fontSize":"1.25rem","minDynamicHeight":4.0}],"isDisabled":false,"key":"e8r23nd8j4","isDeprecated":false,"rightColumn":283.875,"detachFromLayout":true,"widgetId":"we6j3r2byy","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"ljwryrjhy7","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"g8xx6ocuvi","height":450.0,"isDeprecated":false,"rightColumn":45.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"ljwryrjhy7","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":50.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":21.0,"maxDynamicHeight":9000.0,"width":456.0,"minDynamicHeight":24.0},{"resetFormOnClick":false,"boxShadow":"none","mobileBottomRow":5.0,"widgetName":"BtnConfig","onClick":"{{showModal('ModalConfig');}}","buttonColor":"#2563eb","dynamicPropertyPathList":[],"displayName":"Button","iconSVG":"/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg","searchTags":["click","submit"],"topRow":1.0,"bottomRow":5.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","hideCard":false,"mobileRightColumn":30.0,"animateLoading":true,"parentColumnSpace":11.828125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":1.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"text":"Access","isDisabled":false,"key":"crzwqv3pdr","isDeprecated":false,"rightColumn":7.0,"isDefaultClickDisabled":true,"iconName":"user","widgetId":"uegjpy37i6","minWidth":120.0,"isVisible":true,"recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":1.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":14.0,"buttonVariant":"PRIMARY","iconAlign":"left","placement":"CENTER"},{"boxShadow":"none","mobileBottomRow":73.0,"widgetName":"ModalConfig","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":49.0,"bottomRow":30.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":25.0,"minHeight":300.0,"animateLoading":true,"parentColumnSpace":11.75,"leftColumn":1.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas2","displayName":"Canvas","topRow":0.0,"bottomRow":300.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":300.0,"mobileRightColumn":282.0,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","mobileBottomRow":84.0,"borderColor":"#E0DEDE","widgetName":"FormConfig","isCanvas":true,"displayName":"Form","iconSVG":"/static/media/icon.5d6d2ac5cb1aa68bcd9b14f11c56b44a.svg","searchTags":["group"],"topRow":0.0,"bottomRow":28.0,"parentRowSpace":10.0,"type":"FORM_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":25.0,"animateLoading":true,"parentColumnSpace":11.828125,"dynamicTriggerPathList":[],"leftColumn":1.0,"dynamicBindingPathList":[],"children":[{"mobileBottomRow":400.0,"widgetName":"Canvas2Copy","displayName":"Canvas","topRow":0.0,"bottomRow":280.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":false,"hideCard":true,"minHeight":400.0,"mobileRightColumn":283.875,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"mobileBottomRow":5.0,"widgetName":"Text2","displayName":"Text","iconSVG":"/static/media/icon.c3b6033f570046f8c6288d911333a827.svg","searchTags":["typography","paragraph","label"],"topRow":1.0,"bottomRow":5.0,"type":"TEXT_WIDGET","hideCard":false,"mobileRightColumn":25.5,"animateLoading":true,"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","dynamicTriggerPathList":[],"leftColumn":1.5,"dynamicBindingPathList":[{"key":"fontFamily"}],"shouldTruncate":false,"truncateButtonColor":"{{appsmith.theme.colors.primaryColor}}","text":"Access Credentials","key":"9s8f10sepn","isDeprecated":false,"rightColumn":25.5,"textAlign":"LEFT","dynamicHeight":"AUTO_HEIGHT","widgetId":"tps5rw2lk9","minWidth":450.0,"isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1.0,"parentId":"lrtvcpswru","renderMode":"CANVAS","isLoading":false,"mobileTopRow":1.0,"responsiveBehavior":"fill","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":1.5,"maxDynamicHeight":9000.0,"fontSize":"1.25rem","minDynamicHeight":4.0},{"resetFormOnClick":true,"boxShadow":"none","mobileBottomRow":37.0,"widgetName":"Button1","onClick":"{{storeValue('api_url', FormConfig.data.InputApiUrl);\nstoreValue('api_key', FormConfig.data.InputGlobalApiKey);\nfetch_Instances.run().then(() => {\n showAlert('successful login', 'success');\n}).catch(() => {\n showAlert('Could not load instances', 'error');\n});\ncloseModal('ModalConfig').then(() => {});}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","dynamicPropertyPathList":[{"key":"isDisabled"}],"displayName":"Button","iconSVG":"/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg","searchTags":["click","submit"],"topRow":22.0,"bottomRow":26.0,"type":"BUTTON_WIDGET","hideCard":false,"mobileRightColumn":62.0,"animateLoading":true,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":51.0,"dynamicBindingPathList":[{"key":"isDisabled"},{"key":"buttonColor"},{"key":"borderRadius"}],"text":"Login","isDisabled":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","key":"crzwqv3pdr","isDeprecated":false,"rightColumn":63.0,"isDefaultClickDisabled":true,"iconName":"log-in","widgetId":"gzxvnsxk0y","minWidth":120.0,"isVisible":true,"recaptchaType":"V3","version":1.0,"parentId":"lrtvcpswru","renderMode":"CANVAS","isLoading":false,"mobileTopRow":33.0,"responsiveBehavior":"hug","disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":46.0,"buttonVariant":"PRIMARY","iconAlign":"left","placement":"CENTER"},{"resetFormOnClick":true,"boxShadow":"none","mobileBottomRow":37.0,"widgetName":"Button1Copy","onClick":"{{removeValue('api_url');\nremoveValue('api_key').then(() => {\n showAlert('successful logout', 'success');\n});}}","buttonColor":"#dc2626","dynamicPropertyPathList":[{"key":"isDisabled"}],"displayName":"Button","iconSVG":"/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg","searchTags":["click","submit"],"topRow":21.0,"bottomRow":25.0,"type":"BUTTON_WIDGET","hideCard":false,"mobileRightColumn":62.0,"animateLoading":true,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":2.0,"dynamicBindingPathList":[{"key":"isDisabled"},{"key":"borderRadius"}],"text":"Logout","isDisabled":"{{!appsmith.store.api_key && !appsmith.store.api_url ? true : false}}","key":"crzwqv3pdr","isDeprecated":false,"rightColumn":14.0,"isDefaultClickDisabled":true,"iconName":"log-out","widgetId":"f2i8tsbgx1","minWidth":120.0,"isVisible":true,"recaptchaType":"V3","version":1.0,"parentId":"lrtvcpswru","renderMode":"CANVAS","isLoading":false,"mobileTopRow":33.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":46.0,"buttonVariant":"PRIMARY","iconAlign":"left","placement":"CENTER"},{"boxShadow":"none","iconSVG":"/static/media/icon.d0ce957b6c4640f8a7418ce846ee200e.svg","topRow":6.0,"labelWidth":5.0,"type":"INPUT_WIDGET_V2","animateLoading":true,"resetOnSubmit":true,"leftColumn":2.0,"dynamicBindingPathList":[{"key":"defaultText"},{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","placeholderText":"","isDisabled":false,"isRequired":true,"dynamicHeight":"FIXED","accentColor":"{{appsmith.theme.colors.primaryColor}}","showStepArrows":false,"isVisible":true,"version":2.0,"isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileBottomRow":13.0,"widgetName":"InputApiUrl","displayName":"Input","searchTags":["form","text input","number","textarea"],"bottomRow":13.0,"parentRowSpace":10.0,"autoFocus":false,"hideCard":false,"mobileRightColumn":22.0,"parentColumnSpace":5.047119140625,"dynamicTriggerPathList":[],"labelPosition":"Top","key":"r1hfat3ouf","labelTextSize":"0.875rem","isDeprecated":false,"rightColumn":63.0,"widgetId":"spgryrb5ao","minWidth":450.0,"label":"API URL","parentId":"lrtvcpswru","labelAlignment":"left","renderMode":"CANVAS","mobileTopRow":6.0,"responsiveBehavior":"fill","mobileLeftColumn":2.0,"maxDynamicHeight":9000.0,"isSpellCheck":false,"iconAlign":"left","defaultText":"{{appsmith.store.api_url || ''}}","minDynamicHeight":4.0},{"boxShadow":"none","iconSVG":"/static/media/icon.d0ce957b6c4640f8a7418ce846ee200e.svg","topRow":14.0,"labelWidth":5.0,"type":"INPUT_WIDGET_V2","animateLoading":true,"resetOnSubmit":true,"leftColumn":2.0,"dynamicBindingPathList":[{"key":"defaultText"},{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"PASSWORD","isDisabled":false,"isRequired":true,"dynamicHeight":"FIXED","accentColor":"{{appsmith.theme.colors.primaryColor}}","showStepArrows":false,"isVisible":true,"version":2.0,"isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileBottomRow":13.0,"widgetName":"InputGlobalApiKey","displayName":"Input","searchTags":["form","text input","number","textarea"],"bottomRow":21.0,"parentRowSpace":10.0,"autoFocus":false,"hideCard":false,"mobileRightColumn":22.0,"parentColumnSpace":5.047119140625,"dynamicTriggerPathList":[],"labelPosition":"Top","key":"r1hfat3ouf","labelTextSize":"0.875rem","isDeprecated":false,"rightColumn":63.0,"widgetId":"v2vedr13py","minWidth":450.0,"label":"GLOBAL API KEY","parentId":"lrtvcpswru","labelAlignment":"left","renderMode":"CANVAS","mobileTopRow":6.0,"responsiveBehavior":"fill","mobileLeftColumn":2.0,"maxDynamicHeight":9000.0,"shouldAllowAutofill":true,"iconAlign":"left","defaultText":"{{appsmith.store.api_key || ''}}","minDynamicHeight":4.0},{"boxShadow":"none","mobileBottomRow":4.0,"widgetName":"IconButton2","onClick":"{{closeModal('ModalConfig');}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","displayName":"Icon button","iconSVG":"/static/media/icon.80fc7466c0d7181ec0271de7fda795ec.svg","searchTags":["click","submit"],"topRow":0.0,"bottomRow":4.0,"parentRowSpace":10.0,"type":"ICON_BUTTON_WIDGET","hideCard":false,"mobileRightColumn":64.0,"animateLoading":true,"parentColumnSpace":9.072265625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":60.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"isDisabled":false,"key":"pezy0hb491","isDeprecated":false,"rightColumn":64.0,"iconName":"cross","widgetId":"oaouelmhi1","minWidth":50.0,"isVisible":true,"version":1.0,"parentId":"lrtvcpswru","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"hug","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":60.0,"buttonVariant":"TERTIARY"}],"key":"e8r23nd8j4","isDeprecated":false,"rightColumn":283.875,"detachFromLayout":true,"widgetId":"lrtvcpswru","containerStyle":"none","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"h97rbttd5c","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"borderWidth":"0","positioning":"fixed","key":"dtzd07zsya","backgroundColor":"#FFFFFF","isDeprecated":false,"rightColumn":63.0,"dynamicHeight":"AUTO_HEIGHT","widgetId":"h97rbttd5c","minWidth":450.0,"isVisible":true,"parentId":"es5gsctogb","renderMode":"CANVAS","isLoading":false,"mobileTopRow":44.0,"responsiveBehavior":"fill","originalTopRow":0.0,"borderRadius":"0.375rem","mobileLeftColumn":1.0,"maxDynamicHeight":9000.0,"originalBottomRow":28.0,"minDynamicHeight":10.0}],"isDisabled":false,"key":"e8r23nd8j4","isDeprecated":false,"rightColumn":282.0,"detachFromLayout":true,"widgetId":"es5gsctogb","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"gneh33z88k","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"g8xx6ocuvi","height":300.0,"isDeprecated":false,"rightColumn":25.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"gneh33z88k","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":49.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":1.0,"maxDynamicHeight":9000.0,"width":632.0,"minDynamicHeight":24.0},{"boxShadow":"none","mobileBottomRow":66.0,"widgetName":"ModalInstance","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":42.0,"bottomRow":1892.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":37.0,"minHeight":1850.0,"animateLoading":true,"parentColumnSpace":11.828125,"leftColumn":13.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas3","displayName":"Canvas","topRow":0.0,"bottomRow":1850.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":1140.0,"mobileRightColumn":283.875,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","mobileBottomRow":4.0,"widgetName":"IconButton3Copy","onClick":"{{closeModal('ModalInstance');}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","displayName":"Icon button","iconSVG":"/static/media/icon.80fc7466c0d7181ec0271de7fda795ec.svg","searchTags":["click","submit"],"topRow":0.0,"bottomRow":4.0,"type":"ICON_BUTTON_WIDGET","hideCard":false,"mobileRightColumn":64.0,"animateLoading":true,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":57.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"iconSize":24.0,"isDisabled":false,"key":"mr6bto7c8j","isDeprecated":false,"rightColumn":63.0,"iconName":"cross","widgetId":"xofakp4har","minWidth":50.0,"isVisible":true,"version":1.0,"parentId":"esgwuzqcwt","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"hug","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":58.0,"buttonVariant":"TERTIARY"},{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Create_Instance.run().then(() => {\n showAlert('Instance created successfully', 'success');\n}).catch(() => {\n showAlert('Error creating instance', 'error');\n});\nfetch_Instances.run();\ncloseModal('ModalInstance');}}","topRow":4.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"schema.__root_schema__.defaultValue"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.children.webhook.defaultValue"},{"key":"schema.__root_schema__.children.webhook.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"schema.__root_schema__.children.instance.defaultValue"},{"key":"schema.__root_schema__.children.instance.borderRadius"},{"key":"schema.__root_schema__.children.instance.cellBorderRadius"},{"key":"schema.__root_schema__.children.instance.children.instanceName.defaultValue"},{"key":"schema.__root_schema__.children.instance.children.instanceName.accentColor"},{"key":"schema.__root_schema__.children.instance.children.instanceName.borderRadius"},{"key":"schema.__root_schema__.children.instance.children.token.defaultValue"},{"key":"schema.__root_schema__.children.instance.children.token.accentColor"},{"key":"schema.__root_schema__.children.instance.children.token.borderRadius"},{"key":"schema.__root_schema__.children.webhook.cellBorderRadius"},{"key":"schema.__root_schema__.children.webhook.children.webhook.defaultValue"},{"key":"schema.__root_schema__.children.webhook.children.webhook.accentColor"},{"key":"schema.__root_schema__.children.webhook.children.webhook.borderRadius"},{"key":"schema.__root_schema__.children.webhook.children.events.defaultValue"},{"key":"schema.__root_schema__.children.webhook.children.events.accentColor"},{"key":"schema.__root_schema__.children.webhook.children.events.borderRadius"},{"key":"schema.__root_schema__.children.webhook.children.webhook_by_events.defaultValue"},{"key":"schema.__root_schema__.children.webhook.children.webhook_by_events.accentColor"},{"key":"schema.__root_schema__.children.settings.defaultValue"},{"key":"schema.__root_schema__.children.settings.borderRadius"},{"key":"schema.__root_schema__.children.settings.cellBorderRadius"},{"key":"schema.__root_schema__.children.settings.children.reject_call.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.reject_call.accentColor"},{"key":"schema.__root_schema__.children.settings.children.msg_call.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.msg_call.accentColor"},{"key":"schema.__root_schema__.children.settings.children.msg_call.borderRadius"},{"key":"schema.__root_schema__.children.settings.children.groups_ignore.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.groups_ignore.accentColor"},{"key":"schema.__root_schema__.children.settings.children.always_online.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.always_online.accentColor"},{"key":"schema.__root_schema__.children.settings.children.read_messages.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.read_messages.accentColor"},{"key":"schema.__root_schema__.children.settings.children.read_status.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.read_status.accentColor"},{"key":"schema.__root_schema__.children.chatwoot.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.borderRadius"},{"key":"schema.__root_schema__.children.chatwoot.cellBorderRadius"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_account_id.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_account_id.accentColor"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_account_id.borderRadius"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_token.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_token.accentColor"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_token.borderRadius"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_url.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_url.accentColor"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_url.borderRadius"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_sign_msg.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_sign_msg.accentColor"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_reopen_conversation.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_reopen_conversation.accentColor"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_conversation_pending.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_conversation_pending.accentColor"},{"key":"schema.__root_schema__.children.instance.children.qrcode.defaultValue"},{"key":"schema.__root_schema__.children.instance.children.qrcode.accentColor"},{"key":"schema.__root_schema__.children.websocket.defaultValue"},{"key":"schema.__root_schema__.children.websocket.borderRadius"},{"key":"schema.__root_schema__.children.websocket.cellBorderRadius"},{"key":"schema.__root_schema__.children.websocket.children.websocket_enabled.defaultValue"},{"key":"schema.__root_schema__.children.websocket.children.websocket_enabled.accentColor"},{"key":"schema.__root_schema__.children.websocket.children.websocket_events.defaultValue"},{"key":"schema.__root_schema__.children.websocket.children.websocket_events.accentColor"},{"key":"schema.__root_schema__.children.websocket.children.websocket_events.borderRadius"},{"key":"schema.__root_schema__.children.rabbitmq.defaultValue"},{"key":"schema.__root_schema__.children.rabbitmq.borderRadius"},{"key":"schema.__root_schema__.children.rabbitmq.cellBorderRadius"},{"key":"schema.__root_schema__.children.rabbitmq.children.rabbitmq_enabled.defaultValue"},{"key":"schema.__root_schema__.children.rabbitmq.children.rabbitmq_enabled.accentColor"},{"key":"schema.__root_schema__.children.rabbitmq.children.rabbitmq_events.defaultValue"},{"key":"schema.__root_schema__.children.rabbitmq.children.rabbitmq_events.accentColor"},{"key":"schema.__root_schema__.children.rabbitmq.children.rabbitmq_events.borderRadius"}],"showReset":true,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY","iconAlign":"left"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Create","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":147.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"webhook":{"children":{"webhook":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.webhook.webhook))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"webhook","identifier":"webhook","position":0.0,"originalIdentifier":"webhook","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Webhook"},"events":{"children":{},"dataType":"array","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.webhook.events))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Multiselect","sourceData":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL","NEW_JWT_TOKEN"],"isCustomField":false,"accessor":"events","identifier":"events","position":2.0,"originalIdentifier":"events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Events","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"APPLICATION_STARTUP\",\n \"value\": \"APPLICATION_STARTUP\"\n },\n {\n \"label\": \"QRCODE_UPDATED\",\n \"value\": \"QRCODE_UPDATED\"\n },\n {\n \"label\": \"MESSAGES_SET\",\n \"value\": \"MESSAGES_SET\"\n },\n {\n \"label\": \"MESSAGES_UPSERT\",\n \"value\": \"MESSAGES_UPSERT\"\n },\n {\n \"label\": \"MESSAGES_UPDATE\",\n \"value\": \"MESSAGES_UPDATE\"\n },\n {\n \"label\": \"MESSAGES_DELETE\",\n \"value\": \"MESSAGES_DELETE\"\n },\n {\n \"label\": \"SEND_MESSAGE\",\n \"value\": \"SEND_MESSAGE\"\n },\n {\n \"label\": \"CONTACTS_SET\",\n \"value\": \"CONTACTS_SET\"\n },\n {\n \"label\": \"CONTACTS_UPSERT\",\n \"value\": \"CONTACTS_UPSERT\"\n },\n {\n \"label\": \"CONTACTS_UPDATE\",\n \"value\": \"CONTACTS_UPDATE\"\n },\n {\n \"label\": \"PRESENCE_UPDATE\",\n \"value\": \"PRESENCE_UPDATE\"\n },\n {\n \"label\": \"CHATS_SET\",\n \"value\": \"CHATS_SET\"\n },\n {\n \"label\": \"CHATS_UPSERT\",\n \"value\": \"CHATS_UPSERT\"\n },\n {\n \"label\": \"CHATS_UPDATE\",\n \"value\": \"CHATS_UPDATE\"\n },\n {\n \"label\": \"CHATS_DELETE\",\n \"value\": \"CHATS_DELETE\"\n },\n {\n \"label\": \"GROUPS_UPSERT\",\n \"value\": \"GROUPS_UPSERT\"\n },\n {\n \"label\": \"GROUP_UPDATE\",\n \"value\": \"GROUP_UPDATE\"\n },\n {\n \"label\": \"GROUP_PARTICIPANTS_UPDATE\",\n \"value\": \"GROUP_PARTICIPANTS_UPDATE\"\n },\n {\n \"label\": \"CONNECTION_UPDATE\",\n \"value\": \"CONNECTION_UPDATE\"\n },\n {\n \"label\": \"CALL\",\n \"value\": \"CALL\"\n },\n {\n \"label\": \"NEW_JWT_TOKEN\",\n \"value\": \"NEW_JWT_TOKEN\"\n }\n]"},"webhook_by_events":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.webhook.webhook_by_events))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"webhook_by_events","identifier":"webhook_by_events","position":2.0,"originalIdentifier":"webhook_by_events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Webhook By Events"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.webhook))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{},"isCustomField":false,"accessor":"webhook","identifier":"webhook","position":1.0,"originalIdentifier":"webhook","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Webhook","labelStyle":"BOLD"},"instance":{"children":{"instanceName":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.instance.instanceName))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"instanceName","identifier":"instanceName","position":0.0,"originalIdentifier":"instanceName","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Instance Name"},"token":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.instance.token))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"token","identifier":"token","position":1.0,"originalIdentifier":"token","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Token"},"qrcode":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.instance.qrcode))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"qrcode","identifier":"qrcode","position":2.0,"originalIdentifier":"qrcode","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Qrcode"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.instance))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{},"isCustomField":false,"accessor":"instance","identifier":"instance","position":0.0,"originalIdentifier":"instance","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Instance","labelStyle":"BOLD"},"settings":{"children":{"reject_call":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings.reject_call))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"reject_call","identifier":"reject_call","position":0.0,"originalIdentifier":"reject_call","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Reject Call"},"msg_call":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings.msg_call))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"msg_call","identifier":"msg_call","position":1.0,"originalIdentifier":"msg_call","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Msg Call"},"groups_ignore":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings.groups_ignore))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"groups_ignore","identifier":"groups_ignore","position":2.0,"originalIdentifier":"groups_ignore","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Groups Ignore"},"always_online":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings.always_online))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"always_online","identifier":"always_online","position":3.0,"originalIdentifier":"always_online","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Always Online"},"read_messages":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings.read_messages))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"read_messages","identifier":"read_messages","position":4.0,"originalIdentifier":"read_messages","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Read Messages"},"read_status":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings.read_status))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"read_status","identifier":"read_status","position":5.0,"originalIdentifier":"read_status","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Read Status"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{},"isCustomField":false,"accessor":"settings","identifier":"settings","position":2.0,"originalIdentifier":"settings","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Settings","labelStyle":"BOLD"},"chatwoot":{"children":{"chatwoot_account_id":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot.chatwoot_account_id))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"chatwoot_account_id","identifier":"chatwoot_account_id","position":0.0,"originalIdentifier":"chatwoot_account_id","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Chatwoot Account Id"},"chatwoot_token":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot.chatwoot_token))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Password Input","sourceData":"","isCustomField":false,"accessor":"chatwoot_token","identifier":"chatwoot_token","position":1.0,"originalIdentifier":"chatwoot_token","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Chatwoot Token","shouldAllowAutofill":true},"chatwoot_url":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot.chatwoot_url))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"chatwoot_url","identifier":"chatwoot_url","position":2.0,"originalIdentifier":"chatwoot_url","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Chatwoot Url"},"chatwoot_sign_msg":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot.chatwoot_sign_msg))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"chatwoot_sign_msg","identifier":"chatwoot_sign_msg","position":3.0,"originalIdentifier":"chatwoot_sign_msg","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Chatwoot Sign Msg"},"chatwoot_reopen_conversation":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot.chatwoot_reopen_conversation))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"chatwoot_reopen_conversation","identifier":"chatwoot_reopen_conversation","position":4.0,"originalIdentifier":"chatwoot_reopen_conversation","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Chatwoot Reopen Conversation"},"chatwoot_conversation_pending":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot.chatwoot_conversation_pending))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"chatwoot_conversation_pending","identifier":"chatwoot_conversation_pending","position":5.0,"originalIdentifier":"chatwoot_conversation_pending","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Chatwoot Conversation Pending"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{},"isCustomField":false,"accessor":"chatwoot","identifier":"chatwoot","position":5.0,"originalIdentifier":"chatwoot","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Chatwoot","labelStyle":"BOLD"},"websocket":{"children":{"websocket_enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.websocket.websocket_enabled))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"websocket_enabled","identifier":"websocket_enabled","position":0.0,"originalIdentifier":"websocket_enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Websocket Enabled"},"websocket_events":{"children":{},"dataType":"array","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.websocket.websocket_events))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Multiselect","sourceData":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL","NEW_JWT_TOKEN"],"isCustomField":false,"accessor":"websocket_events","identifier":"websocket_events","position":1.0,"originalIdentifier":"websocket_events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Websocket Events","labelTextSize":"0.875rem","serverSideFiltering":false,"options":[{"label":"Blue","value":"BLUE"},{"label":"Green","value":"GREEN"},{"label":"Red","value":"RED"}]}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.websocket))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{},"isCustomField":false,"accessor":"websocket","identifier":"websocket","position":3.0,"originalIdentifier":"websocket","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Websocket","labelStyle":"BOLD"},"rabbitmq":{"children":{"rabbitmq_enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.rabbitmq.rabbitmq_enabled))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"rabbitmq_enabled","identifier":"rabbitmq_enabled","position":1.0,"originalIdentifier":"rabbitmq_enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Rabbitmq Enabled"},"rabbitmq_events":{"children":{},"dataType":"array","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.rabbitmq.rabbitmq_events))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Multiselect","sourceData":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL","NEW_JWT_TOKEN"],"isCustomField":false,"accessor":"rabbitmq_events","identifier":"rabbitmq_events","position":1.0,"originalIdentifier":"rabbitmq_events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Rabbitmq Events","labelTextSize":"0.875rem","serverSideFiltering":false,"options":[{"label":"Blue","value":"BLUE"},{"label":"Green","value":"GREEN"},{"label":"Red","value":"RED"}]}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.rabbitmq))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{"websocket_enabled":false,"websocket_events":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL","NEW_JWT_TOKEN"]},"isCustomField":false,"accessor":"rabbitmq","identifier":"rabbitmq","position":4.0,"originalIdentifier":"rabbitmq","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Rabbitmq","labelStyle":"BOLD"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{"instanceName":"","token":"","webhook":"","webhook_by_events":false,"events":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL","NEW_JWT_TOKEN"],"reject_call":false,"msg_call":"","groups_ignore":false,"always_online":false,"read_messages":false,"read_status":false,"chatwoot_account_id":"","chatwoot_token":"","chatwoot_url":"","chatwoot_sign_msg":false,"chatwoot_reopen_conversation":false,"chatwoot_conversation_pending":false},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":85.0,"widgetName":"FormInstance","submitButtonStyles":{"buttonColor":"rgb(3, 179, 101)","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.webhook.children.webhook_by_events.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.reject_call.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.groups_ignore.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.always_online.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.read_messages.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.read_status.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_sign_msg.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_reopen_conversation.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_conversation_pending.defaultValue"},{"key":"schema.__root_schema__.children.instance.children.qrcode.defaultValue"},{"key":"schema.__root_schema__.children.websocket.children.websocket_enabled.defaultValue"},{"key":"schema.__root_schema__.children.rabbitmq.children.rabbitmq_enabled.defaultValue"}],"displayName":"JSON Form","bottomRow":183.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"New Instance","hideCard":false,"mobileRightColumn":22.0,"shouldScrollContents":true,"parentColumnSpace":17.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n \"instance\": {\n\t\t\t\"instanceName\": \"\",\n \t\"token\": \"\",\n\t\t\t\"qrcode\": true\n\t\t},\n\t\t\"webhook\": {\n\t\t\t\"webhook\": \"\",\n\t\t\t\"events\": [\n\t\t\t\t\"APPLICATION_STARTUP\",\n\t\t\t\t\t\"QRCODE_UPDATED\",\n\t\t\t\t\t\"MESSAGES_SET\",\n\t\t\t\t\t\"MESSAGES_UPSERT\",\n\t\t\t\t\t\"MESSAGES_UPDATE\",\n\t\t\t\t\t\"MESSAGES_DELETE\",\n\t\t\t\t\t\"SEND_MESSAGE\",\n\t\t\t\t\t\"CONTACTS_SET\",\n\t\t\t\t\t\"CONTACTS_UPSERT\",\n\t\t\t\t\t\"CONTACTS_UPDATE\",\n\t\t\t\t\t\"PRESENCE_UPDATE\",\n\t\t\t\t\t\"CHATS_SET\",\n\t\t\t\t\t\"CHATS_UPSERT\",\n\t\t\t\t\t\"CHATS_UPDATE\",\n\t\t\t\t\t\"CHATS_DELETE\",\n\t\t\t\t\t\"GROUPS_UPSERT\",\n\t\t\t\t\t\"GROUP_UPDATE\",\n\t\t\t\t\t\"GROUP_PARTICIPANTS_UPDATE\",\n\t\t\t\t\t\"CONNECTION_UPDATE\",\n\t\t\t\t\t\"CALL\",\n\t\t\t\t\t\"NEW_JWT_TOKEN\"\n\t\t\t],\n\t\t\t\"webhook_by_events\": false\n\t\t},\n \"settings\": {\n\t\t\t\"reject_call\": false,\n\t\t\t\"msg_call\": \"\",\n\t\t\t\"groups_ignore\": false,\n\t\t\t\"always_online\": false,\n\t\t\t\"read_messages\": false,\n\t\t\t\"read_status\": false\n\t\t},\n\t\t\"websocket\": {\n\t\t\t\"websocket_enabled\": false,\n\t\t\t\"websocket_events\": [\n\t\t\t\t\"APPLICATION_STARTUP\",\n\t\t\t\t\t\"QRCODE_UPDATED\",\n\t\t\t\t\t\"MESSAGES_SET\",\n\t\t\t\t\t\"MESSAGES_UPSERT\",\n\t\t\t\t\t\"MESSAGES_UPDATE\",\n\t\t\t\t\t\"MESSAGES_DELETE\",\n\t\t\t\t\t\"SEND_MESSAGE\",\n\t\t\t\t\t\"CONTACTS_SET\",\n\t\t\t\t\t\"CONTACTS_UPSERT\",\n\t\t\t\t\t\"CONTACTS_UPDATE\",\n\t\t\t\t\t\"PRESENCE_UPDATE\",\n\t\t\t\t\t\"CHATS_SET\",\n\t\t\t\t\t\"CHATS_UPSERT\",\n\t\t\t\t\t\"CHATS_UPDATE\",\n\t\t\t\t\t\"CHATS_DELETE\",\n\t\t\t\t\t\"GROUPS_UPSERT\",\n\t\t\t\t\t\"GROUP_UPDATE\",\n\t\t\t\t\t\"GROUP_PARTICIPANTS_UPDATE\",\n\t\t\t\t\t\"CONNECTION_UPDATE\",\n\t\t\t\t\t\"CALL\",\n\t\t\t\t\t\"NEW_JWT_TOKEN\"\n\t\t\t]\n\t\t},\n\t\t\"rabbitmq\": {\n\t\t\t\"rabbitmq_enabled\": false,\n\t\t\t\"rabbitmq_events\": [\n\t\t\t\t\"APPLICATION_STARTUP\",\n\t\t\t\t\t\"QRCODE_UPDATED\",\n\t\t\t\t\t\"MESSAGES_SET\",\n\t\t\t\t\t\"MESSAGES_UPSERT\",\n\t\t\t\t\t\"MESSAGES_UPDATE\",\n\t\t\t\t\t\"MESSAGES_DELETE\",\n\t\t\t\t\t\"SEND_MESSAGE\",\n\t\t\t\t\t\"CONTACTS_SET\",\n\t\t\t\t\t\"CONTACTS_UPSERT\",\n\t\t\t\t\t\"CONTACTS_UPDATE\",\n\t\t\t\t\t\"PRESENCE_UPDATE\",\n\t\t\t\t\t\"CHATS_SET\",\n\t\t\t\t\t\"CHATS_UPSERT\",\n\t\t\t\t\t\"CHATS_UPDATE\",\n\t\t\t\t\t\"CHATS_DELETE\",\n\t\t\t\t\t\"GROUPS_UPSERT\",\n\t\t\t\t\t\"GROUP_UPDATE\",\n\t\t\t\t\t\"GROUP_PARTICIPANTS_UPDATE\",\n\t\t\t\t\t\"CONNECTION_UPDATE\",\n\t\t\t\t\t\"CALL\",\n\t\t\t\t\t\"NEW_JWT_TOKEN\"\n\t\t\t]\n\t\t},\n \"chatwoot\": {\n\t\t\t\"chatwoot_account_id\": \"\",\n\t\t\t\"chatwoot_token\": \"\",\n\t\t\t\"chatwoot_url\": \"\",\n\t\t\t\"chatwoot_sign_msg\": false,\n\t\t\t\"chatwoot_reopen_conversation\": false,\n\t\t\t\"chatwoot_conversation_pending\": false\n\t\t}\n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":63.0,"widgetId":"o0v8ypwnya","minWidth":450.0,"parentId":"esgwuzqcwt","renderMode":"CANVAS","mobileTopRow":44.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":4.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"w17ra2a85u","isDeprecated":false,"rightColumn":283.875,"detachFromLayout":true,"widgetId":"esgwuzqcwt","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"rnttu90jzr","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"bkvkzj4d20","height":1850.0,"isDeprecated":false,"rightColumn":37.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"rnttu90jzr","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":42.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":13.0,"maxDynamicHeight":9000.0,"width":628.0,"minDynamicHeight":24.0},{"resetFormOnClick":false,"boxShadow":"none","mobileBottomRow":5.0,"widgetName":"ButtonRefreshData","onClick":"{{fetch_Instances.run()}}","buttonColor":"#60a5fa","dynamicPropertyPathList":[{"key":"isVisible"}],"displayName":"Button","iconSVG":"/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg","searchTags":["click","submit"],"topRow":1.0,"bottomRow":5.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","hideCard":false,"mobileRightColumn":35.0,"animateLoading":true,"parentColumnSpace":11.828125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":19.0,"dynamicBindingPathList":[{"key":"isVisible"},{"key":"borderRadius"}],"text":"","isDisabled":false,"key":"k10nyfsas3","isDeprecated":false,"rightColumn":24.0,"isDefaultClickDisabled":true,"iconName":"refresh","widgetId":"dn1ehe3gvu","minWidth":120.0,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":1.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":19.0,"buttonVariant":"PRIMARY","iconAlign":"left","placement":"CENTER"},{"boxShadow":"none","mobileBottomRow":5.0,"widgetName":"ButtonGroup1","isCanvas":false,"dynamicPropertyPathList":[{"key":"isVisible"}],"displayName":"Button Group","iconSVG":"/static/media/icon.7c22979bacc83c8d84aedf56ea6c2022.svg","searchTags":["click","submit"],"topRow":1.0,"bottomRow":5.0,"parentRowSpace":10.0,"groupButtons":{"groupButton1":{"label":"Connect","iconName":"camera","id":"groupButton1","widgetId":"","buttonType":"SIMPLE","placement":"CENTER","isVisible":true,"isDisabled":false,"index":0.0,"menuItems":{},"buttonColor":"#16a34a","onClick":"{{Connect.run();\nfetch_Instances.run();\nshowModal('ModalQrcode');}}"},"groupButton2":{"label":"Restart","iconName":"reset","id":"groupButton2","buttonType":"SIMPLE","placement":"CENTER","widgetId":"","isVisible":true,"isDisabled":false,"index":1.0,"menuItems":{},"buttonColor":"#2563eb","onClick":"{{Restart.run().then(() => {\n showAlert('Instance restarted successfully', 'success');\n}).catch(() => {\n showAlert('Error restarting instance', 'error');\n});\nfetch_Instances.run();}}"},"groupButton3":{"label":"Logout","iconName":"log-in","id":"groupButton3","buttonType":"SIMPLE","placement":"CENTER","widgetId":"","isVisible":true,"isDisabled":false,"index":2.0,"menuItems":{"menuItem1":{"label":"First Option","backgroundColor":"#FFFFFF","id":"menuItem1","widgetId":"","onClick":"","isVisible":true,"isDisabled":false,"index":0.0},"menuItem2":{"label":"Second Option","backgroundColor":"#FFFFFF","id":"menuItem2","widgetId":"","onClick":"","isVisible":true,"isDisabled":false,"index":1.0},"menuItem3":{"label":"Delete","iconName":"trash","iconColor":"#FFFFFF","iconAlign":"right","textColor":"#FFFFFF","backgroundColor":"#DD4B34","id":"menuItem3","widgetId":"","onClick":"","isVisible":true,"isDisabled":false,"index":2.0}},"buttonColor":"#a16207","onClick":"{{Logout.run().then(() => {\n showAlert('Instance logout successfully', 'success');\n}).catch(() => {\n showAlert('Error logout instance', 'error');\n});\nfetch_Instances.run();}}"},"groupButtonmghcs8rd4g":{"id":"groupButtonmghcs8rd4g","index":3.0,"label":"Delete","menuItems":{},"buttonType":"SIMPLE","placement":"CENTER","widgetId":"v0qkg2pjo2","isDisabled":false,"isVisible":true,"buttonColor":"#ef4444","iconName":"cross","onClick":"{{Delete.run().then(() => {\n showAlert('Instance deleted successfully', 'success');\n}).catch(() => {\n showAlert('Error deleting instance', 'error');\n});\nfetch_Instances.run();}}"}},"type":"BUTTON_GROUP_WIDGET","hideCard":false,"mobileRightColumn":51.0,"animateLoading":true,"parentColumnSpace":11.828125,"dynamicTriggerPathList":[{"key":"groupButtons.groupButton1.onClick"},{"key":"groupButtons.groupButton2.onClick"},{"key":"groupButtons.groupButton3.onClick"},{"key":"groupButtons.groupButtonmghcs8rd4g.onClick"}],"leftColumn":27.0,"dynamicBindingPathList":[{"key":"isVisible"},{"key":"borderRadius"}],"isDisabled":false,"key":"za8m3k8x7w","orientation":"horizontal","isDeprecated":false,"rightColumn":63.0,"widgetId":"2s6fqi483g","minWidth":450.0,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":1.0,"responsiveBehavior":"fill","childStylesheet":{"button":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}"}},"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":27.0,"buttonVariant":"PRIMARY"},{"boxShadow":"none","mobileBottomRow":18.0,"widgetName":"ProfilePicture","dynamicPropertyPathList":[{"key":"isVisible"},{"key":"borderRadius"}],"displayName":"Image","iconSVG":"/static/media/icon.30c8cbd442cce232b01ba2d434c53a53.svg","topRow":6.0,"bottomRow":28.0,"parentRowSpace":10.0,"type":"IMAGE_WIDGET","hideCard":false,"mobileRightColumn":13.0,"animateLoading":true,"parentColumnSpace":11.828125,"dynamicTriggerPathList":[],"imageShape":"RECTANGLE","leftColumn":1.0,"dynamicBindingPathList":[{"key":"image"},{"key":"isVisible"}],"defaultImage":"https://th.bing.com/th/id/OIP.ruat7whad9-kcI8_1KH_tQHaGI?pid=ImgDet&rs=1","key":"bl30j21wwb","image":"{{TableInstances.selectedRow.profilePictureUrl}}","isDeprecated":false,"rightColumn":13.0,"objectFit":"contain","widgetId":"1sjznr31jo","isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":6.0,"maxZoomLevel":1.0,"enableDownload":false,"borderRadius":"0.335rem","mobileLeftColumn":1.0,"enableRotation":false},{"mobileBottomRow":22.0,"widgetName":"Text4","dynamicPropertyPathList":[{"key":"isVisible"}],"displayName":"Text","iconSVG":"/static/media/icon.c3b6033f570046f8c6288d911333a827.svg","searchTags":["typography","paragraph","label"],"topRow":36.0,"bottomRow":42.0,"parentRowSpace":10.0,"type":"TEXT_WIDGET","hideCard":false,"mobileRightColumn":11.0,"animateLoading":true,"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","parentColumnSpace":11.828125,"dynamicTriggerPathList":[],"leftColumn":1.0,"dynamicBindingPathList":[{"key":"text"},{"key":"isVisible"},{"key":"fontFamily"}],"shouldTruncate":false,"truncateButtonColor":"{{appsmith.theme.colors.primaryColor}}","text":"{{TableInstances.selectedRow.profileName || ''}}\n\n{{TableInstances.selectedRow.profileStatus || ''}}","key":"gqt8t28m33","isDeprecated":false,"rightColumn":13.0,"textAlign":"CENTER","dynamicHeight":"AUTO_HEIGHT","widgetId":"0c356c66hp","minWidth":450.0,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","fontStyle":"BOLD","textColor":"#231F20","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":18.0,"responsiveBehavior":"fill","originalTopRow":36.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"originalBottomRow":41.0,"fontSize":"0.875rem","minDynamicHeight":4.0},{"mobileBottomRow":41.0,"widgetName":"Text5","dynamicPropertyPathList":[{"key":"isVisible"}],"displayName":"Text","iconSVG":"/static/media/icon.c3b6033f570046f8c6288d911333a827.svg","searchTags":["typography","paragraph","label"],"topRow":32.0,"bottomRow":36.0,"parentRowSpace":10.0,"type":"TEXT_WIDGET","hideCard":false,"mobileRightColumn":9.0,"animateLoading":true,"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","parentColumnSpace":11.75,"dynamicTriggerPathList":[],"leftColumn":1.0,"dynamicBindingPathList":[{"key":"text"},{"key":"isVisible"},{"key":"fontFamily"}],"shouldTruncate":false,"truncateButtonColor":"{{appsmith.theme.colors.primaryColor}}","text":"{{TableInstances.selectedRow.instance || ''}}","key":"gqt8t28m33","isDeprecated":false,"rightColumn":13.0,"textAlign":"CENTER","dynamicHeight":"AUTO_HEIGHT","widgetId":"5qg2iscn1l","minWidth":450.0,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","fontStyle":"BOLD","textColor":"#231F20","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":37.0,"responsiveBehavior":"fill","originalTopRow":32.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"originalBottomRow":38.0,"fontSize":"1.25rem","minDynamicHeight":4.0},{"boxShadow":"none","mobileBottomRow":70.0,"widgetName":"ModalWebhook","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":46.0,"bottomRow":476.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":430.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas4","displayName":"Canvas","topRow":0.0,"bottomRow":430.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":240.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Set_Webhook.run().then(() => {\n showAlert('Webhook updated successfully', 'success');\n}).catch(() => {\n showAlert('Error updating webhook', 'error');\n});\ncloseModal('ModalWebhook');}}","topRow":0.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"sourceData"},{"key":"schema.__root_schema__.children.events.borderRadius"},{"key":"schema.__root_schema__.children.events.defaultValue"},{"key":"schema.__root_schema__.children.url.accentColor"},{"key":"schema.__root_schema__.children.url.defaultValue"},{"key":"schema.__root_schema__.children.enabled.accentColor"},{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"schema.__root_schema__.children.webhook_by_events.accentColor"},{"key":"schema.__root_schema__.children.webhook_by_events.defaultValue"},{"key":"borderRadius"},{"key":"schema.__root_schema__.children.events.accentColor"},{"key":"schema.__root_schema__.children.url.borderRadius"},{"key":"submitButtonStyles.buttonColor"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":41.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"webhook_by_events":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.webhook_by_events))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"webhook_by_events","identifier":"webhook_by_events","position":3.0,"originalIdentifier":"webhook_by_events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Webhook By Events"},"enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.enabled))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"enabled","identifier":"enabled","position":0.0,"originalIdentifier":"enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Enabled"},"url":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.url))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Text Input","sourceData":"https://webhook.site/06c7b29f-543b-49bc-b598-51bf99d08f6c","isCustomField":false,"accessor":"url","identifier":"url","position":1.0,"originalIdentifier":"url","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Url"},"events":{"children":{},"dataType":"array","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.events))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Multiselect","sourceData":[],"isCustomField":false,"accessor":"events","identifier":"events","position":2.0,"originalIdentifier":"events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Events","labelTextSize":"0.875rem","serverSideFiltering":false,"options":[{"label":"Blue","value":"BLUE"},{"label":"Green","value":"GREEN"},{"label":"Red","value":"RED"}]}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Object","sourceData":{"name":"John","date_of_birth":"20/02/1990","employee_id":1001.0},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormWebhook","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.webhook_by_events.defaultValue"},{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"schema.__root_schema__.children.url.defaultValue"}],"displayName":"JSON Form","bottomRow":41.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Webhook","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"enabled\": {{Find_Webhook.data.enabled || false}},\n\t\"url\": {{Find_Webhook.data.url}},\n \"webhook_by_events\": {{Find_Webhook.data.webhook_by_events}},\n \"events\": {{Find_Webhook.data.events || false}} \n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":63.0,"widgetId":"tb1ekur7fx","minWidth":450.0,"parentId":"mv02ta6pzr","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":0.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"svq68rvpdn","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"mv02ta6pzr","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"0g8ql5hukz","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"6x3z5yow7u","height":430.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"0g8ql5hukz","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":456.0,"minDynamicHeight":24.0},{"boxShadow":"none","mobileBottomRow":70.0,"widgetName":"ModalWebsocket","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":42.0,"bottomRow":32.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":320.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas4Copy1","displayName":"Canvas","topRow":0.0,"bottomRow":320.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":290.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Set_Websocket.run().then(() => {\n showAlert('Websocket updated successfully', 'success');\n}).catch(() => {\n showAlert('Error updating websocket', 'error');\n});\ncloseModal('ModalWebsocket');}}","topRow":0.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"sourceData"},{"key":"schema.__root_schema__.children.events.defaultValue"},{"key":"schema.__root_schema__.children.enabled.accentColor"},{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"borderRadius"},{"key":"schema.__root_schema__.children.events.accentColor"},{"key":"submitButtonStyles.buttonColor"},{"key":"schema.__root_schema__.children.events.borderRadius"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":27.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.enabled))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"enabled","identifier":"enabled","position":0.0,"originalIdentifier":"enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Enabled"},"events":{"children":{},"dataType":"array","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.events))(FormWebsocket.sourceData, FormWebsocket.formData, FormWebsocket.fieldState)}}","fieldType":"Multiselect","sourceData":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL","NEW_JWT_TOKEN"],"isCustomField":false,"accessor":"events","identifier":"events","position":2.0,"originalIdentifier":"events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebsocket.sourceData, FormWebsocket.formData, FormWebsocket.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebsocket.sourceData, FormWebsocket.formData, FormWebsocket.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Events","labelTextSize":"0.875rem","serverSideFiltering":false,"options":[{"label":"Blue","value":"BLUE"},{"label":"Green","value":"GREEN"},{"label":"Red","value":"RED"}]}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Object","sourceData":{"name":"John","date_of_birth":"20/02/1990","employee_id":1001.0},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormWebsocket","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"schema.__root_schema__.children.events.defaultValue"}],"displayName":"JSON Form","bottomRow":30.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Websocket","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"enabled\": {{Find_Websocket.data.enabled}},\n \"events\": {{Find_Websocket.data.events || []}} \n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":63.0,"widgetId":"masqwth5vo","minWidth":450.0,"parentId":"gzf4hjxdo8","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":0.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"svq68rvpdn","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"gzf4hjxdo8","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"9twyngcwej","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"6x3z5yow7u","height":320.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"9twyngcwej","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":456.0,"minDynamicHeight":24.0},{"boxShadow":"none","mobileBottomRow":70.0,"widgetName":"ModalRabbitmq","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":31.0,"bottomRow":32.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":320.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas4Copy1Copy","displayName":"Canvas","topRow":0.0,"bottomRow":320.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":240.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Set_Rabbitmq.run().then(() => {\n showAlert('Rabbitmq updated successfully', 'success');\n}).catch(() => {\n showAlert('Error updating rabbitmq', 'error');\n});\ncloseModal('ModalRabbitmq');}}","topRow":0.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"sourceData"},{"key":"schema.__root_schema__.children.events.defaultValue"},{"key":"schema.__root_schema__.children.enabled.accentColor"},{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"borderRadius"},{"key":"schema.__root_schema__.children.events.accentColor"},{"key":"submitButtonStyles.buttonColor"},{"key":"schema.__root_schema__.children.events.borderRadius"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":30.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.enabled))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"enabled","identifier":"enabled","position":0.0,"originalIdentifier":"enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Enabled"},"events":{"children":{},"dataType":"array","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.events))(FormRabbitmq.sourceData, FormRabbitmq.formData, FormRabbitmq.fieldState)}}","fieldType":"Multiselect","sourceData":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL","NEW_JWT_TOKEN"],"isCustomField":false,"accessor":"events","identifier":"events","position":2.0,"originalIdentifier":"events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormRabbitmq.sourceData, FormRabbitmq.formData, FormRabbitmq.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormRabbitmq.sourceData, FormRabbitmq.formData, FormRabbitmq.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Events","labelTextSize":"0.875rem","serverSideFiltering":false,"options":[{"label":"Blue","value":"BLUE"},{"label":"Green","value":"GREEN"},{"label":"Red","value":"RED"}]}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Object","sourceData":{"name":"John","date_of_birth":"20/02/1990","employee_id":1001.0},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormRabbitmq","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.events.defaultValue"}],"displayName":"JSON Form","bottomRow":30.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Rabbitmq","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"enabled\": {{Find_Rabbitmq.data.enabled || false}},\n \"events\": {{Find_Rabbitmq.data.events || []}} \n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":63.0,"widgetId":"gdkpog7ep5","minWidth":450.0,"parentId":"rkuaegvcin","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":0.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"svq68rvpdn","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"rkuaegvcin","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"76vl08dr1n","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"6x3z5yow7u","height":320.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"76vl08dr1n","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":456.0,"minDynamicHeight":24.0},{"boxShadow":"none","mobileBottomRow":70.0,"widgetName":"ModalSettings","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":46.0,"bottomRow":516.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":470.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas4Copy","displayName":"Canvas","topRow":0.0,"bottomRow":470.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":240.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Set_Settings.run().then(() => {\n showAlert('Settings updated successfully', 'success');\n}).catch(() => {\n showAlert('Error updating Settings', 'error');\n});\ncloseModal('ModalSettings');}}","topRow":0.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":1.0,"dynamicBindingPathList":[{"key":"schema.__root_schema__.children.read_status.accentColor"},{"key":"schema.__root_schema__.children.read_status.defaultValue"},{"key":"schema.__root_schema__.children.read_messages.accentColor"},{"key":"schema.__root_schema__.children.read_messages.defaultValue"},{"key":"schema.__root_schema__.children.always_online.accentColor"},{"key":"schema.__root_schema__.children.always_online.defaultValue"},{"key":"schema.__root_schema__.children.groups_ignore.accentColor"},{"key":"schema.__root_schema__.children.groups_ignore.defaultValue"},{"key":"schema.__root_schema__.children.msg_call.accentColor"},{"key":"schema.__root_schema__.children.msg_call.defaultValue"},{"key":"schema.__root_schema__.children.reject_call.accentColor"},{"key":"schema.__root_schema__.children.reject_call.defaultValue"},{"key":"borderRadius"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.msg_call.borderRadius"},{"key":"submitButtonStyles.buttonColor"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":45.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"reject_call":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.reject_call))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"reject_call","identifier":"reject_call","position":0.0,"originalIdentifier":"reject_call","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Reject Call"},"msg_call":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.msg_call))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","fieldType":"Text Input","sourceData":"Não aceitamos chamadas!","isCustomField":false,"accessor":"msg_call","identifier":"msg_call","position":1.0,"originalIdentifier":"msg_call","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Msg Call"},"groups_ignore":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.groups_ignore))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"groups_ignore","identifier":"groups_ignore","position":2.0,"originalIdentifier":"groups_ignore","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Groups Ignore"},"always_online":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.always_online))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"always_online","identifier":"always_online","position":3.0,"originalIdentifier":"always_online","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Always Online"},"read_messages":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.read_messages))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"read_messages","identifier":"read_messages","position":4.0,"originalIdentifier":"read_messages","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Read Messages"},"read_status":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.read_status))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"read_status","identifier":"read_status","position":5.0,"originalIdentifier":"read_status","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Read Status"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Object","sourceData":{"name":"John","date_of_birth":"20/02/1990","employee_id":1001.0},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormSettings","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.reject_call.defaultValue"},{"key":"schema.__root_schema__.children.groups_ignore.defaultValue"},{"key":"schema.__root_schema__.children.always_online.defaultValue"},{"key":"schema.__root_schema__.children.read_messages.defaultValue"},{"key":"schema.__root_schema__.children.read_status.defaultValue"},{"key":"schema.__root_schema__.children.msg_call.defaultValue"}],"displayName":"JSON Form","bottomRow":45.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Settings","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"reject_call\": {{Find_Settings.data.reject_call || false}},\n \"msg_call\": {{Find_Settings.data.msg_call}},\n \"groups_ignore\": {{Find_Settings.data.groups_ignore || false}},\n \"always_online\": {{Find_Settings.data.always_online || false}},\n \"read_messages\": {{Find_Settings.data.read_messages || false}},\n \"read_status\": {{Find_Settings.data.read_status || false}}\n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":64.0,"widgetId":"3wajdobhry","minWidth":450.0,"parentId":"bj66ktxeor","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":0.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"svq68rvpdn","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"bj66ktxeor","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"9pvl5efylb","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"6x3z5yow7u","height":470.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"9pvl5efylb","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":456.0,"minDynamicHeight":24.0},{"boxShadow":"none","mobileBottomRow":70.0,"widgetName":"ModalChatwoot","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":50.0,"bottomRow":780.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":730.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas4CopyCopy","displayName":"Canvas","topRow":0.0,"bottomRow":730.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":730.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Set_Chatwoot.run().then(() => {\n showAlert('Chatwoot updated successfully', 'success');\n}).catch(() => {\n showAlert('Error updating Chatwoot', 'error');\n});\ncloseModal('ModalChatwoot');}}","topRow":0.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"schema.__root_schema__.children.conversation_pending.accentColor"},{"key":"schema.__root_schema__.children.conversation_pending.defaultValue"},{"key":"schema.__root_schema__.children.reopen_conversation.accentColor"},{"key":"schema.__root_schema__.children.reopen_conversation.defaultValue"},{"key":"schema.__root_schema__.children.sign_msg.accentColor"},{"key":"schema.__root_schema__.children.sign_msg.defaultValue"},{"key":"schema.__root_schema__.children.url.borderRadius"},{"key":"schema.__root_schema__.children.url.accentColor"},{"key":"schema.__root_schema__.children.url.defaultValue"},{"key":"schema.__root_schema__.children.token.borderRadius"},{"key":"schema.__root_schema__.children.token.accentColor"},{"key":"schema.__root_schema__.children.token.defaultValue"},{"key":"schema.__root_schema__.children.account_id.accentColor"},{"key":"schema.__root_schema__.children.account_id.defaultValue"},{"key":"schema.__root_schema__.children.enabled.accentColor"},{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"borderRadius"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.account_id.borderRadius"},{"key":"schema.__root_schema__.children.webhook_url.defaultValue"},{"key":"schema.__root_schema__.children.webhook_url.accentColor"},{"key":"schema.__root_schema__.children.webhook_url.borderRadius"},{"key":"schema.__root_schema__.defaultValue"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"schema.__root_schema__.children.name_inbox.defaultValue"},{"key":"schema.__root_schema__.children.name_inbox.borderRadius"},{"key":"schema.__root_schema__.children.name_inbox.accentColor"},{"key":"submitButtonStyles.buttonColor"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":71.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.enabled))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"enabled","identifier":"enabled","position":0.0,"originalIdentifier":"enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Enabled"},"account_id":{"children":{},"dataType":"number","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.account_id))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Number Input","sourceData":1.0,"isCustomField":false,"accessor":"account_id","identifier":"account_id","position":1.0,"originalIdentifier":"account_id","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Account Id"},"token":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.token))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Password Input","sourceData":"uHquVJgCdkee8JPJm9YBkdH6","isCustomField":false,"accessor":"token","identifier":"token","position":2.0,"originalIdentifier":"token","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Token","shouldAllowAutofill":true},"url":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.url))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Text Input","sourceData":"https://chatwoot.evolution.dgcode.com.br","isCustomField":false,"accessor":"url","identifier":"url","position":3.0,"originalIdentifier":"url","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Url"},"sign_msg":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.sign_msg))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"sign_msg","identifier":"sign_msg","position":4.0,"originalIdentifier":"sign_msg","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Sign Msg"},"reopen_conversation":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.reopen_conversation))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"reopen_conversation","identifier":"reopen_conversation","position":5.0,"originalIdentifier":"reopen_conversation","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Reopen Conversation"},"conversation_pending":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.conversation_pending))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"conversation_pending","identifier":"conversation_pending","position":6.0,"originalIdentifier":"conversation_pending","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Conversation Pending"},"webhook_url":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.webhook_url))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Text Input","sourceData":"https://api.evolution.dgcode.com.br/chatwoot/webhook/evolution-cwId-4","isCustomField":false,"accessor":"webhook_url","identifier":"webhook_url","position":8.0,"originalIdentifier":"webhook_url","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":true,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Webhook Url"},"name_inbox":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.name_inbox))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Text Input","sourceData":"evolution-cwId-4","isCustomField":false,"accessor":"name_inbox","identifier":"name_inbox","position":7.0,"originalIdentifier":"name_inbox","accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":true,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Name Inbox"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Object","sourceData":{"name":"John","date_of_birth":"20/02/1990","employee_id":1001.0},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormChatwoot","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"schema.__root_schema__.children.sign_msg.defaultValue"},{"key":"schema.__root_schema__.children.reopen_conversation.defaultValue"},{"key":"schema.__root_schema__.children.conversation_pending.defaultValue"},{"key":"schema.__root_schema__.children.account_id.defaultValue"},{"key":"schema.__root_schema__.children.webhook_url.defaultValue"}],"displayName":"JSON Form","bottomRow":71.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Chatwoot","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"enabled\": {{Find_Chatwoot.data.enabled || false}},\n\t\"account_id\": {{Find_Chatwoot.data.account_id}},\n \"token\": {{Find_Chatwoot.data.token}},\n \"url\": {{Find_Chatwoot.data.url}},\n \"sign_msg\": {{Find_Chatwoot.data.sign_msg || false}},\n \"reopen_conversation\": {{Find_Chatwoot.data.reopen_conversation || false}},\n \"conversation_pending\": {{Find_Chatwoot.data.conversation_pending || false}},\n\t\t\"name_inbox\": {{Find_Chatwoot.data.name_inbox}},\n\t\t\"webhook_url\": {{Find_Chatwoot.data.webhook_url}}\n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":63.0,"widgetId":"c5v1lwuyrk","minWidth":450.0,"parentId":"wqoo05rt9h","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":0.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"svq68rvpdn","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"wqoo05rt9h","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"kekx3o71p4","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"6x3z5yow7u","height":730.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"kekx3o71p4","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":692.0,"minDynamicHeight":24.0},{"resetFormOnClick":false,"boxShadow":"none","mobileBottomRow":50.0,"widgetName":"Button2","onClick":"{{Fetch_Instance.run();\nFetch_PrivacySettings.run();\nshowModal('ModalProfile');}}","buttonColor":"#2770fc","dynamicPropertyPathList":[{"key":"isVisible"}],"displayName":"Button","iconSVG":"/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg","searchTags":["click","submit"],"topRow":28.0,"bottomRow":32.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","hideCard":false,"mobileRightColumn":21.0,"animateLoading":true,"parentColumnSpace":17.9375,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":1.0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"isVisible"}],"text":"Edit Profile","isDisabled":false,"key":"zhd9fobc1z","isDeprecated":false,"rightColumn":13.0,"isDefaultClickDisabled":true,"iconName":"edit","widgetId":"uh6430ysqy","minWidth":120.0,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? TableInstances.selectedRow.instance ? TableInstances.selectedRow.Status === 'open' ? true : false : false : false}}","recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"responsiveBehavior":"hug","originalTopRow":51.0,"disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":5.0,"originalBottomRow":55.0,"buttonVariant":"PRIMARY","iconAlign":"left","placement":"CENTER"},{"boxShadow":"none","mobileBottomRow":59.0,"widgetName":"ModalProfile","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":35.0,"bottomRow":975.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":940.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas5","displayName":"Canvas","topRow":0.0,"bottomRow":940.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":240.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Update_ProfileName.run().then(() => {\n showAlert('ProfileName successfully saved!', 'success');\n}).catch(() => {\n showAlert('Error updating ProfileName', 'error');\n});\nUpdate_ProfilePicture.run().then(() => {\n showAlert('ProfilePicture successfully saved!', 'success');\n}).catch(() => {\n showAlert('Error updating ProfilePicture', 'error');\n});\nUpdate_ProfileStatus.run().then(() => {\n showAlert('ProfileStatus successfully saved!', 'success');\n}).catch(() => {\n showAlert('Error updating ProfileStatus', 'error');\n});\nUpdate_PrivacySettings.run().then(() => {\n showAlert('PrivacySttings successfully saved!', 'success');\n}).catch(() => {\n showAlert('Error updating PrivacySttings', 'error');\n});\nfetch_Instances.run();\ncloseModal('ModalProfile');}}","topRow":0.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"submitButtonStyles.buttonColor"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"resetButtonStyles.borderRadius"},{"key":"schema.__root_schema__.defaultValue"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"schema.__root_schema__.children.profileName.defaultValue"},{"key":"schema.__root_schema__.children.profileName.accentColor"},{"key":"schema.__root_schema__.children.profileName.borderRadius"},{"key":"schema.__root_schema__.children.profileStatus.defaultValue"},{"key":"schema.__root_schema__.children.profileStatus.accentColor"},{"key":"schema.__root_schema__.children.profileStatus.borderRadius"},{"key":"schema.__root_schema__.children.profilePictureUrl.defaultValue"},{"key":"schema.__root_schema__.children.profilePictureUrl.borderRadius"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.profilePictureUrl.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.readreceipts.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.children.readreceipts.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.readreceipts.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.children.profile.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.children.profile.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.profile.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.children.status.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.children.status.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.status.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.children.online.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.children.online.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.online.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.children.last.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.children.last.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.last.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.children.groupadd.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.children.groupadd.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.groupadd.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.cellBorderRadius"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":92.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"profileName":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.profileName))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"profileName","identifier":"profileName","position":1.0,"originalIdentifier":"profileName","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Profile Name"},"profileStatus":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.profileStatus))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"profileStatus","identifier":"profileStatus","position":2.0,"originalIdentifier":"profileStatus","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Profile Status"},"profilePictureUrl":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.profilePictureUrl))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Text Input","sourceData":"https://pps.whatsapp.net/v/t61.24694-24/359816109_329991892684302_7466658594467953893_n.jpg?ccb=11-4&oh=01_AdTpgc4O-xiZDr2v0OLu_jssxaw8dsws819srLMOzUwEnw&oe=64D3C41E","isCustomField":false,"accessor":"profilePictureUrl","identifier":"profilePictureUrl","position":0.0,"originalIdentifier":"profilePictureUrl","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Profile Picture Url"},"privacySettings":{"children":{"readreceipts":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings.readreceipts))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Select","sourceData":"all","isCustomField":false,"accessor":"readreceipts","identifier":"readreceipts","position":0.0,"originalIdentifier":"readreceipts","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Readreceipts","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"all\",\n \"value\": \"all\"\n },\n {\n \"label\": \"none\",\n \"value\": \"none\"\n }\n]"},"profile":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings.profile))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Select","sourceData":"all","isCustomField":false,"accessor":"profile","identifier":"profile","position":1.0,"originalIdentifier":"profile","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Profile","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"all\",\n \"value\": \"all\"\n },\n {\n \"label\": \"contacts\",\n \"value\": \"contacts\"\n },\n {\n \"label\": \"contact_blacklist\",\n \"value\": \"contact_blacklist\"\n },\n {\n \"label\": \"none\",\n \"value\": \"none\"\n }\n]"},"status":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings.status))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Select","sourceData":"contacts","isCustomField":false,"accessor":"status","identifier":"status","position":2.0,"originalIdentifier":"status","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Status","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"all\",\n \"value\": \"all\"\n },\n {\n \"label\": \"contacts\",\n \"value\": \"contacts\"\n },\n {\n \"label\": \"contact_blacklist\",\n \"value\": \"contact_blacklist\"\n },\n {\n \"label\": \"none\",\n \"value\": \"none\"\n }\n]"},"online":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings.online))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Select","sourceData":"all","isCustomField":false,"accessor":"online","identifier":"online","position":3.0,"originalIdentifier":"online","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Online","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"all\",\n \"value\": \"all\"\n },\n {\n \"label\": \"match_last_seen\",\n \"value\": \"match_last_seen\"\n }\n]"},"last":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings.last))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Select","sourceData":"contacts","isCustomField":false,"accessor":"last","identifier":"last","position":4.0,"originalIdentifier":"last","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Last","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"all\",\n \"value\": \"all\"\n },\n {\n \"label\": \"contacts\",\n \"value\": \"contacts\"\n },\n {\n \"label\": \"contact_blacklist\",\n \"value\": \"contact_blacklist\"\n },\n {\n \"label\": \"none\",\n \"value\": \"none\"\n }\n]"},"groupadd":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings.groupadd))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Select","sourceData":"all","isCustomField":false,"accessor":"groupadd","identifier":"groupadd","position":5.0,"originalIdentifier":"groupadd","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Groupadd","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"all\",\n \"value\": \"all\"\n },\n {\n \"label\": \"contacts\",\n \"value\": \"contacts\"\n },\n {\n \"label\": \"contact_blacklist\",\n \"value\": \"contact_blacklist\"\n },\n {\n \"label\": \"none\",\n \"value\": \"none\"\n }\n]"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Object","sourceData":{"readreceipts":"all","profile":"all","status":"contacts","online":"all","last":"contacts","groupadd":"all"},"isCustomField":false,"accessor":"privacySettings","identifier":"privacySettings","position":3.0,"originalIdentifier":"privacySettings","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Privacy Settings","labelStyle":"BOLD"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Object","sourceData":{"name":"John","date_of_birth":"20/02/1990","employee_id":1001.0},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormProfile","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[],"displayName":"JSON Form","bottomRow":92.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Edit Profile","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"profilePictureUrl\": \"{{Fetch_Instance.data.instance.profilePictureUrl}}\",\n\t\"profileName\": \"{{Fetch_Instance.data.instance.profileName}}\",\n\t\"profileStatus\": \"{{Fetch_Instance.data.instance.profileStatus}}\",\n\t\"privacySettings\": {\n \"readreceipts\": {{Fetch_PrivacySettings.data.readreceipts}},\n \"profile\": {{Fetch_PrivacySettings.data.profile}},\n \"status\": {{Fetch_PrivacySettings.data.status}},\n \"online\": {{Fetch_PrivacySettings.data.online}},\n \"last\": {{Fetch_PrivacySettings.data.last}},\n \"groupadd\": {{Fetch_PrivacySettings.data.groupadd}}\n\t\t}\n}","resetButtonLabel":"","key":"72nqor459k","backgroundColor":"#fff","isDeprecated":false,"rightColumn":64.0,"widgetId":"hguxefink2","minWidth":450.0,"parentId":"basosxf5qt","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":0.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"mepf0qsn1e","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"basosxf5qt","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"ss96aihlej","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"4ktj7iym0b","height":940.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"ss96aihlej","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":35.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":456.0,"minDynamicHeight":24.0}]},"layoutOnLoadActions":[[{"id":"Home_Scripts.verifyConfig","name":"Scripts.verifyConfig","collectionId":"Home_Scripts","clientSideExecution":true,"confirmBeforeExecute":false,"pluginType":"JS","jsonPathKeys":["async function () {\n const api_url = await appsmith.store.api_url;\n const api_key = await appsmith.store.api_key;\n if (!api_url && !api_key) {\n showModal('ModalConfig');\n return false;\n }\n fetch_Instances.run();\n Find_Webhook.run();\n Find_Settings.run();\n Find_Chatwoot.run();\n return true;\n}"],"timeoutInMillisecond":10000.0}],[{"id":"Home_Find_Rabbitmq","name":"Find_Rabbitmq","confirmBeforeExecute":false,"pluginType":"API","jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"timeoutInMillisecond":10000.0},{"id":"Home_Find_Websocket","name":"Find_Websocket","confirmBeforeExecute":false,"pluginType":"API","jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"timeoutInMillisecond":10000.0}]],"layoutOnLoadActionErrors":[],"validOnPageLoadActions":true,"id":"Home","deleted":false,"policies":[],"userPermissions":[]}],"userPermissions":[],"policies":[],"isHidden":false},"publishedPage":{"name":"Home","slug":"home","customSlug":"","layouts":[{"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":4896.0,"snapColumns":64.0,"detachFromLayout":true,"widgetId":"0","topRow":0.0,"bottomRow":420.0,"containerStyle":"none","snapRows":124.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"version":82.0,"minHeight":1292.0,"dynamicTriggerPathList":[],"parentColumnSpace":1.0,"dynamicBindingPathList":[],"leftColumn":0.0,"children":[{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","borderColor":"#E0DEDE","isVisibleDownload":true,"iconSVG":"https://appcdn.appsmith.com/static/media/icon.24905525921dd6f5ff46d0dd843b9e12.svg","topRow":6.0,"isSortable":true,"type":"TABLE_WIDGET_V2","inlineEditingSaveOption":"ROW_LEVEL","animateLoading":true,"dynamicBindingPathList":[{"key":"tableData"},{"key":"primaryColumns.customColumn9.boxShadow"},{"key":"primaryColumns.customColumn9.borderRadius"},{"key":"primaryColumns.customColumn9.menuColor"},{"key":"primaryColumns.customColumn8.computedValue"},{"key":"primaryColumns.customColumn7.computedValue"},{"key":"primaryColumns.customColumn6.computedValue"},{"key":"primaryColumns.customColumn5.computedValue"},{"key":"primaryColumns.customColumn2.computedValue"},{"key":"primaryColumns.customColumn1.textColor"},{"key":"primaryColumns.customColumn1.cellBackground"},{"key":"primaryColumns.customColumn1.computedValue"},{"key":"primaryColumns.instance.computedValue"},{"key":"isVisible"},{"key":"accentColor"},{"key":"borderRadius"},{"key":"boxShadow"}],"needsHeightForContent":true,"leftColumn":14.0,"delimiter":",","defaultSelectedRowIndex":0.0,"showInlineEditingOptionDropdown":true,"accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisibleFilters":true,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","enableClientSideSearch":true,"version":2.0,"totalRecordsCount":0.0,"isLoading":false,"childStylesheet":{"button":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"menuButton":{"menuColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"iconButton":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"editActions":{"saveButtonColor":"{{appsmith.theme.colors.primaryColor}}","saveBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","discardButtonColor":"{{appsmith.theme.colors.primaryColor}}","discardBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"}},"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","columnUpdatedAt":1.690746223636E12,"defaultSelectedRowIndices":[0.0],"mobileBottomRow":32.0,"widgetName":"TableInstances","defaultPageSize":0.0,"columnOrder":["instance","customColumn5","customColumn1","customColumn2","customColumn6","customColumn7","customColumn8","customColumn9"],"dynamicPropertyPathList":[{"key":"primaryColumns.customColumn1.cellBackground"},{"key":"isVisible"}],"displayName":"Table","bottomRow":42.0,"columnWidthMap":{"customColumn3":92.0,"customColumn2":340.0,"customColumn5":254.0,"customColumn9":60.0},"parentRowSpace":10.0,"hideCard":false,"mobileRightColumn":36.0,"parentColumnSpace":20.078125,"dynamicTriggerPathList":[{"key":"primaryColumns.customColumn9.menuItems.menuItemjfzsd8g6yr.onClick"},{"key":"primaryColumns.customColumn9.menuItems.menuItem4sqork5nmt.onClick"},{"key":"primaryColumns.customColumn9.menuItems.menuItemig6ua4ixjx.onClick"},{"key":"primaryColumns.customColumn9.menuItems.menuItemx9oyhys8cj.onClick"},{"key":"primaryColumns.customColumn9.menuItems.menuItemxk5jvvwwef.onClick"}],"borderWidth":"1","primaryColumns":{"instance":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":0.0,"width":150.0,"originalId":"instance","id":"instance","alias":"instance","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":true,"isDerived":false,"label":"Instance","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.instanceName))}}","sticky":"","validation":{}},"customColumn1":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":1.0,"width":150.0,"originalId":"customColumn1","id":"customColumn1","alias":"Status","horizontalAlignment":"CENTER","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":true,"isDerived":true,"label":"Status","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.status))}}","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF","cellBackground":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.status === \"open\" ? \"#499B51\" : currentRow.instance.status === \"close\" ? \"#DD524C\" : \"#2770FC\"))}}","textColor":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.colors.backgroundColor)))}}"},"customColumn2":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":2.0,"width":150.0,"originalId":"customColumn2","id":"customColumn2","alias":"Apikey","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":true,"isDerived":true,"label":"Apikey","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.apikey))}}","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF"},"customColumn5":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":5.0,"width":150.0,"originalId":"customColumn5","id":"customColumn5","alias":"Owner","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":true,"isDerived":true,"label":"Owner","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.owner))}}","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF"},"customColumn6":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":6.0,"width":150.0,"originalId":"customColumn6","id":"customColumn6","alias":"profilePictureUrl","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":false,"isDerived":true,"label":"profilePictureUrl","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.profilePictureUrl))}}","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF"},"customColumn7":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":7.0,"width":150.0,"originalId":"customColumn7","id":"customColumn7","alias":"profileName","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":false,"isDerived":true,"label":"profileName","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.profileName))}}","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF"},"customColumn8":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":8.0,"width":150.0,"originalId":"customColumn8","id":"customColumn8","alias":"profileStatus","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":false,"isDerived":true,"label":"profileStatus","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.profileStatus))}}","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF"},"customColumn9":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":9.0,"width":150.0,"originalId":"customColumn9","id":"customColumn9","alias":"#","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"menuButton","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":true,"isDerived":true,"label":"#","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF","menuColor":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.colors.primaryColor)))}}","borderRadius":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.borderRadius.appBorderRadius)))}}","boxShadow":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( \"none\"))}}","customAlias":"","menuItemsSource":"STATIC","menuButtonLabel":" ","menuButtoniconName":"chevron-down","menuItems":{"menuItemjfzsd8g6yr":{"id":"menuItemjfzsd8g6yr","index":0.0,"label":"Webhook","widgetId":"vygcejtdun","isDisabled":false,"isVisible":true,"onClick":"{{Find_Webhook.run({\n //\"key\": \"value\",\n});\nshowModal('ModalWebhook');}}"},"menuItem4sqork5nmt":{"id":"menuItem4sqork5nmt","index":1.0,"label":"Settings","widgetId":"0hw8oqpwcj","isDisabled":false,"isVisible":true,"onClick":"{{Find_Settings.run();\nshowModal('ModalSettings');}}"},"menuItemx9oyhys8cj":{"id":"menuItemx9oyhys8cj","index":2.0,"label":"Websocket","widgetId":"j75a4k6ecq","isDisabled":false,"isVisible":true,"onClick":"{{Find_Websocket.run();\nshowModal('ModalWebsocket');}}"},"menuItemxk5jvvwwef":{"id":"menuItemxk5jvvwwef","index":3.0,"label":"Rabbitmq","widgetId":"3u94ov6qst","isDisabled":false,"isVisible":true,"onClick":"{{Find_Rabbitmq.run();\nshowModal('ModalRabbitmq');}}"},"menuItemig6ua4ixjx":{"id":"menuItemig6ua4ixjx","index":4.0,"label":"Chatwoot","widgetId":"fuq5dtgbqc","isDisabled":false,"isVisible":true,"onClick":"{{Find_Chatwoot.run();\nshowModal('ModalChatwoot');}}"}}}},"key":"e3yxhhyeel","canFreezeColumn":true,"isDeprecated":false,"rightColumn":63.0,"textSize":"0.875rem","widgetId":"uupm7enu8u","minWidth":450.0,"tableData":"{{fetch_Instances.data}}","label":"Data","searchKey":"","parentId":"0","renderMode":"CANVAS","mobileTopRow":4.0,"horizontalAlignment":"LEFT","isVisibleSearch":true,"responsiveBehavior":"fill","mobileLeftColumn":2.0,"isVisiblePagination":true,"verticalAlignment":"CENTER"},{"resetFormOnClick":false,"boxShadow":"none","mobileBottomRow":5.0,"widgetName":"BtnNewInstance","onClick":"{{showModal('ModalInstance');}}","buttonColor":"rgb(3, 179, 101)","dynamicPropertyPathList":[{"key":"isVisible"}],"displayName":"Button","iconSVG":"/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg","searchTags":["click","submit"],"topRow":1.0,"bottomRow":5.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","hideCard":false,"mobileRightColumn":8.0,"animateLoading":true,"parentColumnSpace":11.828125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":7.0,"dynamicBindingPathList":[{"key":"isVisible"},{"key":"borderRadius"}],"text":"New Instance","isDisabled":false,"key":"crzwqv3pdr","isDeprecated":false,"rightColumn":19.0,"isDefaultClickDisabled":true,"iconName":"add","widgetId":"84ei9q1ugm","minWidth":120.0,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":1.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":0.0,"buttonVariant":"PRIMARY","iconAlign":"left","placement":"CENTER"},{"boxShadow":"none","mobileBottomRow":74.0,"widgetName":"ModalQrcode","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":50.0,"bottomRow":500.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":45.0,"animateLoading":true,"parentColumnSpace":11.828125,"leftColumn":21.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas1","displayName":"Canvas","topRow":0.0,"bottomRow":450.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":240.0,"mobileRightColumn":283.875,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","mobileBottomRow":52.0,"widgetName":"ImageQrcode","displayName":"Image","iconSVG":"https://appcdn.appsmith.com/static/media/icon.30c8cbd442cce232b01ba2d434c53a53.svg","topRow":6.0,"bottomRow":43.0,"parentRowSpace":10.0,"type":"IMAGE_WIDGET","hideCard":false,"mobileRightColumn":55.0,"animateLoading":true,"parentColumnSpace":20.078125,"dynamicTriggerPathList":[],"imageShape":"RECTANGLE","leftColumn":2.0,"dynamicBindingPathList":[{"key":"image"},{"key":"borderRadius"}],"defaultImage":"https://evolution-api.com/files/evolution-api-favicon.png","key":"4chlj9l432","image":"{{Connect.data.base64}}","isDeprecated":false,"rightColumn":61.0,"objectFit":"contain","widgetId":"27dpgapd7q","isVisible":true,"version":1.0,"parentId":"we6j3r2byy","renderMode":"CANVAS","isLoading":false,"mobileTopRow":40.0,"maxZoomLevel":1.0,"enableDownload":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":43.0,"enableRotation":false},{"boxShadow":"none","mobileBottomRow":4.0,"widgetName":"IconButton1","onClick":"{{closeModal('ModalQrcode');\nfetch_Instances.run()}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","displayName":"Icon button","iconSVG":"/static/media/icon.80fc7466c0d7181ec0271de7fda795ec.svg","searchTags":["click","submit"],"topRow":0.0,"bottomRow":4.0,"type":"ICON_BUTTON_WIDGET","hideCard":false,"mobileRightColumn":64.0,"animateLoading":true,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":58.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"iconSize":24.0,"isDisabled":false,"key":"pezy0hb491","isDeprecated":false,"rightColumn":64.0,"iconName":"cross","widgetId":"i1dw369dch","minWidth":50.0,"isVisible":true,"version":1.0,"parentId":"we6j3r2byy","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"hug","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":58.0,"buttonVariant":"TERTIARY"},{"mobileBottomRow":5.0,"widgetName":"Text1","displayName":"Text","iconSVG":"/static/media/icon.c3b6033f570046f8c6288d911333a827.svg","searchTags":["typography","paragraph","label"],"topRow":1.0,"bottomRow":5.0,"type":"TEXT_WIDGET","hideCard":false,"mobileRightColumn":41.0,"animateLoading":true,"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","dynamicTriggerPathList":[],"leftColumn":1.0,"dynamicBindingPathList":[{"key":"fontFamily"}],"shouldTruncate":false,"truncateButtonColor":"{{appsmith.theme.colors.primaryColor}}","text":"Qrcode","key":"9s8f10sepn","isDeprecated":false,"rightColumn":41.0,"textAlign":"LEFT","dynamicHeight":"AUTO_HEIGHT","widgetId":"mg2cqsi9fn","minWidth":450.0,"isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1.0,"parentId":"we6j3r2byy","renderMode":"CANVAS","isLoading":false,"mobileTopRow":1.0,"responsiveBehavior":"fill","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":1.0,"maxDynamicHeight":9000.0,"fontSize":"1.25rem","minDynamicHeight":4.0}],"isDisabled":false,"key":"e8r23nd8j4","isDeprecated":false,"rightColumn":283.875,"detachFromLayout":true,"widgetId":"we6j3r2byy","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"ljwryrjhy7","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"g8xx6ocuvi","height":450.0,"isDeprecated":false,"rightColumn":45.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"ljwryrjhy7","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":50.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":21.0,"maxDynamicHeight":9000.0,"width":456.0,"minDynamicHeight":24.0},{"resetFormOnClick":false,"boxShadow":"none","mobileBottomRow":5.0,"widgetName":"BtnConfig","onClick":"{{showModal('ModalConfig');}}","buttonColor":"#2563eb","dynamicPropertyPathList":[],"displayName":"Button","iconSVG":"/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg","searchTags":["click","submit"],"topRow":1.0,"bottomRow":5.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","hideCard":false,"mobileRightColumn":30.0,"animateLoading":true,"parentColumnSpace":11.828125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":1.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"text":"Access","isDisabled":false,"key":"crzwqv3pdr","isDeprecated":false,"rightColumn":7.0,"isDefaultClickDisabled":true,"iconName":"user","widgetId":"uegjpy37i6","minWidth":120.0,"isVisible":true,"recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":1.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":14.0,"buttonVariant":"PRIMARY","iconAlign":"left","placement":"CENTER"},{"boxShadow":"none","mobileBottomRow":73.0,"widgetName":"ModalConfig","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":49.0,"bottomRow":30.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":25.0,"minHeight":300.0,"animateLoading":true,"parentColumnSpace":11.75,"leftColumn":1.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas2","displayName":"Canvas","topRow":0.0,"bottomRow":300.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":300.0,"mobileRightColumn":282.0,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","mobileBottomRow":84.0,"borderColor":"#E0DEDE","widgetName":"FormConfig","isCanvas":true,"displayName":"Form","iconSVG":"/static/media/icon.5d6d2ac5cb1aa68bcd9b14f11c56b44a.svg","searchTags":["group"],"topRow":0.0,"bottomRow":28.0,"parentRowSpace":10.0,"type":"FORM_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":25.0,"animateLoading":true,"parentColumnSpace":11.828125,"dynamicTriggerPathList":[],"leftColumn":1.0,"dynamicBindingPathList":[],"children":[{"mobileBottomRow":400.0,"widgetName":"Canvas2Copy","displayName":"Canvas","topRow":0.0,"bottomRow":280.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":false,"hideCard":true,"minHeight":400.0,"mobileRightColumn":283.875,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"mobileBottomRow":5.0,"widgetName":"Text2","displayName":"Text","iconSVG":"/static/media/icon.c3b6033f570046f8c6288d911333a827.svg","searchTags":["typography","paragraph","label"],"topRow":1.0,"bottomRow":5.0,"type":"TEXT_WIDGET","hideCard":false,"mobileRightColumn":25.5,"animateLoading":true,"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","dynamicTriggerPathList":[],"leftColumn":1.5,"dynamicBindingPathList":[{"key":"fontFamily"}],"shouldTruncate":false,"truncateButtonColor":"{{appsmith.theme.colors.primaryColor}}","text":"Access Credentials","key":"9s8f10sepn","isDeprecated":false,"rightColumn":25.5,"textAlign":"LEFT","dynamicHeight":"AUTO_HEIGHT","widgetId":"tps5rw2lk9","minWidth":450.0,"isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1.0,"parentId":"lrtvcpswru","renderMode":"CANVAS","isLoading":false,"mobileTopRow":1.0,"responsiveBehavior":"fill","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":1.5,"maxDynamicHeight":9000.0,"fontSize":"1.25rem","minDynamicHeight":4.0},{"resetFormOnClick":true,"boxShadow":"none","mobileBottomRow":37.0,"widgetName":"Button1","onClick":"{{storeValue('api_url', FormConfig.data.InputApiUrl);\nstoreValue('api_key', FormConfig.data.InputGlobalApiKey);\nfetch_Instances.run().then(() => {\n showAlert('successful login', 'success');\n}).catch(() => {\n showAlert('Could not load instances', 'error');\n});\ncloseModal('ModalConfig').then(() => {});}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","dynamicPropertyPathList":[{"key":"isDisabled"}],"displayName":"Button","iconSVG":"/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg","searchTags":["click","submit"],"topRow":22.0,"bottomRow":26.0,"type":"BUTTON_WIDGET","hideCard":false,"mobileRightColumn":62.0,"animateLoading":true,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":51.0,"dynamicBindingPathList":[{"key":"isDisabled"},{"key":"buttonColor"},{"key":"borderRadius"}],"text":"Login","isDisabled":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","key":"crzwqv3pdr","isDeprecated":false,"rightColumn":63.0,"isDefaultClickDisabled":true,"iconName":"log-in","widgetId":"gzxvnsxk0y","minWidth":120.0,"isVisible":true,"recaptchaType":"V3","version":1.0,"parentId":"lrtvcpswru","renderMode":"CANVAS","isLoading":false,"mobileTopRow":33.0,"responsiveBehavior":"hug","disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":46.0,"buttonVariant":"PRIMARY","iconAlign":"left","placement":"CENTER"},{"resetFormOnClick":true,"boxShadow":"none","mobileBottomRow":37.0,"widgetName":"Button1Copy","onClick":"{{removeValue('api_url');\nremoveValue('api_key').then(() => {\n showAlert('successful logout', 'success');\n});}}","buttonColor":"#dc2626","dynamicPropertyPathList":[{"key":"isDisabled"}],"displayName":"Button","iconSVG":"/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg","searchTags":["click","submit"],"topRow":21.0,"bottomRow":25.0,"type":"BUTTON_WIDGET","hideCard":false,"mobileRightColumn":62.0,"animateLoading":true,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":2.0,"dynamicBindingPathList":[{"key":"isDisabled"},{"key":"borderRadius"}],"text":"Logout","isDisabled":"{{!appsmith.store.api_key && !appsmith.store.api_url ? true : false}}","key":"crzwqv3pdr","isDeprecated":false,"rightColumn":14.0,"isDefaultClickDisabled":true,"iconName":"log-out","widgetId":"f2i8tsbgx1","minWidth":120.0,"isVisible":true,"recaptchaType":"V3","version":1.0,"parentId":"lrtvcpswru","renderMode":"CANVAS","isLoading":false,"mobileTopRow":33.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":46.0,"buttonVariant":"PRIMARY","iconAlign":"left","placement":"CENTER"},{"boxShadow":"none","iconSVG":"/static/media/icon.d0ce957b6c4640f8a7418ce846ee200e.svg","topRow":6.0,"labelWidth":5.0,"type":"INPUT_WIDGET_V2","animateLoading":true,"resetOnSubmit":true,"leftColumn":2.0,"dynamicBindingPathList":[{"key":"defaultText"},{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","placeholderText":"","isDisabled":false,"isRequired":true,"dynamicHeight":"FIXED","accentColor":"{{appsmith.theme.colors.primaryColor}}","showStepArrows":false,"isVisible":true,"version":2.0,"isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileBottomRow":13.0,"widgetName":"InputApiUrl","displayName":"Input","searchTags":["form","text input","number","textarea"],"bottomRow":13.0,"parentRowSpace":10.0,"autoFocus":false,"hideCard":false,"mobileRightColumn":22.0,"parentColumnSpace":5.047119140625,"dynamicTriggerPathList":[],"labelPosition":"Top","key":"r1hfat3ouf","labelTextSize":"0.875rem","isDeprecated":false,"rightColumn":63.0,"widgetId":"spgryrb5ao","minWidth":450.0,"label":"API URL","parentId":"lrtvcpswru","labelAlignment":"left","renderMode":"CANVAS","mobileTopRow":6.0,"responsiveBehavior":"fill","mobileLeftColumn":2.0,"maxDynamicHeight":9000.0,"isSpellCheck":false,"iconAlign":"left","defaultText":"{{appsmith.store.api_url || ''}}","minDynamicHeight":4.0},{"boxShadow":"none","iconSVG":"/static/media/icon.d0ce957b6c4640f8a7418ce846ee200e.svg","topRow":14.0,"labelWidth":5.0,"type":"INPUT_WIDGET_V2","animateLoading":true,"resetOnSubmit":true,"leftColumn":2.0,"dynamicBindingPathList":[{"key":"defaultText"},{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"PASSWORD","isDisabled":false,"isRequired":true,"dynamicHeight":"FIXED","accentColor":"{{appsmith.theme.colors.primaryColor}}","showStepArrows":false,"isVisible":true,"version":2.0,"isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileBottomRow":13.0,"widgetName":"InputGlobalApiKey","displayName":"Input","searchTags":["form","text input","number","textarea"],"bottomRow":21.0,"parentRowSpace":10.0,"autoFocus":false,"hideCard":false,"mobileRightColumn":22.0,"parentColumnSpace":5.047119140625,"dynamicTriggerPathList":[],"labelPosition":"Top","key":"r1hfat3ouf","labelTextSize":"0.875rem","isDeprecated":false,"rightColumn":63.0,"widgetId":"v2vedr13py","minWidth":450.0,"label":"GLOBAL API KEY","parentId":"lrtvcpswru","labelAlignment":"left","renderMode":"CANVAS","mobileTopRow":6.0,"responsiveBehavior":"fill","mobileLeftColumn":2.0,"maxDynamicHeight":9000.0,"shouldAllowAutofill":true,"iconAlign":"left","defaultText":"{{appsmith.store.api_key || ''}}","minDynamicHeight":4.0},{"boxShadow":"none","mobileBottomRow":4.0,"widgetName":"IconButton2","onClick":"{{closeModal('ModalConfig');}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","displayName":"Icon button","iconSVG":"/static/media/icon.80fc7466c0d7181ec0271de7fda795ec.svg","searchTags":["click","submit"],"topRow":0.0,"bottomRow":4.0,"parentRowSpace":10.0,"type":"ICON_BUTTON_WIDGET","hideCard":false,"mobileRightColumn":64.0,"animateLoading":true,"parentColumnSpace":9.072265625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":60.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"isDisabled":false,"key":"pezy0hb491","isDeprecated":false,"rightColumn":64.0,"iconName":"cross","widgetId":"oaouelmhi1","minWidth":50.0,"isVisible":true,"version":1.0,"parentId":"lrtvcpswru","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"hug","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":60.0,"buttonVariant":"TERTIARY"}],"key":"e8r23nd8j4","isDeprecated":false,"rightColumn":283.875,"detachFromLayout":true,"widgetId":"lrtvcpswru","containerStyle":"none","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"h97rbttd5c","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"borderWidth":"0","positioning":"fixed","key":"dtzd07zsya","backgroundColor":"#FFFFFF","isDeprecated":false,"rightColumn":63.0,"dynamicHeight":"AUTO_HEIGHT","widgetId":"h97rbttd5c","minWidth":450.0,"isVisible":true,"parentId":"es5gsctogb","renderMode":"CANVAS","isLoading":false,"mobileTopRow":44.0,"responsiveBehavior":"fill","originalTopRow":0.0,"borderRadius":"0.375rem","mobileLeftColumn":1.0,"maxDynamicHeight":9000.0,"originalBottomRow":28.0,"minDynamicHeight":10.0}],"isDisabled":false,"key":"e8r23nd8j4","isDeprecated":false,"rightColumn":282.0,"detachFromLayout":true,"widgetId":"es5gsctogb","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"gneh33z88k","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"g8xx6ocuvi","height":300.0,"isDeprecated":false,"rightColumn":25.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"gneh33z88k","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":49.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":1.0,"maxDynamicHeight":9000.0,"width":632.0,"minDynamicHeight":24.0},{"boxShadow":"none","mobileBottomRow":66.0,"widgetName":"ModalInstance","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":42.0,"bottomRow":1892.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":37.0,"minHeight":1850.0,"animateLoading":true,"parentColumnSpace":11.828125,"leftColumn":13.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas3","displayName":"Canvas","topRow":0.0,"bottomRow":1850.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":1140.0,"mobileRightColumn":283.875,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","mobileBottomRow":4.0,"widgetName":"IconButton3Copy","onClick":"{{closeModal('ModalInstance');}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","displayName":"Icon button","iconSVG":"/static/media/icon.80fc7466c0d7181ec0271de7fda795ec.svg","searchTags":["click","submit"],"topRow":0.0,"bottomRow":4.0,"type":"ICON_BUTTON_WIDGET","hideCard":false,"mobileRightColumn":64.0,"animateLoading":true,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":57.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"iconSize":24.0,"isDisabled":false,"key":"mr6bto7c8j","isDeprecated":false,"rightColumn":63.0,"iconName":"cross","widgetId":"xofakp4har","minWidth":50.0,"isVisible":true,"version":1.0,"parentId":"esgwuzqcwt","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"hug","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":58.0,"buttonVariant":"TERTIARY"},{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Create_Instance.run().then(() => {\n showAlert('Instance created successfully', 'success');\n}).catch(() => {\n showAlert('Error creating instance', 'error');\n});\nfetch_Instances.run();\ncloseModal('ModalInstance');}}","topRow":4.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"schema.__root_schema__.defaultValue"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.children.webhook.defaultValue"},{"key":"schema.__root_schema__.children.webhook.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"schema.__root_schema__.children.instance.defaultValue"},{"key":"schema.__root_schema__.children.instance.borderRadius"},{"key":"schema.__root_schema__.children.instance.cellBorderRadius"},{"key":"schema.__root_schema__.children.instance.children.instanceName.defaultValue"},{"key":"schema.__root_schema__.children.instance.children.instanceName.accentColor"},{"key":"schema.__root_schema__.children.instance.children.instanceName.borderRadius"},{"key":"schema.__root_schema__.children.instance.children.token.defaultValue"},{"key":"schema.__root_schema__.children.instance.children.token.accentColor"},{"key":"schema.__root_schema__.children.instance.children.token.borderRadius"},{"key":"schema.__root_schema__.children.webhook.cellBorderRadius"},{"key":"schema.__root_schema__.children.webhook.children.webhook.defaultValue"},{"key":"schema.__root_schema__.children.webhook.children.webhook.accentColor"},{"key":"schema.__root_schema__.children.webhook.children.webhook.borderRadius"},{"key":"schema.__root_schema__.children.webhook.children.events.defaultValue"},{"key":"schema.__root_schema__.children.webhook.children.events.accentColor"},{"key":"schema.__root_schema__.children.webhook.children.events.borderRadius"},{"key":"schema.__root_schema__.children.webhook.children.webhook_by_events.defaultValue"},{"key":"schema.__root_schema__.children.webhook.children.webhook_by_events.accentColor"},{"key":"schema.__root_schema__.children.settings.defaultValue"},{"key":"schema.__root_schema__.children.settings.borderRadius"},{"key":"schema.__root_schema__.children.settings.cellBorderRadius"},{"key":"schema.__root_schema__.children.settings.children.reject_call.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.reject_call.accentColor"},{"key":"schema.__root_schema__.children.settings.children.msg_call.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.msg_call.accentColor"},{"key":"schema.__root_schema__.children.settings.children.msg_call.borderRadius"},{"key":"schema.__root_schema__.children.settings.children.groups_ignore.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.groups_ignore.accentColor"},{"key":"schema.__root_schema__.children.settings.children.always_online.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.always_online.accentColor"},{"key":"schema.__root_schema__.children.settings.children.read_messages.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.read_messages.accentColor"},{"key":"schema.__root_schema__.children.settings.children.read_status.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.read_status.accentColor"},{"key":"schema.__root_schema__.children.chatwoot.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.borderRadius"},{"key":"schema.__root_schema__.children.chatwoot.cellBorderRadius"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_account_id.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_account_id.accentColor"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_account_id.borderRadius"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_token.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_token.accentColor"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_token.borderRadius"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_url.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_url.accentColor"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_url.borderRadius"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_sign_msg.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_sign_msg.accentColor"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_reopen_conversation.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_reopen_conversation.accentColor"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_conversation_pending.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_conversation_pending.accentColor"},{"key":"schema.__root_schema__.children.instance.children.qrcode.defaultValue"},{"key":"schema.__root_schema__.children.instance.children.qrcode.accentColor"},{"key":"schema.__root_schema__.children.websocket.defaultValue"},{"key":"schema.__root_schema__.children.websocket.borderRadius"},{"key":"schema.__root_schema__.children.websocket.cellBorderRadius"},{"key":"schema.__root_schema__.children.websocket.children.websocket_enabled.defaultValue"},{"key":"schema.__root_schema__.children.websocket.children.websocket_enabled.accentColor"},{"key":"schema.__root_schema__.children.websocket.children.websocket_events.defaultValue"},{"key":"schema.__root_schema__.children.websocket.children.websocket_events.accentColor"},{"key":"schema.__root_schema__.children.websocket.children.websocket_events.borderRadius"},{"key":"schema.__root_schema__.children.rabbitmq.defaultValue"},{"key":"schema.__root_schema__.children.rabbitmq.borderRadius"},{"key":"schema.__root_schema__.children.rabbitmq.cellBorderRadius"},{"key":"schema.__root_schema__.children.rabbitmq.children.rabbitmq_enabled.defaultValue"},{"key":"schema.__root_schema__.children.rabbitmq.children.rabbitmq_enabled.accentColor"},{"key":"schema.__root_schema__.children.rabbitmq.children.rabbitmq_events.defaultValue"},{"key":"schema.__root_schema__.children.rabbitmq.children.rabbitmq_events.accentColor"},{"key":"schema.__root_schema__.children.rabbitmq.children.rabbitmq_events.borderRadius"}],"showReset":true,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY","iconAlign":"left"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Create","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":147.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"webhook":{"children":{"webhook":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.webhook.webhook))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"webhook","identifier":"webhook","position":0.0,"originalIdentifier":"webhook","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Webhook"},"events":{"children":{},"dataType":"array","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.webhook.events))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Multiselect","sourceData":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL","NEW_JWT_TOKEN"],"isCustomField":false,"accessor":"events","identifier":"events","position":2.0,"originalIdentifier":"events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Events","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"APPLICATION_STARTUP\",\n \"value\": \"APPLICATION_STARTUP\"\n },\n {\n \"label\": \"QRCODE_UPDATED\",\n \"value\": \"QRCODE_UPDATED\"\n },\n {\n \"label\": \"MESSAGES_SET\",\n \"value\": \"MESSAGES_SET\"\n },\n {\n \"label\": \"MESSAGES_UPSERT\",\n \"value\": \"MESSAGES_UPSERT\"\n },\n {\n \"label\": \"MESSAGES_UPDATE\",\n \"value\": \"MESSAGES_UPDATE\"\n },\n {\n \"label\": \"MESSAGES_DELETE\",\n \"value\": \"MESSAGES_DELETE\"\n },\n {\n \"label\": \"SEND_MESSAGE\",\n \"value\": \"SEND_MESSAGE\"\n },\n {\n \"label\": \"CONTACTS_SET\",\n \"value\": \"CONTACTS_SET\"\n },\n {\n \"label\": \"CONTACTS_UPSERT\",\n \"value\": \"CONTACTS_UPSERT\"\n },\n {\n \"label\": \"CONTACTS_UPDATE\",\n \"value\": \"CONTACTS_UPDATE\"\n },\n {\n \"label\": \"PRESENCE_UPDATE\",\n \"value\": \"PRESENCE_UPDATE\"\n },\n {\n \"label\": \"CHATS_SET\",\n \"value\": \"CHATS_SET\"\n },\n {\n \"label\": \"CHATS_UPSERT\",\n \"value\": \"CHATS_UPSERT\"\n },\n {\n \"label\": \"CHATS_UPDATE\",\n \"value\": \"CHATS_UPDATE\"\n },\n {\n \"label\": \"CHATS_DELETE\",\n \"value\": \"CHATS_DELETE\"\n },\n {\n \"label\": \"GROUPS_UPSERT\",\n \"value\": \"GROUPS_UPSERT\"\n },\n {\n \"label\": \"GROUP_UPDATE\",\n \"value\": \"GROUP_UPDATE\"\n },\n {\n \"label\": \"GROUP_PARTICIPANTS_UPDATE\",\n \"value\": \"GROUP_PARTICIPANTS_UPDATE\"\n },\n {\n \"label\": \"CONNECTION_UPDATE\",\n \"value\": \"CONNECTION_UPDATE\"\n },\n {\n \"label\": \"CALL\",\n \"value\": \"CALL\"\n },\n {\n \"label\": \"NEW_JWT_TOKEN\",\n \"value\": \"NEW_JWT_TOKEN\"\n }\n]"},"webhook_by_events":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.webhook.webhook_by_events))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"webhook_by_events","identifier":"webhook_by_events","position":2.0,"originalIdentifier":"webhook_by_events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Webhook By Events"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.webhook))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{},"isCustomField":false,"accessor":"webhook","identifier":"webhook","position":1.0,"originalIdentifier":"webhook","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Webhook","labelStyle":"BOLD"},"instance":{"children":{"instanceName":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.instance.instanceName))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"instanceName","identifier":"instanceName","position":0.0,"originalIdentifier":"instanceName","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Instance Name"},"token":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.instance.token))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"token","identifier":"token","position":1.0,"originalIdentifier":"token","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Token"},"qrcode":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.instance.qrcode))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"qrcode","identifier":"qrcode","position":2.0,"originalIdentifier":"qrcode","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Qrcode"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.instance))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{},"isCustomField":false,"accessor":"instance","identifier":"instance","position":0.0,"originalIdentifier":"instance","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Instance","labelStyle":"BOLD"},"settings":{"children":{"reject_call":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings.reject_call))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"reject_call","identifier":"reject_call","position":0.0,"originalIdentifier":"reject_call","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Reject Call"},"msg_call":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings.msg_call))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"msg_call","identifier":"msg_call","position":1.0,"originalIdentifier":"msg_call","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Msg Call"},"groups_ignore":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings.groups_ignore))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"groups_ignore","identifier":"groups_ignore","position":2.0,"originalIdentifier":"groups_ignore","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Groups Ignore"},"always_online":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings.always_online))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"always_online","identifier":"always_online","position":3.0,"originalIdentifier":"always_online","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Always Online"},"read_messages":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings.read_messages))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"read_messages","identifier":"read_messages","position":4.0,"originalIdentifier":"read_messages","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Read Messages"},"read_status":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings.read_status))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"read_status","identifier":"read_status","position":5.0,"originalIdentifier":"read_status","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Read Status"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{},"isCustomField":false,"accessor":"settings","identifier":"settings","position":2.0,"originalIdentifier":"settings","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Settings","labelStyle":"BOLD"},"chatwoot":{"children":{"chatwoot_account_id":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot.chatwoot_account_id))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"chatwoot_account_id","identifier":"chatwoot_account_id","position":0.0,"originalIdentifier":"chatwoot_account_id","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Chatwoot Account Id"},"chatwoot_token":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot.chatwoot_token))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Password Input","sourceData":"","isCustomField":false,"accessor":"chatwoot_token","identifier":"chatwoot_token","position":1.0,"originalIdentifier":"chatwoot_token","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Chatwoot Token","shouldAllowAutofill":true},"chatwoot_url":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot.chatwoot_url))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"chatwoot_url","identifier":"chatwoot_url","position":2.0,"originalIdentifier":"chatwoot_url","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Chatwoot Url"},"chatwoot_sign_msg":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot.chatwoot_sign_msg))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"chatwoot_sign_msg","identifier":"chatwoot_sign_msg","position":3.0,"originalIdentifier":"chatwoot_sign_msg","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Chatwoot Sign Msg"},"chatwoot_reopen_conversation":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot.chatwoot_reopen_conversation))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"chatwoot_reopen_conversation","identifier":"chatwoot_reopen_conversation","position":4.0,"originalIdentifier":"chatwoot_reopen_conversation","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Chatwoot Reopen Conversation"},"chatwoot_conversation_pending":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot.chatwoot_conversation_pending))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"chatwoot_conversation_pending","identifier":"chatwoot_conversation_pending","position":5.0,"originalIdentifier":"chatwoot_conversation_pending","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Chatwoot Conversation Pending"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{},"isCustomField":false,"accessor":"chatwoot","identifier":"chatwoot","position":5.0,"originalIdentifier":"chatwoot","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Chatwoot","labelStyle":"BOLD"},"websocket":{"children":{"websocket_enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.websocket.websocket_enabled))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"websocket_enabled","identifier":"websocket_enabled","position":0.0,"originalIdentifier":"websocket_enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Websocket Enabled"},"websocket_events":{"children":{},"dataType":"array","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.websocket.websocket_events))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Multiselect","sourceData":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL","NEW_JWT_TOKEN"],"isCustomField":false,"accessor":"websocket_events","identifier":"websocket_events","position":1.0,"originalIdentifier":"websocket_events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Websocket Events","labelTextSize":"0.875rem","serverSideFiltering":false,"options":[{"label":"Blue","value":"BLUE"},{"label":"Green","value":"GREEN"},{"label":"Red","value":"RED"}]}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.websocket))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{},"isCustomField":false,"accessor":"websocket","identifier":"websocket","position":3.0,"originalIdentifier":"websocket","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Websocket","labelStyle":"BOLD"},"rabbitmq":{"children":{"rabbitmq_enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.rabbitmq.rabbitmq_enabled))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"rabbitmq_enabled","identifier":"rabbitmq_enabled","position":1.0,"originalIdentifier":"rabbitmq_enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Rabbitmq Enabled"},"rabbitmq_events":{"children":{},"dataType":"array","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.rabbitmq.rabbitmq_events))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Multiselect","sourceData":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL","NEW_JWT_TOKEN"],"isCustomField":false,"accessor":"rabbitmq_events","identifier":"rabbitmq_events","position":1.0,"originalIdentifier":"rabbitmq_events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Rabbitmq Events","labelTextSize":"0.875rem","serverSideFiltering":false,"options":[{"label":"Blue","value":"BLUE"},{"label":"Green","value":"GREEN"},{"label":"Red","value":"RED"}]}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.rabbitmq))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{"websocket_enabled":false,"websocket_events":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL","NEW_JWT_TOKEN"]},"isCustomField":false,"accessor":"rabbitmq","identifier":"rabbitmq","position":4.0,"originalIdentifier":"rabbitmq","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Rabbitmq","labelStyle":"BOLD"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{"instanceName":"","token":"","webhook":"","webhook_by_events":false,"events":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL","NEW_JWT_TOKEN"],"reject_call":false,"msg_call":"","groups_ignore":false,"always_online":false,"read_messages":false,"read_status":false,"chatwoot_account_id":"","chatwoot_token":"","chatwoot_url":"","chatwoot_sign_msg":false,"chatwoot_reopen_conversation":false,"chatwoot_conversation_pending":false},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":85.0,"widgetName":"FormInstance","submitButtonStyles":{"buttonColor":"rgb(3, 179, 101)","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.webhook.children.webhook_by_events.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.reject_call.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.groups_ignore.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.always_online.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.read_messages.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.read_status.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_sign_msg.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_reopen_conversation.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_conversation_pending.defaultValue"},{"key":"schema.__root_schema__.children.instance.children.qrcode.defaultValue"},{"key":"schema.__root_schema__.children.websocket.children.websocket_enabled.defaultValue"},{"key":"schema.__root_schema__.children.rabbitmq.children.rabbitmq_enabled.defaultValue"}],"displayName":"JSON Form","bottomRow":183.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"New Instance","hideCard":false,"mobileRightColumn":22.0,"shouldScrollContents":true,"parentColumnSpace":17.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n \"instance\": {\n\t\t\t\"instanceName\": \"\",\n \t\"token\": \"\",\n\t\t\t\"qrcode\": true\n\t\t},\n\t\t\"webhook\": {\n\t\t\t\"webhook\": \"\",\n\t\t\t\"events\": [\n\t\t\t\t\"APPLICATION_STARTUP\",\n\t\t\t\t\t\"QRCODE_UPDATED\",\n\t\t\t\t\t\"MESSAGES_SET\",\n\t\t\t\t\t\"MESSAGES_UPSERT\",\n\t\t\t\t\t\"MESSAGES_UPDATE\",\n\t\t\t\t\t\"MESSAGES_DELETE\",\n\t\t\t\t\t\"SEND_MESSAGE\",\n\t\t\t\t\t\"CONTACTS_SET\",\n\t\t\t\t\t\"CONTACTS_UPSERT\",\n\t\t\t\t\t\"CONTACTS_UPDATE\",\n\t\t\t\t\t\"PRESENCE_UPDATE\",\n\t\t\t\t\t\"CHATS_SET\",\n\t\t\t\t\t\"CHATS_UPSERT\",\n\t\t\t\t\t\"CHATS_UPDATE\",\n\t\t\t\t\t\"CHATS_DELETE\",\n\t\t\t\t\t\"GROUPS_UPSERT\",\n\t\t\t\t\t\"GROUP_UPDATE\",\n\t\t\t\t\t\"GROUP_PARTICIPANTS_UPDATE\",\n\t\t\t\t\t\"CONNECTION_UPDATE\",\n\t\t\t\t\t\"CALL\",\n\t\t\t\t\t\"NEW_JWT_TOKEN\"\n\t\t\t],\n\t\t\t\"webhook_by_events\": false\n\t\t},\n \"settings\": {\n\t\t\t\"reject_call\": false,\n\t\t\t\"msg_call\": \"\",\n\t\t\t\"groups_ignore\": false,\n\t\t\t\"always_online\": false,\n\t\t\t\"read_messages\": false,\n\t\t\t\"read_status\": false\n\t\t},\n\t\t\"websocket\": {\n\t\t\t\"websocket_enabled\": false,\n\t\t\t\"websocket_events\": [\n\t\t\t\t\"APPLICATION_STARTUP\",\n\t\t\t\t\t\"QRCODE_UPDATED\",\n\t\t\t\t\t\"MESSAGES_SET\",\n\t\t\t\t\t\"MESSAGES_UPSERT\",\n\t\t\t\t\t\"MESSAGES_UPDATE\",\n\t\t\t\t\t\"MESSAGES_DELETE\",\n\t\t\t\t\t\"SEND_MESSAGE\",\n\t\t\t\t\t\"CONTACTS_SET\",\n\t\t\t\t\t\"CONTACTS_UPSERT\",\n\t\t\t\t\t\"CONTACTS_UPDATE\",\n\t\t\t\t\t\"PRESENCE_UPDATE\",\n\t\t\t\t\t\"CHATS_SET\",\n\t\t\t\t\t\"CHATS_UPSERT\",\n\t\t\t\t\t\"CHATS_UPDATE\",\n\t\t\t\t\t\"CHATS_DELETE\",\n\t\t\t\t\t\"GROUPS_UPSERT\",\n\t\t\t\t\t\"GROUP_UPDATE\",\n\t\t\t\t\t\"GROUP_PARTICIPANTS_UPDATE\",\n\t\t\t\t\t\"CONNECTION_UPDATE\",\n\t\t\t\t\t\"CALL\",\n\t\t\t\t\t\"NEW_JWT_TOKEN\"\n\t\t\t]\n\t\t},\n\t\t\"rabbitmq\": {\n\t\t\t\"rabbitmq_enabled\": false,\n\t\t\t\"rabbitmq_events\": [\n\t\t\t\t\"APPLICATION_STARTUP\",\n\t\t\t\t\t\"QRCODE_UPDATED\",\n\t\t\t\t\t\"MESSAGES_SET\",\n\t\t\t\t\t\"MESSAGES_UPSERT\",\n\t\t\t\t\t\"MESSAGES_UPDATE\",\n\t\t\t\t\t\"MESSAGES_DELETE\",\n\t\t\t\t\t\"SEND_MESSAGE\",\n\t\t\t\t\t\"CONTACTS_SET\",\n\t\t\t\t\t\"CONTACTS_UPSERT\",\n\t\t\t\t\t\"CONTACTS_UPDATE\",\n\t\t\t\t\t\"PRESENCE_UPDATE\",\n\t\t\t\t\t\"CHATS_SET\",\n\t\t\t\t\t\"CHATS_UPSERT\",\n\t\t\t\t\t\"CHATS_UPDATE\",\n\t\t\t\t\t\"CHATS_DELETE\",\n\t\t\t\t\t\"GROUPS_UPSERT\",\n\t\t\t\t\t\"GROUP_UPDATE\",\n\t\t\t\t\t\"GROUP_PARTICIPANTS_UPDATE\",\n\t\t\t\t\t\"CONNECTION_UPDATE\",\n\t\t\t\t\t\"CALL\",\n\t\t\t\t\t\"NEW_JWT_TOKEN\"\n\t\t\t]\n\t\t},\n \"chatwoot\": {\n\t\t\t\"chatwoot_account_id\": \"\",\n\t\t\t\"chatwoot_token\": \"\",\n\t\t\t\"chatwoot_url\": \"\",\n\t\t\t\"chatwoot_sign_msg\": false,\n\t\t\t\"chatwoot_reopen_conversation\": false,\n\t\t\t\"chatwoot_conversation_pending\": false\n\t\t}\n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":63.0,"widgetId":"o0v8ypwnya","minWidth":450.0,"parentId":"esgwuzqcwt","renderMode":"CANVAS","mobileTopRow":44.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":4.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"w17ra2a85u","isDeprecated":false,"rightColumn":283.875,"detachFromLayout":true,"widgetId":"esgwuzqcwt","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"rnttu90jzr","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"bkvkzj4d20","height":1850.0,"isDeprecated":false,"rightColumn":37.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"rnttu90jzr","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":42.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":13.0,"maxDynamicHeight":9000.0,"width":628.0,"minDynamicHeight":24.0},{"resetFormOnClick":false,"boxShadow":"none","mobileBottomRow":5.0,"widgetName":"ButtonRefreshData","onClick":"{{fetch_Instances.run()}}","buttonColor":"#60a5fa","dynamicPropertyPathList":[{"key":"isVisible"}],"displayName":"Button","iconSVG":"/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg","searchTags":["click","submit"],"topRow":1.0,"bottomRow":5.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","hideCard":false,"mobileRightColumn":35.0,"animateLoading":true,"parentColumnSpace":11.828125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":19.0,"dynamicBindingPathList":[{"key":"isVisible"},{"key":"borderRadius"}],"text":"","isDisabled":false,"key":"k10nyfsas3","isDeprecated":false,"rightColumn":24.0,"isDefaultClickDisabled":true,"iconName":"refresh","widgetId":"dn1ehe3gvu","minWidth":120.0,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":1.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":19.0,"buttonVariant":"PRIMARY","iconAlign":"left","placement":"CENTER"},{"boxShadow":"none","mobileBottomRow":5.0,"widgetName":"ButtonGroup1","isCanvas":false,"dynamicPropertyPathList":[{"key":"isVisible"}],"displayName":"Button Group","iconSVG":"/static/media/icon.7c22979bacc83c8d84aedf56ea6c2022.svg","searchTags":["click","submit"],"topRow":1.0,"bottomRow":5.0,"parentRowSpace":10.0,"groupButtons":{"groupButton1":{"label":"Connect","iconName":"camera","id":"groupButton1","widgetId":"","buttonType":"SIMPLE","placement":"CENTER","isVisible":true,"isDisabled":false,"index":0.0,"menuItems":{},"buttonColor":"#16a34a","onClick":"{{Connect.run();\nfetch_Instances.run();\nshowModal('ModalQrcode');}}"},"groupButton2":{"label":"Restart","iconName":"reset","id":"groupButton2","buttonType":"SIMPLE","placement":"CENTER","widgetId":"","isVisible":true,"isDisabled":false,"index":1.0,"menuItems":{},"buttonColor":"#2563eb","onClick":"{{Restart.run().then(() => {\n showAlert('Instance restarted successfully', 'success');\n}).catch(() => {\n showAlert('Error restarting instance', 'error');\n});\nfetch_Instances.run();}}"},"groupButton3":{"label":"Logout","iconName":"log-in","id":"groupButton3","buttonType":"SIMPLE","placement":"CENTER","widgetId":"","isVisible":true,"isDisabled":false,"index":2.0,"menuItems":{"menuItem1":{"label":"First Option","backgroundColor":"#FFFFFF","id":"menuItem1","widgetId":"","onClick":"","isVisible":true,"isDisabled":false,"index":0.0},"menuItem2":{"label":"Second Option","backgroundColor":"#FFFFFF","id":"menuItem2","widgetId":"","onClick":"","isVisible":true,"isDisabled":false,"index":1.0},"menuItem3":{"label":"Delete","iconName":"trash","iconColor":"#FFFFFF","iconAlign":"right","textColor":"#FFFFFF","backgroundColor":"#DD4B34","id":"menuItem3","widgetId":"","onClick":"","isVisible":true,"isDisabled":false,"index":2.0}},"buttonColor":"#a16207","onClick":"{{Logout.run().then(() => {\n showAlert('Instance logout successfully', 'success');\n}).catch(() => {\n showAlert('Error logout instance', 'error');\n});\nfetch_Instances.run();}}"},"groupButtonmghcs8rd4g":{"id":"groupButtonmghcs8rd4g","index":3.0,"label":"Delete","menuItems":{},"buttonType":"SIMPLE","placement":"CENTER","widgetId":"v0qkg2pjo2","isDisabled":false,"isVisible":true,"buttonColor":"#ef4444","iconName":"cross","onClick":"{{Delete.run().then(() => {\n showAlert('Instance deleted successfully', 'success');\n}).catch(() => {\n showAlert('Error deleting instance', 'error');\n});\nfetch_Instances.run();}}"}},"type":"BUTTON_GROUP_WIDGET","hideCard":false,"mobileRightColumn":51.0,"animateLoading":true,"parentColumnSpace":11.828125,"dynamicTriggerPathList":[{"key":"groupButtons.groupButton1.onClick"},{"key":"groupButtons.groupButton2.onClick"},{"key":"groupButtons.groupButton3.onClick"},{"key":"groupButtons.groupButtonmghcs8rd4g.onClick"}],"leftColumn":27.0,"dynamicBindingPathList":[{"key":"isVisible"},{"key":"borderRadius"}],"isDisabled":false,"key":"za8m3k8x7w","orientation":"horizontal","isDeprecated":false,"rightColumn":63.0,"widgetId":"2s6fqi483g","minWidth":450.0,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":1.0,"responsiveBehavior":"fill","childStylesheet":{"button":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}"}},"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":27.0,"buttonVariant":"PRIMARY"},{"boxShadow":"none","mobileBottomRow":18.0,"widgetName":"ProfilePicture","dynamicPropertyPathList":[{"key":"isVisible"},{"key":"borderRadius"}],"displayName":"Image","iconSVG":"/static/media/icon.30c8cbd442cce232b01ba2d434c53a53.svg","topRow":6.0,"bottomRow":28.0,"parentRowSpace":10.0,"type":"IMAGE_WIDGET","hideCard":false,"mobileRightColumn":13.0,"animateLoading":true,"parentColumnSpace":11.828125,"dynamicTriggerPathList":[],"imageShape":"RECTANGLE","leftColumn":1.0,"dynamicBindingPathList":[{"key":"image"},{"key":"isVisible"}],"defaultImage":"https://th.bing.com/th/id/OIP.ruat7whad9-kcI8_1KH_tQHaGI?pid=ImgDet&rs=1","key":"bl30j21wwb","image":"{{TableInstances.selectedRow.profilePictureUrl}}","isDeprecated":false,"rightColumn":13.0,"objectFit":"contain","widgetId":"1sjznr31jo","isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":6.0,"maxZoomLevel":1.0,"enableDownload":false,"borderRadius":"0.335rem","mobileLeftColumn":1.0,"enableRotation":false},{"mobileBottomRow":22.0,"widgetName":"Text4","dynamicPropertyPathList":[{"key":"isVisible"}],"displayName":"Text","iconSVG":"/static/media/icon.c3b6033f570046f8c6288d911333a827.svg","searchTags":["typography","paragraph","label"],"topRow":36.0,"bottomRow":42.0,"parentRowSpace":10.0,"type":"TEXT_WIDGET","hideCard":false,"mobileRightColumn":11.0,"animateLoading":true,"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","parentColumnSpace":11.828125,"dynamicTriggerPathList":[],"leftColumn":1.0,"dynamicBindingPathList":[{"key":"text"},{"key":"isVisible"},{"key":"fontFamily"}],"shouldTruncate":false,"truncateButtonColor":"{{appsmith.theme.colors.primaryColor}}","text":"{{TableInstances.selectedRow.profileName || ''}}\n\n{{TableInstances.selectedRow.profileStatus || ''}}","key":"gqt8t28m33","isDeprecated":false,"rightColumn":13.0,"textAlign":"CENTER","dynamicHeight":"AUTO_HEIGHT","widgetId":"0c356c66hp","minWidth":450.0,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","fontStyle":"BOLD","textColor":"#231F20","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":18.0,"responsiveBehavior":"fill","originalTopRow":36.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"originalBottomRow":41.0,"fontSize":"0.875rem","minDynamicHeight":4.0},{"mobileBottomRow":41.0,"widgetName":"Text5","dynamicPropertyPathList":[{"key":"isVisible"}],"displayName":"Text","iconSVG":"/static/media/icon.c3b6033f570046f8c6288d911333a827.svg","searchTags":["typography","paragraph","label"],"topRow":32.0,"bottomRow":36.0,"parentRowSpace":10.0,"type":"TEXT_WIDGET","hideCard":false,"mobileRightColumn":9.0,"animateLoading":true,"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","parentColumnSpace":11.75,"dynamicTriggerPathList":[],"leftColumn":1.0,"dynamicBindingPathList":[{"key":"text"},{"key":"isVisible"},{"key":"fontFamily"}],"shouldTruncate":false,"truncateButtonColor":"{{appsmith.theme.colors.primaryColor}}","text":"{{TableInstances.selectedRow.instance || ''}}","key":"gqt8t28m33","isDeprecated":false,"rightColumn":13.0,"textAlign":"CENTER","dynamicHeight":"AUTO_HEIGHT","widgetId":"5qg2iscn1l","minWidth":450.0,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","fontStyle":"BOLD","textColor":"#231F20","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":37.0,"responsiveBehavior":"fill","originalTopRow":32.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"originalBottomRow":38.0,"fontSize":"1.25rem","minDynamicHeight":4.0},{"boxShadow":"none","mobileBottomRow":70.0,"widgetName":"ModalWebhook","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":46.0,"bottomRow":476.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":430.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas4","displayName":"Canvas","topRow":0.0,"bottomRow":430.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":240.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Set_Webhook.run().then(() => {\n showAlert('Webhook updated successfully', 'success');\n}).catch(() => {\n showAlert('Error updating webhook', 'error');\n});\ncloseModal('ModalWebhook');}}","topRow":0.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"sourceData"},{"key":"schema.__root_schema__.children.events.borderRadius"},{"key":"schema.__root_schema__.children.events.defaultValue"},{"key":"schema.__root_schema__.children.url.accentColor"},{"key":"schema.__root_schema__.children.url.defaultValue"},{"key":"schema.__root_schema__.children.enabled.accentColor"},{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"schema.__root_schema__.children.webhook_by_events.accentColor"},{"key":"schema.__root_schema__.children.webhook_by_events.defaultValue"},{"key":"borderRadius"},{"key":"schema.__root_schema__.children.events.accentColor"},{"key":"schema.__root_schema__.children.url.borderRadius"},{"key":"submitButtonStyles.buttonColor"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":41.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"webhook_by_events":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.webhook_by_events))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"webhook_by_events","identifier":"webhook_by_events","position":3.0,"originalIdentifier":"webhook_by_events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Webhook By Events"},"enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.enabled))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"enabled","identifier":"enabled","position":0.0,"originalIdentifier":"enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Enabled"},"url":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.url))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Text Input","sourceData":"https://webhook.site/06c7b29f-543b-49bc-b598-51bf99d08f6c","isCustomField":false,"accessor":"url","identifier":"url","position":1.0,"originalIdentifier":"url","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Url"},"events":{"children":{},"dataType":"array","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.events))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Multiselect","sourceData":[],"isCustomField":false,"accessor":"events","identifier":"events","position":2.0,"originalIdentifier":"events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Events","labelTextSize":"0.875rem","serverSideFiltering":false,"options":[{"label":"Blue","value":"BLUE"},{"label":"Green","value":"GREEN"},{"label":"Red","value":"RED"}]}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Object","sourceData":{"name":"John","date_of_birth":"20/02/1990","employee_id":1001.0},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormWebhook","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.webhook_by_events.defaultValue"},{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"schema.__root_schema__.children.url.defaultValue"}],"displayName":"JSON Form","bottomRow":41.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Webhook","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"enabled\": {{Find_Webhook.data.enabled || false}},\n\t\"url\": {{Find_Webhook.data.url}},\n \"webhook_by_events\": {{Find_Webhook.data.webhook_by_events}},\n \"events\": {{Find_Webhook.data.events || false}} \n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":63.0,"widgetId":"tb1ekur7fx","minWidth":450.0,"parentId":"mv02ta6pzr","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":0.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"svq68rvpdn","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"mv02ta6pzr","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"0g8ql5hukz","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"6x3z5yow7u","height":430.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"0g8ql5hukz","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":456.0,"minDynamicHeight":24.0},{"boxShadow":"none","mobileBottomRow":70.0,"widgetName":"ModalWebsocket","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":42.0,"bottomRow":32.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":320.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas4Copy1","displayName":"Canvas","topRow":0.0,"bottomRow":320.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":290.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Set_Websocket.run().then(() => {\n showAlert('Websocket updated successfully', 'success');\n}).catch(() => {\n showAlert('Error updating websocket', 'error');\n});\ncloseModal('ModalWebsocket');}}","topRow":0.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"sourceData"},{"key":"schema.__root_schema__.children.events.defaultValue"},{"key":"schema.__root_schema__.children.enabled.accentColor"},{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"borderRadius"},{"key":"schema.__root_schema__.children.events.accentColor"},{"key":"submitButtonStyles.buttonColor"},{"key":"schema.__root_schema__.children.events.borderRadius"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":27.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.enabled))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"enabled","identifier":"enabled","position":0.0,"originalIdentifier":"enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Enabled"},"events":{"children":{},"dataType":"array","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.events))(FormWebsocket.sourceData, FormWebsocket.formData, FormWebsocket.fieldState)}}","fieldType":"Multiselect","sourceData":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL","NEW_JWT_TOKEN"],"isCustomField":false,"accessor":"events","identifier":"events","position":2.0,"originalIdentifier":"events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebsocket.sourceData, FormWebsocket.formData, FormWebsocket.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebsocket.sourceData, FormWebsocket.formData, FormWebsocket.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Events","labelTextSize":"0.875rem","serverSideFiltering":false,"options":[{"label":"Blue","value":"BLUE"},{"label":"Green","value":"GREEN"},{"label":"Red","value":"RED"}]}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Object","sourceData":{"name":"John","date_of_birth":"20/02/1990","employee_id":1001.0},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormWebsocket","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"schema.__root_schema__.children.events.defaultValue"}],"displayName":"JSON Form","bottomRow":30.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Websocket","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"enabled\": {{Find_Websocket.data.enabled}},\n \"events\": {{Find_Websocket.data.events || []}} \n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":63.0,"widgetId":"masqwth5vo","minWidth":450.0,"parentId":"gzf4hjxdo8","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":0.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"svq68rvpdn","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"gzf4hjxdo8","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"9twyngcwej","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"6x3z5yow7u","height":320.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"9twyngcwej","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":456.0,"minDynamicHeight":24.0},{"boxShadow":"none","mobileBottomRow":70.0,"widgetName":"ModalRabbitmq","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":31.0,"bottomRow":32.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":320.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas4Copy1Copy","displayName":"Canvas","topRow":0.0,"bottomRow":320.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":240.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Set_Rabbitmq.run().then(() => {\n showAlert('Rabbitmq updated successfully', 'success');\n}).catch(() => {\n showAlert('Error updating rabbitmq', 'error');\n});\ncloseModal('ModalRabbitmq');}}","topRow":0.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"sourceData"},{"key":"schema.__root_schema__.children.events.defaultValue"},{"key":"schema.__root_schema__.children.enabled.accentColor"},{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"borderRadius"},{"key":"schema.__root_schema__.children.events.accentColor"},{"key":"submitButtonStyles.buttonColor"},{"key":"schema.__root_schema__.children.events.borderRadius"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":30.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.enabled))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"enabled","identifier":"enabled","position":0.0,"originalIdentifier":"enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Enabled"},"events":{"children":{},"dataType":"array","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.events))(FormRabbitmq.sourceData, FormRabbitmq.formData, FormRabbitmq.fieldState)}}","fieldType":"Multiselect","sourceData":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL","NEW_JWT_TOKEN"],"isCustomField":false,"accessor":"events","identifier":"events","position":2.0,"originalIdentifier":"events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormRabbitmq.sourceData, FormRabbitmq.formData, FormRabbitmq.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormRabbitmq.sourceData, FormRabbitmq.formData, FormRabbitmq.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Events","labelTextSize":"0.875rem","serverSideFiltering":false,"options":[{"label":"Blue","value":"BLUE"},{"label":"Green","value":"GREEN"},{"label":"Red","value":"RED"}]}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Object","sourceData":{"name":"John","date_of_birth":"20/02/1990","employee_id":1001.0},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormRabbitmq","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.events.defaultValue"}],"displayName":"JSON Form","bottomRow":30.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Rabbitmq","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"enabled\": {{Find_Rabbitmq.data.enabled || false}},\n \"events\": {{Find_Rabbitmq.data.events || []}} \n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":63.0,"widgetId":"gdkpog7ep5","minWidth":450.0,"parentId":"rkuaegvcin","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":0.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"svq68rvpdn","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"rkuaegvcin","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"76vl08dr1n","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"6x3z5yow7u","height":320.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"76vl08dr1n","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":456.0,"minDynamicHeight":24.0},{"boxShadow":"none","mobileBottomRow":70.0,"widgetName":"ModalSettings","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":46.0,"bottomRow":516.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":470.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas4Copy","displayName":"Canvas","topRow":0.0,"bottomRow":470.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":240.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Set_Settings.run().then(() => {\n showAlert('Settings updated successfully', 'success');\n}).catch(() => {\n showAlert('Error updating Settings', 'error');\n});\ncloseModal('ModalSettings');}}","topRow":0.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":1.0,"dynamicBindingPathList":[{"key":"schema.__root_schema__.children.read_status.accentColor"},{"key":"schema.__root_schema__.children.read_status.defaultValue"},{"key":"schema.__root_schema__.children.read_messages.accentColor"},{"key":"schema.__root_schema__.children.read_messages.defaultValue"},{"key":"schema.__root_schema__.children.always_online.accentColor"},{"key":"schema.__root_schema__.children.always_online.defaultValue"},{"key":"schema.__root_schema__.children.groups_ignore.accentColor"},{"key":"schema.__root_schema__.children.groups_ignore.defaultValue"},{"key":"schema.__root_schema__.children.msg_call.accentColor"},{"key":"schema.__root_schema__.children.msg_call.defaultValue"},{"key":"schema.__root_schema__.children.reject_call.accentColor"},{"key":"schema.__root_schema__.children.reject_call.defaultValue"},{"key":"borderRadius"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.msg_call.borderRadius"},{"key":"submitButtonStyles.buttonColor"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":45.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"reject_call":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.reject_call))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"reject_call","identifier":"reject_call","position":0.0,"originalIdentifier":"reject_call","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Reject Call"},"msg_call":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.msg_call))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","fieldType":"Text Input","sourceData":"Não aceitamos chamadas!","isCustomField":false,"accessor":"msg_call","identifier":"msg_call","position":1.0,"originalIdentifier":"msg_call","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Msg Call"},"groups_ignore":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.groups_ignore))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"groups_ignore","identifier":"groups_ignore","position":2.0,"originalIdentifier":"groups_ignore","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Groups Ignore"},"always_online":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.always_online))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"always_online","identifier":"always_online","position":3.0,"originalIdentifier":"always_online","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Always Online"},"read_messages":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.read_messages))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"read_messages","identifier":"read_messages","position":4.0,"originalIdentifier":"read_messages","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Read Messages"},"read_status":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.read_status))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"read_status","identifier":"read_status","position":5.0,"originalIdentifier":"read_status","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Read Status"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Object","sourceData":{"name":"John","date_of_birth":"20/02/1990","employee_id":1001.0},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormSettings","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.reject_call.defaultValue"},{"key":"schema.__root_schema__.children.groups_ignore.defaultValue"},{"key":"schema.__root_schema__.children.always_online.defaultValue"},{"key":"schema.__root_schema__.children.read_messages.defaultValue"},{"key":"schema.__root_schema__.children.read_status.defaultValue"},{"key":"schema.__root_schema__.children.msg_call.defaultValue"}],"displayName":"JSON Form","bottomRow":45.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Settings","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"reject_call\": {{Find_Settings.data.reject_call || false}},\n \"msg_call\": {{Find_Settings.data.msg_call}},\n \"groups_ignore\": {{Find_Settings.data.groups_ignore || false}},\n \"always_online\": {{Find_Settings.data.always_online || false}},\n \"read_messages\": {{Find_Settings.data.read_messages || false}},\n \"read_status\": {{Find_Settings.data.read_status || false}}\n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":64.0,"widgetId":"3wajdobhry","minWidth":450.0,"parentId":"bj66ktxeor","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":0.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"svq68rvpdn","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"bj66ktxeor","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"9pvl5efylb","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"6x3z5yow7u","height":470.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"9pvl5efylb","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":456.0,"minDynamicHeight":24.0},{"boxShadow":"none","mobileBottomRow":70.0,"widgetName":"ModalChatwoot","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":50.0,"bottomRow":780.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":730.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas4CopyCopy","displayName":"Canvas","topRow":0.0,"bottomRow":730.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":730.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Set_Chatwoot.run().then(() => {\n showAlert('Chatwoot updated successfully', 'success');\n}).catch(() => {\n showAlert('Error updating Chatwoot', 'error');\n});\ncloseModal('ModalChatwoot');}}","topRow":0.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"schema.__root_schema__.children.conversation_pending.accentColor"},{"key":"schema.__root_schema__.children.conversation_pending.defaultValue"},{"key":"schema.__root_schema__.children.reopen_conversation.accentColor"},{"key":"schema.__root_schema__.children.reopen_conversation.defaultValue"},{"key":"schema.__root_schema__.children.sign_msg.accentColor"},{"key":"schema.__root_schema__.children.sign_msg.defaultValue"},{"key":"schema.__root_schema__.children.url.borderRadius"},{"key":"schema.__root_schema__.children.url.accentColor"},{"key":"schema.__root_schema__.children.url.defaultValue"},{"key":"schema.__root_schema__.children.token.borderRadius"},{"key":"schema.__root_schema__.children.token.accentColor"},{"key":"schema.__root_schema__.children.token.defaultValue"},{"key":"schema.__root_schema__.children.account_id.accentColor"},{"key":"schema.__root_schema__.children.account_id.defaultValue"},{"key":"schema.__root_schema__.children.enabled.accentColor"},{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"borderRadius"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.account_id.borderRadius"},{"key":"schema.__root_schema__.children.webhook_url.defaultValue"},{"key":"schema.__root_schema__.children.webhook_url.accentColor"},{"key":"schema.__root_schema__.children.webhook_url.borderRadius"},{"key":"schema.__root_schema__.defaultValue"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"schema.__root_schema__.children.name_inbox.defaultValue"},{"key":"schema.__root_schema__.children.name_inbox.borderRadius"},{"key":"schema.__root_schema__.children.name_inbox.accentColor"},{"key":"submitButtonStyles.buttonColor"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":71.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.enabled))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"enabled","identifier":"enabled","position":0.0,"originalIdentifier":"enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Enabled"},"account_id":{"children":{},"dataType":"number","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.account_id))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Number Input","sourceData":1.0,"isCustomField":false,"accessor":"account_id","identifier":"account_id","position":1.0,"originalIdentifier":"account_id","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Account Id"},"token":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.token))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Password Input","sourceData":"uHquVJgCdkee8JPJm9YBkdH6","isCustomField":false,"accessor":"token","identifier":"token","position":2.0,"originalIdentifier":"token","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Token","shouldAllowAutofill":true},"url":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.url))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Text Input","sourceData":"https://chatwoot.evolution.dgcode.com.br","isCustomField":false,"accessor":"url","identifier":"url","position":3.0,"originalIdentifier":"url","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Url"},"sign_msg":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.sign_msg))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"sign_msg","identifier":"sign_msg","position":4.0,"originalIdentifier":"sign_msg","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Sign Msg"},"reopen_conversation":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.reopen_conversation))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"reopen_conversation","identifier":"reopen_conversation","position":5.0,"originalIdentifier":"reopen_conversation","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Reopen Conversation"},"conversation_pending":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.conversation_pending))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"conversation_pending","identifier":"conversation_pending","position":6.0,"originalIdentifier":"conversation_pending","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Conversation Pending"},"webhook_url":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.webhook_url))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Text Input","sourceData":"https://api.evolution.dgcode.com.br/chatwoot/webhook/evolution-cwId-4","isCustomField":false,"accessor":"webhook_url","identifier":"webhook_url","position":8.0,"originalIdentifier":"webhook_url","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":true,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Webhook Url"},"name_inbox":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.name_inbox))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Text Input","sourceData":"evolution-cwId-4","isCustomField":false,"accessor":"name_inbox","identifier":"name_inbox","position":7.0,"originalIdentifier":"name_inbox","accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":true,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Name Inbox"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Object","sourceData":{"name":"John","date_of_birth":"20/02/1990","employee_id":1001.0},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormChatwoot","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"schema.__root_schema__.children.sign_msg.defaultValue"},{"key":"schema.__root_schema__.children.reopen_conversation.defaultValue"},{"key":"schema.__root_schema__.children.conversation_pending.defaultValue"},{"key":"schema.__root_schema__.children.account_id.defaultValue"},{"key":"schema.__root_schema__.children.webhook_url.defaultValue"}],"displayName":"JSON Form","bottomRow":71.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Chatwoot","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"enabled\": {{Find_Chatwoot.data.enabled || false}},\n\t\"account_id\": {{Find_Chatwoot.data.account_id}},\n \"token\": {{Find_Chatwoot.data.token}},\n \"url\": {{Find_Chatwoot.data.url}},\n \"sign_msg\": {{Find_Chatwoot.data.sign_msg || false}},\n \"reopen_conversation\": {{Find_Chatwoot.data.reopen_conversation || false}},\n \"conversation_pending\": {{Find_Chatwoot.data.conversation_pending || false}},\n\t\t\"name_inbox\": {{Find_Chatwoot.data.name_inbox}},\n\t\t\"webhook_url\": {{Find_Chatwoot.data.webhook_url}}\n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":63.0,"widgetId":"c5v1lwuyrk","minWidth":450.0,"parentId":"wqoo05rt9h","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":0.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"svq68rvpdn","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"wqoo05rt9h","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"kekx3o71p4","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"6x3z5yow7u","height":730.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"kekx3o71p4","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":692.0,"minDynamicHeight":24.0},{"resetFormOnClick":false,"boxShadow":"none","mobileBottomRow":50.0,"widgetName":"Button2","onClick":"{{Fetch_Instance.run();\nFetch_PrivacySettings.run();\nshowModal('ModalProfile');}}","buttonColor":"#2770fc","dynamicPropertyPathList":[{"key":"isVisible"}],"displayName":"Button","iconSVG":"/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg","searchTags":["click","submit"],"topRow":28.0,"bottomRow":32.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","hideCard":false,"mobileRightColumn":21.0,"animateLoading":true,"parentColumnSpace":17.9375,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":1.0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"isVisible"}],"text":"Edit Profile","isDisabled":false,"key":"zhd9fobc1z","isDeprecated":false,"rightColumn":13.0,"isDefaultClickDisabled":true,"iconName":"edit","widgetId":"uh6430ysqy","minWidth":120.0,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? TableInstances.selectedRow.instance ? TableInstances.selectedRow.Status === 'open' ? true : false : false : false}}","recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"responsiveBehavior":"hug","originalTopRow":51.0,"disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":5.0,"originalBottomRow":55.0,"buttonVariant":"PRIMARY","iconAlign":"left","placement":"CENTER"},{"boxShadow":"none","mobileBottomRow":59.0,"widgetName":"ModalProfile","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":35.0,"bottomRow":975.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":940.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas5","displayName":"Canvas","topRow":0.0,"bottomRow":940.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":240.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Update_ProfileName.run().then(() => {\n showAlert('ProfileName successfully saved!', 'success');\n}).catch(() => {\n showAlert('Error updating ProfileName', 'error');\n});\nUpdate_ProfilePicture.run().then(() => {\n showAlert('ProfilePicture successfully saved!', 'success');\n}).catch(() => {\n showAlert('Error updating ProfilePicture', 'error');\n});\nUpdate_ProfileStatus.run().then(() => {\n showAlert('ProfileStatus successfully saved!', 'success');\n}).catch(() => {\n showAlert('Error updating ProfileStatus', 'error');\n});\nUpdate_PrivacySettings.run().then(() => {\n showAlert('PrivacySttings successfully saved!', 'success');\n}).catch(() => {\n showAlert('Error updating PrivacySttings', 'error');\n});\nfetch_Instances.run();\ncloseModal('ModalProfile');}}","topRow":0.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"submitButtonStyles.buttonColor"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"resetButtonStyles.borderRadius"},{"key":"schema.__root_schema__.defaultValue"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"schema.__root_schema__.children.profileName.defaultValue"},{"key":"schema.__root_schema__.children.profileName.accentColor"},{"key":"schema.__root_schema__.children.profileName.borderRadius"},{"key":"schema.__root_schema__.children.profileStatus.defaultValue"},{"key":"schema.__root_schema__.children.profileStatus.accentColor"},{"key":"schema.__root_schema__.children.profileStatus.borderRadius"},{"key":"schema.__root_schema__.children.profilePictureUrl.defaultValue"},{"key":"schema.__root_schema__.children.profilePictureUrl.borderRadius"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.profilePictureUrl.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.readreceipts.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.children.readreceipts.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.readreceipts.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.children.profile.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.children.profile.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.profile.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.children.status.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.children.status.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.status.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.children.online.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.children.online.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.online.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.children.last.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.children.last.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.last.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.children.groupadd.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.children.groupadd.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.groupadd.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.cellBorderRadius"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":92.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"profileName":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.profileName))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"profileName","identifier":"profileName","position":1.0,"originalIdentifier":"profileName","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Profile Name"},"profileStatus":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.profileStatus))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"profileStatus","identifier":"profileStatus","position":2.0,"originalIdentifier":"profileStatus","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Profile Status"},"profilePictureUrl":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.profilePictureUrl))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Text Input","sourceData":"https://pps.whatsapp.net/v/t61.24694-24/359816109_329991892684302_7466658594467953893_n.jpg?ccb=11-4&oh=01_AdTpgc4O-xiZDr2v0OLu_jssxaw8dsws819srLMOzUwEnw&oe=64D3C41E","isCustomField":false,"accessor":"profilePictureUrl","identifier":"profilePictureUrl","position":0.0,"originalIdentifier":"profilePictureUrl","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Profile Picture Url"},"privacySettings":{"children":{"readreceipts":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings.readreceipts))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Select","sourceData":"all","isCustomField":false,"accessor":"readreceipts","identifier":"readreceipts","position":0.0,"originalIdentifier":"readreceipts","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Readreceipts","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"all\",\n \"value\": \"all\"\n },\n {\n \"label\": \"none\",\n \"value\": \"none\"\n }\n]"},"profile":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings.profile))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Select","sourceData":"all","isCustomField":false,"accessor":"profile","identifier":"profile","position":1.0,"originalIdentifier":"profile","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Profile","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"all\",\n \"value\": \"all\"\n },\n {\n \"label\": \"contacts\",\n \"value\": \"contacts\"\n },\n {\n \"label\": \"contact_blacklist\",\n \"value\": \"contact_blacklist\"\n },\n {\n \"label\": \"none\",\n \"value\": \"none\"\n }\n]"},"status":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings.status))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Select","sourceData":"contacts","isCustomField":false,"accessor":"status","identifier":"status","position":2.0,"originalIdentifier":"status","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Status","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"all\",\n \"value\": \"all\"\n },\n {\n \"label\": \"contacts\",\n \"value\": \"contacts\"\n },\n {\n \"label\": \"contact_blacklist\",\n \"value\": \"contact_blacklist\"\n },\n {\n \"label\": \"none\",\n \"value\": \"none\"\n }\n]"},"online":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings.online))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Select","sourceData":"all","isCustomField":false,"accessor":"online","identifier":"online","position":3.0,"originalIdentifier":"online","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Online","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"all\",\n \"value\": \"all\"\n },\n {\n \"label\": \"match_last_seen\",\n \"value\": \"match_last_seen\"\n }\n]"},"last":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings.last))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Select","sourceData":"contacts","isCustomField":false,"accessor":"last","identifier":"last","position":4.0,"originalIdentifier":"last","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Last","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"all\",\n \"value\": \"all\"\n },\n {\n \"label\": \"contacts\",\n \"value\": \"contacts\"\n },\n {\n \"label\": \"contact_blacklist\",\n \"value\": \"contact_blacklist\"\n },\n {\n \"label\": \"none\",\n \"value\": \"none\"\n }\n]"},"groupadd":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings.groupadd))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Select","sourceData":"all","isCustomField":false,"accessor":"groupadd","identifier":"groupadd","position":5.0,"originalIdentifier":"groupadd","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Groupadd","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"all\",\n \"value\": \"all\"\n },\n {\n \"label\": \"contacts\",\n \"value\": \"contacts\"\n },\n {\n \"label\": \"contact_blacklist\",\n \"value\": \"contact_blacklist\"\n },\n {\n \"label\": \"none\",\n \"value\": \"none\"\n }\n]"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Object","sourceData":{"readreceipts":"all","profile":"all","status":"contacts","online":"all","last":"contacts","groupadd":"all"},"isCustomField":false,"accessor":"privacySettings","identifier":"privacySettings","position":3.0,"originalIdentifier":"privacySettings","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Privacy Settings","labelStyle":"BOLD"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Object","sourceData":{"name":"John","date_of_birth":"20/02/1990","employee_id":1001.0},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormProfile","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[],"displayName":"JSON Form","bottomRow":92.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Edit Profile","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"profilePictureUrl\": \"{{Fetch_Instance.data.instance.profilePictureUrl}}\",\n\t\"profileName\": \"{{Fetch_Instance.data.instance.profileName}}\",\n\t\"profileStatus\": \"{{Fetch_Instance.data.instance.profileStatus}}\",\n\t\"privacySettings\": {\n \"readreceipts\": {{Fetch_PrivacySettings.data.readreceipts}},\n \"profile\": {{Fetch_PrivacySettings.data.profile}},\n \"status\": {{Fetch_PrivacySettings.data.status}},\n \"online\": {{Fetch_PrivacySettings.data.online}},\n \"last\": {{Fetch_PrivacySettings.data.last}},\n \"groupadd\": {{Fetch_PrivacySettings.data.groupadd}}\n\t\t}\n}","resetButtonLabel":"","key":"72nqor459k","backgroundColor":"#fff","isDeprecated":false,"rightColumn":64.0,"widgetId":"hguxefink2","minWidth":450.0,"parentId":"basosxf5qt","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":0.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"mepf0qsn1e","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"basosxf5qt","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"ss96aihlej","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"4ktj7iym0b","height":940.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"ss96aihlej","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":35.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":456.0,"minDynamicHeight":24.0}]},"layoutOnLoadActions":[[{"id":"Home_Scripts.verifyConfig","name":"Scripts.verifyConfig","collectionId":"Home_Scripts","clientSideExecution":true,"confirmBeforeExecute":false,"pluginType":"JS","jsonPathKeys":["async function () {\n const api_url = await appsmith.store.api_url;\n const api_key = await appsmith.store.api_key;\n if (!api_url && !api_key) {\n showModal('ModalConfig');\n return false;\n }\n fetch_Instances.run();\n Find_Webhook.run();\n Find_Settings.run();\n Find_Chatwoot.run();\n return true;\n}"],"timeoutInMillisecond":10000.0}],[{"id":"Home_Find_Rabbitmq","name":"Find_Rabbitmq","confirmBeforeExecute":false,"pluginType":"API","jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"timeoutInMillisecond":10000.0},{"id":"Home_Find_Websocket","name":"Find_Websocket","confirmBeforeExecute":false,"pluginType":"API","jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"timeoutInMillisecond":10000.0}]],"layoutOnLoadActionErrors":[],"validOnPageLoadActions":true,"id":"Home","deleted":false,"policies":[],"userPermissions":[]}],"userPermissions":[],"policies":[],"isHidden":false},"deleted":false,"gitSyncId":"64c534835ebbd221b60b4c54_64c534835ebbd221b60b4c56"}],"actionList":[{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"fetch_Instances","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/fetchInstances","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["appsmith.store.api_url","appsmith.store.api_key"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-29T16:12:42Z"},"publishedAction":{"name":"fetch_Instances","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/fetchInstances","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["appsmith.store.api_url","appsmith.store.api_key"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-29T16:12:42Z"},"id":"Home_fetch_Instances","deleted":false,"gitSyncId":"64c534835ebbd221b60b4c54_64c53560efcfc27db90a9788"},{"pluginType":"JS","pluginId":"js-plugin","unpublishedAction":{"name":"verifyConfig","fullyQualifiedName":"Scripts.verifyConfig","datasource":{"name":"UNUSED_DATASOURCE","pluginId":"js-plugin","messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","collectionId":"Home_Scripts","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","encodeParamsToggle":true,"body":"async function () {\n const api_url = await appsmith.store.api_url;\n const api_key = await appsmith.store.api_key;\n if (!api_url && !api_key) {\n showModal('ModalConfig');\n return false;\n }\n fetch_Instances.run();\n Find_Webhook.run();\n Find_Settings.run();\n Find_Chatwoot.run();\n return true;\n}","selfReferencingDataPaths":[],"jsArguments":[],"isAsync":true},"executeOnLoad":true,"clientSideExecution":true,"dynamicBindingPathList":[{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["async function () {\n const api_url = await appsmith.store.api_url;\n const api_key = await appsmith.store.api_key;\n if (!api_url && !api_key) {\n showModal('ModalConfig');\n return false;\n }\n fetch_Instances.run();\n Find_Webhook.run();\n Find_Settings.run();\n Find_Chatwoot.run();\n return true;\n}"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-29T16:12:42Z"},"publishedAction":{"name":"verifyConfig","fullyQualifiedName":"Scripts.verifyConfig","datasource":{"name":"UNUSED_DATASOURCE","pluginId":"js-plugin","messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","collectionId":"Home_Scripts","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","encodeParamsToggle":true,"body":"async function () {\n const api_url = await appsmith.store.api_url;\n const api_key = await appsmith.store.api_key;\n if (!api_url && !api_key) {\n showModal('ModalConfig');\n return false;\n }\n fetch_Instances.run();\n Find_Webhook.run();\n Find_Settings.run();\n Find_Chatwoot.run();\n return true;\n}","selfReferencingDataPaths":[],"jsArguments":[],"isAsync":true},"executeOnLoad":true,"clientSideExecution":true,"dynamicBindingPathList":[{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["async function () {\n const api_url = await appsmith.store.api_url;\n const api_key = await appsmith.store.api_key;\n if (!api_url && !api_key) {\n showModal('ModalConfig');\n return false;\n }\n fetch_Instances.run();\n Find_Webhook.run();\n Find_Settings.run();\n Find_Chatwoot.run();\n return true;\n}"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-29T16:12:42Z"},"id":"Home_Scripts.verifyConfig","deleted":false,"gitSyncId":"64c534835ebbd221b60b4c54_64c5372a5dd3482b9ab5e11b"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Connect","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/connect/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url","appsmith.store.api_key"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-29T16:12:42Z"},"publishedAction":{"name":"Connect","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/connect/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url","appsmith.store.api_key"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-29T16:12:42Z"},"id":"Home_Connect","deleted":false,"gitSyncId":"64c534835ebbd221b60b4c54_64c5374a2d8f7a159ce65333"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Restart","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/restart/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"","bodyFormData":[],"httpMethod":"PUT","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url","appsmith.store.api_key"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T03:01:05Z"},"publishedAction":{"name":"Restart","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/restart/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"","bodyFormData":[],"httpMethod":"PUT","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url","appsmith.store.api_key"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T03:01:05Z"},"id":"Home_Restart","deleted":false,"gitSyncId":"64c53a7a7ea84639bf879f21_64c5d2717ea84639bf879f3b"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Logout","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/logout/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"","bodyFormData":[],"httpMethod":"DELETE","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url","appsmith.store.api_key"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T03:02:00Z"},"publishedAction":{"name":"Logout","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/logout/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"","bodyFormData":[],"httpMethod":"DELETE","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url","appsmith.store.api_key"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T03:02:00Z"},"id":"Home_Logout","deleted":false,"gitSyncId":"64c53a7a7ea84639bf879f21_64c5d2a87ea84639bf879f3d"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Delete","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/delete/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"","bodyFormData":[],"httpMethod":"DELETE","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url","appsmith.store.api_key"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T03:02:32Z"},"publishedAction":{"name":"Delete","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/delete/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"","bodyFormData":[],"httpMethod":"DELETE","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url","appsmith.store.api_key"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T03:02:32Z"},"id":"Home_Delete","deleted":false,"gitSyncId":"64c53a7a7ea84639bf879f21_64c5d2c87ea84639bf879f3f"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Create_Instance","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/create","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n\t\t\"instanceName\": FormInstance.formData.instance.instanceName,\n\t\t\"token\": FormInstance.formData.instance.token,\n\t\t\"qrcode\": FormInstance.formData.instance.qrcode,\n\t\t\"webhook\": FormInstance.formData.webhook.webhook,\n\t\t\"webhook_by_events\": FormInstance.formData.webhook.webhook_by_events,\n\t\t\"websocket_enabled\": FormInstance.formData.websocket.websocket_enabled,\n\t\t\"websocket_events\": FormInstance.formData.websocket.websocket_events,\n\t\t\"rabbitmq_enabled\": FormInstance.formData.websocket.rabbitmq_enabled,\n\t\t\"rabbitmq_events\": FormInstance.formData.websocket.rabbitmq_events,\n\t\t\"events\": FormInstance.formData.webhook.events,\n\t\t\"reject_call\": FormInstance.formData.settings.reject_call,\n\t\t\"msg_call\": FormInstance.formData.settings.msg_call,\n\t\t\"groups_ignore\": FormInstance.formData.settings.groups_ignore,\n\t\t\"always_online\": FormInstance.formData.settings.always_online,\n\t\t\"read_messages\": FormInstance.formData.settings.read_messages,\n\t\t\"read_status\": FormInstance.formData.settings.read_status,\n\t\t\"chatwoot_account_id\": FormInstance.formData.chatwoot.chatwoot_account_id,\n\t\t\"chatwoot_token\": FormInstance.formData.chatwoot.chatwoot_token,\n\t\t\"chatwoot_url\": FormInstance.formData.chatwoot.chatwoot_url,\n\t\t\"chatwoot_sign_msg\": FormInstance.formData.chatwoot.chatwoot_sign_msg,\n\t\t\"chatwoot_reopen_conversation\": FormInstance.formData.chatwoot.chatwoot_reopen_conversation,\n\t\t\"chatwoot_conversation_pending\": FormInstance.formData.chatwoot.chatwoot_conversation_pending\n\t}\n}}","bodyFormData":[{"key":"instanceName","value":"{{FormInstance.data.InputNewInstanceName}}"},{"key":"token","value":"{{FormInstance.data.InputNewInstanceToken}}"}],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"application/json"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"bodyFormData[0].value"},{"key":"bodyFormData[1].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["\n\t{\n\t\t\"instanceName\": FormInstance.formData.instance.instanceName,\n\t\t\"token\": FormInstance.formData.instance.token,\n\t\t\"qrcode\": FormInstance.formData.instance.qrcode,\n\t\t\"webhook\": FormInstance.formData.webhook.webhook,\n\t\t\"webhook_by_events\": FormInstance.formData.webhook.webhook_by_events,\n\t\t\"websocket_enabled\": FormInstance.formData.websocket.websocket_enabled,\n\t\t\"websocket_events\": FormInstance.formData.websocket.websocket_events,\n\t\t\"rabbitmq_enabled\": FormInstance.formData.websocket.rabbitmq_enabled,\n\t\t\"rabbitmq_events\": FormInstance.formData.websocket.rabbitmq_events,\n\t\t\"events\": FormInstance.formData.webhook.events,\n\t\t\"reject_call\": FormInstance.formData.settings.reject_call,\n\t\t\"msg_call\": FormInstance.formData.settings.msg_call,\n\t\t\"groups_ignore\": FormInstance.formData.settings.groups_ignore,\n\t\t\"always_online\": FormInstance.formData.settings.always_online,\n\t\t\"read_messages\": FormInstance.formData.settings.read_messages,\n\t\t\"read_status\": FormInstance.formData.settings.read_status,\n\t\t\"chatwoot_account_id\": FormInstance.formData.chatwoot.chatwoot_account_id,\n\t\t\"chatwoot_token\": FormInstance.formData.chatwoot.chatwoot_token,\n\t\t\"chatwoot_url\": FormInstance.formData.chatwoot.chatwoot_url,\n\t\t\"chatwoot_sign_msg\": FormInstance.formData.chatwoot.chatwoot_sign_msg,\n\t\t\"chatwoot_reopen_conversation\": FormInstance.formData.chatwoot.chatwoot_reopen_conversation,\n\t\t\"chatwoot_conversation_pending\": FormInstance.formData.chatwoot.chatwoot_conversation_pending\n\t}\n","FormInstance.data.InputNewInstanceName","FormInstance.data.InputNewInstanceToken","appsmith.store.api_url","appsmith.store.api_key"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T03:22:09Z"},"publishedAction":{"name":"Create_Instance","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/create","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n\t\t\"instanceName\": FormInstance.formData.instance.instanceName,\n\t\t\"token\": FormInstance.formData.instance.token,\n\t\t\"qrcode\": FormInstance.formData.instance.qrcode,\n\t\t\"webhook\": FormInstance.formData.webhook.webhook,\n\t\t\"webhook_by_events\": FormInstance.formData.webhook.webhook_by_events,\n\t\t\"websocket_enabled\": FormInstance.formData.websocket.websocket_enabled,\n\t\t\"websocket_events\": FormInstance.formData.websocket.websocket_events,\n\t\t\"rabbitmq_enabled\": FormInstance.formData.websocket.rabbitmq_enabled,\n\t\t\"rabbitmq_events\": FormInstance.formData.websocket.rabbitmq_events,\n\t\t\"events\": FormInstance.formData.webhook.events,\n\t\t\"reject_call\": FormInstance.formData.settings.reject_call,\n\t\t\"msg_call\": FormInstance.formData.settings.msg_call,\n\t\t\"groups_ignore\": FormInstance.formData.settings.groups_ignore,\n\t\t\"always_online\": FormInstance.formData.settings.always_online,\n\t\t\"read_messages\": FormInstance.formData.settings.read_messages,\n\t\t\"read_status\": FormInstance.formData.settings.read_status,\n\t\t\"chatwoot_account_id\": FormInstance.formData.chatwoot.chatwoot_account_id,\n\t\t\"chatwoot_token\": FormInstance.formData.chatwoot.chatwoot_token,\n\t\t\"chatwoot_url\": FormInstance.formData.chatwoot.chatwoot_url,\n\t\t\"chatwoot_sign_msg\": FormInstance.formData.chatwoot.chatwoot_sign_msg,\n\t\t\"chatwoot_reopen_conversation\": FormInstance.formData.chatwoot.chatwoot_reopen_conversation,\n\t\t\"chatwoot_conversation_pending\": FormInstance.formData.chatwoot.chatwoot_conversation_pending\n\t}\n}}","bodyFormData":[{"key":"instanceName","value":"{{FormInstance.data.InputNewInstanceName}}"},{"key":"token","value":"{{FormInstance.data.InputNewInstanceToken}}"}],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"application/json"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"bodyFormData[0].value"},{"key":"bodyFormData[1].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["\n\t{\n\t\t\"instanceName\": FormInstance.formData.instance.instanceName,\n\t\t\"token\": FormInstance.formData.instance.token,\n\t\t\"qrcode\": FormInstance.formData.instance.qrcode,\n\t\t\"webhook\": FormInstance.formData.webhook.webhook,\n\t\t\"webhook_by_events\": FormInstance.formData.webhook.webhook_by_events,\n\t\t\"websocket_enabled\": FormInstance.formData.websocket.websocket_enabled,\n\t\t\"websocket_events\": FormInstance.formData.websocket.websocket_events,\n\t\t\"rabbitmq_enabled\": FormInstance.formData.websocket.rabbitmq_enabled,\n\t\t\"rabbitmq_events\": FormInstance.formData.websocket.rabbitmq_events,\n\t\t\"events\": FormInstance.formData.webhook.events,\n\t\t\"reject_call\": FormInstance.formData.settings.reject_call,\n\t\t\"msg_call\": FormInstance.formData.settings.msg_call,\n\t\t\"groups_ignore\": FormInstance.formData.settings.groups_ignore,\n\t\t\"always_online\": FormInstance.formData.settings.always_online,\n\t\t\"read_messages\": FormInstance.formData.settings.read_messages,\n\t\t\"read_status\": FormInstance.formData.settings.read_status,\n\t\t\"chatwoot_account_id\": FormInstance.formData.chatwoot.chatwoot_account_id,\n\t\t\"chatwoot_token\": FormInstance.formData.chatwoot.chatwoot_token,\n\t\t\"chatwoot_url\": FormInstance.formData.chatwoot.chatwoot_url,\n\t\t\"chatwoot_sign_msg\": FormInstance.formData.chatwoot.chatwoot_sign_msg,\n\t\t\"chatwoot_reopen_conversation\": FormInstance.formData.chatwoot.chatwoot_reopen_conversation,\n\t\t\"chatwoot_conversation_pending\": FormInstance.formData.chatwoot.chatwoot_conversation_pending\n\t}\n","FormInstance.data.InputNewInstanceName","FormInstance.data.InputNewInstanceToken","appsmith.store.api_url","appsmith.store.api_key"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T03:22:09Z"},"id":"Home_Create_Instance","deleted":false,"gitSyncId":"64c53a7a7ea84639bf879f21_64c5d7617ea84639bf879f46"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Find_Webhook","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/webhook/find/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T19:46:50Z"},"publishedAction":{"name":"Find_Webhook","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/webhook/find/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T19:46:50Z"},"id":"Home_Find_Webhook","deleted":false,"gitSyncId":"64c53a7a7ea84639bf879f21_64c6be2a81f77b07d4a599f1"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Find_Settings","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/settings/find/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T19:48:45Z"},"publishedAction":{"name":"Find_Settings","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/settings/find/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T19:48:45Z"},"id":"Home_Find_Settings","deleted":false,"gitSyncId":"64c53a7a7ea84639bf879f21_64c6be9d81f77b07d4a599f3"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Find_Chatwoot","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chatwoot/find/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T19:49:33Z"},"publishedAction":{"name":"Find_Chatwoot","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chatwoot/find/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T19:49:33Z"},"id":"Home_Find_Chatwoot","deleted":false,"gitSyncId":"64c53a7a7ea84639bf879f21_64c6becd81f77b07d4a599f6"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Set_Webhook","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/webhook/set/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\tFormWebhook.formData\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\tFormWebhook.formData\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T20:10:19Z"},"publishedAction":{"name":"Set_Webhook","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/webhook/set/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\tFormWebhook.formData\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\tFormWebhook.formData\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T20:10:19Z"},"id":"Home_Set_Webhook","deleted":false,"gitSyncId":"64c53a7a7ea84639bf879f21_64c6c3ab81f77b07d4a599fe"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Set_Settings","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/settings/set/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\tFormSettings.formData\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"application/json"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url","\n\tFormSettings.formData\n"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T20:13:25Z"},"publishedAction":{"name":"Set_Settings","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/settings/set/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\tFormSettings.formData\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"application/json"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url","\n\tFormSettings.formData\n"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T20:13:25Z"},"id":"Home_Set_Settings","deleted":false,"gitSyncId":"64c53a7a7ea84639bf879f21_64c6c46581f77b07d4a59a04"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Set_Chatwoot","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chatwoot/set/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n\t\t\"enabled\": FormChatwoot.formData.enabled,\n\t\t\"account_id\": String(FormChatwoot.formData.account_id),\n\t\t\"token\": FormChatwoot.formData.token,\n\t\t\"url\": FormChatwoot.formData.url,\n\t\t\"sign_msg\": FormChatwoot.formData.sign_msg,\n\t\t\"reopen_conversation\": FormChatwoot.formData.reopen_conversation,\n\t\t\"conversation_pending\": FormChatwoot.formData.conversation_pending,\n\t}\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url","\n\t{\n\t\t\"enabled\": FormChatwoot.formData.enabled,\n\t\t\"account_id\": String(FormChatwoot.formData.account_id),\n\t\t\"token\": FormChatwoot.formData.token,\n\t\t\"url\": FormChatwoot.formData.url,\n\t\t\"sign_msg\": FormChatwoot.formData.sign_msg,\n\t\t\"reopen_conversation\": FormChatwoot.formData.reopen_conversation,\n\t\t\"conversation_pending\": FormChatwoot.formData.conversation_pending,\n\t}\n"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T20:15:01Z"},"publishedAction":{"name":"Set_Chatwoot","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chatwoot/set/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n\t\t\"enabled\": FormChatwoot.formData.enabled,\n\t\t\"account_id\": String(FormChatwoot.formData.account_id),\n\t\t\"token\": FormChatwoot.formData.token,\n\t\t\"url\": FormChatwoot.formData.url,\n\t\t\"sign_msg\": FormChatwoot.formData.sign_msg,\n\t\t\"reopen_conversation\": FormChatwoot.formData.reopen_conversation,\n\t\t\"conversation_pending\": FormChatwoot.formData.conversation_pending,\n\t}\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url","\n\t{\n\t\t\"enabled\": FormChatwoot.formData.enabled,\n\t\t\"account_id\": String(FormChatwoot.formData.account_id),\n\t\t\"token\": FormChatwoot.formData.token,\n\t\t\"url\": FormChatwoot.formData.url,\n\t\t\"sign_msg\": FormChatwoot.formData.sign_msg,\n\t\t\"reopen_conversation\": FormChatwoot.formData.reopen_conversation,\n\t\t\"conversation_pending\": FormChatwoot.formData.conversation_pending,\n\t}\n"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T20:15:01Z"},"id":"Home_Set_Chatwoot","deleted":false,"gitSyncId":"64c53a7a7ea84639bf879f21_64c6c4c581f77b07d4a59a06"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Fetch_Instance","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/fetchInstances","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[{"key":"instanceName","value":"{{TableInstances.selectedRow.instance}}"}],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"queryParameters[0].value"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["appsmith.store.api_url","appsmith.store.api_key","TableInstances.selectedRow.instance"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:16:40Z"},"publishedAction":{"name":"Fetch_Instance","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/fetchInstances","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[{"key":"instanceName","value":"{{TableInstances.selectedRow.instance}}"}],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"queryParameters[0].value"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["appsmith.store.api_url","appsmith.store.api_key","TableInstances.selectedRow.instance"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:16:40Z"},"id":"Home_Fetch_Instance","deleted":false,"gitSyncId":"64c53a7a7ea84639bf879f21_64c7a62881f77b07d4a59a58"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Update_ProfileName","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chat/updateProfileName/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n\t\t\"name\": FormProfile.formData.profileName\n\t}\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\t{\n\t\t\"name\": FormProfile.formData.profileName\n\t}\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:22:45Z"},"publishedAction":{"name":"Update_ProfileName","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chat/updateProfileName/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n\t\t\"name\": FormProfile.formData.profileName\n\t}\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\t{\n\t\t\"name\": FormProfile.formData.profileName\n\t}\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:22:45Z"},"id":"Home_Update_ProfileName","deleted":false,"gitSyncId":"64c53a7a7ea84639bf879f21_64c7a79581f77b07d4a59a5a"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Update_ProfileStatus","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chat/updateProfileStatus/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n\t\t\"status\": FormProfile.formData.profileStatus\n\t}\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"application/json"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"body"},{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\t{\n\t\t\"status\": FormProfile.formData.profileStatus\n\t}\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:25:00Z"},"publishedAction":{"name":"Update_ProfileStatus","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chat/updateProfileStatus/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n\t\t\"status\": FormProfile.formData.profileStatus\n\t}\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"application/json"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"body"},{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\t{\n\t\t\"status\": FormProfile.formData.profileStatus\n\t}\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:25:00Z"},"id":"Home_Update_ProfileStatus","deleted":false,"gitSyncId":"64c53a7a7ea84639bf879f21_64c7a81c81f77b07d4a59a5c"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Update_ProfilePicture","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chat/updateProfilePicture/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n\t\t\"picture\": FormProfile.formData.profilePictureUrl\n\t}\n}}","bodyFormData":[],"httpMethod":"PUT","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\t{\n\t\t\"picture\": FormProfile.formData.profilePictureUrl\n\t}\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:25:56Z"},"publishedAction":{"name":"Update_ProfilePicture","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chat/updateProfilePicture/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n\t\t\"picture\": FormProfile.formData.profilePictureUrl\n\t}\n}}","bodyFormData":[],"httpMethod":"PUT","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\t{\n\t\t\"picture\": FormProfile.formData.profilePictureUrl\n\t}\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:25:56Z"},"id":"Home_Update_ProfilePicture","deleted":false,"gitSyncId":"64c53a7a7ea84639bf879f21_64c7a85481f77b07d4a59a5e"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Remove_ProfilePicture","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chat/removeProfilePicture/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"","bodyFormData":[],"httpMethod":"DELETE","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:27:20Z"},"publishedAction":{"name":"Remove_ProfilePicture","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chat/removeProfilePicture/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"","bodyFormData":[],"httpMethod":"DELETE","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:27:20Z"},"id":"Home_Remove_ProfilePicture","deleted":false,"gitSyncId":"64c53a7a7ea84639bf879f21_64c7a8a881f77b07d4a59a60"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Fetch_PrivacySettings","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chat/fetchPrivacySettings/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:27:52Z"},"publishedAction":{"name":"Fetch_PrivacySettings","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chat/fetchPrivacySettings/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:27:52Z"},"id":"Home_Fetch_PrivacySettings","deleted":false,"gitSyncId":"64c53a7a7ea84639bf879f21_64c7a8c881f77b07d4a59a62"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Update_PrivacySettings","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chat/updatePrivacySettings/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n \"privacySettings\": {\n \"readreceipts\": FormProfile.formData.privacySettings.readreceipts,\n \"profile\": FormProfile.formData.privacySettings.profile,\n \"status\": FormProfile.formData.privacySettings.status,\n \"online\": FormProfile.formData.privacySettings.online,\n \"last\": FormProfile.formData.privacySettings.last,\n \"groupadd\": FormProfile.formData.privacySettings.groupadd\n\t\t}\n\t}\n}}","bodyFormData":[],"httpMethod":"PUT","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"headers[0].value"},{"key":"body"},{"key":"path"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\t{\n \"privacySettings\": {\n \"readreceipts\": FormProfile.formData.privacySettings.readreceipts,\n \"profile\": FormProfile.formData.privacySettings.profile,\n \"status\": FormProfile.formData.privacySettings.status,\n \"online\": FormProfile.formData.privacySettings.online,\n \"last\": FormProfile.formData.privacySettings.last,\n \"groupadd\": FormProfile.formData.privacySettings.groupadd\n\t\t}\n\t}\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:28:39Z"},"publishedAction":{"name":"Update_PrivacySettings","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chat/updatePrivacySettings/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n \"privacySettings\": {\n \"readreceipts\": FormProfile.formData.privacySettings.readreceipts,\n \"profile\": FormProfile.formData.privacySettings.profile,\n \"status\": FormProfile.formData.privacySettings.status,\n \"online\": FormProfile.formData.privacySettings.online,\n \"last\": FormProfile.formData.privacySettings.last,\n \"groupadd\": FormProfile.formData.privacySettings.groupadd\n\t\t}\n\t}\n}}","bodyFormData":[],"httpMethod":"PUT","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"headers[0].value"},{"key":"body"},{"key":"path"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\t{\n \"privacySettings\": {\n \"readreceipts\": FormProfile.formData.privacySettings.readreceipts,\n \"profile\": FormProfile.formData.privacySettings.profile,\n \"status\": FormProfile.formData.privacySettings.status,\n \"online\": FormProfile.formData.privacySettings.online,\n \"last\": FormProfile.formData.privacySettings.last,\n \"groupadd\": FormProfile.formData.privacySettings.groupadd\n\t\t}\n\t}\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:28:39Z"},"id":"Home_Update_PrivacySettings","deleted":false,"gitSyncId":"64c53a7a7ea84639bf879f21_64c7a8f781f77b07d4a59a64"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Find_Websocket","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/websocket/find/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":true,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-08-03T00:54:48Z"},"publishedAction":{"name":"Find_Websocket","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/websocket/find/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":true,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-08-03T00:54:48Z"},"id":"Home_Find_Websocket","deleted":false,"gitSyncId":"64ca60783615e270291978b0_64cafad875b7a111cf894430"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Find_Rabbitmq","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/rabbitmq/find/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":true,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-08-03T00:55:16Z"},"publishedAction":{"name":"Find_Rabbitmq","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/rabbitmq/find/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":true,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-08-03T00:55:16Z"},"id":"Home_Find_Rabbitmq","deleted":false,"gitSyncId":"64ca60783615e270291978b0_64cafaf475b7a111cf894432"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Set_Websocket","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/websocket/set/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\tFormWebsocket.formData\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\tFormWebsocket.formData\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-08-03T00:55:30Z"},"publishedAction":{"name":"Set_Websocket","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/websocket/set/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\tFormWebsocket.formData\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\tFormWebsocket.formData\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-08-03T00:55:30Z"},"id":"Home_Set_Websocket","deleted":false,"gitSyncId":"64ca60783615e270291978b0_64cafb0275b7a111cf894434"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Set_Rabbitmq","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/rabbitmq/set/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\tFormRabbitmq.formData\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\tFormRabbitmq.formData\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-08-03T00:56:01Z"},"publishedAction":{"name":"Set_Rabbitmq","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/rabbitmq/set/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\tFormRabbitmq.formData\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\tFormRabbitmq.formData\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-08-03T00:56:01Z"},"id":"Home_Set_Rabbitmq","deleted":false,"gitSyncId":"64ca60783615e270291978b0_64cafb2175b7a111cf894436"}],"actionCollectionList":[{"unpublishedCollection":{"name":"Scripts","pageId":"Home","pluginId":"js-plugin","pluginType":"JS","actions":[],"archivedActions":[],"body":"export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tasync verifyConfig () {\n\t\tconst api_url = await appsmith.store.api_url;\n\t\tconst api_key = await appsmith.store.api_key;\n\t\tif(!api_url && !api_key){\n\t\t\tshowModal('ModalConfig');\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\tfetch_Instances.run();\n\t\tFind_Webhook.run();\n\t\tFind_Settings.run();\n\t\tFind_Chatwoot.run();\n\t\treturn true;\n\t}\n}","variables":[{"name":"myVar1","value":"[]"},{"name":"myVar2","value":"{}"}],"userPermissions":[]},"publishedCollection":{"name":"Scripts","pageId":"Home","pluginId":"js-plugin","pluginType":"JS","actions":[],"archivedActions":[],"body":"export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tasync verifyConfig () {\n\t\tconst api_url = await appsmith.store.api_url;\n\t\tconst api_key = await appsmith.store.api_key;\n\t\tif(!api_url && !api_key){\n\t\t\tshowModal('ModalConfig');\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\tfetch_Instances.run();\n\t\tFind_Webhook.run();\n\t\tFind_Settings.run();\n\t\tFind_Chatwoot.run();\n\t\treturn true;\n\t}\n}","variables":[{"name":"myVar1","value":"[]"},{"name":"myVar2","value":"{}"}],"userPermissions":[]},"id":"Home_Scripts","deleted":false,"gitSyncId":"64c534835ebbd221b60b4c54_64c5372a5dd3482b9ab5e11e"}],"updatedResources":{"customJSLibList":[],"actionList":["Delete##ENTITY_SEPARATOR##Home","Find_Websocket##ENTITY_SEPARATOR##Home","Scripts.verifyConfig##ENTITY_SEPARATOR##Home","Find_Chatwoot##ENTITY_SEPARATOR##Home","Logout##ENTITY_SEPARATOR##Home","Connect##ENTITY_SEPARATOR##Home","Fetch_Instance##ENTITY_SEPARATOR##Home","Set_Chatwoot##ENTITY_SEPARATOR##Home","Update_ProfileName##ENTITY_SEPARATOR##Home","Set_Websocket##ENTITY_SEPARATOR##Home","Remove_ProfilePicture##ENTITY_SEPARATOR##Home","Create_Instance##ENTITY_SEPARATOR##Home","Fetch_PrivacySettings##ENTITY_SEPARATOR##Home","Restart##ENTITY_SEPARATOR##Home","Update_ProfileStatus##ENTITY_SEPARATOR##Home","Find_Webhook##ENTITY_SEPARATOR##Home","Update_ProfilePicture##ENTITY_SEPARATOR##Home","Find_Settings##ENTITY_SEPARATOR##Home","Set_Rabbitmq##ENTITY_SEPARATOR##Home","fetch_Instances##ENTITY_SEPARATOR##Home","Set_Settings##ENTITY_SEPARATOR##Home","Find_Rabbitmq##ENTITY_SEPARATOR##Home","Set_Webhook##ENTITY_SEPARATOR##Home","Update_PrivacySettings##ENTITY_SEPARATOR##Home"],"pageList":["Home"],"actionCollectionList":["Scripts##ENTITY_SEPARATOR##Home"]},"editModeTheme":{"name":"Default","displayName":"Modern","config":{"colors":{"primaryColor":"#553DE9","backgroundColor":"#F8FAFC"},"borderRadius":{"appBorderRadius":{"none":"0px","M":"0.375rem","L":"1.5rem"}},"boxShadow":{"appBoxShadow":{"none":"none","S":"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)","M":"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)","L":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)"}},"fontFamily":{"appFont":["System Default","Nunito Sans","Poppins","Inter","Montserrat","Noto Sans","Open Sans","Roboto","Rubik","Ubuntu"]}},"properties":{"colors":{"primaryColor":"#16a34a","backgroundColor":"#F8FAFC"},"borderRadius":{"appBorderRadius":"0.375rem"},"boxShadow":{"appBoxShadow":"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)"},"fontFamily":{"appFont":"Nunito Sans"}},"stylesheet":{"AUDIO_RECORDER_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"BUTTON_WIDGET":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"BUTTON_GROUP_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","childStylesheet":{"button":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}"}}},"CAMERA_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"CHART_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","fontFamily":"{{appsmith.theme.fontFamily.appFont}}"},"CHECKBOX_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CHECKBOX_GROUP_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CONTAINER_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"CIRCULAR_PROGRESS_WIDGET":{"fillColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_INPUT_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATE_PICKER_WIDGET2":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"FILE_PICKER_WIDGET_V2":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"FORM_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"FORM_BUTTON_WIDGET":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"ICON_BUTTON_WIDGET":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"IFRAME_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"IMAGE_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"INPUT_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"INPUT_WIDGET_V2":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"JSON_FORM_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}}},"LIST_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"MAP_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"MAP_CHART_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","fontFamily":"{{appsmith.theme.fontFamily.appFont}}"},"MENU_BUTTON_WIDGET":{"menuColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MODAL_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTI_SELECT_TREE_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTI_SELECT_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTI_SELECT_WIDGET_V2":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DROP_DOWN_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PROGRESSBAR_WIDGET":{"fillColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"PROGRESS_WIDGET":{"fillColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CODE_SCANNER_WIDGET":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RATE_WIDGET":{"activeColor":"{{appsmith.theme.colors.primaryColor}}"},"RADIO_GROUP_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"RICH_TEXT_EDITOR_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"STATBOX_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"SWITCH_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SWITCH_GROUP_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}"},"SELECT_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"TABLE_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","childStylesheet":{"button":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"menuButton":{"menuColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"iconButton":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}}},"TABLE_WIDGET_V2":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","childStylesheet":{"button":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"menuButton":{"menuColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"iconButton":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"editActions":{"saveButtonColor":"{{appsmith.theme.colors.primaryColor}}","saveBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","discardButtonColor":"{{appsmith.theme.colors.primaryColor}}","discardBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"}}},"TABS_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"TEXT_WIDGET":{"truncateButtonColor":"{{appsmith.theme.colors.primaryColor}}","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"VIDEO_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"SINGLE_SELECT_TREE_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"CATEGORY_SLIDER_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}"},"NUMBER_SLIDER_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}"},"RANGE_SLIDER_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}"}},"isSystemTheme":false,"deleted":false},"publishedTheme":{"name":"Default","displayName":"Modern","config":{"colors":{"primaryColor":"#553DE9","backgroundColor":"#F8FAFC"},"borderRadius":{"appBorderRadius":{"none":"0px","M":"0.375rem","L":"1.5rem"}},"boxShadow":{"appBoxShadow":{"none":"none","S":"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)","M":"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)","L":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)"}},"fontFamily":{"appFont":["System Default","Nunito Sans","Poppins","Inter","Montserrat","Noto Sans","Open Sans","Roboto","Rubik","Ubuntu"]}},"properties":{"colors":{"primaryColor":"#16a34a","backgroundColor":"#F8FAFC"},"borderRadius":{"appBorderRadius":"0.375rem"},"boxShadow":{"appBoxShadow":"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)"},"fontFamily":{"appFont":"Nunito Sans"}},"stylesheet":{"AUDIO_RECORDER_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"BUTTON_WIDGET":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"BUTTON_GROUP_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","childStylesheet":{"button":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}"}}},"CAMERA_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"CHART_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","fontFamily":"{{appsmith.theme.fontFamily.appFont}}"},"CHECKBOX_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CHECKBOX_GROUP_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CONTAINER_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"CIRCULAR_PROGRESS_WIDGET":{"fillColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_INPUT_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATE_PICKER_WIDGET2":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"FILE_PICKER_WIDGET_V2":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"FORM_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"FORM_BUTTON_WIDGET":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"ICON_BUTTON_WIDGET":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"IFRAME_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"IMAGE_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"INPUT_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"INPUT_WIDGET_V2":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"JSON_FORM_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}}},"LIST_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"MAP_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"MAP_CHART_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","fontFamily":"{{appsmith.theme.fontFamily.appFont}}"},"MENU_BUTTON_WIDGET":{"menuColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MODAL_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTI_SELECT_TREE_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTI_SELECT_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTI_SELECT_WIDGET_V2":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DROP_DOWN_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PROGRESSBAR_WIDGET":{"fillColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"PROGRESS_WIDGET":{"fillColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CODE_SCANNER_WIDGET":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RATE_WIDGET":{"activeColor":"{{appsmith.theme.colors.primaryColor}}"},"RADIO_GROUP_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"RICH_TEXT_EDITOR_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"STATBOX_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"SWITCH_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SWITCH_GROUP_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}"},"SELECT_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"TABLE_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","childStylesheet":{"button":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"menuButton":{"menuColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"iconButton":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}}},"TABLE_WIDGET_V2":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","childStylesheet":{"button":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"menuButton":{"menuColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"iconButton":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"editActions":{"saveButtonColor":"{{appsmith.theme.colors.primaryColor}}","saveBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","discardButtonColor":"{{appsmith.theme.colors.primaryColor}}","discardBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"}}},"TABS_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"TEXT_WIDGET":{"truncateButtonColor":"{{appsmith.theme.colors.primaryColor}}","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"VIDEO_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"SINGLE_SELECT_TREE_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"CATEGORY_SLIDER_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}"},"NUMBER_SLIDER_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}"},"RANGE_SLIDER_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}"}},"isSystemTheme":false,"deleted":false}} \ No newline at end of file +{"clientSchemaVersion":1.0,"serverSchemaVersion":6.0,"exportedApplication":{"name":"manager2","isPublic":true,"pages":[{"id":"Home","isDefault":true}],"publishedPages":[{"id":"Home","isDefault":true}],"viewMode":false,"appIsExample":false,"unreadCommentThreads":0.0,"clonedFromApplicationId":"64da025f98d1c41c0da60e90","color":"#F5D1D1","icon":"email","slug":"manager2","unpublishedAppLayout":{"type":"FLUID"},"publishedAppLayout":{"type":"FLUID"},"unpublishedCustomJSLibs":[],"publishedCustomJSLibs":[],"evaluationVersion":2.0,"applicationVersion":2.0,"collapseInvisibleWidgets":true,"isManualUpdate":false,"deleted":false},"datasourceList":[],"customJSLibList":[],"pageList":[{"unpublishedPage":{"name":"Home","slug":"home","customSlug":"","layouts":[{"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":4896.0,"snapColumns":64.0,"detachFromLayout":true,"widgetId":"0","topRow":0.0,"bottomRow":480.0,"containerStyle":"none","snapRows":124.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"version":83.0,"minHeight":1292.0,"dynamicTriggerPathList":[],"parentColumnSpace":1.0,"dynamicBindingPathList":[],"leftColumn":0.0,"children":[{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","borderColor":"#E0DEDE","isVisibleDownload":true,"iconSVG":"https://appcdn.appsmith.com/static/media/icon.24905525921dd6f5ff46d0dd843b9e12.svg","topRow":6.0,"isSortable":true,"type":"TABLE_WIDGET_V2","inlineEditingSaveOption":"ROW_LEVEL","animateLoading":true,"dynamicBindingPathList":[{"key":"tableData"},{"key":"primaryColumns.customColumn9.boxShadow"},{"key":"primaryColumns.customColumn9.borderRadius"},{"key":"primaryColumns.customColumn9.menuColor"},{"key":"primaryColumns.customColumn8.computedValue"},{"key":"primaryColumns.customColumn7.computedValue"},{"key":"primaryColumns.customColumn6.computedValue"},{"key":"primaryColumns.customColumn5.computedValue"},{"key":"primaryColumns.customColumn2.computedValue"},{"key":"primaryColumns.customColumn1.textColor"},{"key":"primaryColumns.customColumn1.cellBackground"},{"key":"primaryColumns.customColumn1.computedValue"},{"key":"primaryColumns.instance.computedValue"},{"key":"isVisible"},{"key":"accentColor"},{"key":"borderRadius"},{"key":"boxShadow"}],"needsHeightForContent":true,"leftColumn":14.0,"delimiter":",","defaultSelectedRowIndex":0.0,"showInlineEditingOptionDropdown":true,"accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisibleFilters":true,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","enableClientSideSearch":true,"version":2.0,"totalRecordsCount":0.0,"isLoading":false,"childStylesheet":{"button":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"menuButton":{"menuColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"iconButton":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"editActions":{"saveButtonColor":"{{appsmith.theme.colors.primaryColor}}","saveBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","discardButtonColor":"{{appsmith.theme.colors.primaryColor}}","discardBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"}},"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","columnUpdatedAt":1.690746223636E12,"defaultSelectedRowIndices":[0.0],"mobileBottomRow":32.0,"widgetName":"TableInstances","defaultPageSize":0.0,"columnOrder":["instance","customColumn5","customColumn1","customColumn2","customColumn6","customColumn7","customColumn8","customColumn9"],"dynamicPropertyPathList":[{"key":"primaryColumns.customColumn1.cellBackground"},{"key":"isVisible"}],"displayName":"Table","bottomRow":42.0,"columnWidthMap":{"customColumn3":92.0,"customColumn2":340.0,"customColumn5":254.0,"customColumn9":60.0},"parentRowSpace":10.0,"hideCard":false,"mobileRightColumn":36.0,"parentColumnSpace":20.078125,"dynamicTriggerPathList":[{"key":"primaryColumns.customColumn9.menuItems.menuItemjfzsd8g6yr.onClick"},{"key":"primaryColumns.customColumn9.menuItems.menuItem4sqork5nmt.onClick"},{"key":"primaryColumns.customColumn9.menuItems.menuItemig6ua4ixjx.onClick"},{"key":"primaryColumns.customColumn9.menuItems.menuItemx9oyhys8cj.onClick"},{"key":"primaryColumns.customColumn9.menuItems.menuItemxk5jvvwwef.onClick"},{"key":"primaryColumns.customColumn9.menuItems.menuItem16ysonwzrq.onClick"},{"key":"primaryColumns.customColumn9.menuItems.menuItembtatfbml4y.onClick"}],"borderWidth":"1","primaryColumns":{"instance":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":0.0,"width":150.0,"originalId":"instance","id":"instance","alias":"instance","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":true,"isDerived":false,"label":"Instance","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.instanceName))}}","sticky":"","validation":{}},"customColumn1":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":1.0,"width":150.0,"originalId":"customColumn1","id":"customColumn1","alias":"Status","horizontalAlignment":"CENTER","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":true,"isDerived":true,"label":"Status","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.status))}}","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF","cellBackground":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.status === \"open\" ? \"#499B51\" : currentRow.instance.status === \"close\" ? \"#DD524C\" : \"#2770FC\"))}}","textColor":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.colors.backgroundColor)))}}"},"customColumn2":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":2.0,"width":150.0,"originalId":"customColumn2","id":"customColumn2","alias":"Apikey","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":true,"isDerived":true,"label":"Apikey","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.apikey))}}","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF"},"customColumn5":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":5.0,"width":150.0,"originalId":"customColumn5","id":"customColumn5","alias":"Owner","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":true,"isDerived":true,"label":"Owner","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.owner))}}","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF"},"customColumn6":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":6.0,"width":150.0,"originalId":"customColumn6","id":"customColumn6","alias":"profilePictureUrl","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":false,"isDerived":true,"label":"profilePictureUrl","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.profilePictureUrl))}}","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF"},"customColumn7":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":7.0,"width":150.0,"originalId":"customColumn7","id":"customColumn7","alias":"profileName","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":false,"isDerived":true,"label":"profileName","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.profileName))}}","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF"},"customColumn8":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":8.0,"width":150.0,"originalId":"customColumn8","id":"customColumn8","alias":"profileStatus","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":false,"isDerived":true,"label":"profileStatus","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.profileStatus))}}","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF"},"customColumn9":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":9.0,"width":150.0,"originalId":"customColumn9","id":"customColumn9","alias":"#","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"menuButton","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":true,"isDerived":true,"label":"#","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF","menuColor":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.colors.primaryColor)))}}","borderRadius":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.borderRadius.appBorderRadius)))}}","boxShadow":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( \"none\"))}}","customAlias":"","menuItemsSource":"STATIC","menuButtonLabel":" ","menuButtoniconName":"chevron-down","menuItems":{"menuItemjfzsd8g6yr":{"id":"menuItemjfzsd8g6yr","index":0.0,"label":"Webhook","widgetId":"vygcejtdun","isDisabled":false,"isVisible":true,"onClick":"{{Find_Webhook.run({\n //\"key\": \"value\",\n});\nshowModal('ModalWebhook');}}"},"menuItem4sqork5nmt":{"id":"menuItem4sqork5nmt","index":1.0,"label":"Settings","widgetId":"0hw8oqpwcj","isDisabled":false,"isVisible":true,"onClick":"{{Find_Settings.run();\nshowModal('ModalSettings');}}"},"menuItemx9oyhys8cj":{"id":"menuItemx9oyhys8cj","index":2.0,"label":"Websocket","widgetId":"j75a4k6ecq","isDisabled":false,"isVisible":true,"onClick":"{{Find_Websocket.run();\nshowModal('ModalWebsocket');}}"},"menuItemxk5jvvwwef":{"id":"menuItemxk5jvvwwef","index":3.0,"label":"Rabbitmq","widgetId":"3u94ov6qst","isDisabled":false,"isVisible":true,"onClick":"{{Find_Rabbitmq.run();\nshowModal('ModalRabbitmq');}}"},"menuItemig6ua4ixjx":{"id":"menuItemig6ua4ixjx","index":4.0,"label":"Chatwoot","widgetId":"fuq5dtgbqc","isDisabled":false,"isVisible":true,"onClick":"{{Find_Chatwoot.run()\nshowModal('ModalChatwoot');}}"},"menuItem16ysonwzrq":{"id":"menuItem16ysonwzrq","index":5.0,"label":"Set Typebot","widgetId":"fi9nb2bace","isDisabled":false,"isVisible":true,"onClick":"{{Find_Typebot.run()\nshowModal('ModalTypebot');}}"},"menuItembtatfbml4y":{"id":"menuItembtatfbml4y","index":6.0,"label":"TypeBot Set Session Status","widgetId":"7f6mg653ra","isDisabled":false,"isVisible":true,"onClick":"{{showModal('ModalTypebotChangeSessionStatu');}}"}}}},"key":"e3yxhhyeel","canFreezeColumn":true,"isDeprecated":false,"rightColumn":63.0,"textSize":"0.875rem","widgetId":"uupm7enu8u","minWidth":450.0,"tableData":"{{fetch_Instances.data}}","label":"Data","searchKey":"","parentId":"0","renderMode":"CANVAS","mobileTopRow":4.0,"horizontalAlignment":"LEFT","isVisibleSearch":true,"responsiveBehavior":"fill","mobileLeftColumn":2.0,"isVisiblePagination":true,"verticalAlignment":"CENTER"},{"resetFormOnClick":false,"boxShadow":"none","mobileBottomRow":5.0,"widgetName":"BtnNewInstance","onClick":"{{showModal('ModalInstance');}}","buttonColor":"rgb(3, 179, 101)","dynamicPropertyPathList":[{"key":"isVisible"}],"displayName":"Button","iconSVG":"/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg","searchTags":["click","submit"],"topRow":1.0,"bottomRow":5.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","hideCard":false,"mobileRightColumn":8.0,"animateLoading":true,"parentColumnSpace":11.828125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":7.0,"dynamicBindingPathList":[{"key":"isVisible"},{"key":"borderRadius"}],"text":"New Instance","isDisabled":false,"key":"crzwqv3pdr","isDeprecated":false,"rightColumn":19.0,"isDefaultClickDisabled":true,"iconName":"add","widgetId":"84ei9q1ugm","minWidth":120.0,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":1.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":0.0,"buttonVariant":"PRIMARY","iconAlign":"left","placement":"CENTER"},{"boxShadow":"none","mobileBottomRow":74.0,"widgetName":"ModalQrcode","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":50.0,"bottomRow":500.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":45.0,"animateLoading":true,"parentColumnSpace":11.828125,"leftColumn":21.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas1","displayName":"Canvas","topRow":0.0,"bottomRow":450.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":240.0,"mobileRightColumn":283.875,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","mobileBottomRow":52.0,"widgetName":"ImageQrcode","displayName":"Image","iconSVG":"https://appcdn.appsmith.com/static/media/icon.30c8cbd442cce232b01ba2d434c53a53.svg","topRow":6.0,"bottomRow":43.0,"parentRowSpace":10.0,"type":"IMAGE_WIDGET","hideCard":false,"mobileRightColumn":55.0,"animateLoading":true,"parentColumnSpace":20.078125,"dynamicTriggerPathList":[],"imageShape":"RECTANGLE","leftColumn":2.0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"image"}],"defaultImage":"https://manualnegocioonline.com.br/downloads/evolution-api-favicon2.png","key":"4chlj9l432","image":"{{Connect.data.base64}}","isDeprecated":false,"rightColumn":61.0,"objectFit":"contain","widgetId":"27dpgapd7q","isVisible":true,"version":1.0,"parentId":"we6j3r2byy","renderMode":"CANVAS","isLoading":false,"mobileTopRow":40.0,"maxZoomLevel":1.0,"enableDownload":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":43.0,"enableRotation":false},{"boxShadow":"none","mobileBottomRow":4.0,"widgetName":"IconButton1","onClick":"{{closeModal('ModalQrcode');\nfetch_Instances.run()}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","displayName":"Icon button","iconSVG":"/static/media/icon.80fc7466c0d7181ec0271de7fda795ec.svg","searchTags":["click","submit"],"topRow":0.0,"bottomRow":4.0,"type":"ICON_BUTTON_WIDGET","hideCard":false,"mobileRightColumn":64.0,"animateLoading":true,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":58.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"iconSize":24.0,"isDisabled":false,"key":"pezy0hb491","isDeprecated":false,"rightColumn":64.0,"iconName":"cross","widgetId":"i1dw369dch","minWidth":50.0,"isVisible":true,"version":1.0,"parentId":"we6j3r2byy","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"hug","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":58.0,"buttonVariant":"TERTIARY"},{"mobileBottomRow":5.0,"widgetName":"Text1","displayName":"Text","iconSVG":"/static/media/icon.c3b6033f570046f8c6288d911333a827.svg","searchTags":["typography","paragraph","label"],"topRow":1.0,"bottomRow":5.0,"type":"TEXT_WIDGET","hideCard":false,"mobileRightColumn":41.0,"animateLoading":true,"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","dynamicTriggerPathList":[],"leftColumn":1.0,"dynamicBindingPathList":[{"key":"fontFamily"}],"shouldTruncate":false,"truncateButtonColor":"{{appsmith.theme.colors.primaryColor}}","text":"Qrcode","key":"9s8f10sepn","isDeprecated":false,"rightColumn":41.0,"textAlign":"LEFT","dynamicHeight":"AUTO_HEIGHT","widgetId":"mg2cqsi9fn","minWidth":450.0,"isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1.0,"parentId":"we6j3r2byy","renderMode":"CANVAS","isLoading":false,"mobileTopRow":1.0,"responsiveBehavior":"fill","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":1.0,"maxDynamicHeight":9000.0,"fontSize":"1.25rem","minDynamicHeight":4.0}],"isDisabled":false,"key":"e8r23nd8j4","isDeprecated":false,"rightColumn":283.875,"detachFromLayout":true,"widgetId":"we6j3r2byy","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"ljwryrjhy7","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"g8xx6ocuvi","height":450.0,"isDeprecated":false,"rightColumn":45.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"ljwryrjhy7","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":50.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":21.0,"maxDynamicHeight":9000.0,"width":456.0,"minDynamicHeight":24.0},{"resetFormOnClick":false,"boxShadow":"none","mobileBottomRow":5.0,"widgetName":"BtnConfig","onClick":"{{showModal('ModalConfig');}}","buttonColor":"#2563eb","dynamicPropertyPathList":[],"displayName":"Button","iconSVG":"/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg","searchTags":["click","submit"],"topRow":1.0,"bottomRow":5.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","hideCard":false,"mobileRightColumn":30.0,"animateLoading":true,"parentColumnSpace":11.828125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":1.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"text":"Access","isDisabled":false,"key":"crzwqv3pdr","isDeprecated":false,"rightColumn":7.0,"isDefaultClickDisabled":true,"iconName":"user","widgetId":"uegjpy37i6","minWidth":120.0,"isVisible":true,"recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":1.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":14.0,"buttonVariant":"PRIMARY","iconAlign":"left","placement":"CENTER"},{"boxShadow":"none","mobileBottomRow":73.0,"widgetName":"ModalConfig","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":49.0,"bottomRow":30.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":25.0,"minHeight":300.0,"animateLoading":true,"parentColumnSpace":11.75,"leftColumn":1.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas2","displayName":"Canvas","topRow":0.0,"bottomRow":300.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":300.0,"mobileRightColumn":282.0,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","mobileBottomRow":84.0,"borderColor":"#E0DEDE","widgetName":"FormConfig","isCanvas":true,"displayName":"Form","iconSVG":"/static/media/icon.5d6d2ac5cb1aa68bcd9b14f11c56b44a.svg","searchTags":["group"],"topRow":0.0,"bottomRow":28.0,"parentRowSpace":10.0,"type":"FORM_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":25.0,"animateLoading":true,"parentColumnSpace":11.828125,"dynamicTriggerPathList":[],"leftColumn":1.0,"dynamicBindingPathList":[],"children":[{"mobileBottomRow":400.0,"widgetName":"Canvas2Copy","displayName":"Canvas","topRow":0.0,"bottomRow":280.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":false,"hideCard":true,"minHeight":400.0,"mobileRightColumn":283.875,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"mobileBottomRow":5.0,"widgetName":"Text2","displayName":"Text","iconSVG":"/static/media/icon.c3b6033f570046f8c6288d911333a827.svg","searchTags":["typography","paragraph","label"],"topRow":1.0,"bottomRow":5.0,"type":"TEXT_WIDGET","hideCard":false,"mobileRightColumn":25.5,"animateLoading":true,"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","dynamicTriggerPathList":[],"leftColumn":1.5,"dynamicBindingPathList":[{"key":"fontFamily"}],"shouldTruncate":false,"truncateButtonColor":"{{appsmith.theme.colors.primaryColor}}","text":"Access Credentials","key":"9s8f10sepn","isDeprecated":false,"rightColumn":25.5,"textAlign":"LEFT","dynamicHeight":"AUTO_HEIGHT","widgetId":"tps5rw2lk9","minWidth":450.0,"isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1.0,"parentId":"lrtvcpswru","renderMode":"CANVAS","isLoading":false,"mobileTopRow":1.0,"responsiveBehavior":"fill","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":1.5,"maxDynamicHeight":9000.0,"fontSize":"1.25rem","minDynamicHeight":4.0},{"resetFormOnClick":true,"boxShadow":"none","mobileBottomRow":37.0,"widgetName":"Button1","onClick":"{{storeValue('api_url', FormConfig.data.InputApiUrl);\nstoreValue('api_key', FormConfig.data.InputGlobalApiKey);\nfetch_Instances.run().then(() => {\n showAlert('successful login', 'success');\n}).catch(() => {\n showAlert('Could not load instances', 'error');\n});\ncloseModal('ModalConfig').then(() => {});}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","dynamicPropertyPathList":[{"key":"isDisabled"}],"displayName":"Button","iconSVG":"/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg","searchTags":["click","submit"],"topRow":22.0,"bottomRow":26.0,"type":"BUTTON_WIDGET","hideCard":false,"mobileRightColumn":62.0,"animateLoading":true,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":51.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"text":"Login","isDisabled":"","key":"crzwqv3pdr","isDeprecated":false,"rightColumn":63.0,"isDefaultClickDisabled":true,"iconName":"log-in","widgetId":"gzxvnsxk0y","minWidth":120.0,"isVisible":true,"recaptchaType":"V3","version":1.0,"parentId":"lrtvcpswru","renderMode":"CANVAS","isLoading":false,"mobileTopRow":33.0,"responsiveBehavior":"hug","disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":46.0,"buttonVariant":"PRIMARY","iconAlign":"left","placement":"CENTER"},{"resetFormOnClick":true,"boxShadow":"none","mobileBottomRow":37.0,"widgetName":"Button1Copy","onClick":"{{removeValue('api_url');\nremoveValue('api_key').then(() => {\n showAlert('successful logout', 'success');\n});}}","buttonColor":"#dc2626","dynamicPropertyPathList":[{"key":"isDisabled"}],"displayName":"Button","iconSVG":"/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg","searchTags":["click","submit"],"topRow":21.0,"bottomRow":25.0,"type":"BUTTON_WIDGET","hideCard":false,"mobileRightColumn":62.0,"animateLoading":true,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":2.0,"dynamicBindingPathList":[{"key":"isDisabled"},{"key":"borderRadius"}],"text":"Logout","isDisabled":"{{!appsmith.store.api_key && !appsmith.store.api_url ? true : false}}","key":"crzwqv3pdr","isDeprecated":false,"rightColumn":14.0,"isDefaultClickDisabled":true,"iconName":"log-out","widgetId":"f2i8tsbgx1","minWidth":120.0,"isVisible":true,"recaptchaType":"V3","version":1.0,"parentId":"lrtvcpswru","renderMode":"CANVAS","isLoading":false,"mobileTopRow":33.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":46.0,"buttonVariant":"PRIMARY","iconAlign":"left","placement":"CENTER"},{"boxShadow":"none","iconSVG":"/static/media/icon.d0ce957b6c4640f8a7418ce846ee200e.svg","topRow":6.0,"labelWidth":5.0,"type":"INPUT_WIDGET_V2","animateLoading":true,"resetOnSubmit":true,"leftColumn":2.0,"dynamicBindingPathList":[{"key":"defaultText"},{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","placeholderText":"","isDisabled":false,"isRequired":true,"dynamicHeight":"FIXED","accentColor":"{{appsmith.theme.colors.primaryColor}}","showStepArrows":false,"isVisible":true,"version":2.0,"isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileBottomRow":13.0,"widgetName":"InputApiUrl","displayName":"Input","searchTags":["form","text input","number","textarea"],"bottomRow":13.0,"parentRowSpace":10.0,"autoFocus":false,"hideCard":false,"mobileRightColumn":22.0,"parentColumnSpace":5.047119140625,"dynamicTriggerPathList":[],"labelPosition":"Top","key":"r1hfat3ouf","labelTextSize":"0.875rem","isDeprecated":false,"rightColumn":63.0,"widgetId":"spgryrb5ao","minWidth":450.0,"label":"API URL","parentId":"lrtvcpswru","labelAlignment":"left","renderMode":"CANVAS","mobileTopRow":6.0,"responsiveBehavior":"fill","mobileLeftColumn":2.0,"maxDynamicHeight":9000.0,"isSpellCheck":false,"iconAlign":"left","defaultText":"{{appsmith.store.api_url || ''}}","minDynamicHeight":4.0},{"boxShadow":"none","iconSVG":"/static/media/icon.d0ce957b6c4640f8a7418ce846ee200e.svg","topRow":14.0,"labelWidth":5.0,"type":"INPUT_WIDGET_V2","animateLoading":true,"resetOnSubmit":true,"leftColumn":2.0,"dynamicBindingPathList":[{"key":"defaultText"},{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"PASSWORD","isDisabled":false,"isRequired":true,"dynamicHeight":"FIXED","accentColor":"{{appsmith.theme.colors.primaryColor}}","showStepArrows":false,"isVisible":true,"version":2.0,"isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileBottomRow":13.0,"widgetName":"InputGlobalApiKey","displayName":"Input","searchTags":["form","text input","number","textarea"],"bottomRow":21.0,"parentRowSpace":10.0,"autoFocus":false,"hideCard":false,"mobileRightColumn":22.0,"parentColumnSpace":5.047119140625,"dynamicTriggerPathList":[],"labelPosition":"Top","key":"r1hfat3ouf","labelTextSize":"0.875rem","isDeprecated":false,"rightColumn":63.0,"widgetId":"v2vedr13py","minWidth":450.0,"label":"GLOBAL API KEY","parentId":"lrtvcpswru","labelAlignment":"left","renderMode":"CANVAS","mobileTopRow":6.0,"responsiveBehavior":"fill","mobileLeftColumn":2.0,"maxDynamicHeight":9000.0,"shouldAllowAutofill":true,"iconAlign":"left","defaultText":"{{appsmith.store.api_key || ''}}","minDynamicHeight":4.0},{"boxShadow":"none","mobileBottomRow":4.0,"widgetName":"IconButton2","onClick":"{{closeModal('ModalConfig');}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","displayName":"Icon button","iconSVG":"/static/media/icon.80fc7466c0d7181ec0271de7fda795ec.svg","searchTags":["click","submit"],"topRow":0.0,"bottomRow":4.0,"parentRowSpace":10.0,"type":"ICON_BUTTON_WIDGET","hideCard":false,"mobileRightColumn":64.0,"animateLoading":true,"parentColumnSpace":9.072265625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":60.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"isDisabled":false,"key":"pezy0hb491","isDeprecated":false,"rightColumn":64.0,"iconName":"cross","widgetId":"oaouelmhi1","minWidth":50.0,"isVisible":true,"version":1.0,"parentId":"lrtvcpswru","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"hug","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":60.0,"buttonVariant":"TERTIARY"}],"key":"e8r23nd8j4","isDeprecated":false,"rightColumn":283.875,"detachFromLayout":true,"widgetId":"lrtvcpswru","containerStyle":"none","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"h97rbttd5c","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"borderWidth":"0","positioning":"fixed","key":"dtzd07zsya","backgroundColor":"#FFFFFF","isDeprecated":false,"rightColumn":63.0,"dynamicHeight":"AUTO_HEIGHT","widgetId":"h97rbttd5c","minWidth":450.0,"isVisible":true,"parentId":"es5gsctogb","renderMode":"CANVAS","isLoading":false,"mobileTopRow":44.0,"responsiveBehavior":"fill","originalTopRow":0.0,"borderRadius":"0.375rem","mobileLeftColumn":1.0,"maxDynamicHeight":9000.0,"originalBottomRow":28.0,"minDynamicHeight":10.0}],"isDisabled":false,"key":"e8r23nd8j4","isDeprecated":false,"rightColumn":282.0,"detachFromLayout":true,"widgetId":"es5gsctogb","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"gneh33z88k","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"g8xx6ocuvi","height":300.0,"isDeprecated":false,"rightColumn":25.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"gneh33z88k","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":49.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":1.0,"maxDynamicHeight":9000.0,"width":632.0,"minDynamicHeight":24.0},{"boxShadow":"none","mobileBottomRow":66.0,"widgetName":"ModalInstance","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":42.0,"bottomRow":1892.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":37.0,"minHeight":1850.0,"animateLoading":true,"parentColumnSpace":11.828125,"leftColumn":13.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas3","displayName":"Canvas","topRow":0.0,"bottomRow":1850.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":1140.0,"mobileRightColumn":283.875,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","mobileBottomRow":4.0,"widgetName":"IconButton3Copy","onClick":"{{closeModal('ModalInstance');}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","displayName":"Icon button","iconSVG":"/static/media/icon.80fc7466c0d7181ec0271de7fda795ec.svg","searchTags":["click","submit"],"topRow":0.0,"bottomRow":4.0,"type":"ICON_BUTTON_WIDGET","hideCard":false,"mobileRightColumn":64.0,"animateLoading":true,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":57.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"iconSize":24.0,"isDisabled":false,"key":"mr6bto7c8j","isDeprecated":false,"rightColumn":63.0,"iconName":"cross","widgetId":"xofakp4har","minWidth":50.0,"isVisible":true,"version":1.0,"parentId":"esgwuzqcwt","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"hug","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":58.0,"buttonVariant":"TERTIARY"},{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Create_Instance.run().then(() => {\n showAlert('Instance created successfully', 'success');\n}).catch(() => {\n showAlert('Error creating instance', 'error');\n});\nfetch_Instances.run();\ncloseModal('ModalInstance');}}","topRow":4.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"schema.__root_schema__.defaultValue"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.children.webhook.defaultValue"},{"key":"schema.__root_schema__.children.webhook.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"schema.__root_schema__.children.instance.defaultValue"},{"key":"schema.__root_schema__.children.instance.borderRadius"},{"key":"schema.__root_schema__.children.instance.cellBorderRadius"},{"key":"schema.__root_schema__.children.instance.children.instanceName.defaultValue"},{"key":"schema.__root_schema__.children.instance.children.instanceName.accentColor"},{"key":"schema.__root_schema__.children.instance.children.instanceName.borderRadius"},{"key":"schema.__root_schema__.children.instance.children.token.defaultValue"},{"key":"schema.__root_schema__.children.instance.children.token.accentColor"},{"key":"schema.__root_schema__.children.instance.children.token.borderRadius"},{"key":"schema.__root_schema__.children.webhook.cellBorderRadius"},{"key":"schema.__root_schema__.children.webhook.children.webhook.defaultValue"},{"key":"schema.__root_schema__.children.webhook.children.webhook.accentColor"},{"key":"schema.__root_schema__.children.webhook.children.webhook.borderRadius"},{"key":"schema.__root_schema__.children.webhook.children.events.defaultValue"},{"key":"schema.__root_schema__.children.webhook.children.events.accentColor"},{"key":"schema.__root_schema__.children.webhook.children.events.borderRadius"},{"key":"schema.__root_schema__.children.webhook.children.webhook_by_events.defaultValue"},{"key":"schema.__root_schema__.children.webhook.children.webhook_by_events.accentColor"},{"key":"schema.__root_schema__.children.settings.defaultValue"},{"key":"schema.__root_schema__.children.settings.borderRadius"},{"key":"schema.__root_schema__.children.settings.cellBorderRadius"},{"key":"schema.__root_schema__.children.settings.children.reject_call.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.reject_call.accentColor"},{"key":"schema.__root_schema__.children.settings.children.msg_call.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.msg_call.accentColor"},{"key":"schema.__root_schema__.children.settings.children.msg_call.borderRadius"},{"key":"schema.__root_schema__.children.settings.children.groups_ignore.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.groups_ignore.accentColor"},{"key":"schema.__root_schema__.children.settings.children.always_online.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.always_online.accentColor"},{"key":"schema.__root_schema__.children.settings.children.read_messages.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.read_messages.accentColor"},{"key":"schema.__root_schema__.children.settings.children.read_status.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.read_status.accentColor"},{"key":"schema.__root_schema__.children.chatwoot.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.borderRadius"},{"key":"schema.__root_schema__.children.chatwoot.cellBorderRadius"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_account_id.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_account_id.accentColor"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_account_id.borderRadius"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_token.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_token.accentColor"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_token.borderRadius"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_url.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_url.accentColor"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_url.borderRadius"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_sign_msg.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_sign_msg.accentColor"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_reopen_conversation.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_reopen_conversation.accentColor"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_conversation_pending.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_conversation_pending.accentColor"},{"key":"schema.__root_schema__.children.instance.children.qrcode.defaultValue"},{"key":"schema.__root_schema__.children.instance.children.qrcode.accentColor"},{"key":"schema.__root_schema__.children.websocket.defaultValue"},{"key":"schema.__root_schema__.children.websocket.borderRadius"},{"key":"schema.__root_schema__.children.websocket.cellBorderRadius"},{"key":"schema.__root_schema__.children.websocket.children.websocket_enabled.defaultValue"},{"key":"schema.__root_schema__.children.websocket.children.websocket_enabled.accentColor"},{"key":"schema.__root_schema__.children.websocket.children.websocket_events.defaultValue"},{"key":"schema.__root_schema__.children.websocket.children.websocket_events.accentColor"},{"key":"schema.__root_schema__.children.websocket.children.websocket_events.borderRadius"},{"key":"schema.__root_schema__.children.rabbitmq.defaultValue"},{"key":"schema.__root_schema__.children.rabbitmq.borderRadius"},{"key":"schema.__root_schema__.children.rabbitmq.cellBorderRadius"},{"key":"schema.__root_schema__.children.rabbitmq.children.rabbitmq_enabled.defaultValue"},{"key":"schema.__root_schema__.children.rabbitmq.children.rabbitmq_enabled.accentColor"},{"key":"schema.__root_schema__.children.rabbitmq.children.rabbitmq_events.defaultValue"},{"key":"schema.__root_schema__.children.rabbitmq.children.rabbitmq_events.accentColor"},{"key":"schema.__root_schema__.children.rabbitmq.children.rabbitmq_events.borderRadius"}],"showReset":true,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY","iconAlign":"left"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Create","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":183.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"webhook":{"children":{"webhook":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.webhook.webhook))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"webhook","identifier":"webhook","position":0.0,"originalIdentifier":"webhook","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Webhook"},"events":{"children":{},"dataType":"array","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.webhook.events))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Multiselect","sourceData":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL","NEW_JWT_TOKEN"],"isCustomField":false,"accessor":"events","identifier":"events","position":2.0,"originalIdentifier":"events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Events","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"APPLICATION_STARTUP\",\n \"value\": \"APPLICATION_STARTUP\"\n },\n {\n \"label\": \"QRCODE_UPDATED\",\n \"value\": \"QRCODE_UPDATED\"\n },\n {\n \"label\": \"MESSAGES_SET\",\n \"value\": \"MESSAGES_SET\"\n },\n {\n \"label\": \"MESSAGES_UPSERT\",\n \"value\": \"MESSAGES_UPSERT\"\n },\n {\n \"label\": \"MESSAGES_UPDATE\",\n \"value\": \"MESSAGES_UPDATE\"\n },\n {\n \"label\": \"MESSAGES_DELETE\",\n \"value\": \"MESSAGES_DELETE\"\n },\n {\n \"label\": \"SEND_MESSAGE\",\n \"value\": \"SEND_MESSAGE\"\n },\n {\n \"label\": \"CONTACTS_SET\",\n \"value\": \"CONTACTS_SET\"\n },\n {\n \"label\": \"CONTACTS_UPSERT\",\n \"value\": \"CONTACTS_UPSERT\"\n },\n {\n \"label\": \"CONTACTS_UPDATE\",\n \"value\": \"CONTACTS_UPDATE\"\n },\n {\n \"label\": \"PRESENCE_UPDATE\",\n \"value\": \"PRESENCE_UPDATE\"\n },\n {\n \"label\": \"CHATS_SET\",\n \"value\": \"CHATS_SET\"\n },\n {\n \"label\": \"CHATS_UPSERT\",\n \"value\": \"CHATS_UPSERT\"\n },\n {\n \"label\": \"CHATS_UPDATE\",\n \"value\": \"CHATS_UPDATE\"\n },\n {\n \"label\": \"CHATS_DELETE\",\n \"value\": \"CHATS_DELETE\"\n },\n {\n \"label\": \"GROUPS_UPSERT\",\n \"value\": \"GROUPS_UPSERT\"\n },\n {\n \"label\": \"GROUP_UPDATE\",\n \"value\": \"GROUP_UPDATE\"\n },\n {\n \"label\": \"GROUP_PARTICIPANTS_UPDATE\",\n \"value\": \"GROUP_PARTICIPANTS_UPDATE\"\n },\n {\n \"label\": \"CONNECTION_UPDATE\",\n \"value\": \"CONNECTION_UPDATE\"\n },\n {\n \"label\": \"CALL\",\n \"value\": \"CALL\"\n },\n {\n \"label\": \"NEW_JWT_TOKEN\",\n \"value\": \"NEW_JWT_TOKEN\"\n }\n]"},"webhook_by_events":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.webhook.webhook_by_events))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"webhook_by_events","identifier":"webhook_by_events","position":2.0,"originalIdentifier":"webhook_by_events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Webhook By Events"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.webhook))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{},"isCustomField":false,"accessor":"webhook","identifier":"webhook","position":1.0,"originalIdentifier":"webhook","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Webhook","labelStyle":"BOLD"},"instance":{"children":{"instanceName":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.instance.instanceName))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"instanceName","identifier":"instanceName","position":0.0,"originalIdentifier":"instanceName","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Instance Name"},"token":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.instance.token))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"token","identifier":"token","position":1.0,"originalIdentifier":"token","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Token"},"qrcode":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.instance.qrcode))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"qrcode","identifier":"qrcode","position":2.0,"originalIdentifier":"qrcode","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Qrcode"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.instance))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{},"isCustomField":false,"accessor":"instance","identifier":"instance","position":0.0,"originalIdentifier":"instance","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Instance","labelStyle":"BOLD"},"settings":{"children":{"reject_call":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings.reject_call))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"reject_call","identifier":"reject_call","position":0.0,"originalIdentifier":"reject_call","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Reject Call"},"msg_call":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings.msg_call))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"msg_call","identifier":"msg_call","position":1.0,"originalIdentifier":"msg_call","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Msg Call"},"groups_ignore":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings.groups_ignore))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"groups_ignore","identifier":"groups_ignore","position":2.0,"originalIdentifier":"groups_ignore","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Groups Ignore"},"always_online":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings.always_online))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"always_online","identifier":"always_online","position":3.0,"originalIdentifier":"always_online","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Always Online"},"read_messages":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings.read_messages))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"read_messages","identifier":"read_messages","position":4.0,"originalIdentifier":"read_messages","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Read Messages"},"read_status":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings.read_status))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"read_status","identifier":"read_status","position":5.0,"originalIdentifier":"read_status","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Read Status"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{},"isCustomField":false,"accessor":"settings","identifier":"settings","position":2.0,"originalIdentifier":"settings","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Settings","labelStyle":"BOLD"},"chatwoot":{"children":{"chatwoot_account_id":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot.chatwoot_account_id))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"chatwoot_account_id","identifier":"chatwoot_account_id","position":0.0,"originalIdentifier":"chatwoot_account_id","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Chatwoot Account Id"},"chatwoot_token":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot.chatwoot_token))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Password Input","sourceData":"","isCustomField":false,"accessor":"chatwoot_token","identifier":"chatwoot_token","position":1.0,"originalIdentifier":"chatwoot_token","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Chatwoot Token","shouldAllowAutofill":true},"chatwoot_url":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot.chatwoot_url))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"chatwoot_url","identifier":"chatwoot_url","position":2.0,"originalIdentifier":"chatwoot_url","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Chatwoot Url"},"chatwoot_sign_msg":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot.chatwoot_sign_msg))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"chatwoot_sign_msg","identifier":"chatwoot_sign_msg","position":3.0,"originalIdentifier":"chatwoot_sign_msg","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Chatwoot Sign Msg"},"chatwoot_reopen_conversation":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot.chatwoot_reopen_conversation))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"chatwoot_reopen_conversation","identifier":"chatwoot_reopen_conversation","position":4.0,"originalIdentifier":"chatwoot_reopen_conversation","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Chatwoot Reopen Conversation"},"chatwoot_conversation_pending":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot.chatwoot_conversation_pending))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"chatwoot_conversation_pending","identifier":"chatwoot_conversation_pending","position":5.0,"originalIdentifier":"chatwoot_conversation_pending","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Chatwoot Conversation Pending"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{},"isCustomField":false,"accessor":"chatwoot","identifier":"chatwoot","position":5.0,"originalIdentifier":"chatwoot","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Chatwoot","labelStyle":"BOLD"},"websocket":{"children":{"websocket_enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.websocket.websocket_enabled))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"websocket_enabled","identifier":"websocket_enabled","position":0.0,"originalIdentifier":"websocket_enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Websocket Enabled"},"websocket_events":{"children":{},"dataType":"array","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.websocket.websocket_events))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Multiselect","sourceData":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL","NEW_JWT_TOKEN"],"isCustomField":false,"accessor":"websocket_events","identifier":"websocket_events","position":1.0,"originalIdentifier":"websocket_events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Websocket Events","labelTextSize":"0.875rem","serverSideFiltering":false,"options":[{"label":"Blue","value":"BLUE"},{"label":"Green","value":"GREEN"},{"label":"Red","value":"RED"}]}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.websocket))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{},"isCustomField":false,"accessor":"websocket","identifier":"websocket","position":3.0,"originalIdentifier":"websocket","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Websocket","labelStyle":"BOLD"},"rabbitmq":{"children":{"rabbitmq_enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.rabbitmq.rabbitmq_enabled))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"rabbitmq_enabled","identifier":"rabbitmq_enabled","position":1.0,"originalIdentifier":"rabbitmq_enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Rabbitmq Enabled"},"rabbitmq_events":{"children":{},"dataType":"array","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.rabbitmq.rabbitmq_events))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Multiselect","sourceData":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL","NEW_JWT_TOKEN"],"isCustomField":false,"accessor":"rabbitmq_events","identifier":"rabbitmq_events","position":1.0,"originalIdentifier":"rabbitmq_events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Rabbitmq Events","labelTextSize":"0.875rem","serverSideFiltering":false,"options":[{"label":"Blue","value":"BLUE"},{"label":"Green","value":"GREEN"},{"label":"Red","value":"RED"}]}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.rabbitmq))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{"websocket_enabled":false,"websocket_events":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL","NEW_JWT_TOKEN"]},"isCustomField":false,"accessor":"rabbitmq","identifier":"rabbitmq","position":4.0,"originalIdentifier":"rabbitmq","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Rabbitmq","labelStyle":"BOLD"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{"instanceName":"","token":"","webhook":"","webhook_by_events":false,"events":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL","NEW_JWT_TOKEN"],"reject_call":false,"msg_call":"","groups_ignore":false,"always_online":false,"read_messages":false,"read_status":false,"chatwoot_account_id":"","chatwoot_token":"","chatwoot_url":"","chatwoot_sign_msg":false,"chatwoot_reopen_conversation":false,"chatwoot_conversation_pending":false},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":85.0,"widgetName":"FormInstance","submitButtonStyles":{"buttonColor":"rgb(3, 179, 101)","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.webhook.children.webhook_by_events.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.reject_call.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.groups_ignore.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.always_online.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.read_messages.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.read_status.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_sign_msg.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_reopen_conversation.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_conversation_pending.defaultValue"},{"key":"schema.__root_schema__.children.instance.children.qrcode.defaultValue"},{"key":"schema.__root_schema__.children.websocket.children.websocket_enabled.defaultValue"},{"key":"schema.__root_schema__.children.rabbitmq.children.rabbitmq_enabled.defaultValue"}],"displayName":"JSON Form","bottomRow":183.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"New Instance","hideCard":false,"mobileRightColumn":22.0,"shouldScrollContents":true,"parentColumnSpace":17.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n \"instance\": {\n\t\t\t\"instanceName\": \"\",\n \t\"token\": \"\",\n\t\t\t\"qrcode\": true\n\t\t},\n\t\t\"webhook\": {\n\t\t\t\"webhook\": \"\",\n\t\t\t\"events\": [\n\t\t\t\t\"APPLICATION_STARTUP\",\n\t\t\t\t\t\"QRCODE_UPDATED\",\n\t\t\t\t\t\"MESSAGES_SET\",\n\t\t\t\t\t\"MESSAGES_UPSERT\",\n\t\t\t\t\t\"MESSAGES_UPDATE\",\n\t\t\t\t\t\"MESSAGES_DELETE\",\n\t\t\t\t\t\"SEND_MESSAGE\",\n\t\t\t\t\t\"CONTACTS_SET\",\n\t\t\t\t\t\"CONTACTS_UPSERT\",\n\t\t\t\t\t\"CONTACTS_UPDATE\",\n\t\t\t\t\t\"PRESENCE_UPDATE\",\n\t\t\t\t\t\"CHATS_SET\",\n\t\t\t\t\t\"CHATS_UPSERT\",\n\t\t\t\t\t\"CHATS_UPDATE\",\n\t\t\t\t\t\"CHATS_DELETE\",\n\t\t\t\t\t\"GROUPS_UPSERT\",\n\t\t\t\t\t\"GROUP_UPDATE\",\n\t\t\t\t\t\"GROUP_PARTICIPANTS_UPDATE\",\n\t\t\t\t\t\"CONNECTION_UPDATE\",\n\t\t\t\t\t\"CALL\",\n\t\t\t\t\t\"NEW_JWT_TOKEN\"\n\t\t\t],\n\t\t\t\"webhook_by_events\": false\n\t\t},\n \"settings\": {\n\t\t\t\"reject_call\": false,\n\t\t\t\"msg_call\": \"\",\n\t\t\t\"groups_ignore\": false,\n\t\t\t\"always_online\": false,\n\t\t\t\"read_messages\": false,\n\t\t\t\"read_status\": false\n\t\t},\n\t\t\"websocket\": {\n\t\t\t\"websocket_enabled\": false,\n\t\t\t\"websocket_events\": [\n\t\t\t\t\"APPLICATION_STARTUP\",\n\t\t\t\t\t\"QRCODE_UPDATED\",\n\t\t\t\t\t\"MESSAGES_SET\",\n\t\t\t\t\t\"MESSAGES_UPSERT\",\n\t\t\t\t\t\"MESSAGES_UPDATE\",\n\t\t\t\t\t\"MESSAGES_DELETE\",\n\t\t\t\t\t\"SEND_MESSAGE\",\n\t\t\t\t\t\"CONTACTS_SET\",\n\t\t\t\t\t\"CONTACTS_UPSERT\",\n\t\t\t\t\t\"CONTACTS_UPDATE\",\n\t\t\t\t\t\"PRESENCE_UPDATE\",\n\t\t\t\t\t\"CHATS_SET\",\n\t\t\t\t\t\"CHATS_UPSERT\",\n\t\t\t\t\t\"CHATS_UPDATE\",\n\t\t\t\t\t\"CHATS_DELETE\",\n\t\t\t\t\t\"GROUPS_UPSERT\",\n\t\t\t\t\t\"GROUP_UPDATE\",\n\t\t\t\t\t\"GROUP_PARTICIPANTS_UPDATE\",\n\t\t\t\t\t\"CONNECTION_UPDATE\",\n\t\t\t\t\t\"CALL\",\n\t\t\t\t\t\"NEW_JWT_TOKEN\"\n\t\t\t]\n\t\t},\n\t\t\"rabbitmq\": {\n\t\t\t\"rabbitmq_enabled\": false,\n\t\t\t\"rabbitmq_events\": [\n\t\t\t\t\"APPLICATION_STARTUP\",\n\t\t\t\t\t\"QRCODE_UPDATED\",\n\t\t\t\t\t\"MESSAGES_SET\",\n\t\t\t\t\t\"MESSAGES_UPSERT\",\n\t\t\t\t\t\"MESSAGES_UPDATE\",\n\t\t\t\t\t\"MESSAGES_DELETE\",\n\t\t\t\t\t\"SEND_MESSAGE\",\n\t\t\t\t\t\"CONTACTS_SET\",\n\t\t\t\t\t\"CONTACTS_UPSERT\",\n\t\t\t\t\t\"CONTACTS_UPDATE\",\n\t\t\t\t\t\"PRESENCE_UPDATE\",\n\t\t\t\t\t\"CHATS_SET\",\n\t\t\t\t\t\"CHATS_UPSERT\",\n\t\t\t\t\t\"CHATS_UPDATE\",\n\t\t\t\t\t\"CHATS_DELETE\",\n\t\t\t\t\t\"GROUPS_UPSERT\",\n\t\t\t\t\t\"GROUP_UPDATE\",\n\t\t\t\t\t\"GROUP_PARTICIPANTS_UPDATE\",\n\t\t\t\t\t\"CONNECTION_UPDATE\",\n\t\t\t\t\t\"CALL\",\n\t\t\t\t\t\"NEW_JWT_TOKEN\"\n\t\t\t]\n\t\t},\n \"chatwoot\": {\n\t\t\t\"chatwoot_account_id\": \"\",\n\t\t\t\"chatwoot_token\": \"\",\n\t\t\t\"chatwoot_url\": \"\",\n\t\t\t\"chatwoot_sign_msg\": false,\n\t\t\t\"chatwoot_reopen_conversation\": false,\n\t\t\t\"chatwoot_conversation_pending\": false\n\t\t}\n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":63.0,"widgetId":"o0v8ypwnya","minWidth":450.0,"parentId":"esgwuzqcwt","renderMode":"CANVAS","mobileTopRow":44.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":4.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"w17ra2a85u","isDeprecated":false,"rightColumn":283.875,"detachFromLayout":true,"widgetId":"esgwuzqcwt","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"rnttu90jzr","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"bkvkzj4d20","height":1850.0,"isDeprecated":false,"rightColumn":37.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"rnttu90jzr","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":42.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":13.0,"maxDynamicHeight":9000.0,"width":628.0,"minDynamicHeight":24.0},{"resetFormOnClick":false,"boxShadow":"none","mobileBottomRow":5.0,"widgetName":"ButtonRefreshData","onClick":"{{fetch_Instances.run()}}","buttonColor":"#60a5fa","dynamicPropertyPathList":[{"key":"isVisible"}],"displayName":"Button","iconSVG":"/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg","searchTags":["click","submit"],"topRow":1.0,"bottomRow":5.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","hideCard":false,"mobileRightColumn":35.0,"animateLoading":true,"parentColumnSpace":11.828125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":19.0,"dynamicBindingPathList":[{"key":"isVisible"},{"key":"borderRadius"}],"text":"","isDisabled":false,"key":"k10nyfsas3","isDeprecated":false,"rightColumn":24.0,"isDefaultClickDisabled":true,"iconName":"refresh","widgetId":"dn1ehe3gvu","minWidth":120.0,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":1.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":19.0,"buttonVariant":"PRIMARY","iconAlign":"left","placement":"CENTER"},{"boxShadow":"none","mobileBottomRow":5.0,"widgetName":"ButtonGroup1","isCanvas":false,"dynamicPropertyPathList":[{"key":"isVisible"}],"displayName":"Button Group","iconSVG":"/static/media/icon.7c22979bacc83c8d84aedf56ea6c2022.svg","searchTags":["click","submit"],"topRow":1.0,"bottomRow":5.0,"parentRowSpace":10.0,"groupButtons":{"groupButton1":{"label":"Connect","iconName":"camera","id":"groupButton1","widgetId":"","buttonType":"SIMPLE","placement":"CENTER","isVisible":true,"isDisabled":false,"index":0.0,"menuItems":{},"buttonColor":"#16a34a","onClick":"{{Connect.run();\nfetch_Instances.run();\nshowModal('ModalQrcode');}}"},"groupButton2":{"label":"Restart","iconName":"reset","id":"groupButton2","buttonType":"SIMPLE","placement":"CENTER","widgetId":"","isVisible":true,"isDisabled":false,"index":1.0,"menuItems":{},"buttonColor":"#2563eb","onClick":"{{Restart.run().then(() => {\n showAlert('Instance restarted successfully', 'success');\n}).catch(() => {\n showAlert('Error restarting instance', 'error');\n});\nfetch_Instances.run();}}"},"groupButton3":{"label":"Logout","iconName":"log-in","id":"groupButton3","buttonType":"SIMPLE","placement":"CENTER","widgetId":"","isVisible":true,"isDisabled":false,"index":2.0,"menuItems":{"menuItem1":{"label":"First Option","backgroundColor":"#FFFFFF","id":"menuItem1","widgetId":"","onClick":"","isVisible":true,"isDisabled":false,"index":0.0},"menuItem2":{"label":"Second Option","backgroundColor":"#FFFFFF","id":"menuItem2","widgetId":"","onClick":"","isVisible":true,"isDisabled":false,"index":1.0},"menuItem3":{"label":"Delete","iconName":"trash","iconColor":"#FFFFFF","iconAlign":"right","textColor":"#FFFFFF","backgroundColor":"#DD4B34","id":"menuItem3","widgetId":"","onClick":"","isVisible":true,"isDisabled":false,"index":2.0}},"buttonColor":"#a16207","onClick":"{{Logout.run().then(() => {\n showAlert('Instance logout successfully', 'success');\n}).catch(() => {\n showAlert('Error logout instance', 'error');\n});\nfetch_Instances.run();}}"},"groupButtonmghcs8rd4g":{"id":"groupButtonmghcs8rd4g","index":3.0,"label":"Delete","menuItems":{},"buttonType":"SIMPLE","placement":"CENTER","widgetId":"v0qkg2pjo2","isDisabled":false,"isVisible":true,"buttonColor":"#ef4444","iconName":"cross","onClick":"{{Delete.run().then(() => {\n showAlert('Instance deleted successfully', 'success');\n}).catch(() => {\n showAlert('Error deleting instance', 'error');\n});\nfetch_Instances.run();}}"}},"type":"BUTTON_GROUP_WIDGET","hideCard":false,"mobileRightColumn":51.0,"animateLoading":true,"parentColumnSpace":11.828125,"dynamicTriggerPathList":[{"key":"groupButtons.groupButton1.onClick"},{"key":"groupButtons.groupButton2.onClick"},{"key":"groupButtons.groupButton3.onClick"},{"key":"groupButtons.groupButtonmghcs8rd4g.onClick"}],"leftColumn":27.0,"dynamicBindingPathList":[{"key":"isVisible"},{"key":"borderRadius"}],"isDisabled":false,"key":"za8m3k8x7w","orientation":"horizontal","isDeprecated":false,"rightColumn":63.0,"widgetId":"2s6fqi483g","minWidth":450.0,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":1.0,"responsiveBehavior":"fill","childStylesheet":{"button":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}"}},"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":27.0,"buttonVariant":"PRIMARY"},{"boxShadow":"none","mobileBottomRow":18.0,"widgetName":"ProfilePicture","dynamicPropertyPathList":[{"key":"isVisible"},{"key":"borderRadius"}],"displayName":"Image","iconSVG":"/static/media/icon.30c8cbd442cce232b01ba2d434c53a53.svg","topRow":6.0,"bottomRow":28.0,"parentRowSpace":10.0,"type":"IMAGE_WIDGET","hideCard":false,"mobileRightColumn":13.0,"animateLoading":true,"parentColumnSpace":11.828125,"dynamicTriggerPathList":[],"imageShape":"RECTANGLE","leftColumn":1.0,"dynamicBindingPathList":[{"key":"image"},{"key":"isVisible"}],"defaultImage":"https://th.bing.com/th/id/OIP.ruat7whad9-kcI8_1KH_tQHaGI?pid=ImgDet&rs=1","key":"bl30j21wwb","image":"{{TableInstances.selectedRow.profilePictureUrl}}","isDeprecated":false,"rightColumn":13.0,"objectFit":"contain","widgetId":"1sjznr31jo","isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":6.0,"maxZoomLevel":1.0,"enableDownload":false,"borderRadius":"0.335rem","mobileLeftColumn":1.0,"enableRotation":false},{"mobileBottomRow":22.0,"widgetName":"Text4","dynamicPropertyPathList":[{"key":"isVisible"}],"displayName":"Text","iconSVG":"/static/media/icon.c3b6033f570046f8c6288d911333a827.svg","searchTags":["typography","paragraph","label"],"topRow":40.0,"bottomRow":48.0,"parentRowSpace":10.0,"type":"TEXT_WIDGET","hideCard":false,"mobileRightColumn":11.0,"animateLoading":true,"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","parentColumnSpace":11.828125,"dynamicTriggerPathList":[],"leftColumn":1.0,"dynamicBindingPathList":[{"key":"text"},{"key":"isVisible"},{"key":"fontFamily"}],"shouldTruncate":false,"truncateButtonColor":"{{appsmith.theme.colors.primaryColor}}","text":"{{TableInstances.selectedRow.profileName || ''}}\n\n{{TableInstances.selectedRow.profileStatus || ''}}","key":"gqt8t28m33","isDeprecated":false,"rightColumn":13.0,"textAlign":"CENTER","dynamicHeight":"AUTO_HEIGHT","widgetId":"0c356c66hp","minWidth":450.0,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","fontStyle":"BOLD","textColor":"#231F20","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":18.0,"responsiveBehavior":"fill","originalTopRow":40.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"originalBottomRow":48.0,"fontSize":"0.875rem","minDynamicHeight":4.0},{"mobileBottomRow":41.0,"widgetName":"Text5","dynamicPropertyPathList":[{"key":"isVisible"}],"displayName":"Text","iconSVG":"/static/media/icon.c3b6033f570046f8c6288d911333a827.svg","searchTags":["typography","paragraph","label"],"topRow":32.0,"bottomRow":40.0,"parentRowSpace":10.0,"type":"TEXT_WIDGET","hideCard":false,"mobileRightColumn":9.0,"animateLoading":true,"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","parentColumnSpace":11.75,"dynamicTriggerPathList":[],"leftColumn":1.0,"dynamicBindingPathList":[{"key":"text"},{"key":"isVisible"},{"key":"fontFamily"}],"shouldTruncate":false,"truncateButtonColor":"{{appsmith.theme.colors.primaryColor}}","text":"{{TableInstances.selectedRow.instance || ''}}","key":"gqt8t28m33","isDeprecated":false,"rightColumn":13.0,"textAlign":"CENTER","dynamicHeight":"AUTO_HEIGHT","widgetId":"5qg2iscn1l","minWidth":450.0,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","fontStyle":"BOLD","textColor":"#231F20","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":37.0,"responsiveBehavior":"fill","originalTopRow":32.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"originalBottomRow":40.0,"fontSize":"1.25rem","minDynamicHeight":4.0},{"boxShadow":"none","mobileBottomRow":70.0,"widgetName":"ModalWebhook","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":46.0,"bottomRow":43.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":430.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas4","displayName":"Canvas","topRow":0.0,"bottomRow":430.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":240.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Set_Webhook.run().then(() => {\n showAlert('Webhook updated successfully', 'success');\n}).catch(() => {\n showAlert('Error updating webhook', 'error');\n});\ncloseModal('ModalWebhook');}}","topRow":0.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"sourceData"},{"key":"schema.__root_schema__.children.events.borderRadius"},{"key":"schema.__root_schema__.children.events.defaultValue"},{"key":"schema.__root_schema__.children.url.accentColor"},{"key":"schema.__root_schema__.children.url.defaultValue"},{"key":"schema.__root_schema__.children.enabled.accentColor"},{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"schema.__root_schema__.children.webhook_by_events.accentColor"},{"key":"schema.__root_schema__.children.webhook_by_events.defaultValue"},{"key":"borderRadius"},{"key":"schema.__root_schema__.children.events.accentColor"},{"key":"schema.__root_schema__.children.url.borderRadius"},{"key":"submitButtonStyles.buttonColor"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":41.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"webhook_by_events":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.webhook_by_events))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"webhook_by_events","identifier":"webhook_by_events","position":3.0,"originalIdentifier":"webhook_by_events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Webhook By Events"},"enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.enabled))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"enabled","identifier":"enabled","position":0.0,"originalIdentifier":"enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Enabled"},"url":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.url))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Text Input","sourceData":"https://webhook.site/06c7b29f-543b-49bc-b598-51bf99d08f6c","isCustomField":false,"accessor":"url","identifier":"url","position":1.0,"originalIdentifier":"url","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Url"},"events":{"children":{},"dataType":"array","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.events))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Multiselect","sourceData":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL"],"isCustomField":false,"accessor":"events","identifier":"events","position":2.0,"originalIdentifier":"events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Events","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n\n {\n \"label\": \"APPLICATION_STARTUP\",\n \"value\": \"APPLICATION_STARTUP\"\n },\n {\n \"label\": \"QRCODE_UPDATED\",\n \"value\": \"QRCODE_UPDATED\"\n },\n {\n \"label\": \"MESSAGES_SET\",\n \"value\": \"MESSAGES_SET\"\n },\n {\n \"label\": \"MESSAGES_UPSERT\",\n \"value\": \"MESSAGES_UPSERT\"\n },\n {\n \"label\": \"MESSAGES_UPDATE\",\n \"value\": \"MESSAGES_UPDATE\"\n },\n {\n \"label\": \"MESSAGES_DELETE\",\n \"value\": \"MESSAGES_DELETE\"\n },\n {\n \"label\": \"SEND_MESSAGE\",\n \"value\": \"SEND_MESSAGE\"\n },\n {\n \"label\": \"CONTACTS_SET\",\n \"value\": \"CONTACTS_SET\"\n },\n {\n \"label\": \"CONTACTS_UPSERT\",\n \"value\": \"CONTACTS_UPSERT\"\n },\n {\n \"label\": \"CONTACTS_UPDATE\",\n \"value\": \"CONTACTS_UPDATE\"\n },\n {\n \"label\": \"PRESENCE_UPDATE\",\n \"value\": \"PRESENCE_UPDATE\"\n },\n {\n \"label\": \"CHATS_SET\",\n \"value\": \"CHATS_SET\"\n },\n {\n \"label\": \"CHATS_UPSERT\",\n \"value\": \"CHATS_UPSERT\"\n },\n {\n \"label\": \"CHATS_UPDATE\",\n \"value\": \"CHATS_UPDATE\"\n },\n {\n \"label\": \"CHATS_DELETE\",\n \"value\": \"CHATS_DELETE\"\n },\n {\n \"label\": \"GROUPS_UPSERT\",\n \"value\": \"GROUPS_UPSERT\"\n },\n {\n \"label\": \"GROUP_UPDATE\",\n \"value\": \"GROUP_UPDATE\"\n },\n {\n \"label\": \"GROUP_PARTICIPANTS_UPDATE\",\n \"value\": \"GROUP_PARTICIPANTS_UPDATE\"\n },\n {\n \"label\": \"CONNECTION_UPDATE\",\n \"value\": \"CONNECTION_UPDATE\"\n },\n {\n \"label\": \"CALL\",\n \"value\": \"CALL\"\n },\n {\n \"label\": \"NEW_JWT_TOKEN\",\n \"value\": \"NEW_JWT_TOKEN\"\n }\n]"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Object","sourceData":{"name":"John","date_of_birth":"20/02/1990","employee_id":1001.0},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormWebhook","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.webhook_by_events.defaultValue"},{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"schema.__root_schema__.children.url.defaultValue"}],"displayName":"JSON Form","bottomRow":41.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Webhook","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"enabled\": {{Find_Webhook.data.enabled || false}},\n\t\"url\": {{Find_Webhook.data.url}},\n \"webhook_by_events\": {{Find_Webhook.data.webhook_by_events}},\n \"events\": {{Find_Webhook.data.events || false}} \n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":63.0,"widgetId":"tb1ekur7fx","minWidth":450.0,"parentId":"mv02ta6pzr","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":0.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"svq68rvpdn","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"mv02ta6pzr","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"0g8ql5hukz","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"6x3z5yow7u","height":430.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"0g8ql5hukz","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":456.0,"minDynamicHeight":24.0},{"boxShadow":"none","mobileBottomRow":70.0,"widgetName":"ModalWebsocket","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":42.0,"bottomRow":32.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":320.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas4Copy1","displayName":"Canvas","topRow":0.0,"bottomRow":320.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":290.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Set_Websocket.run().then(() => {\n showAlert('Websocket updated successfully', 'success');\n}).catch(() => {\n showAlert('Error updating websocket', 'error');\n});\ncloseModal('ModalWebsocket');}}","topRow":0.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"sourceData"},{"key":"schema.__root_schema__.children.events.defaultValue"},{"key":"schema.__root_schema__.children.enabled.accentColor"},{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"borderRadius"},{"key":"schema.__root_schema__.children.events.accentColor"},{"key":"submitButtonStyles.buttonColor"},{"key":"schema.__root_schema__.children.events.borderRadius"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":30.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.enabled))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"enabled","identifier":"enabled","position":0.0,"originalIdentifier":"enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Enabled"},"events":{"children":{},"dataType":"array","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.events))(FormWebsocket.sourceData, FormWebsocket.formData, FormWebsocket.fieldState)}}","fieldType":"Multiselect","sourceData":[],"isCustomField":false,"accessor":"events","identifier":"events","position":2.0,"originalIdentifier":"events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebsocket.sourceData, FormWebsocket.formData, FormWebsocket.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebsocket.sourceData, FormWebsocket.formData, FormWebsocket.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Events","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n\n {\n \"label\": \"APPLICATION_STARTUP\",\n \"value\": \"APPLICATION_STARTUP\"\n },\n {\n \"label\": \"QRCODE_UPDATED\",\n \"value\": \"QRCODE_UPDATED\"\n },\n {\n \"label\": \"MESSAGES_SET\",\n \"value\": \"MESSAGES_SET\"\n },\n {\n \"label\": \"MESSAGES_UPSERT\",\n \"value\": \"MESSAGES_UPSERT\"\n },\n {\n \"label\": \"MESSAGES_UPDATE\",\n \"value\": \"MESSAGES_UPDATE\"\n },\n {\n \"label\": \"MESSAGES_DELETE\",\n \"value\": \"MESSAGES_DELETE\"\n },\n {\n \"label\": \"SEND_MESSAGE\",\n \"value\": \"SEND_MESSAGE\"\n },\n {\n \"label\": \"CONTACTS_SET\",\n \"value\": \"CONTACTS_SET\"\n },\n {\n \"label\": \"CONTACTS_UPSERT\",\n \"value\": \"CONTACTS_UPSERT\"\n },\n {\n \"label\": \"CONTACTS_UPDATE\",\n \"value\": \"CONTACTS_UPDATE\"\n },\n {\n \"label\": \"PRESENCE_UPDATE\",\n \"value\": \"PRESENCE_UPDATE\"\n },\n {\n \"label\": \"CHATS_SET\",\n \"value\": \"CHATS_SET\"\n },\n {\n \"label\": \"CHATS_UPSERT\",\n \"value\": \"CHATS_UPSERT\"\n },\n {\n \"label\": \"CHATS_UPDATE\",\n \"value\": \"CHATS_UPDATE\"\n },\n {\n \"label\": \"CHATS_DELETE\",\n \"value\": \"CHATS_DELETE\"\n },\n {\n \"label\": \"GROUPS_UPSERT\",\n \"value\": \"GROUPS_UPSERT\"\n },\n {\n \"label\": \"GROUP_UPDATE\",\n \"value\": \"GROUP_UPDATE\"\n },\n {\n \"label\": \"GROUP_PARTICIPANTS_UPDATE\",\n \"value\": \"GROUP_PARTICIPANTS_UPDATE\"\n },\n {\n \"label\": \"CONNECTION_UPDATE\",\n \"value\": \"CONNECTION_UPDATE\"\n },\n {\n \"label\": \"CALL\",\n \"value\": \"CALL\"\n },\n {\n \"label\": \"NEW_JWT_TOKEN\",\n \"value\": \"NEW_JWT_TOKEN\"\n }\n]"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Object","sourceData":{"name":"John","date_of_birth":"20/02/1990","employee_id":1001.0},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormWebsocket","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"schema.__root_schema__.children.events.defaultValue"}],"displayName":"JSON Form","bottomRow":30.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Websocket","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"enabled\": {{Find_Websocket.data.enabled}},\n \"events\": {{Find_Websocket.data.events || []}} \n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":63.0,"widgetId":"masqwth5vo","minWidth":450.0,"parentId":"gzf4hjxdo8","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":0.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"svq68rvpdn","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"gzf4hjxdo8","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"9twyngcwej","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"6x3z5yow7u","height":320.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"9twyngcwej","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":456.0,"minDynamicHeight":24.0},{"boxShadow":"none","mobileBottomRow":70.0,"widgetName":"ModalRabbitmq","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":31.0,"bottomRow":32.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":320.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas4Copy1Copy","displayName":"Canvas","topRow":0.0,"bottomRow":320.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":240.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Set_Rabbitmq.run().then(() => {\n showAlert('Rabbitmq updated successfully', 'success');\n}).catch(() => {\n showAlert('Error updating rabbitmq', 'error');\n});\ncloseModal('ModalRabbitmq');}}","topRow":0.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"sourceData"},{"key":"schema.__root_schema__.children.events.defaultValue"},{"key":"schema.__root_schema__.children.enabled.accentColor"},{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"borderRadius"},{"key":"schema.__root_schema__.children.events.accentColor"},{"key":"submitButtonStyles.buttonColor"},{"key":"schema.__root_schema__.children.events.borderRadius"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":30.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.enabled))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"enabled","identifier":"enabled","position":0.0,"originalIdentifier":"enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Enabled"},"events":{"children":{},"dataType":"array","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.events))(FormRabbitmq.sourceData, FormRabbitmq.formData, FormRabbitmq.fieldState)}}","fieldType":"Multiselect","sourceData":[],"isCustomField":false,"accessor":"events","identifier":"events","position":2.0,"originalIdentifier":"events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormRabbitmq.sourceData, FormRabbitmq.formData, FormRabbitmq.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormRabbitmq.sourceData, FormRabbitmq.formData, FormRabbitmq.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Events","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n\n {\n \"label\": \"APPLICATION_STARTUP\",\n \"value\": \"APPLICATION_STARTUP\"\n },\n {\n \"label\": \"QRCODE_UPDATED\",\n \"value\": \"QRCODE_UPDATED\"\n },\n {\n \"label\": \"MESSAGES_SET\",\n \"value\": \"MESSAGES_SET\"\n },\n {\n \"label\": \"MESSAGES_UPSERT\",\n \"value\": \"MESSAGES_UPSERT\"\n },\n {\n \"label\": \"MESSAGES_UPDATE\",\n \"value\": \"MESSAGES_UPDATE\"\n },\n {\n \"label\": \"MESSAGES_DELETE\",\n \"value\": \"MESSAGES_DELETE\"\n },\n {\n \"label\": \"SEND_MESSAGE\",\n \"value\": \"SEND_MESSAGE\"\n },\n {\n \"label\": \"CONTACTS_SET\",\n \"value\": \"CONTACTS_SET\"\n },\n {\n \"label\": \"CONTACTS_UPSERT\",\n \"value\": \"CONTACTS_UPSERT\"\n },\n {\n \"label\": \"CONTACTS_UPDATE\",\n \"value\": \"CONTACTS_UPDATE\"\n },\n {\n \"label\": \"PRESENCE_UPDATE\",\n \"value\": \"PRESENCE_UPDATE\"\n },\n {\n \"label\": \"CHATS_SET\",\n \"value\": \"CHATS_SET\"\n },\n {\n \"label\": \"CHATS_UPSERT\",\n \"value\": \"CHATS_UPSERT\"\n },\n {\n \"label\": \"CHATS_UPDATE\",\n \"value\": \"CHATS_UPDATE\"\n },\n {\n \"label\": \"CHATS_DELETE\",\n \"value\": \"CHATS_DELETE\"\n },\n {\n \"label\": \"GROUPS_UPSERT\",\n \"value\": \"GROUPS_UPSERT\"\n },\n {\n \"label\": \"GROUP_UPDATE\",\n \"value\": \"GROUP_UPDATE\"\n },\n {\n \"label\": \"GROUP_PARTICIPANTS_UPDATE\",\n \"value\": \"GROUP_PARTICIPANTS_UPDATE\"\n },\n {\n \"label\": \"CONNECTION_UPDATE\",\n \"value\": \"CONNECTION_UPDATE\"\n },\n {\n \"label\": \"CALL\",\n \"value\": \"CALL\"\n },\n {\n \"label\": \"NEW_JWT_TOKEN\",\n \"value\": \"NEW_JWT_TOKEN\"\n }\n]"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Object","sourceData":{"name":"John","date_of_birth":"20/02/1990","employee_id":1001.0},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormRabbitmq","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.events.defaultValue"}],"displayName":"JSON Form","bottomRow":30.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Rabbitmq","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"enabled\": {{Find_Rabbitmq.data.enabled || false}},\n \"events\": {{Find_Rabbitmq.data.events || []}} \n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":63.0,"widgetId":"gdkpog7ep5","minWidth":450.0,"parentId":"rkuaegvcin","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":0.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"svq68rvpdn","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"rkuaegvcin","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"76vl08dr1n","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"6x3z5yow7u","height":320.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"76vl08dr1n","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":456.0,"minDynamicHeight":24.0},{"boxShadow":"none","mobileBottomRow":70.0,"widgetName":"ModalSettings","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":46.0,"bottomRow":516.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":470.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas4Copy","displayName":"Canvas","topRow":0.0,"bottomRow":470.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":240.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Set_Settings.run().then(() => {\n showAlert('Settings updated successfully', 'success');\n}).catch(() => {\n showAlert('Error updating Settings', 'error');\n});\ncloseModal('ModalSettings');}}","topRow":0.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":1.0,"dynamicBindingPathList":[{"key":"schema.__root_schema__.children.read_status.accentColor"},{"key":"schema.__root_schema__.children.read_status.defaultValue"},{"key":"schema.__root_schema__.children.read_messages.accentColor"},{"key":"schema.__root_schema__.children.read_messages.defaultValue"},{"key":"schema.__root_schema__.children.always_online.accentColor"},{"key":"schema.__root_schema__.children.always_online.defaultValue"},{"key":"schema.__root_schema__.children.groups_ignore.accentColor"},{"key":"schema.__root_schema__.children.groups_ignore.defaultValue"},{"key":"schema.__root_schema__.children.msg_call.accentColor"},{"key":"schema.__root_schema__.children.msg_call.defaultValue"},{"key":"schema.__root_schema__.children.reject_call.accentColor"},{"key":"schema.__root_schema__.children.reject_call.defaultValue"},{"key":"borderRadius"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.msg_call.borderRadius"},{"key":"submitButtonStyles.buttonColor"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":45.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"reject_call":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.reject_call))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"reject_call","identifier":"reject_call","position":0.0,"originalIdentifier":"reject_call","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Reject Call"},"msg_call":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.msg_call))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","fieldType":"Text Input","sourceData":"Não aceitamos chamadas!","isCustomField":false,"accessor":"msg_call","identifier":"msg_call","position":1.0,"originalIdentifier":"msg_call","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Msg Call"},"groups_ignore":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.groups_ignore))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"groups_ignore","identifier":"groups_ignore","position":2.0,"originalIdentifier":"groups_ignore","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Groups Ignore"},"always_online":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.always_online))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"always_online","identifier":"always_online","position":3.0,"originalIdentifier":"always_online","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Always Online"},"read_messages":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.read_messages))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"read_messages","identifier":"read_messages","position":4.0,"originalIdentifier":"read_messages","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Read Messages"},"read_status":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.read_status))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"read_status","identifier":"read_status","position":5.0,"originalIdentifier":"read_status","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Read Status"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Object","sourceData":{"name":"John","date_of_birth":"20/02/1990","employee_id":1001.0},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormSettings","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.reject_call.defaultValue"},{"key":"schema.__root_schema__.children.groups_ignore.defaultValue"},{"key":"schema.__root_schema__.children.always_online.defaultValue"},{"key":"schema.__root_schema__.children.read_messages.defaultValue"},{"key":"schema.__root_schema__.children.read_status.defaultValue"},{"key":"schema.__root_schema__.children.msg_call.defaultValue"}],"displayName":"JSON Form","bottomRow":45.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Settings","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"reject_call\": {{Find_Settings.data.reject_call || false}},\n \"msg_call\": {{Find_Settings.data.msg_call}},\n \"groups_ignore\": {{Find_Settings.data.groups_ignore || false}},\n \"always_online\": {{Find_Settings.data.always_online || false}},\n \"read_messages\": {{Find_Settings.data.read_messages || false}},\n \"read_status\": {{Find_Settings.data.read_status || false}}\n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":64.0,"widgetId":"3wajdobhry","minWidth":450.0,"parentId":"bj66ktxeor","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":0.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"svq68rvpdn","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"bj66ktxeor","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"9pvl5efylb","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"6x3z5yow7u","height":470.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"9pvl5efylb","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":456.0,"minDynamicHeight":24.0},{"boxShadow":"none","mobileBottomRow":70.0,"widgetName":"ModalChatwoot","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":50.0,"bottomRow":780.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":730.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas4CopyCopy","displayName":"Canvas","topRow":0.0,"bottomRow":730.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":730.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Set_Chatwoot.run().then(() => {\n showAlert('Chatwoot updated successfully', 'success');\n}).catch(() => {\n showAlert('Error updating Chatwoot', 'error');\n});\ncloseModal('ModalChatwoot');}}","topRow":0.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"schema.__root_schema__.children.conversation_pending.accentColor"},{"key":"schema.__root_schema__.children.conversation_pending.defaultValue"},{"key":"schema.__root_schema__.children.reopen_conversation.accentColor"},{"key":"schema.__root_schema__.children.reopen_conversation.defaultValue"},{"key":"schema.__root_schema__.children.sign_msg.accentColor"},{"key":"schema.__root_schema__.children.sign_msg.defaultValue"},{"key":"schema.__root_schema__.children.url.borderRadius"},{"key":"schema.__root_schema__.children.url.accentColor"},{"key":"schema.__root_schema__.children.url.defaultValue"},{"key":"schema.__root_schema__.children.token.borderRadius"},{"key":"schema.__root_schema__.children.token.accentColor"},{"key":"schema.__root_schema__.children.token.defaultValue"},{"key":"schema.__root_schema__.children.account_id.accentColor"},{"key":"schema.__root_schema__.children.account_id.defaultValue"},{"key":"schema.__root_schema__.children.enabled.accentColor"},{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"borderRadius"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.account_id.borderRadius"},{"key":"schema.__root_schema__.children.webhook_url.defaultValue"},{"key":"schema.__root_schema__.children.webhook_url.accentColor"},{"key":"schema.__root_schema__.children.webhook_url.borderRadius"},{"key":"schema.__root_schema__.defaultValue"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"schema.__root_schema__.children.name_inbox.defaultValue"},{"key":"schema.__root_schema__.children.name_inbox.borderRadius"},{"key":"schema.__root_schema__.children.name_inbox.accentColor"},{"key":"submitButtonStyles.buttonColor"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":71.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.enabled))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"enabled","identifier":"enabled","position":0.0,"originalIdentifier":"enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Enabled"},"account_id":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.account_id))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Text Input","sourceData":"1","isCustomField":false,"accessor":"account_id","identifier":"account_id","position":1.0,"originalIdentifier":"account_id","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Account Id"},"token":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.token))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Password Input","sourceData":"uHquVJgCdkee8JPJm9YBkdH6","isCustomField":false,"accessor":"token","identifier":"token","position":2.0,"originalIdentifier":"token","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Token","shouldAllowAutofill":true},"url":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.url))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Text Input","sourceData":"https://chatwoot.evolution.dgcode.com.br","isCustomField":false,"accessor":"url","identifier":"url","position":3.0,"originalIdentifier":"url","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Url"},"sign_msg":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.sign_msg))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"sign_msg","identifier":"sign_msg","position":4.0,"originalIdentifier":"sign_msg","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Sign Msg"},"reopen_conversation":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.reopen_conversation))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"reopen_conversation","identifier":"reopen_conversation","position":5.0,"originalIdentifier":"reopen_conversation","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Reopen Conversation"},"conversation_pending":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.conversation_pending))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"conversation_pending","identifier":"conversation_pending","position":6.0,"originalIdentifier":"conversation_pending","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Conversation Pending"},"webhook_url":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.webhook_url))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Text Input","sourceData":"https://api.evolution.dgcode.com.br/chatwoot/webhook/evolution-cwId-4","isCustomField":false,"accessor":"webhook_url","identifier":"webhook_url","position":8.0,"originalIdentifier":"webhook_url","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":true,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Webhook Url"},"name_inbox":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.name_inbox))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Text Input","sourceData":"evolution-cwId-4","isCustomField":false,"accessor":"name_inbox","identifier":"name_inbox","position":7.0,"originalIdentifier":"name_inbox","accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":true,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Name Inbox"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Object","sourceData":{"name":"John","date_of_birth":"20/02/1990","employee_id":1001.0},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormChatwoot","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"schema.__root_schema__.children.sign_msg.defaultValue"},{"key":"schema.__root_schema__.children.reopen_conversation.defaultValue"},{"key":"schema.__root_schema__.children.conversation_pending.defaultValue"},{"key":"schema.__root_schema__.children.account_id.defaultValue"},{"key":"schema.__root_schema__.children.webhook_url.defaultValue"}],"displayName":"JSON Form","bottomRow":71.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Chatwoot","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"enabled\": {{Find_Chatwoot.data.enabled || false}},\n\t\"account_id\": {{Find_Chatwoot.data.account_id}},\n \"token\": {{Find_Chatwoot.data.token}},\n \"url\": {{Find_Chatwoot.data.url}},\n \"sign_msg\": {{Find_Chatwoot.data.sign_msg || false}},\n \"reopen_conversation\": {{Find_Chatwoot.data.reopen_conversation || false}},\n \"conversation_pending\": {{Find_Chatwoot.data.conversation_pending || false}},\n\t\t\"name_inbox\": {{Find_Chatwoot.data.name_inbox}},\n\t\t\"webhook_url\": {{Find_Chatwoot.data.webhook_url}}\n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":63.0,"widgetId":"c5v1lwuyrk","minWidth":450.0,"parentId":"wqoo05rt9h","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":0.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"svq68rvpdn","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"wqoo05rt9h","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"kekx3o71p4","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"6x3z5yow7u","height":730.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"kekx3o71p4","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":692.0,"minDynamicHeight":24.0},{"boxShadow":"none","mobileBottomRow":70.0,"widgetName":"ModalTypebot","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":45.0,"bottomRow":665.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":620.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas4CopyCopyCopy","displayName":"Canvas","topRow":0.0,"bottomRow":620.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":730.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Set_Typebot.run().then(() => {\n showAlert('Typebot updated successfully', 'success');\n}).catch(() => {\n showAlert('Error updating Typebot', 'error');\n});\ncloseModal('ModalTypebot');}}","topRow":1.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"schema.__root_schema__.defaultValue"},{"key":"schema.__root_schema__.borderRadius"},{"key":"submitButtonStyles.buttonColor"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"schema.__root_schema__.children.enabled.accentColor"},{"key":"schema.__root_schema__.children.url.defaultValue"},{"key":"schema.__root_schema__.children.url.accentColor"},{"key":"schema.__root_schema__.children.url.borderRadius"},{"key":"schema.__root_schema__.children.typebot.defaultValue"},{"key":"schema.__root_schema__.children.typebot.accentColor"},{"key":"schema.__root_schema__.children.typebot.borderRadius"},{"key":"schema.__root_schema__.children.expire.defaultValue"},{"key":"schema.__root_schema__.children.expire.accentColor"},{"key":"schema.__root_schema__.children.expire.borderRadius"},{"key":"schema.__root_schema__.children.keyword_finish.defaultValue"},{"key":"schema.__root_schema__.children.keyword_finish.accentColor"},{"key":"schema.__root_schema__.children.keyword_finish.borderRadius"},{"key":"schema.__root_schema__.children.delay_message.defaultValue"},{"key":"schema.__root_schema__.children.delay_message.accentColor"},{"key":"schema.__root_schema__.children.delay_message.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":68.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.enabled))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"enabled","identifier":"enabled","position":0.0,"originalIdentifier":"enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Enabled"},"url":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.url))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","fieldType":"Text Input","sourceData":"https://chat2.manualnegocioonline.com.br","isCustomField":false,"accessor":"url","identifier":"url","position":1.0,"originalIdentifier":"url","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Url"},"typebot":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.typebot))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","fieldType":"Text Input","sourceData":"francis-whatsapp-pesquisa-satisfacao-copy-copy-74fk24p","isCustomField":false,"accessor":"typebot","identifier":"typebot","position":2.0,"originalIdentifier":"typebot","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Typebot"},"expire":{"children":{},"dataType":"number","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.expire))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","fieldType":"Number Input","sourceData":20.0,"isCustomField":false,"accessor":"expire","identifier":"expire","position":3.0,"originalIdentifier":"expire","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Expire"},"keyword_finish":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.keyword_finish))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","fieldType":"Text Input","sourceData":"#SAIR","isCustomField":false,"accessor":"keyword_finish","identifier":"keyword_finish","position":4.0,"originalIdentifier":"keyword_finish","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Keyword Finish"},"delay_message":{"children":{},"dataType":"number","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.delay_message))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","fieldType":"Number Input","sourceData":3000.0,"isCustomField":false,"accessor":"delay_message","identifier":"delay_message","position":5.0,"originalIdentifier":"delay_message","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Delay Message"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","fieldType":"Object","sourceData":{"enabled":true,"url":"https://chat2.manualnegocioonline.com.br","typebot":"francis-whatsapp-pesquisa-satisfacao-copy-copy-74fk24p","expire":20.0,"keyword_finish":"#SAIR","delay_message":3000.0,"unknown_message":"Mensagem não reconhecida2"},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormTypebot","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"schema.__root_schema__.children.sign_msg.defaultValue"},{"key":"schema.__root_schema__.children.reopen_conversation.defaultValue"},{"key":"schema.__root_schema__.children.conversation_pending.defaultValue"},{"key":"schema.__root_schema__.children.account_id.defaultValue"},{"key":"schema.__root_schema__.children.webhook_url.defaultValue"}],"displayName":"JSON Form","bottomRow":60.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Set Typebot","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"enabled\": {{Find_Typebot.data.enabled || false}},\n \"url\": {{Find_Typebot.data.url}},\n \"typebot\": {{Find_Typebot.data.typebot}},\n \"expire\": {{Find_Typebot.data.expire}},\n \"keyword_finish\": {{Find_Typebot.data.keyword_finish}},\n \"delay_message\": {{Find_Typebot.data.delay_message}}\n \n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":63.0,"widgetId":"fyu0oxvlx7","minWidth":450.0,"parentId":"bvxewkusbf","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":1.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"svq68rvpdn","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"bvxewkusbf","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"4n3m0wo9tx","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"6x3z5yow7u","height":620.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"4n3m0wo9tx","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":692.0,"minDynamicHeight":24.0},{"boxShadow":"none","mobileBottomRow":70.0,"widgetName":"ModalTypebotChangeSessionStatu","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":45.0,"bottomRow":415.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":370.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas4CopyCopyCopyCopy","displayName":"Canvas","topRow":0.0,"bottomRow":370.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":730.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Set_TypebotChangeSessionStatus.run().then(() => {\n showAlert('Typebot Change Session updated successfully', 'success');\n}).catch(() => {\n showAlert('Error updating Session Typebot', 'error');\n});\ncloseModal('ModalTypebotChangeSessionStatu');}}","topRow":1.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"schema.__root_schema__.defaultValue"},{"key":"schema.__root_schema__.borderRadius"},{"key":"submitButtonStyles.buttonColor"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"schema.__root_schema__.children.remoteJid.defaultValue"},{"key":"schema.__root_schema__.children.remoteJid.accentColor"},{"key":"schema.__root_schema__.children.remoteJid.borderRadius"},{"key":"schema.__root_schema__.children.status.defaultValue"},{"key":"schema.__root_schema__.children.status.accentColor"},{"key":"schema.__root_schema__.children.status.borderRadius"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":60.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"remoteJid":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.remoteJid))(FormTypebotChangeSessionStatus.sourceData, FormTypebotChangeSessionStatus.formData, FormTypebotChangeSessionStatus.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"remoteJid","identifier":"remoteJid","position":0.0,"originalIdentifier":"remoteJid","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormTypebotChangeSessionStatus.sourceData, FormTypebotChangeSessionStatus.formData, FormTypebotChangeSessionStatus.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormTypebotChangeSessionStatus.sourceData, FormTypebotChangeSessionStatus.formData, FormTypebotChangeSessionStatus.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":true,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Remote Jid (WhatsApp. Ex: 5511968162699@s.whatsapp.net)"},"status":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.status))(FormTypebotChangeSessionStatus.sourceData, FormTypebotChangeSessionStatus.formData, FormTypebotChangeSessionStatus.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"status","identifier":"status","position":1.0,"originalIdentifier":"status","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormTypebotChangeSessionStatus.sourceData, FormTypebotChangeSessionStatus.formData, FormTypebotChangeSessionStatus.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormTypebotChangeSessionStatus.sourceData, FormTypebotChangeSessionStatus.formData, FormTypebotChangeSessionStatus.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Status (opened, paused or closed)"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","fieldType":"Object","sourceData":{"enabled":true,"url":"https://chat2.manualnegocioonline.com.br","typebot":"francis-whatsapp-pesquisa-satisfacao-copy-copy-74fk24p","expire":20.0,"keyword_finish":"#SAIR","delay_message":3000.0,"unknown_message":"Mensagem não reconhecida2"},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormTypebotChangeSessionStatus","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.sign_msg.defaultValue"},{"key":"schema.__root_schema__.children.reopen_conversation.defaultValue"},{"key":"schema.__root_schema__.children.conversation_pending.defaultValue"},{"key":"schema.__root_schema__.children.account_id.defaultValue"},{"key":"schema.__root_schema__.children.webhook_url.defaultValue"}],"displayName":"JSON Form","bottomRow":35.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Typebot Change Session Status","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n \"remoteJid\": \"@s.whatsapp.net\",\n \"status\": \"\"\n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":63.0,"widgetId":"28lli5jdvr","minWidth":450.0,"parentId":"8m0yhclt7g","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":1.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"svq68rvpdn","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"8m0yhclt7g","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"84rj87eew6","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"6x3z5yow7u","height":370.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"84rj87eew6","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":692.0,"minDynamicHeight":24.0},{"resetFormOnClick":false,"boxShadow":"none","mobileBottomRow":50.0,"widgetName":"Button2","onClick":"{{Fetch_Instance.run();\nFetch_PrivacySettings.run();\nshowModal('ModalProfile');}}","buttonColor":"#2770fc","dynamicPropertyPathList":[{"key":"isVisible"}],"displayName":"Button","iconSVG":"/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg","searchTags":["click","submit"],"topRow":28.0,"bottomRow":32.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","hideCard":false,"mobileRightColumn":21.0,"animateLoading":true,"parentColumnSpace":17.9375,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":1.0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"isVisible"}],"text":"Edit Profile","isDisabled":false,"key":"zhd9fobc1z","isDeprecated":false,"rightColumn":13.0,"isDefaultClickDisabled":true,"iconName":"edit","widgetId":"uh6430ysqy","minWidth":120.0,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? TableInstances.selectedRow.instance ? TableInstances.selectedRow.Status === 'open' ? true : false : false : false}}","recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"responsiveBehavior":"hug","originalTopRow":51.0,"disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":5.0,"originalBottomRow":55.0,"buttonVariant":"PRIMARY","iconAlign":"left","placement":"CENTER"},{"boxShadow":"none","mobileBottomRow":59.0,"widgetName":"ModalProfile","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":35.0,"bottomRow":975.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":940.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas5","displayName":"Canvas","topRow":0.0,"bottomRow":940.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":240.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Update_ProfileName.run().then(() => {\n showAlert('ProfileName successfully saved!', 'success');\n}).catch(() => {\n showAlert('Error updating ProfileName', 'error');\n});\nUpdate_ProfilePicture.run().then(() => {\n showAlert('ProfilePicture successfully saved!', 'success');\n}).catch(() => {\n showAlert('Error updating ProfilePicture', 'error');\n});\nUpdate_ProfileStatus.run().then(() => {\n showAlert('ProfileStatus successfully saved!', 'success');\n}).catch(() => {\n showAlert('Error updating ProfileStatus', 'error');\n});\nUpdate_PrivacySettings.run().then(() => {\n showAlert('PrivacySttings successfully saved!', 'success');\n}).catch(() => {\n showAlert('Error updating PrivacySttings', 'error');\n});\nfetch_Instances.run();\ncloseModal('ModalProfile');}}","topRow":0.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"submitButtonStyles.buttonColor"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"resetButtonStyles.borderRadius"},{"key":"schema.__root_schema__.defaultValue"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"schema.__root_schema__.children.profileName.defaultValue"},{"key":"schema.__root_schema__.children.profileName.accentColor"},{"key":"schema.__root_schema__.children.profileName.borderRadius"},{"key":"schema.__root_schema__.children.profileStatus.defaultValue"},{"key":"schema.__root_schema__.children.profileStatus.accentColor"},{"key":"schema.__root_schema__.children.profileStatus.borderRadius"},{"key":"schema.__root_schema__.children.profilePictureUrl.defaultValue"},{"key":"schema.__root_schema__.children.profilePictureUrl.borderRadius"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.profilePictureUrl.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.readreceipts.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.children.readreceipts.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.readreceipts.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.children.profile.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.children.profile.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.profile.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.children.status.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.children.status.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.status.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.children.online.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.children.online.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.online.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.children.last.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.children.last.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.last.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.children.groupadd.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.children.groupadd.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.groupadd.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.cellBorderRadius"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":92.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"profileName":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.profileName))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"profileName","identifier":"profileName","position":1.0,"originalIdentifier":"profileName","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Profile Name"},"profileStatus":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.profileStatus))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"profileStatus","identifier":"profileStatus","position":2.0,"originalIdentifier":"profileStatus","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Profile Status"},"profilePictureUrl":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.profilePictureUrl))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Text Input","sourceData":"https://pps.whatsapp.net/v/t61.24694-24/359816109_329991892684302_7466658594467953893_n.jpg?ccb=11-4&oh=01_AdTpgc4O-xiZDr2v0OLu_jssxaw8dsws819srLMOzUwEnw&oe=64D3C41E","isCustomField":false,"accessor":"profilePictureUrl","identifier":"profilePictureUrl","position":0.0,"originalIdentifier":"profilePictureUrl","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Profile Picture Url"},"privacySettings":{"children":{"readreceipts":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings.readreceipts))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Select","sourceData":"all","isCustomField":false,"accessor":"readreceipts","identifier":"readreceipts","position":0.0,"originalIdentifier":"readreceipts","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Readreceipts","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"all\",\n \"value\": \"all\"\n },\n {\n \"label\": \"none\",\n \"value\": \"none\"\n }\n]"},"profile":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings.profile))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Select","sourceData":"all","isCustomField":false,"accessor":"profile","identifier":"profile","position":1.0,"originalIdentifier":"profile","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Profile","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"all\",\n \"value\": \"all\"\n },\n {\n \"label\": \"contacts\",\n \"value\": \"contacts\"\n },\n {\n \"label\": \"contact_blacklist\",\n \"value\": \"contact_blacklist\"\n },\n {\n \"label\": \"none\",\n \"value\": \"none\"\n }\n]"},"status":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings.status))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Select","sourceData":"contacts","isCustomField":false,"accessor":"status","identifier":"status","position":2.0,"originalIdentifier":"status","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Status","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"all\",\n \"value\": \"all\"\n },\n {\n \"label\": \"contacts\",\n \"value\": \"contacts\"\n },\n {\n \"label\": \"contact_blacklist\",\n \"value\": \"contact_blacklist\"\n },\n {\n \"label\": \"none\",\n \"value\": \"none\"\n }\n]"},"online":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings.online))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Select","sourceData":"all","isCustomField":false,"accessor":"online","identifier":"online","position":3.0,"originalIdentifier":"online","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Online","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"all\",\n \"value\": \"all\"\n },\n {\n \"label\": \"match_last_seen\",\n \"value\": \"match_last_seen\"\n }\n]"},"last":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings.last))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Select","sourceData":"contacts","isCustomField":false,"accessor":"last","identifier":"last","position":4.0,"originalIdentifier":"last","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Last","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"all\",\n \"value\": \"all\"\n },\n {\n \"label\": \"contacts\",\n \"value\": \"contacts\"\n },\n {\n \"label\": \"contact_blacklist\",\n \"value\": \"contact_blacklist\"\n },\n {\n \"label\": \"none\",\n \"value\": \"none\"\n }\n]"},"groupadd":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings.groupadd))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Select","sourceData":"all","isCustomField":false,"accessor":"groupadd","identifier":"groupadd","position":5.0,"originalIdentifier":"groupadd","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Groupadd","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"all\",\n \"value\": \"all\"\n },\n {\n \"label\": \"contacts\",\n \"value\": \"contacts\"\n },\n {\n \"label\": \"contact_blacklist\",\n \"value\": \"contact_blacklist\"\n },\n {\n \"label\": \"none\",\n \"value\": \"none\"\n }\n]"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Object","sourceData":{"readreceipts":"all","profile":"all","status":"contacts","online":"all","last":"contacts","groupadd":"all"},"isCustomField":false,"accessor":"privacySettings","identifier":"privacySettings","position":3.0,"originalIdentifier":"privacySettings","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Privacy Settings","labelStyle":"BOLD"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Object","sourceData":{"name":"John","date_of_birth":"20/02/1990","employee_id":1001.0},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormProfile","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[],"displayName":"JSON Form","bottomRow":92.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Edit Profile","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"profilePictureUrl\": \"{{Fetch_Instance.data.instance.profilePictureUrl}}\",\n\t\"profileName\": \"{{Fetch_Instance.data.instance.profileName}}\",\n\t\"profileStatus\": \"{{Fetch_Instance.data.instance.profileStatus}}\",\n\t\"privacySettings\": {\n \"readreceipts\": {{Fetch_PrivacySettings.data.readreceipts}},\n \"profile\": {{Fetch_PrivacySettings.data.profile}},\n \"status\": {{Fetch_PrivacySettings.data.status}},\n \"online\": {{Fetch_PrivacySettings.data.online}},\n \"last\": {{Fetch_PrivacySettings.data.last}},\n \"groupadd\": {{Fetch_PrivacySettings.data.groupadd}}\n\t\t}\n}","resetButtonLabel":"","key":"72nqor459k","backgroundColor":"#fff","isDeprecated":false,"rightColumn":64.0,"widgetId":"hguxefink2","minWidth":450.0,"parentId":"basosxf5qt","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":0.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"mepf0qsn1e","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"basosxf5qt","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"ss96aihlej","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"4ktj7iym0b","height":940.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"ss96aihlej","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":35.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":456.0,"minDynamicHeight":24.0}]},"layoutOnLoadActions":[[{"id":"Home_Scripts.verifyConfig","name":"Scripts.verifyConfig","collectionId":"Home_Scripts","clientSideExecution":true,"confirmBeforeExecute":false,"pluginType":"JS","jsonPathKeys":[],"timeoutInMillisecond":10000.0}],[{"id":"Home_Find_Rabbitmq","name":"Find_Rabbitmq","confirmBeforeExecute":false,"pluginType":"API","jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"timeoutInMillisecond":10000.0},{"id":"Home_Find_Websocket","name":"Find_Websocket","confirmBeforeExecute":false,"pluginType":"API","jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"timeoutInMillisecond":10000.0}]],"layoutOnLoadActionErrors":[],"validOnPageLoadActions":true,"id":"Home","deleted":false,"policies":[],"userPermissions":[]}],"userPermissions":[],"policies":[],"isHidden":false},"publishedPage":{"name":"Home","slug":"home","customSlug":"","layouts":[{"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":4896.0,"snapColumns":64.0,"detachFromLayout":true,"widgetId":"0","topRow":0.0,"bottomRow":480.0,"containerStyle":"none","snapRows":124.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"version":83.0,"minHeight":1292.0,"dynamicTriggerPathList":[],"parentColumnSpace":1.0,"dynamicBindingPathList":[],"leftColumn":0.0,"children":[{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","borderColor":"#E0DEDE","isVisibleDownload":true,"iconSVG":"https://appcdn.appsmith.com/static/media/icon.24905525921dd6f5ff46d0dd843b9e12.svg","topRow":6.0,"isSortable":true,"type":"TABLE_WIDGET_V2","inlineEditingSaveOption":"ROW_LEVEL","animateLoading":true,"dynamicBindingPathList":[{"key":"tableData"},{"key":"primaryColumns.customColumn9.boxShadow"},{"key":"primaryColumns.customColumn9.borderRadius"},{"key":"primaryColumns.customColumn9.menuColor"},{"key":"primaryColumns.customColumn8.computedValue"},{"key":"primaryColumns.customColumn7.computedValue"},{"key":"primaryColumns.customColumn6.computedValue"},{"key":"primaryColumns.customColumn5.computedValue"},{"key":"primaryColumns.customColumn2.computedValue"},{"key":"primaryColumns.customColumn1.textColor"},{"key":"primaryColumns.customColumn1.cellBackground"},{"key":"primaryColumns.customColumn1.computedValue"},{"key":"primaryColumns.instance.computedValue"},{"key":"isVisible"},{"key":"accentColor"},{"key":"borderRadius"},{"key":"boxShadow"}],"needsHeightForContent":true,"leftColumn":14.0,"delimiter":",","defaultSelectedRowIndex":0.0,"showInlineEditingOptionDropdown":true,"accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisibleFilters":true,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","enableClientSideSearch":true,"version":2.0,"totalRecordsCount":0.0,"isLoading":false,"childStylesheet":{"button":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"menuButton":{"menuColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"iconButton":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"editActions":{"saveButtonColor":"{{appsmith.theme.colors.primaryColor}}","saveBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","discardButtonColor":"{{appsmith.theme.colors.primaryColor}}","discardBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"}},"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","columnUpdatedAt":1.690746223636E12,"defaultSelectedRowIndices":[0.0],"mobileBottomRow":32.0,"widgetName":"TableInstances","defaultPageSize":0.0,"columnOrder":["instance","customColumn5","customColumn1","customColumn2","customColumn6","customColumn7","customColumn8","customColumn9"],"dynamicPropertyPathList":[{"key":"primaryColumns.customColumn1.cellBackground"},{"key":"isVisible"}],"displayName":"Table","bottomRow":42.0,"columnWidthMap":{"customColumn3":92.0,"customColumn2":340.0,"customColumn5":254.0,"customColumn9":60.0},"parentRowSpace":10.0,"hideCard":false,"mobileRightColumn":36.0,"parentColumnSpace":20.078125,"dynamicTriggerPathList":[{"key":"primaryColumns.customColumn9.menuItems.menuItemjfzsd8g6yr.onClick"},{"key":"primaryColumns.customColumn9.menuItems.menuItem4sqork5nmt.onClick"},{"key":"primaryColumns.customColumn9.menuItems.menuItemig6ua4ixjx.onClick"},{"key":"primaryColumns.customColumn9.menuItems.menuItemx9oyhys8cj.onClick"},{"key":"primaryColumns.customColumn9.menuItems.menuItemxk5jvvwwef.onClick"},{"key":"primaryColumns.customColumn9.menuItems.menuItem16ysonwzrq.onClick"},{"key":"primaryColumns.customColumn9.menuItems.menuItembtatfbml4y.onClick"}],"borderWidth":"1","primaryColumns":{"instance":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":0.0,"width":150.0,"originalId":"instance","id":"instance","alias":"instance","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":true,"isDerived":false,"label":"Instance","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.instanceName))}}","sticky":"","validation":{}},"customColumn1":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":1.0,"width":150.0,"originalId":"customColumn1","id":"customColumn1","alias":"Status","horizontalAlignment":"CENTER","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":true,"isDerived":true,"label":"Status","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.status))}}","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF","cellBackground":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.status === \"open\" ? \"#499B51\" : currentRow.instance.status === \"close\" ? \"#DD524C\" : \"#2770FC\"))}}","textColor":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.colors.backgroundColor)))}}"},"customColumn2":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":2.0,"width":150.0,"originalId":"customColumn2","id":"customColumn2","alias":"Apikey","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":true,"isDerived":true,"label":"Apikey","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.apikey))}}","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF"},"customColumn5":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":5.0,"width":150.0,"originalId":"customColumn5","id":"customColumn5","alias":"Owner","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":true,"isDerived":true,"label":"Owner","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.owner))}}","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF"},"customColumn6":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":6.0,"width":150.0,"originalId":"customColumn6","id":"customColumn6","alias":"profilePictureUrl","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":false,"isDerived":true,"label":"profilePictureUrl","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.profilePictureUrl))}}","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF"},"customColumn7":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":7.0,"width":150.0,"originalId":"customColumn7","id":"customColumn7","alias":"profileName","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":false,"isDerived":true,"label":"profileName","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.profileName))}}","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF"},"customColumn8":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":8.0,"width":150.0,"originalId":"customColumn8","id":"customColumn8","alias":"profileStatus","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":false,"isDerived":true,"label":"profileStatus","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( currentRow.instance.profileStatus))}}","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF"},"customColumn9":{"allowCellWrapping":false,"allowSameOptionsInNewRow":true,"index":9.0,"width":150.0,"originalId":"customColumn9","id":"customColumn9","alias":"#","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"menuButton","textSize":"0.875rem","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellEditable":false,"isEditable":false,"isCellVisible":true,"isDerived":true,"label":"#","isSaveVisible":true,"isDiscardVisible":true,"computedValue":"","sticky":"","validation":{},"buttonStyle":"rgb(3, 179, 101)","labelColor":"#FFFFFF","menuColor":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.colors.primaryColor)))}}","borderRadius":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.borderRadius.appBorderRadius)))}}","boxShadow":"{{TableInstances.processedTableData.map((currentRow, currentIndex) => ( \"none\"))}}","customAlias":"","menuItemsSource":"STATIC","menuButtonLabel":" ","menuButtoniconName":"chevron-down","menuItems":{"menuItemjfzsd8g6yr":{"id":"menuItemjfzsd8g6yr","index":0.0,"label":"Webhook","widgetId":"vygcejtdun","isDisabled":false,"isVisible":true,"onClick":"{{Find_Webhook.run({\n //\"key\": \"value\",\n});\nshowModal('ModalWebhook');}}"},"menuItem4sqork5nmt":{"id":"menuItem4sqork5nmt","index":1.0,"label":"Settings","widgetId":"0hw8oqpwcj","isDisabled":false,"isVisible":true,"onClick":"{{Find_Settings.run();\nshowModal('ModalSettings');}}"},"menuItemx9oyhys8cj":{"id":"menuItemx9oyhys8cj","index":2.0,"label":"Websocket","widgetId":"j75a4k6ecq","isDisabled":false,"isVisible":true,"onClick":"{{Find_Websocket.run();\nshowModal('ModalWebsocket');}}"},"menuItemxk5jvvwwef":{"id":"menuItemxk5jvvwwef","index":3.0,"label":"Rabbitmq","widgetId":"3u94ov6qst","isDisabled":false,"isVisible":true,"onClick":"{{Find_Rabbitmq.run();\nshowModal('ModalRabbitmq');}}"},"menuItemig6ua4ixjx":{"id":"menuItemig6ua4ixjx","index":4.0,"label":"Chatwoot","widgetId":"fuq5dtgbqc","isDisabled":false,"isVisible":true,"onClick":"{{Find_Chatwoot.run()\nshowModal('ModalChatwoot');}}"},"menuItem16ysonwzrq":{"id":"menuItem16ysonwzrq","index":5.0,"label":"Set Typebot","widgetId":"fi9nb2bace","isDisabled":false,"isVisible":true,"onClick":"{{Find_Typebot.run()\nshowModal('ModalTypebot');}}"},"menuItembtatfbml4y":{"id":"menuItembtatfbml4y","index":6.0,"label":"TypeBot Set Session Status","widgetId":"7f6mg653ra","isDisabled":false,"isVisible":true,"onClick":"{{showModal('ModalTypebotChangeSessionStatu');}}"}}}},"key":"e3yxhhyeel","canFreezeColumn":true,"isDeprecated":false,"rightColumn":63.0,"textSize":"0.875rem","widgetId":"uupm7enu8u","minWidth":450.0,"tableData":"{{fetch_Instances.data}}","label":"Data","searchKey":"","parentId":"0","renderMode":"CANVAS","mobileTopRow":4.0,"horizontalAlignment":"LEFT","isVisibleSearch":true,"responsiveBehavior":"fill","mobileLeftColumn":2.0,"isVisiblePagination":true,"verticalAlignment":"CENTER"},{"resetFormOnClick":false,"boxShadow":"none","mobileBottomRow":5.0,"widgetName":"BtnNewInstance","onClick":"{{showModal('ModalInstance');}}","buttonColor":"rgb(3, 179, 101)","dynamicPropertyPathList":[{"key":"isVisible"}],"displayName":"Button","iconSVG":"/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg","searchTags":["click","submit"],"topRow":1.0,"bottomRow":5.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","hideCard":false,"mobileRightColumn":8.0,"animateLoading":true,"parentColumnSpace":11.828125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":7.0,"dynamicBindingPathList":[{"key":"isVisible"},{"key":"borderRadius"}],"text":"New Instance","isDisabled":false,"key":"crzwqv3pdr","isDeprecated":false,"rightColumn":19.0,"isDefaultClickDisabled":true,"iconName":"add","widgetId":"84ei9q1ugm","minWidth":120.0,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":1.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":0.0,"buttonVariant":"PRIMARY","iconAlign":"left","placement":"CENTER"},{"boxShadow":"none","mobileBottomRow":74.0,"widgetName":"ModalQrcode","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":50.0,"bottomRow":500.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":45.0,"animateLoading":true,"parentColumnSpace":11.828125,"leftColumn":21.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas1","displayName":"Canvas","topRow":0.0,"bottomRow":450.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":240.0,"mobileRightColumn":283.875,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","mobileBottomRow":52.0,"widgetName":"ImageQrcode","displayName":"Image","iconSVG":"https://appcdn.appsmith.com/static/media/icon.30c8cbd442cce232b01ba2d434c53a53.svg","topRow":6.0,"bottomRow":43.0,"parentRowSpace":10.0,"type":"IMAGE_WIDGET","hideCard":false,"mobileRightColumn":55.0,"animateLoading":true,"parentColumnSpace":20.078125,"dynamicTriggerPathList":[],"imageShape":"RECTANGLE","leftColumn":2.0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"image"}],"defaultImage":"https://manualnegocioonline.com.br/downloads/evolution-api-favicon2.png","key":"4chlj9l432","image":"{{Connect.data.base64}}","isDeprecated":false,"rightColumn":61.0,"objectFit":"contain","widgetId":"27dpgapd7q","isVisible":true,"version":1.0,"parentId":"we6j3r2byy","renderMode":"CANVAS","isLoading":false,"mobileTopRow":40.0,"maxZoomLevel":1.0,"enableDownload":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":43.0,"enableRotation":false},{"boxShadow":"none","mobileBottomRow":4.0,"widgetName":"IconButton1","onClick":"{{closeModal('ModalQrcode');\nfetch_Instances.run()}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","displayName":"Icon button","iconSVG":"/static/media/icon.80fc7466c0d7181ec0271de7fda795ec.svg","searchTags":["click","submit"],"topRow":0.0,"bottomRow":4.0,"type":"ICON_BUTTON_WIDGET","hideCard":false,"mobileRightColumn":64.0,"animateLoading":true,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":58.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"iconSize":24.0,"isDisabled":false,"key":"pezy0hb491","isDeprecated":false,"rightColumn":64.0,"iconName":"cross","widgetId":"i1dw369dch","minWidth":50.0,"isVisible":true,"version":1.0,"parentId":"we6j3r2byy","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"hug","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":58.0,"buttonVariant":"TERTIARY"},{"mobileBottomRow":5.0,"widgetName":"Text1","displayName":"Text","iconSVG":"/static/media/icon.c3b6033f570046f8c6288d911333a827.svg","searchTags":["typography","paragraph","label"],"topRow":1.0,"bottomRow":5.0,"type":"TEXT_WIDGET","hideCard":false,"mobileRightColumn":41.0,"animateLoading":true,"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","dynamicTriggerPathList":[],"leftColumn":1.0,"dynamicBindingPathList":[{"key":"fontFamily"}],"shouldTruncate":false,"truncateButtonColor":"{{appsmith.theme.colors.primaryColor}}","text":"Qrcode","key":"9s8f10sepn","isDeprecated":false,"rightColumn":41.0,"textAlign":"LEFT","dynamicHeight":"AUTO_HEIGHT","widgetId":"mg2cqsi9fn","minWidth":450.0,"isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1.0,"parentId":"we6j3r2byy","renderMode":"CANVAS","isLoading":false,"mobileTopRow":1.0,"responsiveBehavior":"fill","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":1.0,"maxDynamicHeight":9000.0,"fontSize":"1.25rem","minDynamicHeight":4.0}],"isDisabled":false,"key":"e8r23nd8j4","isDeprecated":false,"rightColumn":283.875,"detachFromLayout":true,"widgetId":"we6j3r2byy","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"ljwryrjhy7","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"g8xx6ocuvi","height":450.0,"isDeprecated":false,"rightColumn":45.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"ljwryrjhy7","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":50.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":21.0,"maxDynamicHeight":9000.0,"width":456.0,"minDynamicHeight":24.0},{"resetFormOnClick":false,"boxShadow":"none","mobileBottomRow":5.0,"widgetName":"BtnConfig","onClick":"{{showModal('ModalConfig');}}","buttonColor":"#2563eb","dynamicPropertyPathList":[],"displayName":"Button","iconSVG":"/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg","searchTags":["click","submit"],"topRow":1.0,"bottomRow":5.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","hideCard":false,"mobileRightColumn":30.0,"animateLoading":true,"parentColumnSpace":11.828125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":1.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"text":"Access","isDisabled":false,"key":"crzwqv3pdr","isDeprecated":false,"rightColumn":7.0,"isDefaultClickDisabled":true,"iconName":"user","widgetId":"uegjpy37i6","minWidth":120.0,"isVisible":true,"recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":1.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":14.0,"buttonVariant":"PRIMARY","iconAlign":"left","placement":"CENTER"},{"boxShadow":"none","mobileBottomRow":73.0,"widgetName":"ModalConfig","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":49.0,"bottomRow":30.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":25.0,"minHeight":300.0,"animateLoading":true,"parentColumnSpace":11.75,"leftColumn":1.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas2","displayName":"Canvas","topRow":0.0,"bottomRow":300.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":300.0,"mobileRightColumn":282.0,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","mobileBottomRow":84.0,"borderColor":"#E0DEDE","widgetName":"FormConfig","isCanvas":true,"displayName":"Form","iconSVG":"/static/media/icon.5d6d2ac5cb1aa68bcd9b14f11c56b44a.svg","searchTags":["group"],"topRow":0.0,"bottomRow":28.0,"parentRowSpace":10.0,"type":"FORM_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":25.0,"animateLoading":true,"parentColumnSpace":11.828125,"dynamicTriggerPathList":[],"leftColumn":1.0,"dynamicBindingPathList":[],"children":[{"mobileBottomRow":400.0,"widgetName":"Canvas2Copy","displayName":"Canvas","topRow":0.0,"bottomRow":280.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":false,"hideCard":true,"minHeight":400.0,"mobileRightColumn":283.875,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"mobileBottomRow":5.0,"widgetName":"Text2","displayName":"Text","iconSVG":"/static/media/icon.c3b6033f570046f8c6288d911333a827.svg","searchTags":["typography","paragraph","label"],"topRow":1.0,"bottomRow":5.0,"type":"TEXT_WIDGET","hideCard":false,"mobileRightColumn":25.5,"animateLoading":true,"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","dynamicTriggerPathList":[],"leftColumn":1.5,"dynamicBindingPathList":[{"key":"fontFamily"}],"shouldTruncate":false,"truncateButtonColor":"{{appsmith.theme.colors.primaryColor}}","text":"Access Credentials","key":"9s8f10sepn","isDeprecated":false,"rightColumn":25.5,"textAlign":"LEFT","dynamicHeight":"AUTO_HEIGHT","widgetId":"tps5rw2lk9","minWidth":450.0,"isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1.0,"parentId":"lrtvcpswru","renderMode":"CANVAS","isLoading":false,"mobileTopRow":1.0,"responsiveBehavior":"fill","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":1.5,"maxDynamicHeight":9000.0,"fontSize":"1.25rem","minDynamicHeight":4.0},{"resetFormOnClick":true,"boxShadow":"none","mobileBottomRow":37.0,"widgetName":"Button1","onClick":"{{storeValue('api_url', FormConfig.data.InputApiUrl);\nstoreValue('api_key', FormConfig.data.InputGlobalApiKey);\nfetch_Instances.run().then(() => {\n showAlert('successful login', 'success');\n}).catch(() => {\n showAlert('Could not load instances', 'error');\n});\ncloseModal('ModalConfig').then(() => {});}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","dynamicPropertyPathList":[{"key":"isDisabled"}],"displayName":"Button","iconSVG":"/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg","searchTags":["click","submit"],"topRow":22.0,"bottomRow":26.0,"type":"BUTTON_WIDGET","hideCard":false,"mobileRightColumn":62.0,"animateLoading":true,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":51.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"text":"Login","isDisabled":"","key":"crzwqv3pdr","isDeprecated":false,"rightColumn":63.0,"isDefaultClickDisabled":true,"iconName":"log-in","widgetId":"gzxvnsxk0y","minWidth":120.0,"isVisible":true,"recaptchaType":"V3","version":1.0,"parentId":"lrtvcpswru","renderMode":"CANVAS","isLoading":false,"mobileTopRow":33.0,"responsiveBehavior":"hug","disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":46.0,"buttonVariant":"PRIMARY","iconAlign":"left","placement":"CENTER"},{"resetFormOnClick":true,"boxShadow":"none","mobileBottomRow":37.0,"widgetName":"Button1Copy","onClick":"{{removeValue('api_url');\nremoveValue('api_key').then(() => {\n showAlert('successful logout', 'success');\n});}}","buttonColor":"#dc2626","dynamicPropertyPathList":[{"key":"isDisabled"}],"displayName":"Button","iconSVG":"/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg","searchTags":["click","submit"],"topRow":21.0,"bottomRow":25.0,"type":"BUTTON_WIDGET","hideCard":false,"mobileRightColumn":62.0,"animateLoading":true,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":2.0,"dynamicBindingPathList":[{"key":"isDisabled"},{"key":"borderRadius"}],"text":"Logout","isDisabled":"{{!appsmith.store.api_key && !appsmith.store.api_url ? true : false}}","key":"crzwqv3pdr","isDeprecated":false,"rightColumn":14.0,"isDefaultClickDisabled":true,"iconName":"log-out","widgetId":"f2i8tsbgx1","minWidth":120.0,"isVisible":true,"recaptchaType":"V3","version":1.0,"parentId":"lrtvcpswru","renderMode":"CANVAS","isLoading":false,"mobileTopRow":33.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":46.0,"buttonVariant":"PRIMARY","iconAlign":"left","placement":"CENTER"},{"boxShadow":"none","iconSVG":"/static/media/icon.d0ce957b6c4640f8a7418ce846ee200e.svg","topRow":6.0,"labelWidth":5.0,"type":"INPUT_WIDGET_V2","animateLoading":true,"resetOnSubmit":true,"leftColumn":2.0,"dynamicBindingPathList":[{"key":"defaultText"},{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","placeholderText":"","isDisabled":false,"isRequired":true,"dynamicHeight":"FIXED","accentColor":"{{appsmith.theme.colors.primaryColor}}","showStepArrows":false,"isVisible":true,"version":2.0,"isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileBottomRow":13.0,"widgetName":"InputApiUrl","displayName":"Input","searchTags":["form","text input","number","textarea"],"bottomRow":13.0,"parentRowSpace":10.0,"autoFocus":false,"hideCard":false,"mobileRightColumn":22.0,"parentColumnSpace":5.047119140625,"dynamicTriggerPathList":[],"labelPosition":"Top","key":"r1hfat3ouf","labelTextSize":"0.875rem","isDeprecated":false,"rightColumn":63.0,"widgetId":"spgryrb5ao","minWidth":450.0,"label":"API URL","parentId":"lrtvcpswru","labelAlignment":"left","renderMode":"CANVAS","mobileTopRow":6.0,"responsiveBehavior":"fill","mobileLeftColumn":2.0,"maxDynamicHeight":9000.0,"isSpellCheck":false,"iconAlign":"left","defaultText":"{{appsmith.store.api_url || ''}}","minDynamicHeight":4.0},{"boxShadow":"none","iconSVG":"/static/media/icon.d0ce957b6c4640f8a7418ce846ee200e.svg","topRow":14.0,"labelWidth":5.0,"type":"INPUT_WIDGET_V2","animateLoading":true,"resetOnSubmit":true,"leftColumn":2.0,"dynamicBindingPathList":[{"key":"defaultText"},{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"PASSWORD","isDisabled":false,"isRequired":true,"dynamicHeight":"FIXED","accentColor":"{{appsmith.theme.colors.primaryColor}}","showStepArrows":false,"isVisible":true,"version":2.0,"isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileBottomRow":13.0,"widgetName":"InputGlobalApiKey","displayName":"Input","searchTags":["form","text input","number","textarea"],"bottomRow":21.0,"parentRowSpace":10.0,"autoFocus":false,"hideCard":false,"mobileRightColumn":22.0,"parentColumnSpace":5.047119140625,"dynamicTriggerPathList":[],"labelPosition":"Top","key":"r1hfat3ouf","labelTextSize":"0.875rem","isDeprecated":false,"rightColumn":63.0,"widgetId":"v2vedr13py","minWidth":450.0,"label":"GLOBAL API KEY","parentId":"lrtvcpswru","labelAlignment":"left","renderMode":"CANVAS","mobileTopRow":6.0,"responsiveBehavior":"fill","mobileLeftColumn":2.0,"maxDynamicHeight":9000.0,"shouldAllowAutofill":true,"iconAlign":"left","defaultText":"{{appsmith.store.api_key || ''}}","minDynamicHeight":4.0},{"boxShadow":"none","mobileBottomRow":4.0,"widgetName":"IconButton2","onClick":"{{closeModal('ModalConfig');}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","displayName":"Icon button","iconSVG":"/static/media/icon.80fc7466c0d7181ec0271de7fda795ec.svg","searchTags":["click","submit"],"topRow":0.0,"bottomRow":4.0,"parentRowSpace":10.0,"type":"ICON_BUTTON_WIDGET","hideCard":false,"mobileRightColumn":64.0,"animateLoading":true,"parentColumnSpace":9.072265625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":60.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"isDisabled":false,"key":"pezy0hb491","isDeprecated":false,"rightColumn":64.0,"iconName":"cross","widgetId":"oaouelmhi1","minWidth":50.0,"isVisible":true,"version":1.0,"parentId":"lrtvcpswru","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"hug","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":60.0,"buttonVariant":"TERTIARY"}],"key":"e8r23nd8j4","isDeprecated":false,"rightColumn":283.875,"detachFromLayout":true,"widgetId":"lrtvcpswru","containerStyle":"none","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"h97rbttd5c","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"borderWidth":"0","positioning":"fixed","key":"dtzd07zsya","backgroundColor":"#FFFFFF","isDeprecated":false,"rightColumn":63.0,"dynamicHeight":"AUTO_HEIGHT","widgetId":"h97rbttd5c","minWidth":450.0,"isVisible":true,"parentId":"es5gsctogb","renderMode":"CANVAS","isLoading":false,"mobileTopRow":44.0,"responsiveBehavior":"fill","originalTopRow":0.0,"borderRadius":"0.375rem","mobileLeftColumn":1.0,"maxDynamicHeight":9000.0,"originalBottomRow":28.0,"minDynamicHeight":10.0}],"isDisabled":false,"key":"e8r23nd8j4","isDeprecated":false,"rightColumn":282.0,"detachFromLayout":true,"widgetId":"es5gsctogb","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"gneh33z88k","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"g8xx6ocuvi","height":300.0,"isDeprecated":false,"rightColumn":25.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"gneh33z88k","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":49.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":1.0,"maxDynamicHeight":9000.0,"width":632.0,"minDynamicHeight":24.0},{"boxShadow":"none","mobileBottomRow":66.0,"widgetName":"ModalInstance","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":42.0,"bottomRow":1892.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":37.0,"minHeight":1850.0,"animateLoading":true,"parentColumnSpace":11.828125,"leftColumn":13.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas3","displayName":"Canvas","topRow":0.0,"bottomRow":1850.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":1140.0,"mobileRightColumn":283.875,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","mobileBottomRow":4.0,"widgetName":"IconButton3Copy","onClick":"{{closeModal('ModalInstance');}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","displayName":"Icon button","iconSVG":"/static/media/icon.80fc7466c0d7181ec0271de7fda795ec.svg","searchTags":["click","submit"],"topRow":0.0,"bottomRow":4.0,"type":"ICON_BUTTON_WIDGET","hideCard":false,"mobileRightColumn":64.0,"animateLoading":true,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":57.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"iconSize":24.0,"isDisabled":false,"key":"mr6bto7c8j","isDeprecated":false,"rightColumn":63.0,"iconName":"cross","widgetId":"xofakp4har","minWidth":50.0,"isVisible":true,"version":1.0,"parentId":"esgwuzqcwt","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"hug","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":58.0,"buttonVariant":"TERTIARY"},{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Create_Instance.run().then(() => {\n showAlert('Instance created successfully', 'success');\n}).catch(() => {\n showAlert('Error creating instance', 'error');\n});\nfetch_Instances.run();\ncloseModal('ModalInstance');}}","topRow":4.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"schema.__root_schema__.defaultValue"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.children.webhook.defaultValue"},{"key":"schema.__root_schema__.children.webhook.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"schema.__root_schema__.children.instance.defaultValue"},{"key":"schema.__root_schema__.children.instance.borderRadius"},{"key":"schema.__root_schema__.children.instance.cellBorderRadius"},{"key":"schema.__root_schema__.children.instance.children.instanceName.defaultValue"},{"key":"schema.__root_schema__.children.instance.children.instanceName.accentColor"},{"key":"schema.__root_schema__.children.instance.children.instanceName.borderRadius"},{"key":"schema.__root_schema__.children.instance.children.token.defaultValue"},{"key":"schema.__root_schema__.children.instance.children.token.accentColor"},{"key":"schema.__root_schema__.children.instance.children.token.borderRadius"},{"key":"schema.__root_schema__.children.webhook.cellBorderRadius"},{"key":"schema.__root_schema__.children.webhook.children.webhook.defaultValue"},{"key":"schema.__root_schema__.children.webhook.children.webhook.accentColor"},{"key":"schema.__root_schema__.children.webhook.children.webhook.borderRadius"},{"key":"schema.__root_schema__.children.webhook.children.events.defaultValue"},{"key":"schema.__root_schema__.children.webhook.children.events.accentColor"},{"key":"schema.__root_schema__.children.webhook.children.events.borderRadius"},{"key":"schema.__root_schema__.children.webhook.children.webhook_by_events.defaultValue"},{"key":"schema.__root_schema__.children.webhook.children.webhook_by_events.accentColor"},{"key":"schema.__root_schema__.children.settings.defaultValue"},{"key":"schema.__root_schema__.children.settings.borderRadius"},{"key":"schema.__root_schema__.children.settings.cellBorderRadius"},{"key":"schema.__root_schema__.children.settings.children.reject_call.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.reject_call.accentColor"},{"key":"schema.__root_schema__.children.settings.children.msg_call.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.msg_call.accentColor"},{"key":"schema.__root_schema__.children.settings.children.msg_call.borderRadius"},{"key":"schema.__root_schema__.children.settings.children.groups_ignore.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.groups_ignore.accentColor"},{"key":"schema.__root_schema__.children.settings.children.always_online.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.always_online.accentColor"},{"key":"schema.__root_schema__.children.settings.children.read_messages.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.read_messages.accentColor"},{"key":"schema.__root_schema__.children.settings.children.read_status.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.read_status.accentColor"},{"key":"schema.__root_schema__.children.chatwoot.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.borderRadius"},{"key":"schema.__root_schema__.children.chatwoot.cellBorderRadius"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_account_id.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_account_id.accentColor"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_account_id.borderRadius"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_token.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_token.accentColor"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_token.borderRadius"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_url.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_url.accentColor"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_url.borderRadius"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_sign_msg.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_sign_msg.accentColor"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_reopen_conversation.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_reopen_conversation.accentColor"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_conversation_pending.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_conversation_pending.accentColor"},{"key":"schema.__root_schema__.children.instance.children.qrcode.defaultValue"},{"key":"schema.__root_schema__.children.instance.children.qrcode.accentColor"},{"key":"schema.__root_schema__.children.websocket.defaultValue"},{"key":"schema.__root_schema__.children.websocket.borderRadius"},{"key":"schema.__root_schema__.children.websocket.cellBorderRadius"},{"key":"schema.__root_schema__.children.websocket.children.websocket_enabled.defaultValue"},{"key":"schema.__root_schema__.children.websocket.children.websocket_enabled.accentColor"},{"key":"schema.__root_schema__.children.websocket.children.websocket_events.defaultValue"},{"key":"schema.__root_schema__.children.websocket.children.websocket_events.accentColor"},{"key":"schema.__root_schema__.children.websocket.children.websocket_events.borderRadius"},{"key":"schema.__root_schema__.children.rabbitmq.defaultValue"},{"key":"schema.__root_schema__.children.rabbitmq.borderRadius"},{"key":"schema.__root_schema__.children.rabbitmq.cellBorderRadius"},{"key":"schema.__root_schema__.children.rabbitmq.children.rabbitmq_enabled.defaultValue"},{"key":"schema.__root_schema__.children.rabbitmq.children.rabbitmq_enabled.accentColor"},{"key":"schema.__root_schema__.children.rabbitmq.children.rabbitmq_events.defaultValue"},{"key":"schema.__root_schema__.children.rabbitmq.children.rabbitmq_events.accentColor"},{"key":"schema.__root_schema__.children.rabbitmq.children.rabbitmq_events.borderRadius"}],"showReset":true,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY","iconAlign":"left"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Create","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":183.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"webhook":{"children":{"webhook":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.webhook.webhook))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"webhook","identifier":"webhook","position":0.0,"originalIdentifier":"webhook","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Webhook"},"events":{"children":{},"dataType":"array","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.webhook.events))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Multiselect","sourceData":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL","NEW_JWT_TOKEN"],"isCustomField":false,"accessor":"events","identifier":"events","position":2.0,"originalIdentifier":"events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Events","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"APPLICATION_STARTUP\",\n \"value\": \"APPLICATION_STARTUP\"\n },\n {\n \"label\": \"QRCODE_UPDATED\",\n \"value\": \"QRCODE_UPDATED\"\n },\n {\n \"label\": \"MESSAGES_SET\",\n \"value\": \"MESSAGES_SET\"\n },\n {\n \"label\": \"MESSAGES_UPSERT\",\n \"value\": \"MESSAGES_UPSERT\"\n },\n {\n \"label\": \"MESSAGES_UPDATE\",\n \"value\": \"MESSAGES_UPDATE\"\n },\n {\n \"label\": \"MESSAGES_DELETE\",\n \"value\": \"MESSAGES_DELETE\"\n },\n {\n \"label\": \"SEND_MESSAGE\",\n \"value\": \"SEND_MESSAGE\"\n },\n {\n \"label\": \"CONTACTS_SET\",\n \"value\": \"CONTACTS_SET\"\n },\n {\n \"label\": \"CONTACTS_UPSERT\",\n \"value\": \"CONTACTS_UPSERT\"\n },\n {\n \"label\": \"CONTACTS_UPDATE\",\n \"value\": \"CONTACTS_UPDATE\"\n },\n {\n \"label\": \"PRESENCE_UPDATE\",\n \"value\": \"PRESENCE_UPDATE\"\n },\n {\n \"label\": \"CHATS_SET\",\n \"value\": \"CHATS_SET\"\n },\n {\n \"label\": \"CHATS_UPSERT\",\n \"value\": \"CHATS_UPSERT\"\n },\n {\n \"label\": \"CHATS_UPDATE\",\n \"value\": \"CHATS_UPDATE\"\n },\n {\n \"label\": \"CHATS_DELETE\",\n \"value\": \"CHATS_DELETE\"\n },\n {\n \"label\": \"GROUPS_UPSERT\",\n \"value\": \"GROUPS_UPSERT\"\n },\n {\n \"label\": \"GROUP_UPDATE\",\n \"value\": \"GROUP_UPDATE\"\n },\n {\n \"label\": \"GROUP_PARTICIPANTS_UPDATE\",\n \"value\": \"GROUP_PARTICIPANTS_UPDATE\"\n },\n {\n \"label\": \"CONNECTION_UPDATE\",\n \"value\": \"CONNECTION_UPDATE\"\n },\n {\n \"label\": \"CALL\",\n \"value\": \"CALL\"\n },\n {\n \"label\": \"NEW_JWT_TOKEN\",\n \"value\": \"NEW_JWT_TOKEN\"\n }\n]"},"webhook_by_events":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.webhook.webhook_by_events))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"webhook_by_events","identifier":"webhook_by_events","position":2.0,"originalIdentifier":"webhook_by_events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Webhook By Events"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.webhook))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{},"isCustomField":false,"accessor":"webhook","identifier":"webhook","position":1.0,"originalIdentifier":"webhook","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Webhook","labelStyle":"BOLD"},"instance":{"children":{"instanceName":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.instance.instanceName))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"instanceName","identifier":"instanceName","position":0.0,"originalIdentifier":"instanceName","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Instance Name"},"token":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.instance.token))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"token","identifier":"token","position":1.0,"originalIdentifier":"token","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Token"},"qrcode":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.instance.qrcode))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"qrcode","identifier":"qrcode","position":2.0,"originalIdentifier":"qrcode","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Qrcode"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.instance))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{},"isCustomField":false,"accessor":"instance","identifier":"instance","position":0.0,"originalIdentifier":"instance","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Instance","labelStyle":"BOLD"},"settings":{"children":{"reject_call":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings.reject_call))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"reject_call","identifier":"reject_call","position":0.0,"originalIdentifier":"reject_call","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Reject Call"},"msg_call":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings.msg_call))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"msg_call","identifier":"msg_call","position":1.0,"originalIdentifier":"msg_call","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Msg Call"},"groups_ignore":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings.groups_ignore))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"groups_ignore","identifier":"groups_ignore","position":2.0,"originalIdentifier":"groups_ignore","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Groups Ignore"},"always_online":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings.always_online))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"always_online","identifier":"always_online","position":3.0,"originalIdentifier":"always_online","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Always Online"},"read_messages":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings.read_messages))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"read_messages","identifier":"read_messages","position":4.0,"originalIdentifier":"read_messages","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Read Messages"},"read_status":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings.read_status))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"read_status","identifier":"read_status","position":5.0,"originalIdentifier":"read_status","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Read Status"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.settings))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{},"isCustomField":false,"accessor":"settings","identifier":"settings","position":2.0,"originalIdentifier":"settings","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Settings","labelStyle":"BOLD"},"chatwoot":{"children":{"chatwoot_account_id":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot.chatwoot_account_id))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"chatwoot_account_id","identifier":"chatwoot_account_id","position":0.0,"originalIdentifier":"chatwoot_account_id","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Chatwoot Account Id"},"chatwoot_token":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot.chatwoot_token))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Password Input","sourceData":"","isCustomField":false,"accessor":"chatwoot_token","identifier":"chatwoot_token","position":1.0,"originalIdentifier":"chatwoot_token","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Chatwoot Token","shouldAllowAutofill":true},"chatwoot_url":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot.chatwoot_url))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"chatwoot_url","identifier":"chatwoot_url","position":2.0,"originalIdentifier":"chatwoot_url","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Chatwoot Url"},"chatwoot_sign_msg":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot.chatwoot_sign_msg))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"chatwoot_sign_msg","identifier":"chatwoot_sign_msg","position":3.0,"originalIdentifier":"chatwoot_sign_msg","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Chatwoot Sign Msg"},"chatwoot_reopen_conversation":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot.chatwoot_reopen_conversation))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"chatwoot_reopen_conversation","identifier":"chatwoot_reopen_conversation","position":4.0,"originalIdentifier":"chatwoot_reopen_conversation","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Chatwoot Reopen Conversation"},"chatwoot_conversation_pending":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot.chatwoot_conversation_pending))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"chatwoot_conversation_pending","identifier":"chatwoot_conversation_pending","position":5.0,"originalIdentifier":"chatwoot_conversation_pending","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Chatwoot Conversation Pending"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.chatwoot))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{},"isCustomField":false,"accessor":"chatwoot","identifier":"chatwoot","position":5.0,"originalIdentifier":"chatwoot","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Chatwoot","labelStyle":"BOLD"},"websocket":{"children":{"websocket_enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.websocket.websocket_enabled))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"websocket_enabled","identifier":"websocket_enabled","position":0.0,"originalIdentifier":"websocket_enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Websocket Enabled"},"websocket_events":{"children":{},"dataType":"array","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.websocket.websocket_events))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Multiselect","sourceData":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL","NEW_JWT_TOKEN"],"isCustomField":false,"accessor":"websocket_events","identifier":"websocket_events","position":1.0,"originalIdentifier":"websocket_events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Websocket Events","labelTextSize":"0.875rem","serverSideFiltering":false,"options":[{"label":"Blue","value":"BLUE"},{"label":"Green","value":"GREEN"},{"label":"Red","value":"RED"}]}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.websocket))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{},"isCustomField":false,"accessor":"websocket","identifier":"websocket","position":3.0,"originalIdentifier":"websocket","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Websocket","labelStyle":"BOLD"},"rabbitmq":{"children":{"rabbitmq_enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.rabbitmq.rabbitmq_enabled))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"rabbitmq_enabled","identifier":"rabbitmq_enabled","position":1.0,"originalIdentifier":"rabbitmq_enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Rabbitmq Enabled"},"rabbitmq_events":{"children":{},"dataType":"array","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.rabbitmq.rabbitmq_events))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Multiselect","sourceData":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL","NEW_JWT_TOKEN"],"isCustomField":false,"accessor":"rabbitmq_events","identifier":"rabbitmq_events","position":1.0,"originalIdentifier":"rabbitmq_events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Rabbitmq Events","labelTextSize":"0.875rem","serverSideFiltering":false,"options":[{"label":"Blue","value":"BLUE"},{"label":"Green","value":"GREEN"},{"label":"Red","value":"RED"}]}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.rabbitmq))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{"websocket_enabled":false,"websocket_events":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL","NEW_JWT_TOKEN"]},"isCustomField":false,"accessor":"rabbitmq","identifier":"rabbitmq","position":4.0,"originalIdentifier":"rabbitmq","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Rabbitmq","labelStyle":"BOLD"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","fieldType":"Object","sourceData":{"instanceName":"","token":"","webhook":"","webhook_by_events":false,"events":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL","NEW_JWT_TOKEN"],"reject_call":false,"msg_call":"","groups_ignore":false,"always_online":false,"read_messages":false,"read_status":false,"chatwoot_account_id":"","chatwoot_token":"","chatwoot_url":"","chatwoot_sign_msg":false,"chatwoot_reopen_conversation":false,"chatwoot_conversation_pending":false},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormInstance.sourceData, FormInstance.formData, FormInstance.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":85.0,"widgetName":"FormInstance","submitButtonStyles":{"buttonColor":"rgb(3, 179, 101)","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.webhook.children.webhook_by_events.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.reject_call.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.groups_ignore.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.always_online.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.read_messages.defaultValue"},{"key":"schema.__root_schema__.children.settings.children.read_status.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_sign_msg.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_reopen_conversation.defaultValue"},{"key":"schema.__root_schema__.children.chatwoot.children.chatwoot_conversation_pending.defaultValue"},{"key":"schema.__root_schema__.children.instance.children.qrcode.defaultValue"},{"key":"schema.__root_schema__.children.websocket.children.websocket_enabled.defaultValue"},{"key":"schema.__root_schema__.children.rabbitmq.children.rabbitmq_enabled.defaultValue"}],"displayName":"JSON Form","bottomRow":183.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"New Instance","hideCard":false,"mobileRightColumn":22.0,"shouldScrollContents":true,"parentColumnSpace":17.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n \"instance\": {\n\t\t\t\"instanceName\": \"\",\n \t\"token\": \"\",\n\t\t\t\"qrcode\": true\n\t\t},\n\t\t\"webhook\": {\n\t\t\t\"webhook\": \"\",\n\t\t\t\"events\": [\n\t\t\t\t\"APPLICATION_STARTUP\",\n\t\t\t\t\t\"QRCODE_UPDATED\",\n\t\t\t\t\t\"MESSAGES_SET\",\n\t\t\t\t\t\"MESSAGES_UPSERT\",\n\t\t\t\t\t\"MESSAGES_UPDATE\",\n\t\t\t\t\t\"MESSAGES_DELETE\",\n\t\t\t\t\t\"SEND_MESSAGE\",\n\t\t\t\t\t\"CONTACTS_SET\",\n\t\t\t\t\t\"CONTACTS_UPSERT\",\n\t\t\t\t\t\"CONTACTS_UPDATE\",\n\t\t\t\t\t\"PRESENCE_UPDATE\",\n\t\t\t\t\t\"CHATS_SET\",\n\t\t\t\t\t\"CHATS_UPSERT\",\n\t\t\t\t\t\"CHATS_UPDATE\",\n\t\t\t\t\t\"CHATS_DELETE\",\n\t\t\t\t\t\"GROUPS_UPSERT\",\n\t\t\t\t\t\"GROUP_UPDATE\",\n\t\t\t\t\t\"GROUP_PARTICIPANTS_UPDATE\",\n\t\t\t\t\t\"CONNECTION_UPDATE\",\n\t\t\t\t\t\"CALL\",\n\t\t\t\t\t\"NEW_JWT_TOKEN\"\n\t\t\t],\n\t\t\t\"webhook_by_events\": false\n\t\t},\n \"settings\": {\n\t\t\t\"reject_call\": false,\n\t\t\t\"msg_call\": \"\",\n\t\t\t\"groups_ignore\": false,\n\t\t\t\"always_online\": false,\n\t\t\t\"read_messages\": false,\n\t\t\t\"read_status\": false\n\t\t},\n\t\t\"websocket\": {\n\t\t\t\"websocket_enabled\": false,\n\t\t\t\"websocket_events\": [\n\t\t\t\t\"APPLICATION_STARTUP\",\n\t\t\t\t\t\"QRCODE_UPDATED\",\n\t\t\t\t\t\"MESSAGES_SET\",\n\t\t\t\t\t\"MESSAGES_UPSERT\",\n\t\t\t\t\t\"MESSAGES_UPDATE\",\n\t\t\t\t\t\"MESSAGES_DELETE\",\n\t\t\t\t\t\"SEND_MESSAGE\",\n\t\t\t\t\t\"CONTACTS_SET\",\n\t\t\t\t\t\"CONTACTS_UPSERT\",\n\t\t\t\t\t\"CONTACTS_UPDATE\",\n\t\t\t\t\t\"PRESENCE_UPDATE\",\n\t\t\t\t\t\"CHATS_SET\",\n\t\t\t\t\t\"CHATS_UPSERT\",\n\t\t\t\t\t\"CHATS_UPDATE\",\n\t\t\t\t\t\"CHATS_DELETE\",\n\t\t\t\t\t\"GROUPS_UPSERT\",\n\t\t\t\t\t\"GROUP_UPDATE\",\n\t\t\t\t\t\"GROUP_PARTICIPANTS_UPDATE\",\n\t\t\t\t\t\"CONNECTION_UPDATE\",\n\t\t\t\t\t\"CALL\",\n\t\t\t\t\t\"NEW_JWT_TOKEN\"\n\t\t\t]\n\t\t},\n\t\t\"rabbitmq\": {\n\t\t\t\"rabbitmq_enabled\": false,\n\t\t\t\"rabbitmq_events\": [\n\t\t\t\t\"APPLICATION_STARTUP\",\n\t\t\t\t\t\"QRCODE_UPDATED\",\n\t\t\t\t\t\"MESSAGES_SET\",\n\t\t\t\t\t\"MESSAGES_UPSERT\",\n\t\t\t\t\t\"MESSAGES_UPDATE\",\n\t\t\t\t\t\"MESSAGES_DELETE\",\n\t\t\t\t\t\"SEND_MESSAGE\",\n\t\t\t\t\t\"CONTACTS_SET\",\n\t\t\t\t\t\"CONTACTS_UPSERT\",\n\t\t\t\t\t\"CONTACTS_UPDATE\",\n\t\t\t\t\t\"PRESENCE_UPDATE\",\n\t\t\t\t\t\"CHATS_SET\",\n\t\t\t\t\t\"CHATS_UPSERT\",\n\t\t\t\t\t\"CHATS_UPDATE\",\n\t\t\t\t\t\"CHATS_DELETE\",\n\t\t\t\t\t\"GROUPS_UPSERT\",\n\t\t\t\t\t\"GROUP_UPDATE\",\n\t\t\t\t\t\"GROUP_PARTICIPANTS_UPDATE\",\n\t\t\t\t\t\"CONNECTION_UPDATE\",\n\t\t\t\t\t\"CALL\",\n\t\t\t\t\t\"NEW_JWT_TOKEN\"\n\t\t\t]\n\t\t},\n \"chatwoot\": {\n\t\t\t\"chatwoot_account_id\": \"\",\n\t\t\t\"chatwoot_token\": \"\",\n\t\t\t\"chatwoot_url\": \"\",\n\t\t\t\"chatwoot_sign_msg\": false,\n\t\t\t\"chatwoot_reopen_conversation\": false,\n\t\t\t\"chatwoot_conversation_pending\": false\n\t\t}\n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":63.0,"widgetId":"o0v8ypwnya","minWidth":450.0,"parentId":"esgwuzqcwt","renderMode":"CANVAS","mobileTopRow":44.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":4.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"w17ra2a85u","isDeprecated":false,"rightColumn":283.875,"detachFromLayout":true,"widgetId":"esgwuzqcwt","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"rnttu90jzr","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"bkvkzj4d20","height":1850.0,"isDeprecated":false,"rightColumn":37.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"rnttu90jzr","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":42.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":13.0,"maxDynamicHeight":9000.0,"width":628.0,"minDynamicHeight":24.0},{"resetFormOnClick":false,"boxShadow":"none","mobileBottomRow":5.0,"widgetName":"ButtonRefreshData","onClick":"{{fetch_Instances.run()}}","buttonColor":"#60a5fa","dynamicPropertyPathList":[{"key":"isVisible"}],"displayName":"Button","iconSVG":"/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg","searchTags":["click","submit"],"topRow":1.0,"bottomRow":5.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","hideCard":false,"mobileRightColumn":35.0,"animateLoading":true,"parentColumnSpace":11.828125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":19.0,"dynamicBindingPathList":[{"key":"isVisible"},{"key":"borderRadius"}],"text":"","isDisabled":false,"key":"k10nyfsas3","isDeprecated":false,"rightColumn":24.0,"isDefaultClickDisabled":true,"iconName":"refresh","widgetId":"dn1ehe3gvu","minWidth":120.0,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":1.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":19.0,"buttonVariant":"PRIMARY","iconAlign":"left","placement":"CENTER"},{"boxShadow":"none","mobileBottomRow":5.0,"widgetName":"ButtonGroup1","isCanvas":false,"dynamicPropertyPathList":[{"key":"isVisible"}],"displayName":"Button Group","iconSVG":"/static/media/icon.7c22979bacc83c8d84aedf56ea6c2022.svg","searchTags":["click","submit"],"topRow":1.0,"bottomRow":5.0,"parentRowSpace":10.0,"groupButtons":{"groupButton1":{"label":"Connect","iconName":"camera","id":"groupButton1","widgetId":"","buttonType":"SIMPLE","placement":"CENTER","isVisible":true,"isDisabled":false,"index":0.0,"menuItems":{},"buttonColor":"#16a34a","onClick":"{{Connect.run();\nfetch_Instances.run();\nshowModal('ModalQrcode');}}"},"groupButton2":{"label":"Restart","iconName":"reset","id":"groupButton2","buttonType":"SIMPLE","placement":"CENTER","widgetId":"","isVisible":true,"isDisabled":false,"index":1.0,"menuItems":{},"buttonColor":"#2563eb","onClick":"{{Restart.run().then(() => {\n showAlert('Instance restarted successfully', 'success');\n}).catch(() => {\n showAlert('Error restarting instance', 'error');\n});\nfetch_Instances.run();}}"},"groupButton3":{"label":"Logout","iconName":"log-in","id":"groupButton3","buttonType":"SIMPLE","placement":"CENTER","widgetId":"","isVisible":true,"isDisabled":false,"index":2.0,"menuItems":{"menuItem1":{"label":"First Option","backgroundColor":"#FFFFFF","id":"menuItem1","widgetId":"","onClick":"","isVisible":true,"isDisabled":false,"index":0.0},"menuItem2":{"label":"Second Option","backgroundColor":"#FFFFFF","id":"menuItem2","widgetId":"","onClick":"","isVisible":true,"isDisabled":false,"index":1.0},"menuItem3":{"label":"Delete","iconName":"trash","iconColor":"#FFFFFF","iconAlign":"right","textColor":"#FFFFFF","backgroundColor":"#DD4B34","id":"menuItem3","widgetId":"","onClick":"","isVisible":true,"isDisabled":false,"index":2.0}},"buttonColor":"#a16207","onClick":"{{Logout.run().then(() => {\n showAlert('Instance logout successfully', 'success');\n}).catch(() => {\n showAlert('Error logout instance', 'error');\n});\nfetch_Instances.run();}}"},"groupButtonmghcs8rd4g":{"id":"groupButtonmghcs8rd4g","index":3.0,"label":"Delete","menuItems":{},"buttonType":"SIMPLE","placement":"CENTER","widgetId":"v0qkg2pjo2","isDisabled":false,"isVisible":true,"buttonColor":"#ef4444","iconName":"cross","onClick":"{{Delete.run().then(() => {\n showAlert('Instance deleted successfully', 'success');\n}).catch(() => {\n showAlert('Error deleting instance', 'error');\n});\nfetch_Instances.run();}}"}},"type":"BUTTON_GROUP_WIDGET","hideCard":false,"mobileRightColumn":51.0,"animateLoading":true,"parentColumnSpace":11.828125,"dynamicTriggerPathList":[{"key":"groupButtons.groupButton1.onClick"},{"key":"groupButtons.groupButton2.onClick"},{"key":"groupButtons.groupButton3.onClick"},{"key":"groupButtons.groupButtonmghcs8rd4g.onClick"}],"leftColumn":27.0,"dynamicBindingPathList":[{"key":"isVisible"},{"key":"borderRadius"}],"isDisabled":false,"key":"za8m3k8x7w","orientation":"horizontal","isDeprecated":false,"rightColumn":63.0,"widgetId":"2s6fqi483g","minWidth":450.0,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":1.0,"responsiveBehavior":"fill","childStylesheet":{"button":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}"}},"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":27.0,"buttonVariant":"PRIMARY"},{"boxShadow":"none","mobileBottomRow":18.0,"widgetName":"ProfilePicture","dynamicPropertyPathList":[{"key":"isVisible"},{"key":"borderRadius"}],"displayName":"Image","iconSVG":"/static/media/icon.30c8cbd442cce232b01ba2d434c53a53.svg","topRow":6.0,"bottomRow":28.0,"parentRowSpace":10.0,"type":"IMAGE_WIDGET","hideCard":false,"mobileRightColumn":13.0,"animateLoading":true,"parentColumnSpace":11.828125,"dynamicTriggerPathList":[],"imageShape":"RECTANGLE","leftColumn":1.0,"dynamicBindingPathList":[{"key":"image"},{"key":"isVisible"}],"defaultImage":"https://th.bing.com/th/id/OIP.ruat7whad9-kcI8_1KH_tQHaGI?pid=ImgDet&rs=1","key":"bl30j21wwb","image":"{{TableInstances.selectedRow.profilePictureUrl}}","isDeprecated":false,"rightColumn":13.0,"objectFit":"contain","widgetId":"1sjznr31jo","isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":6.0,"maxZoomLevel":1.0,"enableDownload":false,"borderRadius":"0.335rem","mobileLeftColumn":1.0,"enableRotation":false},{"mobileBottomRow":22.0,"widgetName":"Text4","dynamicPropertyPathList":[{"key":"isVisible"}],"displayName":"Text","iconSVG":"/static/media/icon.c3b6033f570046f8c6288d911333a827.svg","searchTags":["typography","paragraph","label"],"topRow":40.0,"bottomRow":48.0,"parentRowSpace":10.0,"type":"TEXT_WIDGET","hideCard":false,"mobileRightColumn":11.0,"animateLoading":true,"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","parentColumnSpace":11.828125,"dynamicTriggerPathList":[],"leftColumn":1.0,"dynamicBindingPathList":[{"key":"text"},{"key":"isVisible"},{"key":"fontFamily"}],"shouldTruncate":false,"truncateButtonColor":"{{appsmith.theme.colors.primaryColor}}","text":"{{TableInstances.selectedRow.profileName || ''}}\n\n{{TableInstances.selectedRow.profileStatus || ''}}","key":"gqt8t28m33","isDeprecated":false,"rightColumn":13.0,"textAlign":"CENTER","dynamicHeight":"AUTO_HEIGHT","widgetId":"0c356c66hp","minWidth":450.0,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","fontStyle":"BOLD","textColor":"#231F20","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":18.0,"responsiveBehavior":"fill","originalTopRow":40.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"originalBottomRow":48.0,"fontSize":"0.875rem","minDynamicHeight":4.0},{"mobileBottomRow":41.0,"widgetName":"Text5","dynamicPropertyPathList":[{"key":"isVisible"}],"displayName":"Text","iconSVG":"/static/media/icon.c3b6033f570046f8c6288d911333a827.svg","searchTags":["typography","paragraph","label"],"topRow":32.0,"bottomRow":40.0,"parentRowSpace":10.0,"type":"TEXT_WIDGET","hideCard":false,"mobileRightColumn":9.0,"animateLoading":true,"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","parentColumnSpace":11.75,"dynamicTriggerPathList":[],"leftColumn":1.0,"dynamicBindingPathList":[{"key":"text"},{"key":"isVisible"},{"key":"fontFamily"}],"shouldTruncate":false,"truncateButtonColor":"{{appsmith.theme.colors.primaryColor}}","text":"{{TableInstances.selectedRow.instance || ''}}","key":"gqt8t28m33","isDeprecated":false,"rightColumn":13.0,"textAlign":"CENTER","dynamicHeight":"AUTO_HEIGHT","widgetId":"5qg2iscn1l","minWidth":450.0,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? true : false}}","fontStyle":"BOLD","textColor":"#231F20","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":37.0,"responsiveBehavior":"fill","originalTopRow":32.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"originalBottomRow":40.0,"fontSize":"1.25rem","minDynamicHeight":4.0},{"boxShadow":"none","mobileBottomRow":70.0,"widgetName":"ModalWebhook","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":46.0,"bottomRow":43.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":430.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas4","displayName":"Canvas","topRow":0.0,"bottomRow":430.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":240.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Set_Webhook.run().then(() => {\n showAlert('Webhook updated successfully', 'success');\n}).catch(() => {\n showAlert('Error updating webhook', 'error');\n});\ncloseModal('ModalWebhook');}}","topRow":0.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"sourceData"},{"key":"schema.__root_schema__.children.events.borderRadius"},{"key":"schema.__root_schema__.children.events.defaultValue"},{"key":"schema.__root_schema__.children.url.accentColor"},{"key":"schema.__root_schema__.children.url.defaultValue"},{"key":"schema.__root_schema__.children.enabled.accentColor"},{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"schema.__root_schema__.children.webhook_by_events.accentColor"},{"key":"schema.__root_schema__.children.webhook_by_events.defaultValue"},{"key":"borderRadius"},{"key":"schema.__root_schema__.children.events.accentColor"},{"key":"schema.__root_schema__.children.url.borderRadius"},{"key":"submitButtonStyles.buttonColor"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":41.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"webhook_by_events":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.webhook_by_events))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"webhook_by_events","identifier":"webhook_by_events","position":3.0,"originalIdentifier":"webhook_by_events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Webhook By Events"},"enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.enabled))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"enabled","identifier":"enabled","position":0.0,"originalIdentifier":"enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Enabled"},"url":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.url))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Text Input","sourceData":"https://webhook.site/06c7b29f-543b-49bc-b598-51bf99d08f6c","isCustomField":false,"accessor":"url","identifier":"url","position":1.0,"originalIdentifier":"url","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Url"},"events":{"children":{},"dataType":"array","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.events))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Multiselect","sourceData":["APPLICATION_STARTUP","QRCODE_UPDATED","MESSAGES_SET","MESSAGES_UPSERT","MESSAGES_UPDATE","MESSAGES_DELETE","SEND_MESSAGE","CONTACTS_SET","CONTACTS_UPSERT","CONTACTS_UPDATE","PRESENCE_UPDATE","CHATS_SET","CHATS_UPSERT","CHATS_UPDATE","CHATS_DELETE","GROUPS_UPSERT","GROUP_UPDATE","GROUP_PARTICIPANTS_UPDATE","CONNECTION_UPDATE","CALL"],"isCustomField":false,"accessor":"events","identifier":"events","position":2.0,"originalIdentifier":"events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Events","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n\n {\n \"label\": \"APPLICATION_STARTUP\",\n \"value\": \"APPLICATION_STARTUP\"\n },\n {\n \"label\": \"QRCODE_UPDATED\",\n \"value\": \"QRCODE_UPDATED\"\n },\n {\n \"label\": \"MESSAGES_SET\",\n \"value\": \"MESSAGES_SET\"\n },\n {\n \"label\": \"MESSAGES_UPSERT\",\n \"value\": \"MESSAGES_UPSERT\"\n },\n {\n \"label\": \"MESSAGES_UPDATE\",\n \"value\": \"MESSAGES_UPDATE\"\n },\n {\n \"label\": \"MESSAGES_DELETE\",\n \"value\": \"MESSAGES_DELETE\"\n },\n {\n \"label\": \"SEND_MESSAGE\",\n \"value\": \"SEND_MESSAGE\"\n },\n {\n \"label\": \"CONTACTS_SET\",\n \"value\": \"CONTACTS_SET\"\n },\n {\n \"label\": \"CONTACTS_UPSERT\",\n \"value\": \"CONTACTS_UPSERT\"\n },\n {\n \"label\": \"CONTACTS_UPDATE\",\n \"value\": \"CONTACTS_UPDATE\"\n },\n {\n \"label\": \"PRESENCE_UPDATE\",\n \"value\": \"PRESENCE_UPDATE\"\n },\n {\n \"label\": \"CHATS_SET\",\n \"value\": \"CHATS_SET\"\n },\n {\n \"label\": \"CHATS_UPSERT\",\n \"value\": \"CHATS_UPSERT\"\n },\n {\n \"label\": \"CHATS_UPDATE\",\n \"value\": \"CHATS_UPDATE\"\n },\n {\n \"label\": \"CHATS_DELETE\",\n \"value\": \"CHATS_DELETE\"\n },\n {\n \"label\": \"GROUPS_UPSERT\",\n \"value\": \"GROUPS_UPSERT\"\n },\n {\n \"label\": \"GROUP_UPDATE\",\n \"value\": \"GROUP_UPDATE\"\n },\n {\n \"label\": \"GROUP_PARTICIPANTS_UPDATE\",\n \"value\": \"GROUP_PARTICIPANTS_UPDATE\"\n },\n {\n \"label\": \"CONNECTION_UPDATE\",\n \"value\": \"CONNECTION_UPDATE\"\n },\n {\n \"label\": \"CALL\",\n \"value\": \"CALL\"\n },\n {\n \"label\": \"NEW_JWT_TOKEN\",\n \"value\": \"NEW_JWT_TOKEN\"\n }\n]"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Object","sourceData":{"name":"John","date_of_birth":"20/02/1990","employee_id":1001.0},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormWebhook","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.webhook_by_events.defaultValue"},{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"schema.__root_schema__.children.url.defaultValue"}],"displayName":"JSON Form","bottomRow":41.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Webhook","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"enabled\": {{Find_Webhook.data.enabled || false}},\n\t\"url\": {{Find_Webhook.data.url}},\n \"webhook_by_events\": {{Find_Webhook.data.webhook_by_events}},\n \"events\": {{Find_Webhook.data.events || false}} \n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":63.0,"widgetId":"tb1ekur7fx","minWidth":450.0,"parentId":"mv02ta6pzr","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":0.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"svq68rvpdn","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"mv02ta6pzr","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"0g8ql5hukz","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"6x3z5yow7u","height":430.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"0g8ql5hukz","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":456.0,"minDynamicHeight":24.0},{"boxShadow":"none","mobileBottomRow":70.0,"widgetName":"ModalWebsocket","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":42.0,"bottomRow":32.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":320.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas4Copy1","displayName":"Canvas","topRow":0.0,"bottomRow":320.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":290.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Set_Websocket.run().then(() => {\n showAlert('Websocket updated successfully', 'success');\n}).catch(() => {\n showAlert('Error updating websocket', 'error');\n});\ncloseModal('ModalWebsocket');}}","topRow":0.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"sourceData"},{"key":"schema.__root_schema__.children.events.defaultValue"},{"key":"schema.__root_schema__.children.enabled.accentColor"},{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"borderRadius"},{"key":"schema.__root_schema__.children.events.accentColor"},{"key":"submitButtonStyles.buttonColor"},{"key":"schema.__root_schema__.children.events.borderRadius"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":30.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.enabled))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"enabled","identifier":"enabled","position":0.0,"originalIdentifier":"enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Enabled"},"events":{"children":{},"dataType":"array","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.events))(FormWebsocket.sourceData, FormWebsocket.formData, FormWebsocket.fieldState)}}","fieldType":"Multiselect","sourceData":[],"isCustomField":false,"accessor":"events","identifier":"events","position":2.0,"originalIdentifier":"events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebsocket.sourceData, FormWebsocket.formData, FormWebsocket.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebsocket.sourceData, FormWebsocket.formData, FormWebsocket.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Events","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n\n {\n \"label\": \"APPLICATION_STARTUP\",\n \"value\": \"APPLICATION_STARTUP\"\n },\n {\n \"label\": \"QRCODE_UPDATED\",\n \"value\": \"QRCODE_UPDATED\"\n },\n {\n \"label\": \"MESSAGES_SET\",\n \"value\": \"MESSAGES_SET\"\n },\n {\n \"label\": \"MESSAGES_UPSERT\",\n \"value\": \"MESSAGES_UPSERT\"\n },\n {\n \"label\": \"MESSAGES_UPDATE\",\n \"value\": \"MESSAGES_UPDATE\"\n },\n {\n \"label\": \"MESSAGES_DELETE\",\n \"value\": \"MESSAGES_DELETE\"\n },\n {\n \"label\": \"SEND_MESSAGE\",\n \"value\": \"SEND_MESSAGE\"\n },\n {\n \"label\": \"CONTACTS_SET\",\n \"value\": \"CONTACTS_SET\"\n },\n {\n \"label\": \"CONTACTS_UPSERT\",\n \"value\": \"CONTACTS_UPSERT\"\n },\n {\n \"label\": \"CONTACTS_UPDATE\",\n \"value\": \"CONTACTS_UPDATE\"\n },\n {\n \"label\": \"PRESENCE_UPDATE\",\n \"value\": \"PRESENCE_UPDATE\"\n },\n {\n \"label\": \"CHATS_SET\",\n \"value\": \"CHATS_SET\"\n },\n {\n \"label\": \"CHATS_UPSERT\",\n \"value\": \"CHATS_UPSERT\"\n },\n {\n \"label\": \"CHATS_UPDATE\",\n \"value\": \"CHATS_UPDATE\"\n },\n {\n \"label\": \"CHATS_DELETE\",\n \"value\": \"CHATS_DELETE\"\n },\n {\n \"label\": \"GROUPS_UPSERT\",\n \"value\": \"GROUPS_UPSERT\"\n },\n {\n \"label\": \"GROUP_UPDATE\",\n \"value\": \"GROUP_UPDATE\"\n },\n {\n \"label\": \"GROUP_PARTICIPANTS_UPDATE\",\n \"value\": \"GROUP_PARTICIPANTS_UPDATE\"\n },\n {\n \"label\": \"CONNECTION_UPDATE\",\n \"value\": \"CONNECTION_UPDATE\"\n },\n {\n \"label\": \"CALL\",\n \"value\": \"CALL\"\n },\n {\n \"label\": \"NEW_JWT_TOKEN\",\n \"value\": \"NEW_JWT_TOKEN\"\n }\n]"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Object","sourceData":{"name":"John","date_of_birth":"20/02/1990","employee_id":1001.0},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormWebsocket","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"schema.__root_schema__.children.events.defaultValue"}],"displayName":"JSON Form","bottomRow":30.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Websocket","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"enabled\": {{Find_Websocket.data.enabled}},\n \"events\": {{Find_Websocket.data.events || []}} \n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":63.0,"widgetId":"masqwth5vo","minWidth":450.0,"parentId":"gzf4hjxdo8","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":0.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"svq68rvpdn","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"gzf4hjxdo8","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"9twyngcwej","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"6x3z5yow7u","height":320.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"9twyngcwej","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":456.0,"minDynamicHeight":24.0},{"boxShadow":"none","mobileBottomRow":70.0,"widgetName":"ModalRabbitmq","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":31.0,"bottomRow":32.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":320.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas4Copy1Copy","displayName":"Canvas","topRow":0.0,"bottomRow":320.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":240.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Set_Rabbitmq.run().then(() => {\n showAlert('Rabbitmq updated successfully', 'success');\n}).catch(() => {\n showAlert('Error updating rabbitmq', 'error');\n});\ncloseModal('ModalRabbitmq');}}","topRow":0.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"sourceData"},{"key":"schema.__root_schema__.children.events.defaultValue"},{"key":"schema.__root_schema__.children.enabled.accentColor"},{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"borderRadius"},{"key":"schema.__root_schema__.children.events.accentColor"},{"key":"submitButtonStyles.buttonColor"},{"key":"schema.__root_schema__.children.events.borderRadius"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":30.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.enabled))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"enabled","identifier":"enabled","position":0.0,"originalIdentifier":"enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Enabled"},"events":{"children":{},"dataType":"array","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.events))(FormRabbitmq.sourceData, FormRabbitmq.formData, FormRabbitmq.fieldState)}}","fieldType":"Multiselect","sourceData":[],"isCustomField":false,"accessor":"events","identifier":"events","position":2.0,"originalIdentifier":"events","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormRabbitmq.sourceData, FormRabbitmq.formData, FormRabbitmq.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormRabbitmq.sourceData, FormRabbitmq.formData, FormRabbitmq.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Events","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n\n {\n \"label\": \"APPLICATION_STARTUP\",\n \"value\": \"APPLICATION_STARTUP\"\n },\n {\n \"label\": \"QRCODE_UPDATED\",\n \"value\": \"QRCODE_UPDATED\"\n },\n {\n \"label\": \"MESSAGES_SET\",\n \"value\": \"MESSAGES_SET\"\n },\n {\n \"label\": \"MESSAGES_UPSERT\",\n \"value\": \"MESSAGES_UPSERT\"\n },\n {\n \"label\": \"MESSAGES_UPDATE\",\n \"value\": \"MESSAGES_UPDATE\"\n },\n {\n \"label\": \"MESSAGES_DELETE\",\n \"value\": \"MESSAGES_DELETE\"\n },\n {\n \"label\": \"SEND_MESSAGE\",\n \"value\": \"SEND_MESSAGE\"\n },\n {\n \"label\": \"CONTACTS_SET\",\n \"value\": \"CONTACTS_SET\"\n },\n {\n \"label\": \"CONTACTS_UPSERT\",\n \"value\": \"CONTACTS_UPSERT\"\n },\n {\n \"label\": \"CONTACTS_UPDATE\",\n \"value\": \"CONTACTS_UPDATE\"\n },\n {\n \"label\": \"PRESENCE_UPDATE\",\n \"value\": \"PRESENCE_UPDATE\"\n },\n {\n \"label\": \"CHATS_SET\",\n \"value\": \"CHATS_SET\"\n },\n {\n \"label\": \"CHATS_UPSERT\",\n \"value\": \"CHATS_UPSERT\"\n },\n {\n \"label\": \"CHATS_UPDATE\",\n \"value\": \"CHATS_UPDATE\"\n },\n {\n \"label\": \"CHATS_DELETE\",\n \"value\": \"CHATS_DELETE\"\n },\n {\n \"label\": \"GROUPS_UPSERT\",\n \"value\": \"GROUPS_UPSERT\"\n },\n {\n \"label\": \"GROUP_UPDATE\",\n \"value\": \"GROUP_UPDATE\"\n },\n {\n \"label\": \"GROUP_PARTICIPANTS_UPDATE\",\n \"value\": \"GROUP_PARTICIPANTS_UPDATE\"\n },\n {\n \"label\": \"CONNECTION_UPDATE\",\n \"value\": \"CONNECTION_UPDATE\"\n },\n {\n \"label\": \"CALL\",\n \"value\": \"CALL\"\n },\n {\n \"label\": \"NEW_JWT_TOKEN\",\n \"value\": \"NEW_JWT_TOKEN\"\n }\n]"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Object","sourceData":{"name":"John","date_of_birth":"20/02/1990","employee_id":1001.0},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormRabbitmq","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.events.defaultValue"}],"displayName":"JSON Form","bottomRow":30.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Rabbitmq","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"enabled\": {{Find_Rabbitmq.data.enabled || false}},\n \"events\": {{Find_Rabbitmq.data.events || []}} \n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":63.0,"widgetId":"gdkpog7ep5","minWidth":450.0,"parentId":"rkuaegvcin","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":0.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"svq68rvpdn","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"rkuaegvcin","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"76vl08dr1n","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"6x3z5yow7u","height":320.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"76vl08dr1n","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":456.0,"minDynamicHeight":24.0},{"boxShadow":"none","mobileBottomRow":70.0,"widgetName":"ModalSettings","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":46.0,"bottomRow":516.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":470.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas4Copy","displayName":"Canvas","topRow":0.0,"bottomRow":470.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":240.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Set_Settings.run().then(() => {\n showAlert('Settings updated successfully', 'success');\n}).catch(() => {\n showAlert('Error updating Settings', 'error');\n});\ncloseModal('ModalSettings');}}","topRow":0.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":1.0,"dynamicBindingPathList":[{"key":"schema.__root_schema__.children.read_status.accentColor"},{"key":"schema.__root_schema__.children.read_status.defaultValue"},{"key":"schema.__root_schema__.children.read_messages.accentColor"},{"key":"schema.__root_schema__.children.read_messages.defaultValue"},{"key":"schema.__root_schema__.children.always_online.accentColor"},{"key":"schema.__root_schema__.children.always_online.defaultValue"},{"key":"schema.__root_schema__.children.groups_ignore.accentColor"},{"key":"schema.__root_schema__.children.groups_ignore.defaultValue"},{"key":"schema.__root_schema__.children.msg_call.accentColor"},{"key":"schema.__root_schema__.children.msg_call.defaultValue"},{"key":"schema.__root_schema__.children.reject_call.accentColor"},{"key":"schema.__root_schema__.children.reject_call.defaultValue"},{"key":"borderRadius"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.msg_call.borderRadius"},{"key":"submitButtonStyles.buttonColor"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":45.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"reject_call":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.reject_call))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"reject_call","identifier":"reject_call","position":0.0,"originalIdentifier":"reject_call","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Reject Call"},"msg_call":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.msg_call))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","fieldType":"Text Input","sourceData":"Não aceitamos chamadas!","isCustomField":false,"accessor":"msg_call","identifier":"msg_call","position":1.0,"originalIdentifier":"msg_call","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Msg Call"},"groups_ignore":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.groups_ignore))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"groups_ignore","identifier":"groups_ignore","position":2.0,"originalIdentifier":"groups_ignore","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Groups Ignore"},"always_online":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.always_online))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"always_online","identifier":"always_online","position":3.0,"originalIdentifier":"always_online","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Always Online"},"read_messages":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.read_messages))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"read_messages","identifier":"read_messages","position":4.0,"originalIdentifier":"read_messages","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Read Messages"},"read_status":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.read_status))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"read_status","identifier":"read_status","position":5.0,"originalIdentifier":"read_status","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormSettings.sourceData, FormSettings.formData, FormSettings.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Read Status"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Object","sourceData":{"name":"John","date_of_birth":"20/02/1990","employee_id":1001.0},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormSettings","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.reject_call.defaultValue"},{"key":"schema.__root_schema__.children.groups_ignore.defaultValue"},{"key":"schema.__root_schema__.children.always_online.defaultValue"},{"key":"schema.__root_schema__.children.read_messages.defaultValue"},{"key":"schema.__root_schema__.children.read_status.defaultValue"},{"key":"schema.__root_schema__.children.msg_call.defaultValue"}],"displayName":"JSON Form","bottomRow":45.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Settings","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"reject_call\": {{Find_Settings.data.reject_call || false}},\n \"msg_call\": {{Find_Settings.data.msg_call}},\n \"groups_ignore\": {{Find_Settings.data.groups_ignore || false}},\n \"always_online\": {{Find_Settings.data.always_online || false}},\n \"read_messages\": {{Find_Settings.data.read_messages || false}},\n \"read_status\": {{Find_Settings.data.read_status || false}}\n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":64.0,"widgetId":"3wajdobhry","minWidth":450.0,"parentId":"bj66ktxeor","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":0.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"svq68rvpdn","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"bj66ktxeor","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"9pvl5efylb","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"6x3z5yow7u","height":470.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"9pvl5efylb","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":456.0,"minDynamicHeight":24.0},{"boxShadow":"none","mobileBottomRow":70.0,"widgetName":"ModalChatwoot","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":50.0,"bottomRow":780.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":730.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas4CopyCopy","displayName":"Canvas","topRow":0.0,"bottomRow":730.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":730.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Set_Chatwoot.run().then(() => {\n showAlert('Chatwoot updated successfully', 'success');\n}).catch(() => {\n showAlert('Error updating Chatwoot', 'error');\n});\ncloseModal('ModalChatwoot');}}","topRow":0.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"schema.__root_schema__.children.conversation_pending.accentColor"},{"key":"schema.__root_schema__.children.conversation_pending.defaultValue"},{"key":"schema.__root_schema__.children.reopen_conversation.accentColor"},{"key":"schema.__root_schema__.children.reopen_conversation.defaultValue"},{"key":"schema.__root_schema__.children.sign_msg.accentColor"},{"key":"schema.__root_schema__.children.sign_msg.defaultValue"},{"key":"schema.__root_schema__.children.url.borderRadius"},{"key":"schema.__root_schema__.children.url.accentColor"},{"key":"schema.__root_schema__.children.url.defaultValue"},{"key":"schema.__root_schema__.children.token.borderRadius"},{"key":"schema.__root_schema__.children.token.accentColor"},{"key":"schema.__root_schema__.children.token.defaultValue"},{"key":"schema.__root_schema__.children.account_id.accentColor"},{"key":"schema.__root_schema__.children.account_id.defaultValue"},{"key":"schema.__root_schema__.children.enabled.accentColor"},{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"borderRadius"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.account_id.borderRadius"},{"key":"schema.__root_schema__.children.webhook_url.defaultValue"},{"key":"schema.__root_schema__.children.webhook_url.accentColor"},{"key":"schema.__root_schema__.children.webhook_url.borderRadius"},{"key":"schema.__root_schema__.defaultValue"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"schema.__root_schema__.children.name_inbox.defaultValue"},{"key":"schema.__root_schema__.children.name_inbox.borderRadius"},{"key":"schema.__root_schema__.children.name_inbox.accentColor"},{"key":"submitButtonStyles.buttonColor"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":71.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.enabled))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"enabled","identifier":"enabled","position":0.0,"originalIdentifier":"enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Enabled"},"account_id":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.account_id))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Text Input","sourceData":"1","isCustomField":false,"accessor":"account_id","identifier":"account_id","position":1.0,"originalIdentifier":"account_id","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Account Id"},"token":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.token))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Password Input","sourceData":"uHquVJgCdkee8JPJm9YBkdH6","isCustomField":false,"accessor":"token","identifier":"token","position":2.0,"originalIdentifier":"token","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Token","shouldAllowAutofill":true},"url":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.url))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Text Input","sourceData":"https://chatwoot.evolution.dgcode.com.br","isCustomField":false,"accessor":"url","identifier":"url","position":3.0,"originalIdentifier":"url","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Url"},"sign_msg":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.sign_msg))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"sign_msg","identifier":"sign_msg","position":4.0,"originalIdentifier":"sign_msg","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Sign Msg"},"reopen_conversation":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.reopen_conversation))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"reopen_conversation","identifier":"reopen_conversation","position":5.0,"originalIdentifier":"reopen_conversation","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Reopen Conversation"},"conversation_pending":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.conversation_pending))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Switch","sourceData":false,"isCustomField":false,"accessor":"conversation_pending","identifier":"conversation_pending","position":6.0,"originalIdentifier":"conversation_pending","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Conversation Pending"},"webhook_url":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.webhook_url))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Text Input","sourceData":"https://api.evolution.dgcode.com.br/chatwoot/webhook/evolution-cwId-4","isCustomField":false,"accessor":"webhook_url","identifier":"webhook_url","position":8.0,"originalIdentifier":"webhook_url","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":true,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Webhook Url"},"name_inbox":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.name_inbox))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","fieldType":"Text Input","sourceData":"evolution-cwId-4","isCustomField":false,"accessor":"name_inbox","identifier":"name_inbox","position":7.0,"originalIdentifier":"name_inbox","accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormChatwoot.sourceData, FormChatwoot.formData, FormChatwoot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":true,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Name Inbox"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","fieldType":"Object","sourceData":{"name":"John","date_of_birth":"20/02/1990","employee_id":1001.0},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormWebhook.sourceData, FormWebhook.formData, FormWebhook.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormChatwoot","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"schema.__root_schema__.children.sign_msg.defaultValue"},{"key":"schema.__root_schema__.children.reopen_conversation.defaultValue"},{"key":"schema.__root_schema__.children.conversation_pending.defaultValue"},{"key":"schema.__root_schema__.children.account_id.defaultValue"},{"key":"schema.__root_schema__.children.webhook_url.defaultValue"}],"displayName":"JSON Form","bottomRow":71.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Chatwoot","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"enabled\": {{Find_Chatwoot.data.enabled || false}},\n\t\"account_id\": {{Find_Chatwoot.data.account_id}},\n \"token\": {{Find_Chatwoot.data.token}},\n \"url\": {{Find_Chatwoot.data.url}},\n \"sign_msg\": {{Find_Chatwoot.data.sign_msg || false}},\n \"reopen_conversation\": {{Find_Chatwoot.data.reopen_conversation || false}},\n \"conversation_pending\": {{Find_Chatwoot.data.conversation_pending || false}},\n\t\t\"name_inbox\": {{Find_Chatwoot.data.name_inbox}},\n\t\t\"webhook_url\": {{Find_Chatwoot.data.webhook_url}}\n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":63.0,"widgetId":"c5v1lwuyrk","minWidth":450.0,"parentId":"wqoo05rt9h","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":0.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"svq68rvpdn","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"wqoo05rt9h","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"kekx3o71p4","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"6x3z5yow7u","height":730.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"kekx3o71p4","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":692.0,"minDynamicHeight":24.0},{"boxShadow":"none","mobileBottomRow":70.0,"widgetName":"ModalTypebot","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":45.0,"bottomRow":665.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":620.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas4CopyCopyCopy","displayName":"Canvas","topRow":0.0,"bottomRow":620.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":730.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Set_Typebot.run().then(() => {\n showAlert('Typebot updated successfully', 'success');\n}).catch(() => {\n showAlert('Error updating Typebot', 'error');\n});\ncloseModal('ModalTypebot');}}","topRow":1.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"schema.__root_schema__.defaultValue"},{"key":"schema.__root_schema__.borderRadius"},{"key":"submitButtonStyles.buttonColor"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"schema.__root_schema__.children.enabled.accentColor"},{"key":"schema.__root_schema__.children.url.defaultValue"},{"key":"schema.__root_schema__.children.url.accentColor"},{"key":"schema.__root_schema__.children.url.borderRadius"},{"key":"schema.__root_schema__.children.typebot.defaultValue"},{"key":"schema.__root_schema__.children.typebot.accentColor"},{"key":"schema.__root_schema__.children.typebot.borderRadius"},{"key":"schema.__root_schema__.children.expire.defaultValue"},{"key":"schema.__root_schema__.children.expire.accentColor"},{"key":"schema.__root_schema__.children.expire.borderRadius"},{"key":"schema.__root_schema__.children.keyword_finish.defaultValue"},{"key":"schema.__root_schema__.children.keyword_finish.accentColor"},{"key":"schema.__root_schema__.children.keyword_finish.borderRadius"},{"key":"schema.__root_schema__.children.delay_message.defaultValue"},{"key":"schema.__root_schema__.children.delay_message.accentColor"},{"key":"schema.__root_schema__.children.delay_message.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":68.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"enabled":{"children":{},"dataType":"boolean","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.enabled))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","fieldType":"Switch","sourceData":true,"isCustomField":false,"accessor":"enabled","identifier":"enabled","position":0.0,"originalIdentifier":"enabled","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","boxShadow":"none","alignWidget":"LEFT","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Enabled"},"url":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.url))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","fieldType":"Text Input","sourceData":"https://chat2.manualnegocioonline.com.br","isCustomField":false,"accessor":"url","identifier":"url","position":1.0,"originalIdentifier":"url","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Url"},"typebot":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.typebot))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","fieldType":"Text Input","sourceData":"francis-whatsapp-pesquisa-satisfacao-copy-copy-74fk24p","isCustomField":false,"accessor":"typebot","identifier":"typebot","position":2.0,"originalIdentifier":"typebot","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Typebot"},"expire":{"children":{},"dataType":"number","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.expire))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","fieldType":"Number Input","sourceData":20.0,"isCustomField":false,"accessor":"expire","identifier":"expire","position":3.0,"originalIdentifier":"expire","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Expire"},"keyword_finish":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.keyword_finish))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","fieldType":"Text Input","sourceData":"#SAIR","isCustomField":false,"accessor":"keyword_finish","identifier":"keyword_finish","position":4.0,"originalIdentifier":"keyword_finish","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Keyword Finish"},"delay_message":{"children":{},"dataType":"number","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.delay_message))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","fieldType":"Number Input","sourceData":3000.0,"isCustomField":false,"accessor":"delay_message","identifier":"delay_message","position":5.0,"originalIdentifier":"delay_message","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Delay Message"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","fieldType":"Object","sourceData":{"enabled":true,"url":"https://chat2.manualnegocioonline.com.br","typebot":"francis-whatsapp-pesquisa-satisfacao-copy-copy-74fk24p","expire":20.0,"keyword_finish":"#SAIR","delay_message":3000.0,"unknown_message":"Mensagem não reconhecida2"},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormTypebot","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.enabled.defaultValue"},{"key":"schema.__root_schema__.children.sign_msg.defaultValue"},{"key":"schema.__root_schema__.children.reopen_conversation.defaultValue"},{"key":"schema.__root_schema__.children.conversation_pending.defaultValue"},{"key":"schema.__root_schema__.children.account_id.defaultValue"},{"key":"schema.__root_schema__.children.webhook_url.defaultValue"}],"displayName":"JSON Form","bottomRow":60.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Set Typebot","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"enabled\": {{Find_Typebot.data.enabled || false}},\n \"url\": {{Find_Typebot.data.url}},\n \"typebot\": {{Find_Typebot.data.typebot}},\n \"expire\": {{Find_Typebot.data.expire}},\n \"keyword_finish\": {{Find_Typebot.data.keyword_finish}},\n \"delay_message\": {{Find_Typebot.data.delay_message}}\n \n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":63.0,"widgetId":"fyu0oxvlx7","minWidth":450.0,"parentId":"bvxewkusbf","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":1.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"svq68rvpdn","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"bvxewkusbf","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"4n3m0wo9tx","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"6x3z5yow7u","height":620.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"4n3m0wo9tx","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":692.0,"minDynamicHeight":24.0},{"boxShadow":"none","mobileBottomRow":70.0,"widgetName":"ModalTypebotChangeSessionStatu","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":45.0,"bottomRow":415.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":370.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas4CopyCopyCopyCopy","displayName":"Canvas","topRow":0.0,"bottomRow":370.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":730.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Set_TypebotChangeSessionStatus.run().then(() => {\n showAlert('Typebot Change Session updated successfully', 'success');\n}).catch(() => {\n showAlert('Error updating Session Typebot', 'error');\n});\ncloseModal('ModalTypebotChangeSessionStatu');}}","topRow":1.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"schema.__root_schema__.defaultValue"},{"key":"schema.__root_schema__.borderRadius"},{"key":"submitButtonStyles.buttonColor"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"schema.__root_schema__.children.remoteJid.defaultValue"},{"key":"schema.__root_schema__.children.remoteJid.accentColor"},{"key":"schema.__root_schema__.children.remoteJid.borderRadius"},{"key":"schema.__root_schema__.children.status.defaultValue"},{"key":"schema.__root_schema__.children.status.accentColor"},{"key":"schema.__root_schema__.children.status.borderRadius"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":60.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"remoteJid":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.remoteJid))(FormTypebotChangeSessionStatus.sourceData, FormTypebotChangeSessionStatus.formData, FormTypebotChangeSessionStatus.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"remoteJid","identifier":"remoteJid","position":0.0,"originalIdentifier":"remoteJid","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormTypebotChangeSessionStatus.sourceData, FormTypebotChangeSessionStatus.formData, FormTypebotChangeSessionStatus.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormTypebotChangeSessionStatus.sourceData, FormTypebotChangeSessionStatus.formData, FormTypebotChangeSessionStatus.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":true,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Remote Jid (WhatsApp. Ex: 5511968162699@s.whatsapp.net)"},"status":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.status))(FormTypebotChangeSessionStatus.sourceData, FormTypebotChangeSessionStatus.formData, FormTypebotChangeSessionStatus.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"status","identifier":"status","position":1.0,"originalIdentifier":"status","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormTypebotChangeSessionStatus.sourceData, FormTypebotChangeSessionStatus.formData, FormTypebotChangeSessionStatus.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormTypebotChangeSessionStatus.sourceData, FormTypebotChangeSessionStatus.formData, FormTypebotChangeSessionStatus.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Status (opened, paused or closed)"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","fieldType":"Object","sourceData":{"enabled":true,"url":"https://chat2.manualnegocioonline.com.br","typebot":"francis-whatsapp-pesquisa-satisfacao-copy-copy-74fk24p","expire":20.0,"keyword_finish":"#SAIR","delay_message":3000.0,"unknown_message":"Mensagem não reconhecida2"},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormTypebot.sourceData, FormTypebot.formData, FormTypebot.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormTypebotChangeSessionStatus","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.sign_msg.defaultValue"},{"key":"schema.__root_schema__.children.reopen_conversation.defaultValue"},{"key":"schema.__root_schema__.children.conversation_pending.defaultValue"},{"key":"schema.__root_schema__.children.account_id.defaultValue"},{"key":"schema.__root_schema__.children.webhook_url.defaultValue"}],"displayName":"JSON Form","bottomRow":35.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Typebot Change Session Status","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n \"remoteJid\": \"@s.whatsapp.net\",\n \"status\": \"\"\n}","resetButtonLabel":"Reset","key":"lgqqk5r1jk","backgroundColor":"#fff","isDeprecated":false,"rightColumn":63.0,"widgetId":"28lli5jdvr","minWidth":450.0,"parentId":"8m0yhclt7g","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":1.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"svq68rvpdn","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"8m0yhclt7g","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"84rj87eew6","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"6x3z5yow7u","height":370.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"84rj87eew6","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":692.0,"minDynamicHeight":24.0},{"resetFormOnClick":false,"boxShadow":"none","mobileBottomRow":50.0,"widgetName":"Button2","onClick":"{{Fetch_Instance.run();\nFetch_PrivacySettings.run();\nshowModal('ModalProfile');}}","buttonColor":"#2770fc","dynamicPropertyPathList":[{"key":"isVisible"}],"displayName":"Button","iconSVG":"/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg","searchTags":["click","submit"],"topRow":28.0,"bottomRow":32.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","hideCard":false,"mobileRightColumn":21.0,"animateLoading":true,"parentColumnSpace":17.9375,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":1.0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"isVisible"}],"text":"Edit Profile","isDisabled":false,"key":"zhd9fobc1z","isDeprecated":false,"rightColumn":13.0,"isDefaultClickDisabled":true,"iconName":"edit","widgetId":"uh6430ysqy","minWidth":120.0,"isVisible":"{{appsmith.store.api_key && appsmith.store.api_url ? TableInstances.selectedRow.instance ? TableInstances.selectedRow.Status === 'open' ? true : false : false : false}}","recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":46.0,"responsiveBehavior":"hug","originalTopRow":51.0,"disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":5.0,"originalBottomRow":55.0,"buttonVariant":"PRIMARY","iconAlign":"left","placement":"CENTER"},{"boxShadow":"none","mobileBottomRow":59.0,"widgetName":"ModalProfile","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg","searchTags":["dialog","popup","notification"],"topRow":35.0,"bottomRow":975.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"mobileRightColumn":35.0,"minHeight":940.0,"animateLoading":true,"parentColumnSpace":17.9375,"leftColumn":11.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"mobileBottomRow":240.0,"widgetName":"Canvas5","displayName":"Canvas","topRow":0.0,"bottomRow":940.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":240.0,"mobileRightColumn":430.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","borderColor":"#E0DEDE","iconSVG":"/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg","onSubmit":"{{Update_ProfileName.run().then(() => {\n showAlert('ProfileName successfully saved!', 'success');\n}).catch(() => {\n showAlert('Error updating ProfileName', 'error');\n});\nUpdate_ProfilePicture.run().then(() => {\n showAlert('ProfilePicture successfully saved!', 'success');\n}).catch(() => {\n showAlert('Error updating ProfilePicture', 'error');\n});\nUpdate_ProfileStatus.run().then(() => {\n showAlert('ProfileStatus successfully saved!', 'success');\n}).catch(() => {\n showAlert('Error updating ProfileStatus', 'error');\n});\nUpdate_PrivacySettings.run().then(() => {\n showAlert('PrivacySttings successfully saved!', 'success');\n}).catch(() => {\n showAlert('Error updating PrivacySttings', 'error');\n});\nfetch_Instances.run();\ncloseModal('ModalProfile');}}","topRow":0.0,"type":"JSON_FORM_WIDGET","animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"submitButtonStyles.buttonColor"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"resetButtonStyles.borderRadius"},{"key":"schema.__root_schema__.defaultValue"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"schema.__root_schema__.children.profileName.defaultValue"},{"key":"schema.__root_schema__.children.profileName.accentColor"},{"key":"schema.__root_schema__.children.profileName.borderRadius"},{"key":"schema.__root_schema__.children.profileStatus.defaultValue"},{"key":"schema.__root_schema__.children.profileStatus.accentColor"},{"key":"schema.__root_schema__.children.profileStatus.borderRadius"},{"key":"schema.__root_schema__.children.profilePictureUrl.defaultValue"},{"key":"schema.__root_schema__.children.profilePictureUrl.borderRadius"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.profilePictureUrl.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.readreceipts.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.children.readreceipts.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.readreceipts.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.children.profile.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.children.profile.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.profile.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.children.status.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.children.status.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.status.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.children.online.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.children.online.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.online.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.children.last.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.children.last.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.last.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.children.groupadd.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.children.groupadd.accentColor"},{"key":"schema.__root_schema__.children.privacySettings.children.groupadd.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.defaultValue"},{"key":"schema.__root_schema__.children.privacySettings.borderRadius"},{"key":"schema.__root_schema__.children.privacySettings.cellBorderRadius"}],"showReset":false,"dynamicHeight":"AUTO_HEIGHT","autoGenerateForm":true,"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"SECONDARY"},"isVisible":true,"version":1.0,"isLoading":false,"submitButtonLabel":"Save","childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}},"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","originalBottomRow":92.0,"useSourceData":false,"schema":{"__root_schema__":{"children":{"profileName":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.profileName))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"profileName","identifier":"profileName","position":1.0,"originalIdentifier":"profileName","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Profile Name"},"profileStatus":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.profileStatus))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Text Input","sourceData":"","isCustomField":false,"accessor":"profileStatus","identifier":"profileStatus","position":2.0,"originalIdentifier":"profileStatus","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Profile Status"},"profilePictureUrl":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.profilePictureUrl))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Text Input","sourceData":"https://pps.whatsapp.net/v/t61.24694-24/359816109_329991892684302_7466658594467953893_n.jpg?ccb=11-4&oh=01_AdTpgc4O-xiZDr2v0OLu_jssxaw8dsws819srLMOzUwEnw&oe=64D3C41E","isCustomField":false,"accessor":"profilePictureUrl","identifier":"profilePictureUrl","position":0.0,"originalIdentifier":"profilePictureUrl","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","iconAlign":"left","isDisabled":false,"isRequired":false,"isSpellCheck":false,"isVisible":true,"labelTextSize":"0.875rem","label":"Profile Picture Url"},"privacySettings":{"children":{"readreceipts":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings.readreceipts))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Select","sourceData":"all","isCustomField":false,"accessor":"readreceipts","identifier":"readreceipts","position":0.0,"originalIdentifier":"readreceipts","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Readreceipts","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"all\",\n \"value\": \"all\"\n },\n {\n \"label\": \"none\",\n \"value\": \"none\"\n }\n]"},"profile":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings.profile))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Select","sourceData":"all","isCustomField":false,"accessor":"profile","identifier":"profile","position":1.0,"originalIdentifier":"profile","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Profile","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"all\",\n \"value\": \"all\"\n },\n {\n \"label\": \"contacts\",\n \"value\": \"contacts\"\n },\n {\n \"label\": \"contact_blacklist\",\n \"value\": \"contact_blacklist\"\n },\n {\n \"label\": \"none\",\n \"value\": \"none\"\n }\n]"},"status":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings.status))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Select","sourceData":"contacts","isCustomField":false,"accessor":"status","identifier":"status","position":2.0,"originalIdentifier":"status","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Status","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"all\",\n \"value\": \"all\"\n },\n {\n \"label\": \"contacts\",\n \"value\": \"contacts\"\n },\n {\n \"label\": \"contact_blacklist\",\n \"value\": \"contact_blacklist\"\n },\n {\n \"label\": \"none\",\n \"value\": \"none\"\n }\n]"},"online":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings.online))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Select","sourceData":"all","isCustomField":false,"accessor":"online","identifier":"online","position":3.0,"originalIdentifier":"online","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Online","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"all\",\n \"value\": \"all\"\n },\n {\n \"label\": \"match_last_seen\",\n \"value\": \"match_last_seen\"\n }\n]"},"last":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings.last))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Select","sourceData":"contacts","isCustomField":false,"accessor":"last","identifier":"last","position":4.0,"originalIdentifier":"last","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Last","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"all\",\n \"value\": \"all\"\n },\n {\n \"label\": \"contacts\",\n \"value\": \"contacts\"\n },\n {\n \"label\": \"contact_blacklist\",\n \"value\": \"contact_blacklist\"\n },\n {\n \"label\": \"none\",\n \"value\": \"none\"\n }\n]"},"groupadd":{"children":{},"dataType":"string","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings.groupadd))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Select","sourceData":"all","isCustomField":false,"accessor":"groupadd","identifier":"groupadd","position":5.0,"originalIdentifier":"groupadd","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","isDisabled":false,"isFilterable":false,"isRequired":false,"isVisible":true,"label":"Groupadd","labelTextSize":"0.875rem","serverSideFiltering":false,"options":"[\n {\n \"label\": \"all\",\n \"value\": \"all\"\n },\n {\n \"label\": \"contacts\",\n \"value\": \"contacts\"\n },\n {\n \"label\": \"contact_blacklist\",\n \"value\": \"contact_blacklist\"\n },\n {\n \"label\": \"none\",\n \"value\": \"none\"\n }\n]"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.privacySettings))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Object","sourceData":{"readreceipts":"all","profile":"all","status":"contacts","online":"all","last":"contacts","groupadd":"all"},"isCustomField":false,"accessor":"privacySettings","identifier":"privacySettings","position":3.0,"originalIdentifier":"privacySettings","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"1rem","label":"Privacy Settings","labelStyle":"BOLD"}},"dataType":"object","defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","fieldType":"Object","sourceData":{"name":"John","date_of_birth":"20/02/1990","employee_id":1001.0},"isCustomField":false,"accessor":"__root_schema__","identifier":"__root_schema__","position":-1.0,"originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","boxShadow":"none","cellBorderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(FormProfile.sourceData, FormProfile.formData, FormProfile.fieldState)}}","cellBoxShadow":"none","isDisabled":false,"isRequired":false,"isVisible":true,"labelTextSize":"0.875rem","label":""}},"mobileBottomRow":41.0,"widgetName":"FormProfile","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","buttonVariant":"PRIMARY"},"dynamicPropertyPathList":[],"displayName":"JSON Form","bottomRow":92.0,"fieldLimitExceeded":false,"parentRowSpace":10.0,"title":"Edit Profile","hideCard":false,"mobileRightColumn":25.0,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[{"key":"onSubmit"}],"borderWidth":"0","sourceData":"{\n\t\"profilePictureUrl\": \"{{Fetch_Instance.data.instance.profilePictureUrl}}\",\n\t\"profileName\": \"{{Fetch_Instance.data.instance.profileName}}\",\n\t\"profileStatus\": \"{{Fetch_Instance.data.instance.profileStatus}}\",\n\t\"privacySettings\": {\n \"readreceipts\": {{Fetch_PrivacySettings.data.readreceipts}},\n \"profile\": {{Fetch_PrivacySettings.data.profile}},\n \"status\": {{Fetch_PrivacySettings.data.status}},\n \"online\": {{Fetch_PrivacySettings.data.online}},\n \"last\": {{Fetch_PrivacySettings.data.last}},\n \"groupadd\": {{Fetch_PrivacySettings.data.groupadd}}\n\t\t}\n}","resetButtonLabel":"","key":"72nqor459k","backgroundColor":"#fff","isDeprecated":false,"rightColumn":64.0,"widgetId":"hguxefink2","minWidth":450.0,"parentId":"basosxf5qt","renderMode":"CANVAS","mobileTopRow":0.0,"scrollContents":true,"responsiveBehavior":"fill","fixedFooter":true,"originalTopRow":0.0,"mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0}],"isDisabled":false,"key":"mepf0qsn1e","isDeprecated":false,"rightColumn":430.5,"detachFromLayout":true,"widgetId":"basosxf5qt","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"ss96aihlej","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","mobileLeftColumn":0.0,"flexLayers":[]}],"key":"4ktj7iym0b","height":940.0,"isDeprecated":false,"rightColumn":35.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"ss96aihlej","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":35.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":11.0,"maxDynamicHeight":9000.0,"width":456.0,"minDynamicHeight":24.0}]},"layoutOnLoadActions":[[{"id":"Home_Scripts.verifyConfig","name":"Scripts.verifyConfig","collectionId":"Home_Scripts","clientSideExecution":true,"confirmBeforeExecute":false,"pluginType":"JS","jsonPathKeys":[],"timeoutInMillisecond":10000.0}],[{"id":"Home_Find_Rabbitmq","name":"Find_Rabbitmq","confirmBeforeExecute":false,"pluginType":"API","jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"timeoutInMillisecond":10000.0},{"id":"Home_Find_Websocket","name":"Find_Websocket","confirmBeforeExecute":false,"pluginType":"API","jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"timeoutInMillisecond":10000.0}]],"layoutOnLoadActionErrors":[],"validOnPageLoadActions":true,"id":"Home","deleted":false,"policies":[],"userPermissions":[]}],"userPermissions":[],"policies":[],"isHidden":false},"deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b37fa2945b083c5bc7b0"}],"actionList":[{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Restart","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/restart/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"","bodyFormData":[],"httpMethod":"PUT","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url","appsmith.store.api_key"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T03:01:05Z"},"publishedAction":{"name":"Restart","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/restart/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"","bodyFormData":[],"httpMethod":"PUT","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url","appsmith.store.api_key"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T03:01:05Z"},"id":"Home_Restart","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b37fa2945b083c5bc7b4"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Create_Instance","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/create","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n\t\t\"instanceName\": FormInstance.formData.instance.instanceName,\n\t\t\"token\": FormInstance.formData.instance.token,\n\t\t\"qrcode\": FormInstance.formData.instance.qrcode,\n\t\t\"webhook\": FormInstance.formData.webhook.webhook,\n\t\t\"webhook_by_events\": FormInstance.formData.webhook.webhook_by_events,\n\t\t\"websocket_enabled\": FormInstance.formData.websocket.websocket_enabled,\n\t\t\"websocket_events\": FormInstance.formData.websocket.websocket_events,\n\t\t\"rabbitmq_enabled\": FormInstance.formData.websocket.rabbitmq_enabled,\n\t\t\"rabbitmq_events\": FormInstance.formData.websocket.rabbitmq_events,\n\t\t\"events\": FormInstance.formData.webhook.events,\n\t\t\"reject_call\": FormInstance.formData.settings.reject_call,\n\t\t\"msg_call\": FormInstance.formData.settings.msg_call,\n\t\t\"groups_ignore\": FormInstance.formData.settings.groups_ignore,\n\t\t\"always_online\": FormInstance.formData.settings.always_online,\n\t\t\"read_messages\": FormInstance.formData.settings.read_messages,\n\t\t\"read_status\": FormInstance.formData.settings.read_status,\n\t\t\"chatwoot_account_id\": FormInstance.formData.chatwoot.chatwoot_account_id,\n\t\t\"chatwoot_token\": FormInstance.formData.chatwoot.chatwoot_token,\n\t\t\"chatwoot_url\": FormInstance.formData.chatwoot.chatwoot_url,\n\t\t\"chatwoot_sign_msg\": FormInstance.formData.chatwoot.chatwoot_sign_msg,\n\t\t\"chatwoot_reopen_conversation\": FormInstance.formData.chatwoot.chatwoot_reopen_conversation,\n\t\t\"chatwoot_conversation_pending\": FormInstance.formData.chatwoot.chatwoot_conversation_pending\n\t}\n}}","bodyFormData":[{"key":"instanceName","value":"{{FormInstance.data.InputNewInstanceName}}"},{"key":"token","value":"{{FormInstance.data.InputNewInstanceToken}}"}],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"application/json"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"bodyFormData[0].value"},{"key":"bodyFormData[1].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["\n\t{\n\t\t\"instanceName\": FormInstance.formData.instance.instanceName,\n\t\t\"token\": FormInstance.formData.instance.token,\n\t\t\"qrcode\": FormInstance.formData.instance.qrcode,\n\t\t\"webhook\": FormInstance.formData.webhook.webhook,\n\t\t\"webhook_by_events\": FormInstance.formData.webhook.webhook_by_events,\n\t\t\"websocket_enabled\": FormInstance.formData.websocket.websocket_enabled,\n\t\t\"websocket_events\": FormInstance.formData.websocket.websocket_events,\n\t\t\"rabbitmq_enabled\": FormInstance.formData.websocket.rabbitmq_enabled,\n\t\t\"rabbitmq_events\": FormInstance.formData.websocket.rabbitmq_events,\n\t\t\"events\": FormInstance.formData.webhook.events,\n\t\t\"reject_call\": FormInstance.formData.settings.reject_call,\n\t\t\"msg_call\": FormInstance.formData.settings.msg_call,\n\t\t\"groups_ignore\": FormInstance.formData.settings.groups_ignore,\n\t\t\"always_online\": FormInstance.formData.settings.always_online,\n\t\t\"read_messages\": FormInstance.formData.settings.read_messages,\n\t\t\"read_status\": FormInstance.formData.settings.read_status,\n\t\t\"chatwoot_account_id\": FormInstance.formData.chatwoot.chatwoot_account_id,\n\t\t\"chatwoot_token\": FormInstance.formData.chatwoot.chatwoot_token,\n\t\t\"chatwoot_url\": FormInstance.formData.chatwoot.chatwoot_url,\n\t\t\"chatwoot_sign_msg\": FormInstance.formData.chatwoot.chatwoot_sign_msg,\n\t\t\"chatwoot_reopen_conversation\": FormInstance.formData.chatwoot.chatwoot_reopen_conversation,\n\t\t\"chatwoot_conversation_pending\": FormInstance.formData.chatwoot.chatwoot_conversation_pending\n\t}\n","FormInstance.data.InputNewInstanceName","FormInstance.data.InputNewInstanceToken","appsmith.store.api_url","appsmith.store.api_key"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T03:22:09Z"},"publishedAction":{"name":"Create_Instance","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/create","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n\t\t\"instanceName\": FormInstance.formData.instance.instanceName,\n\t\t\"token\": FormInstance.formData.instance.token,\n\t\t\"qrcode\": FormInstance.formData.instance.qrcode,\n\t\t\"webhook\": FormInstance.formData.webhook.webhook,\n\t\t\"webhook_by_events\": FormInstance.formData.webhook.webhook_by_events,\n\t\t\"websocket_enabled\": FormInstance.formData.websocket.websocket_enabled,\n\t\t\"websocket_events\": FormInstance.formData.websocket.websocket_events,\n\t\t\"rabbitmq_enabled\": FormInstance.formData.websocket.rabbitmq_enabled,\n\t\t\"rabbitmq_events\": FormInstance.formData.websocket.rabbitmq_events,\n\t\t\"events\": FormInstance.formData.webhook.events,\n\t\t\"reject_call\": FormInstance.formData.settings.reject_call,\n\t\t\"msg_call\": FormInstance.formData.settings.msg_call,\n\t\t\"groups_ignore\": FormInstance.formData.settings.groups_ignore,\n\t\t\"always_online\": FormInstance.formData.settings.always_online,\n\t\t\"read_messages\": FormInstance.formData.settings.read_messages,\n\t\t\"read_status\": FormInstance.formData.settings.read_status,\n\t\t\"chatwoot_account_id\": FormInstance.formData.chatwoot.chatwoot_account_id,\n\t\t\"chatwoot_token\": FormInstance.formData.chatwoot.chatwoot_token,\n\t\t\"chatwoot_url\": FormInstance.formData.chatwoot.chatwoot_url,\n\t\t\"chatwoot_sign_msg\": FormInstance.formData.chatwoot.chatwoot_sign_msg,\n\t\t\"chatwoot_reopen_conversation\": FormInstance.formData.chatwoot.chatwoot_reopen_conversation,\n\t\t\"chatwoot_conversation_pending\": FormInstance.formData.chatwoot.chatwoot_conversation_pending\n\t}\n}}","bodyFormData":[{"key":"instanceName","value":"{{FormInstance.data.InputNewInstanceName}}"},{"key":"token","value":"{{FormInstance.data.InputNewInstanceToken}}"}],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"application/json"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"bodyFormData[0].value"},{"key":"bodyFormData[1].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["\n\t{\n\t\t\"instanceName\": FormInstance.formData.instance.instanceName,\n\t\t\"token\": FormInstance.formData.instance.token,\n\t\t\"qrcode\": FormInstance.formData.instance.qrcode,\n\t\t\"webhook\": FormInstance.formData.webhook.webhook,\n\t\t\"webhook_by_events\": FormInstance.formData.webhook.webhook_by_events,\n\t\t\"websocket_enabled\": FormInstance.formData.websocket.websocket_enabled,\n\t\t\"websocket_events\": FormInstance.formData.websocket.websocket_events,\n\t\t\"rabbitmq_enabled\": FormInstance.formData.websocket.rabbitmq_enabled,\n\t\t\"rabbitmq_events\": FormInstance.formData.websocket.rabbitmq_events,\n\t\t\"events\": FormInstance.formData.webhook.events,\n\t\t\"reject_call\": FormInstance.formData.settings.reject_call,\n\t\t\"msg_call\": FormInstance.formData.settings.msg_call,\n\t\t\"groups_ignore\": FormInstance.formData.settings.groups_ignore,\n\t\t\"always_online\": FormInstance.formData.settings.always_online,\n\t\t\"read_messages\": FormInstance.formData.settings.read_messages,\n\t\t\"read_status\": FormInstance.formData.settings.read_status,\n\t\t\"chatwoot_account_id\": FormInstance.formData.chatwoot.chatwoot_account_id,\n\t\t\"chatwoot_token\": FormInstance.formData.chatwoot.chatwoot_token,\n\t\t\"chatwoot_url\": FormInstance.formData.chatwoot.chatwoot_url,\n\t\t\"chatwoot_sign_msg\": FormInstance.formData.chatwoot.chatwoot_sign_msg,\n\t\t\"chatwoot_reopen_conversation\": FormInstance.formData.chatwoot.chatwoot_reopen_conversation,\n\t\t\"chatwoot_conversation_pending\": FormInstance.formData.chatwoot.chatwoot_conversation_pending\n\t}\n","FormInstance.data.InputNewInstanceName","FormInstance.data.InputNewInstanceToken","appsmith.store.api_url","appsmith.store.api_key"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T03:22:09Z"},"id":"Home_Create_Instance","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b37fa2945b083c5bc7b3"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Find_Chatwoot","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chatwoot/find/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T19:49:33Z"},"publishedAction":{"name":"Find_Chatwoot","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chatwoot/find/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T19:49:33Z"},"id":"Home_Find_Chatwoot","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b37fa2945b083c5bc7b5"},{"pluginType":"JS","pluginId":"js-plugin","unpublishedAction":{"name":"verifyConfig","fullyQualifiedName":"Scripts.verifyConfig","datasource":{"name":"UNUSED_DATASOURCE","pluginId":"js-plugin","invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","collectionId":"Home_Scripts","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","encodeParamsToggle":true,"body":"async function () {\n const api_url = await appsmith.store.api_url;\n const api_key = await appsmith.store.api_key;\n if (!api_url && !api_key) {\n showModal('ModalConfig');\n return false;\n }\n fetch_Instances.run();\n Find_Webhook.run();\n Find_Settings.run();\n Find_Chatwoot.run();\n return true;\n}","selfReferencingDataPaths":[],"jsArguments":[],"isAsync":true},"executeOnLoad":true,"clientSideExecution":true,"dynamicBindingPathList":[{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":[],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-29T16:12:42Z"},"publishedAction":{"name":"verifyConfig","fullyQualifiedName":"Scripts.verifyConfig","datasource":{"name":"UNUSED_DATASOURCE","pluginId":"js-plugin","invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","collectionId":"Home_Scripts","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","encodeParamsToggle":true,"body":"async function () {\n const api_url = await appsmith.store.api_url;\n const api_key = await appsmith.store.api_key;\n if (!api_url && !api_key) {\n showModal('ModalConfig');\n return false;\n }\n fetch_Instances.run();\n Find_Webhook.run();\n Find_Settings.run();\n Find_Chatwoot.run();\n return true;\n}","selfReferencingDataPaths":[],"jsArguments":[],"isAsync":true},"executeOnLoad":true,"clientSideExecution":true,"dynamicBindingPathList":[{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":[],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-29T16:12:42Z"},"id":"Home_Scripts.verifyConfig","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b37fa2945b083c5bc7b2"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Find_Settings","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/settings/find/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T19:48:45Z"},"publishedAction":{"name":"Find_Settings","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/settings/find/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T19:48:45Z"},"id":"Home_Find_Settings","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b37fa2945b083c5bc7b9"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"fetch_Instances","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/fetchInstances","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["appsmith.store.api_url","appsmith.store.api_key"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-29T16:12:42Z"},"publishedAction":{"name":"fetch_Instances","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/fetchInstances","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["appsmith.store.api_url","appsmith.store.api_key"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-29T16:12:42Z"},"id":"Home_fetch_Instances","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b37fa2945b083c5bc7b6"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Connect","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/connect/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url","appsmith.store.api_key"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-29T16:12:42Z"},"publishedAction":{"name":"Connect","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/connect/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url","appsmith.store.api_key"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-29T16:12:42Z"},"id":"Home_Connect","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b37fa2945b083c5bc7ba"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Delete","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/delete/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"","bodyFormData":[],"httpMethod":"DELETE","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url","appsmith.store.api_key"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T03:02:32Z"},"publishedAction":{"name":"Delete","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/delete/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"","bodyFormData":[],"httpMethod":"DELETE","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url","appsmith.store.api_key"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T03:02:32Z"},"id":"Home_Delete","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b37fa2945b083c5bc7b7"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Logout","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/logout/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"","bodyFormData":[],"httpMethod":"DELETE","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url","appsmith.store.api_key"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T03:02:00Z"},"publishedAction":{"name":"Logout","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/logout/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"","bodyFormData":[],"httpMethod":"DELETE","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url","appsmith.store.api_key"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T03:02:00Z"},"id":"Home_Logout","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b37fa2945b083c5bc7b8"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Find_Webhook","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/webhook/find/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T19:46:50Z"},"publishedAction":{"name":"Find_Webhook","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/webhook/find/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T19:46:50Z"},"id":"Home_Find_Webhook","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b37fa2945b083c5bc7c5"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Find_Rabbitmq","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/rabbitmq/find/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":true,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-08-03T00:55:16Z"},"publishedAction":{"name":"Find_Rabbitmq","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/rabbitmq/find/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":true,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-08-03T00:55:16Z"},"id":"Home_Find_Rabbitmq","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b37fa2945b083c5bc7c1"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Set_Websocket","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/websocket/set/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\tFormWebsocket.formData\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\tFormWebsocket.formData\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-08-03T00:55:30Z"},"publishedAction":{"name":"Set_Websocket","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/websocket/set/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\tFormWebsocket.formData\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\tFormWebsocket.formData\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-08-03T00:55:30Z"},"id":"Home_Set_Websocket","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b37fa2945b083c5bc7bd"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Update_ProfileName","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chat/updateProfileName/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n\t\t\"name\": FormProfile.formData.profileName\n\t}\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\t{\n\t\t\"name\": FormProfile.formData.profileName\n\t}\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:22:45Z"},"publishedAction":{"name":"Update_ProfileName","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chat/updateProfileName/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n\t\t\"name\": FormProfile.formData.profileName\n\t}\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\t{\n\t\t\"name\": FormProfile.formData.profileName\n\t}\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:22:45Z"},"id":"Home_Update_ProfileName","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b37fa2945b083c5bc7bb"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Update_ProfileStatus","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chat/updateProfileStatus/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n\t\t\"status\": FormProfile.formData.profileStatus\n\t}\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"application/json"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"body"},{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\t{\n\t\t\"status\": FormProfile.formData.profileStatus\n\t}\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:25:00Z"},"publishedAction":{"name":"Update_ProfileStatus","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chat/updateProfileStatus/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n\t\t\"status\": FormProfile.formData.profileStatus\n\t}\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"application/json"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"body"},{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\t{\n\t\t\"status\": FormProfile.formData.profileStatus\n\t}\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:25:00Z"},"id":"Home_Update_ProfileStatus","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b37fa2945b083c5bc7c6"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Set_Settings","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/settings/set/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\tFormSettings.formData\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"application/json"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url","\n\tFormSettings.formData\n"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T20:13:25Z"},"publishedAction":{"name":"Set_Settings","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/settings/set/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\tFormSettings.formData\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"application/json"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url","\n\tFormSettings.formData\n"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T20:13:25Z"},"id":"Home_Set_Settings","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b380a2945b083c5bc7ce"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Set_Chatwoot","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chatwoot/set/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n\t\t\"enabled\": FormChatwoot.formData.enabled,\n\t\t\"account_id\": String(FormChatwoot.formData.account_id),\n\t\t\"token\": FormChatwoot.formData.token,\n\t\t\"url\": FormChatwoot.formData.url,\n\t\t\"sign_msg\": FormChatwoot.formData.sign_msg,\n\t\t\"reopen_conversation\": FormChatwoot.formData.reopen_conversation,\n\t\t\"conversation_pending\": FormChatwoot.formData.conversation_pending\n\t}\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\t{\n\t\t\"enabled\": FormChatwoot.formData.enabled,\n\t\t\"account_id\": String(FormChatwoot.formData.account_id),\n\t\t\"token\": FormChatwoot.formData.token,\n\t\t\"url\": FormChatwoot.formData.url,\n\t\t\"sign_msg\": FormChatwoot.formData.sign_msg,\n\t\t\"reopen_conversation\": FormChatwoot.formData.reopen_conversation,\n\t\t\"conversation_pending\": FormChatwoot.formData.conversation_pending\n\t}\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T20:15:01Z"},"publishedAction":{"name":"Set_Chatwoot","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chatwoot/set/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n\t\t\"enabled\": FormChatwoot.formData.enabled,\n\t\t\"account_id\": String(FormChatwoot.formData.account_id),\n\t\t\"token\": FormChatwoot.formData.token,\n\t\t\"url\": FormChatwoot.formData.url,\n\t\t\"sign_msg\": FormChatwoot.formData.sign_msg,\n\t\t\"reopen_conversation\": FormChatwoot.formData.reopen_conversation,\n\t\t\"conversation_pending\": FormChatwoot.formData.conversation_pending\n\t}\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\t{\n\t\t\"enabled\": FormChatwoot.formData.enabled,\n\t\t\"account_id\": String(FormChatwoot.formData.account_id),\n\t\t\"token\": FormChatwoot.formData.token,\n\t\t\"url\": FormChatwoot.formData.url,\n\t\t\"sign_msg\": FormChatwoot.formData.sign_msg,\n\t\t\"reopen_conversation\": FormChatwoot.formData.reopen_conversation,\n\t\t\"conversation_pending\": FormChatwoot.formData.conversation_pending\n\t}\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T20:15:01Z"},"id":"Home_Set_Chatwoot","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b380a2945b083c5bc7d0"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Fetch_Instance","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/fetchInstances","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[{"key":"instanceName","value":"{{TableInstances.selectedRow.instance}}"}],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"queryParameters[0].value"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["appsmith.store.api_url","appsmith.store.api_key","TableInstances.selectedRow.instance"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:16:40Z"},"publishedAction":{"name":"Fetch_Instance","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/instance/fetchInstances","headers":[{"key":"apikey","value":"{{appsmith.store.api_key}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[{"key":"instanceName","value":"{{TableInstances.selectedRow.instance}}"}],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"queryParameters[0].value"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["appsmith.store.api_url","appsmith.store.api_key","TableInstances.selectedRow.instance"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:16:40Z"},"id":"Home_Fetch_Instance","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b380a2945b083c5bc7cf"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Remove_ProfilePicture","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chat/removeProfilePicture/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"","bodyFormData":[],"httpMethod":"DELETE","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:27:20Z"},"publishedAction":{"name":"Remove_ProfilePicture","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chat/removeProfilePicture/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"","bodyFormData":[],"httpMethod":"DELETE","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:27:20Z"},"id":"Home_Remove_ProfilePicture","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b380a2945b083c5bc7d4"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Set_Webhook","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/webhook/set/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\tFormWebhook.formData\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\tFormWebhook.formData\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T20:10:19Z"},"publishedAction":{"name":"Set_Webhook","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/webhook/set/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\tFormWebhook.formData\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\tFormWebhook.formData\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-30T20:10:19Z"},"id":"Home_Set_Webhook","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b380a2945b083c5bc7d5"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Update_ProfilePicture","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chat/updateProfilePicture/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n\t\t\"picture\": FormProfile.formData.profilePictureUrl\n\t}\n}}","bodyFormData":[],"httpMethod":"PUT","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\t{\n\t\t\"picture\": FormProfile.formData.profilePictureUrl\n\t}\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:25:56Z"},"publishedAction":{"name":"Update_ProfilePicture","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chat/updateProfilePicture/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n\t\t\"picture\": FormProfile.formData.profilePictureUrl\n\t}\n}}","bodyFormData":[],"httpMethod":"PUT","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\t{\n\t\t\"picture\": FormProfile.formData.profilePictureUrl\n\t}\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:25:56Z"},"id":"Home_Update_ProfilePicture","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b380a2945b083c5bc7d1"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Set_TypebotChangeSessionStatus","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/typebot/changeStatus/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n{\n \"remoteJid\": FormTypebotChangeSessionStatus.formData.remoteJid,\n \"status\": FormTypebotChangeSessionStatus.formData.status\n}\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"headers[0].value"},{"key":"path"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","\n{\n \"remoteJid\": FormTypebotChangeSessionStatus.formData.remoteJid,\n \"status\": FormTypebotChangeSessionStatus.formData.status\n}\n","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-08-19T11:28:01Z"},"publishedAction":{"name":"Set_TypebotChangeSessionStatus","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/typebot/changeStatus/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n{\n \"remoteJid\": FormTypebotChangeSessionStatus.formData.remoteJid,\n \"status\": FormTypebotChangeSessionStatus.formData.status\n}\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"headers[0].value"},{"key":"path"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","\n{\n \"remoteJid\": FormTypebotChangeSessionStatus.formData.remoteJid,\n \"status\": FormTypebotChangeSessionStatus.formData.status\n}\n","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-08-19T11:28:01Z"},"id":"Home_Set_TypebotChangeSessionStatus","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b380a2945b083c5bc7d2"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Set_Typebot","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/typebot/set/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n\t\t\"enabled\": FormTypebot.formData.enabled,\n\t\t\"url\": (FormTypebot.formData.url),\n\t\t\"typebot\": FormTypebot.formData.typebot,\n\t\t\"expire\": FormTypebot.formData.expire,\n\t\t\"keyword_finish\": FormTypebot.formData.keyword_finish,\n\t\t\"delay_message\": FormTypebot.formData.delay_message,\n\t\t\"unknown_messageg\": FormTypebot.formData.cunknown_messageg\n\t}\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"headers[0].value"},{"key":"path"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","\n\t{\n\t\t\"enabled\": FormTypebot.formData.enabled,\n\t\t\"url\": (FormTypebot.formData.url),\n\t\t\"typebot\": FormTypebot.formData.typebot,\n\t\t\"expire\": FormTypebot.formData.expire,\n\t\t\"keyword_finish\": FormTypebot.formData.keyword_finish,\n\t\t\"delay_message\": FormTypebot.formData.delay_message,\n\t\t\"unknown_messageg\": FormTypebot.formData.cunknown_messageg\n\t}\n","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-08-19T05:00:46Z"},"publishedAction":{"name":"Set_Typebot","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/typebot/set/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n\t\t\"enabled\": FormTypebot.formData.enabled,\n\t\t\"url\": (FormTypebot.formData.url),\n\t\t\"typebot\": FormTypebot.formData.typebot,\n\t\t\"expire\": FormTypebot.formData.expire,\n\t\t\"keyword_finish\": FormTypebot.formData.keyword_finish,\n\t\t\"delay_message\": FormTypebot.formData.delay_message,\n\t\t\"unknown_messageg\": FormTypebot.formData.cunknown_messageg\n\t}\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"headers[0].value"},{"key":"path"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","\n\t{\n\t\t\"enabled\": FormTypebot.formData.enabled,\n\t\t\"url\": (FormTypebot.formData.url),\n\t\t\"typebot\": FormTypebot.formData.typebot,\n\t\t\"expire\": FormTypebot.formData.expire,\n\t\t\"keyword_finish\": FormTypebot.formData.keyword_finish,\n\t\t\"delay_message\": FormTypebot.formData.delay_message,\n\t\t\"unknown_messageg\": FormTypebot.formData.cunknown_messageg\n\t}\n","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-08-19T05:00:46Z"},"id":"Home_Set_Typebot","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b380a2945b083c5bc7d9"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Find_Websocket","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/websocket/find/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":true,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-08-03T00:54:48Z"},"publishedAction":{"name":"Find_Websocket","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/websocket/find/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":true,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-08-03T00:54:48Z"},"id":"Home_Find_Websocket","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b380a2945b083c5bc7d8"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Fetch_PrivacySettings","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chat/fetchPrivacySettings/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:27:52Z"},"publishedAction":{"name":"Fetch_PrivacySettings","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chat/fetchPrivacySettings/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:27:52Z"},"id":"Home_Fetch_PrivacySettings","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b380a2945b083c5bc7dd"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Set_Rabbitmq","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/rabbitmq/set/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\tFormRabbitmq.formData\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\tFormRabbitmq.formData\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-08-03T00:56:01Z"},"publishedAction":{"name":"Set_Rabbitmq","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/rabbitmq/set/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\tFormRabbitmq.formData\n}}","bodyFormData":[],"httpMethod":"POST","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"},{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\tFormRabbitmq.formData\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-08-03T00:56:01Z"},"id":"Home_Set_Rabbitmq","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b380a2945b083c5bc7de"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Update_PrivacySettings","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chat/updatePrivacySettings/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n \"privacySettings\": {\n \"readreceipts\": FormProfile.formData.privacySettings.readreceipts,\n \"profile\": FormProfile.formData.privacySettings.profile,\n \"status\": FormProfile.formData.privacySettings.status,\n \"online\": FormProfile.formData.privacySettings.online,\n \"last\": FormProfile.formData.privacySettings.last,\n \"groupadd\": FormProfile.formData.privacySettings.groupadd\n\t\t}\n\t}\n}}","bodyFormData":[],"httpMethod":"PUT","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"headers[0].value"},{"key":"body"},{"key":"path"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\t{\n \"privacySettings\": {\n \"readreceipts\": FormProfile.formData.privacySettings.readreceipts,\n \"profile\": FormProfile.formData.privacySettings.profile,\n \"status\": FormProfile.formData.privacySettings.status,\n \"online\": FormProfile.formData.privacySettings.online,\n \"last\": FormProfile.formData.privacySettings.last,\n \"groupadd\": FormProfile.formData.privacySettings.groupadd\n\t\t}\n\t}\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:28:39Z"},"publishedAction":{"name":"Update_PrivacySettings","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/chat/updatePrivacySettings/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[{"key":"content-type","value":"application/json"}],"encodeParamsToggle":true,"queryParameters":[],"body":"{{\n\t{\n \"privacySettings\": {\n \"readreceipts\": FormProfile.formData.privacySettings.readreceipts,\n \"profile\": FormProfile.formData.privacySettings.profile,\n \"status\": FormProfile.formData.privacySettings.status,\n \"online\": FormProfile.formData.privacySettings.online,\n \"last\": FormProfile.formData.privacySettings.last,\n \"groupadd\": FormProfile.formData.privacySettings.groupadd\n\t\t}\n\t}\n}}","bodyFormData":[],"httpMethod":"PUT","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"headers[0].value"},{"key":"body"},{"key":"path"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","\n\t{\n \"privacySettings\": {\n \"readreceipts\": FormProfile.formData.privacySettings.readreceipts,\n \"profile\": FormProfile.formData.privacySettings.profile,\n \"status\": FormProfile.formData.privacySettings.status,\n \"online\": FormProfile.formData.privacySettings.online,\n \"last\": FormProfile.formData.privacySettings.last,\n \"groupadd\": FormProfile.formData.privacySettings.groupadd\n\t\t}\n\t}\n","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-07-31T12:28:39Z"},"id":"Home_Update_PrivacySettings","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b380a2945b083c5bc7db"},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Find_Typebot","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/typebot/find/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-08-19T03:57:40Z"},"publishedAction":{"name":"Find_Typebot","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":""},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policies":[],"userPermissions":[]},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"{{appsmith.store.api_url}}/typebot/find/{{encodeURIComponent(TableInstances.selectedRow.instance)}}","headers":[{"key":"apikey","value":"{{TableInstances.selectedRow.Apikey}}"}],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"bodyFormData":[],"httpMethod":"GET","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"path"},{"key":"headers[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["TableInstances.selectedRow.Apikey","encodeURIComponent(TableInstances.selectedRow.instance)","appsmith.store.api_url"],"userSetOnLoad":true,"confirmBeforeExecute":false,"policies":[],"userPermissions":[],"createdAt":"2023-08-19T03:57:40Z"},"id":"Home_Find_Typebot","deleted":false,"gitSyncId":"64e0b37fa2945b083c5bc7ac_64e0b380a2945b083c5bc7e3"}],"actionCollectionList":[{"unpublishedCollection":{"name":"Scripts","pageId":"Home","pluginId":"js-plugin","pluginType":"JS","actions":[],"archivedActions":[],"body":"export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tasync verifyConfig () {\n\t\tconst api_url = await appsmith.store.api_url;\n\t\tconst api_key = await appsmith.store.api_key;\n\t\tif(!api_url && !api_key){\n\t\t\tshowModal('ModalConfig');\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\tfetch_Instances.run();\n\t\tFind_Webhook.run();\n\t\tFind_Settings.run();\n\t\tFind_Chatwoot.run();\n\t\treturn true;\n\t}\n}","variables":[{"name":"myVar1","value":"[]"},{"name":"myVar2","value":"{}"}],"userPermissions":[]},"publishedCollection":{"name":"Scripts","pageId":"Home","pluginId":"js-plugin","pluginType":"JS","actions":[],"archivedActions":[],"body":"export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tasync verifyConfig () {\n\t\tconst api_url = await appsmith.store.api_url;\n\t\tconst api_key = await appsmith.store.api_key;\n\t\tif(!api_url && !api_key){\n\t\t\tshowModal('ModalConfig');\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\tfetch_Instances.run();\n\t\tFind_Webhook.run();\n\t\tFind_Settings.run();\n\t\tFind_Chatwoot.run();\n\t\treturn true;\n\t}\n}","variables":[{"name":"myVar1","value":"[]"},{"name":"myVar2","value":"{}"}],"userPermissions":[]},"id":"Home_Scripts","deleted":false,"gitSyncId":"64c534835ebbd221b60b4c54_64c5372a5dd3482b9ab5e11e"}],"updatedResources":{"customJSLibList":[],"actionList":["Scripts.verifyConfig##ENTITY_SEPARATOR##Home","Logout##ENTITY_SEPARATOR##Home","Fetch_Instance##ENTITY_SEPARATOR##Home","Set_Websocket##ENTITY_SEPARATOR##Home","Update_ProfileName##ENTITY_SEPARATOR##Home","Set_Chatwoot##ENTITY_SEPARATOR##Home","Create_Instance##ENTITY_SEPARATOR##Home","Update_ProfileStatus##ENTITY_SEPARATOR##Home","Find_Webhook##ENTITY_SEPARATOR##Home","Update_ProfilePicture##ENTITY_SEPARATOR##Home","Find_Settings##ENTITY_SEPARATOR##Home","Set_Settings##ENTITY_SEPARATOR##Home","Set_Typebot##ENTITY_SEPARATOR##Home","Update_PrivacySettings##ENTITY_SEPARATOR##Home","Find_Typebot##ENTITY_SEPARATOR##Home","Delete##ENTITY_SEPARATOR##Home","Find_Websocket##ENTITY_SEPARATOR##Home","Find_Chatwoot##ENTITY_SEPARATOR##Home","Connect##ENTITY_SEPARATOR##Home","Remove_ProfilePicture##ENTITY_SEPARATOR##Home","Fetch_PrivacySettings##ENTITY_SEPARATOR##Home","Restart##ENTITY_SEPARATOR##Home","Set_Rabbitmq##ENTITY_SEPARATOR##Home","fetch_Instances##ENTITY_SEPARATOR##Home","Find_Rabbitmq##ENTITY_SEPARATOR##Home","Set_Webhook##ENTITY_SEPARATOR##Home","Set_TypebotChangeSessionStatus##ENTITY_SEPARATOR##Home"],"pageList":["Home"],"actionCollectionList":["Scripts##ENTITY_SEPARATOR##Home"]},"editModeTheme":{"name":"Default","displayName":"Modern","config":{"colors":{"primaryColor":"#553DE9","backgroundColor":"#F8FAFC"},"borderRadius":{"appBorderRadius":{"none":"0px","M":"0.375rem","L":"1.5rem"}},"boxShadow":{"appBoxShadow":{"none":"none","S":"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)","M":"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)","L":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)"}},"fontFamily":{"appFont":["System Default","Nunito Sans","Poppins","Inter","Montserrat","Noto Sans","Open Sans","Roboto","Rubik","Ubuntu"]}},"properties":{"colors":{"primaryColor":"#16a34a","backgroundColor":"#F8FAFC"},"borderRadius":{"appBorderRadius":"0.375rem"},"boxShadow":{"appBoxShadow":"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)"},"fontFamily":{"appFont":"Nunito Sans"}},"stylesheet":{"AUDIO_RECORDER_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"BUTTON_WIDGET":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"BUTTON_GROUP_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","childStylesheet":{"button":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}"}}},"CAMERA_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"CHART_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","fontFamily":"{{appsmith.theme.fontFamily.appFont}}"},"CHECKBOX_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CHECKBOX_GROUP_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CONTAINER_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"CIRCULAR_PROGRESS_WIDGET":{"fillColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_INPUT_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATE_PICKER_WIDGET2":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"FILE_PICKER_WIDGET_V2":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"FORM_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"FORM_BUTTON_WIDGET":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"ICON_BUTTON_WIDGET":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"IFRAME_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"IMAGE_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"INPUT_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"INPUT_WIDGET_V2":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"JSON_FORM_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}}},"LIST_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"MAP_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"MAP_CHART_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","fontFamily":"{{appsmith.theme.fontFamily.appFont}}"},"MENU_BUTTON_WIDGET":{"menuColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MODAL_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTI_SELECT_TREE_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTI_SELECT_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTI_SELECT_WIDGET_V2":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DROP_DOWN_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PROGRESSBAR_WIDGET":{"fillColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"PROGRESS_WIDGET":{"fillColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CODE_SCANNER_WIDGET":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RATE_WIDGET":{"activeColor":"{{appsmith.theme.colors.primaryColor}}"},"RADIO_GROUP_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"RICH_TEXT_EDITOR_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"STATBOX_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"SWITCH_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SWITCH_GROUP_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}"},"SELECT_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"TABLE_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","childStylesheet":{"button":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"menuButton":{"menuColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"iconButton":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}}},"TABLE_WIDGET_V2":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","childStylesheet":{"button":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"menuButton":{"menuColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"iconButton":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"editActions":{"saveButtonColor":"{{appsmith.theme.colors.primaryColor}}","saveBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","discardButtonColor":"{{appsmith.theme.colors.primaryColor}}","discardBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"}}},"TABS_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"TEXT_WIDGET":{"truncateButtonColor":"{{appsmith.theme.colors.primaryColor}}","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"VIDEO_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"SINGLE_SELECT_TREE_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"CATEGORY_SLIDER_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}"},"NUMBER_SLIDER_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}"},"RANGE_SLIDER_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}"}},"isSystemTheme":false,"deleted":false},"publishedTheme":{"name":"Default","displayName":"Modern","config":{"colors":{"primaryColor":"#553DE9","backgroundColor":"#F8FAFC"},"borderRadius":{"appBorderRadius":{"none":"0px","M":"0.375rem","L":"1.5rem"}},"boxShadow":{"appBoxShadow":{"none":"none","S":"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)","M":"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)","L":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)"}},"fontFamily":{"appFont":["System Default","Nunito Sans","Poppins","Inter","Montserrat","Noto Sans","Open Sans","Roboto","Rubik","Ubuntu"]}},"properties":{"colors":{"primaryColor":"#16a34a","backgroundColor":"#F8FAFC"},"borderRadius":{"appBorderRadius":"0.375rem"},"boxShadow":{"appBoxShadow":"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)"},"fontFamily":{"appFont":"Nunito Sans"}},"stylesheet":{"AUDIO_RECORDER_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"BUTTON_WIDGET":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"BUTTON_GROUP_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","childStylesheet":{"button":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}"}}},"CAMERA_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"CHART_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","fontFamily":"{{appsmith.theme.fontFamily.appFont}}"},"CHECKBOX_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CHECKBOX_GROUP_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CONTAINER_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"CIRCULAR_PROGRESS_WIDGET":{"fillColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_INPUT_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATE_PICKER_WIDGET2":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"FILE_PICKER_WIDGET_V2":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"FORM_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"FORM_BUTTON_WIDGET":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"ICON_BUTTON_WIDGET":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"IFRAME_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"IMAGE_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"INPUT_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"INPUT_WIDGET_V2":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"JSON_FORM_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","submitButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"resetButtonStyles":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"childStylesheet":{"ARRAY":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"OBJECT":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","cellBoxShadow":"none"},"CHECKBOX":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CURRENCY_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DATEPICKER":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"EMAIL_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTISELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTILINE_TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PASSWORD_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PHONE_NUMBER_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RADIO_GROUP":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SELECT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"SWITCH":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"TEXT_INPUT":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}}},"LIST_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"MAP_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"MAP_CHART_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","fontFamily":"{{appsmith.theme.fontFamily.appFont}}"},"MENU_BUTTON_WIDGET":{"menuColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MODAL_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTI_SELECT_TREE_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTI_SELECT_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"MULTI_SELECT_WIDGET_V2":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"DROP_DOWN_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"PROGRESSBAR_WIDGET":{"fillColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"PROGRESS_WIDGET":{"fillColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"CODE_SCANNER_WIDGET":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"RATE_WIDGET":{"activeColor":"{{appsmith.theme.colors.primaryColor}}"},"RADIO_GROUP_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"RICH_TEXT_EDITOR_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"STATBOX_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"SWITCH_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","boxShadow":"none"},"SWITCH_GROUP_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}"},"SELECT_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"TABLE_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","childStylesheet":{"button":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"menuButton":{"menuColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"iconButton":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"}}},"TABLE_WIDGET_V2":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","childStylesheet":{"button":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"menuButton":{"menuColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"iconButton":{"buttonColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"editActions":{"saveButtonColor":"{{appsmith.theme.colors.primaryColor}}","saveBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","discardButtonColor":"{{appsmith.theme.colors.primaryColor}}","discardBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"}}},"TABS_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"TEXT_WIDGET":{"truncateButtonColor":"{{appsmith.theme.colors.primaryColor}}","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},"VIDEO_WIDGET":{"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}"},"SINGLE_SELECT_TREE_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","boxShadow":"none"},"CATEGORY_SLIDER_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}"},"NUMBER_SLIDER_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}"},"RANGE_SLIDER_WIDGET":{"accentColor":"{{appsmith.theme.colors.primaryColor}}"}},"isSystemTheme":false,"deleted":false}} From 9123d7014de8f0c62524f73ca6e1f0fabfb440b7 Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Thu, 31 Aug 2023 16:49:50 -0300 Subject: [PATCH 20/36] fix: create rabbitmq queues on set config --- src/libs/amqp.server.ts | 28 +++++++++++++++++++ .../controllers/instance.controller.ts | 5 +++- src/whatsapp/services/rabbitmq.service.ts | 2 ++ 3 files changed, 34 insertions(+), 1 deletion(-) diff --git a/src/libs/amqp.server.ts b/src/libs/amqp.server.ts index cc0f13b5..272577d9 100644 --- a/src/libs/amqp.server.ts +++ b/src/libs/amqp.server.ts @@ -41,3 +41,31 @@ export const initAMQP = () => { export const getAMQP = (): amqp.Channel | null => { return amqpChannel; }; + +export const initQueues = (instanceName: string, events: string[]) => { + const queues = events.map((event) => { + return `${event.replace(/_/g, '.').toLowerCase()}`; + }); + + queues.forEach((event) => { + const amqp = getAMQP(); + const exchangeName = instanceName ?? 'evolution_exchange'; + + amqp.assertExchange(exchangeName, 'topic', { + durable: true, + autoDelete: false, + }); + + const queueName = `${instanceName}.${event}`; + + amqp.assertQueue(queueName, { + durable: true, + autoDelete: false, + arguments: { + 'x-queue-type': 'quorum', + }, + }); + + amqp.bindQueue(queueName, exchangeName, event); + }); +}; diff --git a/src/whatsapp/controllers/instance.controller.ts b/src/whatsapp/controllers/instance.controller.ts index 3030a060..ed466284 100644 --- a/src/whatsapp/controllers/instance.controller.ts +++ b/src/whatsapp/controllers/instance.controller.ts @@ -5,6 +5,7 @@ import EventEmitter2 from 'eventemitter2'; import { ConfigService, HttpServer } from '../../config/env.config'; import { Logger } from '../../config/logger.config'; import { BadRequestException, InternalServerErrorException } from '../../exceptions'; +import { initQueues } from '../../libs/amqp.server'; import { RedisCache } from '../../libs/redis.client'; import { InstanceDto } from '../dto/instance.dto'; import { RepositoryBroker } from '../repository/repository.manager'; @@ -232,10 +233,12 @@ export class InstanceController { } this.rabbitmqService.create(instance, { enabled: true, - events: rabbitmq_events, + events: newEvents, }); rabbitmqEvents = (await this.rabbitmqService.find(instance)).events; + + initQueues(instance.instanceName, rabbitmqEvents); } catch (error) { this.logger.log(error); } diff --git a/src/whatsapp/services/rabbitmq.service.ts b/src/whatsapp/services/rabbitmq.service.ts index 383ad07a..a377595b 100644 --- a/src/whatsapp/services/rabbitmq.service.ts +++ b/src/whatsapp/services/rabbitmq.service.ts @@ -1,4 +1,5 @@ import { Logger } from '../../config/logger.config'; +import { initQueues } from '../../libs/amqp.server'; import { InstanceDto } from '../dto/instance.dto'; import { RabbitmqDto } from '../dto/rabbitmq.dto'; import { RabbitmqRaw } from '../models'; @@ -13,6 +14,7 @@ export class RabbitmqService { this.logger.verbose('create rabbitmq: ' + instance.instanceName); this.waMonitor.waInstances[instance.instanceName].setRabbitmq(data); + initQueues(instance.instanceName, data.events); return { rabbitmq: { ...instance, rabbitmq: data } }; } From 3ea454c7ed03bffcf89ad27dfe5e38117481c3d4 Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Thu, 31 Aug 2023 17:01:09 -0300 Subject: [PATCH 21/36] fix: create rabbitmq queues on set config --- src/libs/amqp.server.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libs/amqp.server.ts b/src/libs/amqp.server.ts index 272577d9..21357257 100644 --- a/src/libs/amqp.server.ts +++ b/src/libs/amqp.server.ts @@ -43,6 +43,9 @@ export const getAMQP = (): amqp.Channel | null => { }; export const initQueues = (instanceName: string, events: string[]) => { + console.log('initQueues', instanceName, events); + if (!events.length) return; + const queues = events.map((event) => { return `${event.replace(/_/g, '.').toLowerCase()}`; }); From 6eda5562421f53b31fe566cc131acfc5af3a32b0 Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Thu, 31 Aug 2023 17:10:19 -0300 Subject: [PATCH 22/36] fix: create rabbitmq queues on set config --- src/libs/amqp.server.ts | 2 +- src/whatsapp/controllers/instance.controller.ts | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/libs/amqp.server.ts b/src/libs/amqp.server.ts index 21357257..172d76a7 100644 --- a/src/libs/amqp.server.ts +++ b/src/libs/amqp.server.ts @@ -44,7 +44,7 @@ export const getAMQP = (): amqp.Channel | null => { export const initQueues = (instanceName: string, events: string[]) => { console.log('initQueues', instanceName, events); - if (!events.length) return; + if (!events || !events.length) return; const queues = events.map((event) => { return `${event.replace(/_/g, '.').toLowerCase()}`; diff --git a/src/whatsapp/controllers/instance.controller.ts b/src/whatsapp/controllers/instance.controller.ts index ed466284..257d5f05 100644 --- a/src/whatsapp/controllers/instance.controller.ts +++ b/src/whatsapp/controllers/instance.controller.ts @@ -229,7 +229,7 @@ export class InstanceController { 'CHAMA_AI_ACTION', ]; } else { - newEvents = events; + newEvents = rabbitmq_events; } this.rabbitmqService.create(instance, { enabled: true, @@ -237,8 +237,6 @@ export class InstanceController { }); rabbitmqEvents = (await this.rabbitmqService.find(instance)).events; - - initQueues(instance.instanceName, rabbitmqEvents); } catch (error) { this.logger.log(error); } From 7e4dbfdd7e108d9a4d8437f4857997def278823a Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Thu, 31 Aug 2023 18:24:30 -0300 Subject: [PATCH 23/36] fix: Added log when send event to rabbitMQ and Websocket --- src/libs/amqp.server.ts | 1 - .../controllers/instance.controller.ts | 1 - src/whatsapp/services/whatsapp.service.ts | 38 +++++++++++++++++++ 3 files changed, 38 insertions(+), 2 deletions(-) diff --git a/src/libs/amqp.server.ts b/src/libs/amqp.server.ts index 172d76a7..18b82c52 100644 --- a/src/libs/amqp.server.ts +++ b/src/libs/amqp.server.ts @@ -43,7 +43,6 @@ export const getAMQP = (): amqp.Channel | null => { }; export const initQueues = (instanceName: string, events: string[]) => { - console.log('initQueues', instanceName, events); if (!events || !events.length) return; const queues = events.map((event) => { diff --git a/src/whatsapp/controllers/instance.controller.ts b/src/whatsapp/controllers/instance.controller.ts index 257d5f05..8d0e21ca 100644 --- a/src/whatsapp/controllers/instance.controller.ts +++ b/src/whatsapp/controllers/instance.controller.ts @@ -5,7 +5,6 @@ import EventEmitter2 from 'eventemitter2'; import { ConfigService, HttpServer } from '../../config/env.config'; import { Logger } from '../../config/logger.config'; import { BadRequestException, InternalServerErrorException } from '../../exceptions'; -import { initQueues } from '../../libs/amqp.server'; import { RedisCache } from '../../libs/redis.client'; import { InstanceDto } from '../dto/instance.dto'; import { RepositoryBroker } from '../repository/repository.manager'; diff --git a/src/whatsapp/services/whatsapp.service.ts b/src/whatsapp/services/whatsapp.service.ts index f5e2c619..2e5e79f6 100644 --- a/src/whatsapp/services/whatsapp.service.ts +++ b/src/whatsapp/services/whatsapp.service.ts @@ -688,6 +688,25 @@ export class WAStartupService { } amqp.publish(exchangeName, event, Buffer.from(JSON.stringify(message))); + + if (this.configService.get('LOG').LEVEL.includes('WEBHOOKS')) { + const logData = { + local: WAStartupService.name + '.sendData-RabbitMQ', + event, + instance: this.instance.name, + data, + server_url: serverUrl, + apikey: (expose && instanceApikey) || null, + date_time: now, + sender: this.wuid, + }; + + if (expose && instanceApikey) { + logData['apikey'] = instanceApikey; + } + + this.logger.log(logData); + } } } } @@ -713,6 +732,25 @@ export class WAStartupService { this.logger.verbose('Sending data to socket.io in channel: ' + this.instance.name); io.of(`/${this.instance.name}`).emit(event, message); + + if (this.configService.get('LOG').LEVEL.includes('WEBHOOKS')) { + const logData = { + local: WAStartupService.name + '.sendData-Websocket', + event, + instance: this.instance.name, + data, + server_url: serverUrl, + apikey: (expose && instanceApikey) || null, + date_time: now, + sender: this.wuid, + }; + + if (expose && instanceApikey) { + logData['apikey'] = instanceApikey; + } + + this.logger.log(logData); + } } } From f83d8de476fc206a792395df4773e44e7a5c38f6 Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Mon, 4 Sep 2023 13:00:16 -0300 Subject: [PATCH 24/36] test: process exit when errors --- package.json | 2 +- src/main.ts | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 275e2b41..783731d7 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "@figuro/chatwoot-sdk": "^1.1.14", "@hapi/boom": "^10.0.1", "@sentry/node": "^7.59.2", - "@whiskeysockets/baileys": "github:EvolutionAPI/Baileys", + "@whiskeysockets/baileys": "^6.4.1", "amqplib": "^0.10.3", "axios": "^1.3.5", "class-validator": "^0.13.2", diff --git a/src/main.ts b/src/main.ts index 167909b1..8581fda7 100644 --- a/src/main.ts +++ b/src/main.ts @@ -83,6 +83,11 @@ function bootstrap() { httpService.post('', errorData); } + if (err['message'].includes('No sessions') || err['message'].includes('Connection Closed')) { + console.log(err['message']); + process.exit(1); + } + return res.status(err['status'] || 500).json({ status: err['status'] || 500, error: err['error'] || 'Internal Server Error', From 41bea8931f6dfca19b09ec19b8f48310be448d46 Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Mon, 4 Sep 2023 13:08:16 -0300 Subject: [PATCH 25/36] test: process exit when errors --- src/whatsapp/services/whatsapp.service.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/whatsapp/services/whatsapp.service.ts b/src/whatsapp/services/whatsapp.service.ts index bc719392..74a0a01c 100644 --- a/src/whatsapp/services/whatsapp.service.ts +++ b/src/whatsapp/services/whatsapp.service.ts @@ -1432,7 +1432,12 @@ export class WAStartupService { this.logger.verbose('Event received: messages.upsert'); const received = messages[0]; - if (type !== 'notify' || received.message?.protocolMessage || received.message?.pollUpdateMessage) { + if ( + type !== 'notify' || + !received.message || + received.message?.protocolMessage || + received.message?.pollUpdateMessage + ) { this.logger.verbose('message rejected'); return; } From 7d9dd64303ae42a10edd7ce8c1e3bf054ac8e7f1 Mon Sep 17 00:00:00 2001 From: Wender Teixeira Date: Mon, 4 Sep 2023 15:06:18 -0300 Subject: [PATCH 26/36] Update monitor.service.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Isso permite que as operações assíncronas sejam executadas em paralelo --- src/whatsapp/services/monitor.service.ts | 101 +++++++++-------------- 1 file changed, 41 insertions(+), 60 deletions(-) diff --git a/src/whatsapp/services/monitor.service.ts b/src/whatsapp/services/monitor.service.ts index 69aae5aa..e0bdfd73 100644 --- a/src/whatsapp/services/monitor.service.ts +++ b/src/whatsapp/services/monitor.service.ts @@ -74,81 +74,62 @@ export class WAMonitoringService { } } - public async instanceInfo(instanceName?: string) { + public async instanceInfo(instanceName?: string) { this.logger.verbose('get instance info'); - if (instanceName && !this.waInstances[instanceName]) { - throw new NotFoundException(`Instance "${instanceName}" not found`); - } - const instances: any[] = []; + const urlServer = this.configService.get('SERVER').URL; - for await (const [key, value] of Object.entries(this.waInstances)) { - if (value) { - this.logger.verbose('get instance info: ' + key); - let chatwoot: any; - - const urlServer = this.configService.get('SERVER').URL; - - const findChatwoot = await this.waInstances[key].findChatwoot(); - - if (findChatwoot && findChatwoot.enabled) { - chatwoot = { - ...findChatwoot, - webhook_url: `${urlServer}/chatwoot/webhook/${encodeURIComponent(key)}`, + const instances: any[] = await Promise.all( + Object.entries(this.waInstances).map(async ([key, value]) => { + if (!value || !value.connectionStatus || value.connectionStatus.state !== 'open') { + return { + instance: { + instanceName: key, + status: value?.connectionStatus?.state || 'unknown', + }, }; } - if (value.connectionStatus.state === 'open') { - this.logger.verbose('instance: ' + key + ' - connectionStatus: open'); + this.logger.verbose('instance: ' + key + ' - connectionStatus: open'); - const instanceData = { - instance: { - instanceName: key, - owner: value.wuid, - profileName: (await value.getProfileName()) || 'not loaded', - profilePictureUrl: value.profilePictureUrl, - profileStatus: (await value.getProfileStatus()) || '', - status: value.connectionStatus.state, - }, - }; + const instanceData: any = { + instance: { + instanceName: key, + owner: value.wuid, + profileName: (await value.getProfileName()) || 'not loaded', + profilePictureUrl: value.profilePictureUrl, + profileStatus: (await value.getProfileStatus()) || '', + status: 'open', + }, + }; - if (this.configService.get('AUTHENTICATION').EXPOSE_IN_FETCH_INSTANCES) { - instanceData.instance['serverUrl'] = this.configService.get('SERVER').URL; + if (this.configService.get('AUTHENTICATION').EXPOSE_IN_FETCH_INSTANCES) { + instanceData.instance.serverUrl = urlServer; + instanceData.instance.apikey = (await this.repository.auth.find(key))?.apikey; - instanceData.instance['apikey'] = (await this.repository.auth.find(key))?.apikey; - - instanceData.instance['chatwoot'] = chatwoot; + const findChatwoot = await this.waInstances[key].findChatwoot(); + if (findChatwoot && findChatwoot.enabled) { + instanceData.instance.chatwoot = { + ...findChatwoot, + webhook_url: `${urlServer}/chatwoot/webhook/${encodeURIComponent(key)}`, + }; } - - instances.push(instanceData); - } else { - this.logger.verbose('instance: ' + key + ' - connectionStatus: ' + value.connectionStatus.state); - - const instanceData = { - instance: { - instanceName: key, - status: value.connectionStatus.state, - }, - }; - - if (this.configService.get('AUTHENTICATION').EXPOSE_IN_FETCH_INSTANCES) { - instanceData.instance['serverUrl'] = this.configService.get('SERVER').URL; - - instanceData.instance['apikey'] = (await this.repository.auth.find(key))?.apikey; - - instanceData.instance['chatwoot'] = chatwoot; - } - - instances.push(instanceData); } - } - } + + return instanceData; + }), + ); this.logger.verbose('return instance info: ' + instances.length); - return instances.find((i) => i.instance.instanceName === instanceName) ?? instances; - } + if (instanceName) { + const instance = instances.find((i) => i.instance.instanceName === instanceName); + return instance || []; + } + return instances; + } + private delInstanceFiles() { this.logger.verbose('cron to delete instance files started'); setInterval(async () => { From b554d8c19ca22af911d3b2098ed73f16583bfa8d Mon Sep 17 00:00:00 2001 From: Wender Teixeira Date: Mon, 4 Sep 2023 15:11:23 -0300 Subject: [PATCH 27/36] Update monitor.service.ts (loadInstances) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Melhorando é organizando o loadInstances --- src/whatsapp/services/monitor.service.ts | 130 +++++++++++++---------- 1 file changed, 74 insertions(+), 56 deletions(-) diff --git a/src/whatsapp/services/monitor.service.ts b/src/whatsapp/services/monitor.service.ts index e0bdfd73..ec5106e9 100644 --- a/src/whatsapp/services/monitor.service.ts +++ b/src/whatsapp/services/monitor.service.ts @@ -74,7 +74,7 @@ export class WAMonitoringService { } } - public async instanceInfo(instanceName?: string) { + public async instanceInfo(instanceName?: string) { this.logger.verbose('get instance info'); const urlServer = this.configService.get('SERVER').URL; @@ -129,7 +129,7 @@ export class WAMonitoringService { return instances; } - + private delInstanceFiles() { this.logger.verbose('cron to delete instance files started'); setInterval(async () => { @@ -226,69 +226,87 @@ export class WAMonitoringService { } public async loadInstance() { - this.logger.verbose('load instances'); - const set = async (name: string) => { - const instance = new WAStartupService(this.configService, this.eventEmitter, this.repository, this.cache); - instance.instanceName = name; - this.logger.verbose('instance loaded: ' + name); - - await instance.connectToWhatsapp(); - this.logger.verbose('connectToWhatsapp: ' + name); - - this.waInstances[name] = instance; - }; + this.logger.verbose('Loading instances'); try { if (this.redis.ENABLED) { - this.logger.verbose('redis enabled'); - await this.cache.connect(this.redis as Redis); - const keys = await this.cache.instanceKeys(); - if (keys?.length > 0) { - this.logger.verbose('reading instance keys and setting instances'); - keys.forEach(async (k) => await set(k.split(':')[1])); - } else { - this.logger.verbose('no instance keys found'); - } - this.cache.disconnect(); - return; - } - - if (this.db.ENABLED && this.db.SAVE_DATA.INSTANCE) { - this.logger.verbose('database enabled'); - await this.repository.dbServer.connect(); - const collections: any[] = await this.dbInstance.collections(); - if (collections.length > 0) { - this.logger.verbose('reading collections and setting instances'); - collections.forEach(async (coll) => await set(coll.namespace.replace(/^[\w-]+\./, ''))); - } else { - this.logger.verbose('no collections found'); - } - return; - } - - this.logger.verbose('store in files enabled'); - const dir = opendirSync(INSTANCE_DIR, { encoding: 'utf-8' }); - for await (const dirent of dir) { - if (dirent.isDirectory()) { - this.logger.verbose('reading instance files and setting instances'); - const files = readdirSync(join(INSTANCE_DIR, dirent.name), { - encoding: 'utf-8', - }); - if (files.length === 0) { - rmSync(join(INSTANCE_DIR, dirent.name), { recursive: true, force: true }); - break; - } - - await set(dirent.name); - } else { - this.logger.verbose('no instance files found'); - } + await this.loadInstancesFromRedis(); + } else if (this.db.ENABLED && this.db.SAVE_DATA.INSTANCE) { + await this.loadInstancesFromDatabase(); + } else { + await this.loadInstancesFromFiles(); } } catch (error) { this.logger.error(error); } } + private async setInstance(name: string) { + const instance = new WAStartupService(this.configService, this.eventEmitter, this.repository, this.cache); + instance.instanceName = name; + this.logger.verbose('Instance loaded: ' + name); + + await instance.connectToWhatsapp(); + this.logger.verbose('connectToWhatsapp: ' + name); + + this.waInstances[name] = instance; + } + + private async loadInstancesFromRedis() { + this.logger.verbose('Redis enabled'); + await this.cache.connect(this.redis as Redis); + const keys = await this.cache.instanceKeys(); + + if (keys?.length > 0) { + this.logger.verbose('Reading instance keys and setting instances'); + await Promise.all(keys.map((k) => this.setInstance(k.split(':')[1]))); + } else { + this.logger.verbose('No instance keys found'); + } + + this.cache.disconnect(); + } + + private async loadInstancesFromDatabase() { + this.logger.verbose('Database enabled'); + await this.repository.dbServer.connect(); + const collections: any[] = await this.dbInstance.collections(); + + if (collections.length > 0) { + this.logger.verbose('Reading collections and setting instances'); + await Promise.all(collections.map((coll) => this.setInstance(coll.namespace.replace(/^[\w-]+\./, '')))); + } else { + this.logger.verbose('No collections found'); + } + } + + private async loadInstancesFromFiles() { + this.logger.verbose('Store in files enabled'); + const dir = opendirSync(INSTANCE_DIR, { encoding: 'utf-8' }); + const instanceDirs = []; + + for await (const dirent of dir) { + if (dirent.isDirectory()) { + instanceDirs.push(dirent.name); + } else { + this.logger.verbose('No instance files found'); + } + } + + await Promise.all( + instanceDirs.map(async (instanceName) => { + this.logger.verbose('Reading instance files and setting instances: ' + instanceName); + const files = readdirSync(join(INSTANCE_DIR, instanceName), { encoding: 'utf-8' }); + + if (files.length === 0) { + rmSync(join(INSTANCE_DIR, instanceName), { recursive: true, force: true }); + } else { + await this.setInstance(instanceName); + } + }), + ); + } + private removeInstance() { this.eventEmitter.on('remove.instance', async (instanceName: string) => { this.logger.verbose('remove instance: ' + instanceName); From 402d5af19a766acb43b64a17fcd977b0009621ff Mon Sep 17 00:00:00 2001 From: Wender Teixeira Date: Mon, 4 Sep 2023 15:18:32 -0300 Subject: [PATCH 28/36] Update monitor.service.ts --- src/whatsapp/services/monitor.service.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/whatsapp/services/monitor.service.ts b/src/whatsapp/services/monitor.service.ts index ec5106e9..9acf0fd6 100644 --- a/src/whatsapp/services/monitor.service.ts +++ b/src/whatsapp/services/monitor.service.ts @@ -7,7 +7,6 @@ import { join } from 'path'; import { Auth, ConfigService, Database, DelInstance, HttpServer, Redis } from '../../config/env.config'; import { Logger } from '../../config/logger.config'; import { INSTANCE_DIR, STORE_DIR } from '../../config/path.config'; -import { NotFoundException } from '../../exceptions'; import { dbserver } from '../../libs/db.connect'; import { RedisCache } from '../../libs/redis.client'; import { @@ -180,7 +179,6 @@ export class WAMonitoringService { this.logger.verbose('cleaning up instance in redis: ' + instanceName); this.cache.reference = instanceName; await this.cache.delAll(); - this.cache.disconnect(); return; } @@ -263,8 +261,6 @@ export class WAMonitoringService { } else { this.logger.verbose('No instance keys found'); } - - this.cache.disconnect(); } private async loadInstancesFromDatabase() { From 2791f88b4c36038cf24ff90e679c289b6c0aa7bb Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Mon, 4 Sep 2023 16:13:43 -0300 Subject: [PATCH 29/36] fix: added delay in chatwoot receive webhook --- src/whatsapp/services/chatwoot.service.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/whatsapp/services/chatwoot.service.ts b/src/whatsapp/services/chatwoot.service.ts index abe48150..9c386bce 100644 --- a/src/whatsapp/services/chatwoot.service.ts +++ b/src/whatsapp/services/chatwoot.service.ts @@ -945,6 +945,9 @@ export class ChatwootService { public async receiveWebhook(instance: InstanceDto, body: any) { try { + // espera 500ms para evitar duplicidade de mensagens + await new Promise((resolve) => setTimeout(resolve, 500)); + this.logger.verbose('receive webhook to chatwoot instance: ' + instance.instanceName); const client = await this.clientCw(instance); From 384e311c7af5565cd351888ed19223c2f42c2c04 Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Mon, 4 Sep 2023 16:48:04 -0300 Subject: [PATCH 30/36] fix: added delay in chatwoot receive webhook --- src/whatsapp/services/chatwoot.service.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/whatsapp/services/chatwoot.service.ts b/src/whatsapp/services/chatwoot.service.ts index 9c386bce..485e408d 100644 --- a/src/whatsapp/services/chatwoot.service.ts +++ b/src/whatsapp/services/chatwoot.service.ts @@ -460,7 +460,9 @@ export class ChatwootService { let contact: any; if (body.key.fromMe) { if (findContact) { - contact = findContact; + contact = await this.updateContact(instance, findContact.id, { + avatar_url: picture_url.profilePictureUrl || null, + }); } else { const jid = isGroup ? null : body.key.remoteJid; contact = await this.createContact( @@ -481,7 +483,9 @@ export class ChatwootService { avatar_url: picture_url.profilePictureUrl || null, }); } else { - contact = findContact; + contact = await this.updateContact(instance, findContact.id, { + avatar_url: picture_url.profilePictureUrl || null, + }); } } else { const jid = isGroup ? null : body.key.remoteJid; From 8652d4031c1c00919a7086d41f43f57cbe74da86 Mon Sep 17 00:00:00 2001 From: Wender Teixeira Date: Mon, 4 Sep 2023 19:00:42 -0300 Subject: [PATCH 31/36] Update monitor.service.ts --- src/whatsapp/services/monitor.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/whatsapp/services/monitor.service.ts b/src/whatsapp/services/monitor.service.ts index 9acf0fd6..3e99a912 100644 --- a/src/whatsapp/services/monitor.service.ts +++ b/src/whatsapp/services/monitor.service.ts @@ -80,7 +80,7 @@ export class WAMonitoringService { const instances: any[] = await Promise.all( Object.entries(this.waInstances).map(async ([key, value]) => { - if (!value || !value.connectionStatus || value.connectionStatus.state !== 'open') { + if (!value || !value.connectionStatus || !value.connectionStatus.state) { return { instance: { instanceName: key, From 23534da27dd64badecc053ec1ccd5d36714b04b0 Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Tue, 5 Sep 2023 08:39:51 -0300 Subject: [PATCH 32/36] fix: added delay in chatwoot receive webhook --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 8581fda7..9f93ac71 100644 --- a/src/main.ts +++ b/src/main.ts @@ -83,7 +83,7 @@ function bootstrap() { httpService.post('', errorData); } - if (err['message'].includes('No sessions') || err['message'].includes('Connection Closed')) { + if (err['message'].includes('No sessions')) { console.log(err['message']); process.exit(1); } From 1dc5bb8bd17e5b7550543b223b5ee2d18ed4d26c Mon Sep 17 00:00:00 2001 From: Wender Teixeira Date: Tue, 5 Sep 2023 11:47:24 -0300 Subject: [PATCH 33/36] Update monitor.service.ts --- src/whatsapp/services/monitor.service.ts | 322 +---------------------- 1 file changed, 9 insertions(+), 313 deletions(-) diff --git a/src/whatsapp/services/monitor.service.ts b/src/whatsapp/services/monitor.service.ts index 3e99a912..97a32f95 100644 --- a/src/whatsapp/services/monitor.service.ts +++ b/src/whatsapp/services/monitor.service.ts @@ -1,78 +1,3 @@ -import { execSync } from 'child_process'; -import EventEmitter2 from 'eventemitter2'; -import { opendirSync, readdirSync, rmSync } from 'fs'; -import { Db } from 'mongodb'; -import { join } from 'path'; - -import { Auth, ConfigService, Database, DelInstance, HttpServer, Redis } from '../../config/env.config'; -import { Logger } from '../../config/logger.config'; -import { INSTANCE_DIR, STORE_DIR } from '../../config/path.config'; -import { dbserver } from '../../libs/db.connect'; -import { RedisCache } from '../../libs/redis.client'; -import { - AuthModel, - ChatwootModel, - ContactModel, - MessageModel, - MessageUpModel, - SettingsModel, - WebhookModel, -} from '../models'; -import { RepositoryBroker } from '../repository/repository.manager'; -import { WAStartupService } from './whatsapp.service'; - -export class WAMonitoringService { - constructor( - private readonly eventEmitter: EventEmitter2, - private readonly configService: ConfigService, - private readonly repository: RepositoryBroker, - private readonly cache: RedisCache, - ) { - this.logger.verbose('instance created'); - - this.removeInstance(); - this.noConnection(); - this.delInstanceFiles(); - - Object.assign(this.db, configService.get('DATABASE')); - Object.assign(this.redis, configService.get('REDIS')); - - this.dbInstance = this.db.ENABLED - ? this.repository.dbServer?.db(this.db.CONNECTION.DB_PREFIX_NAME + '-instances') - : undefined; - } - - private readonly db: Partial = {}; - private readonly redis: Partial = {}; - - private dbInstance: Db; - - private dbStore = dbserver; - - private readonly logger = new Logger(WAMonitoringService.name); - public readonly waInstances: Record = {}; - - public delInstanceTime(instance: string) { - const time = this.configService.get('DEL_INSTANCE'); - if (typeof time === 'number' && time > 0) { - this.logger.verbose(`Instance "${instance}" don't have connection, will be removed in ${time} minutes`); - - setTimeout(async () => { - if (this.waInstances[instance]?.connectionStatus?.state !== 'open') { - if (this.waInstances[instance]?.connectionStatus?.state === 'connecting') { - await this.waInstances[instance]?.client?.logout('Log out instance: ' + instance); - this.waInstances[instance]?.client?.ws?.close(); - this.waInstances[instance]?.client?.end(undefined); - delete this.waInstances[instance]; - } else { - delete this.waInstances[instance]; - this.eventEmitter.emit('remove.instance', instance, 'inner'); - } - } - }, 1000 * 60 * time); - } - } - public async instanceInfo(instanceName?: string) { this.logger.verbose('get instance info'); @@ -80,16 +5,15 @@ export class WAMonitoringService { const instances: any[] = await Promise.all( Object.entries(this.waInstances).map(async ([key, value]) => { - if (!value || !value.connectionStatus || !value.connectionStatus.state) { - return { - instance: { - instanceName: key, - status: value?.connectionStatus?.state || 'unknown', - }, - }; + const status = value?.connectionStatus?.state || 'unknown'; + + if (status === 'unknown') { + return null; } - this.logger.verbose('instance: ' + key + ' - connectionStatus: open'); + if (status === 'open') { + this.logger.verbose('instance: ' + key + ' - connectionStatus: open'); + } const instanceData: any = { instance: { @@ -98,7 +22,7 @@ export class WAMonitoringService { profileName: (await value.getProfileName()) || 'not loaded', profilePictureUrl: value.profilePictureUrl, profileStatus: (await value.getProfileStatus()) || '', - status: 'open', + status: status, }, }; @@ -117,7 +41,7 @@ export class WAMonitoringService { return instanceData; }), - ); + ).then((results) => results.filter((instance) => instance !== null)); this.logger.verbose('return instance info: ' + instances.length); @@ -128,231 +52,3 @@ export class WAMonitoringService { return instances; } - - private delInstanceFiles() { - this.logger.verbose('cron to delete instance files started'); - setInterval(async () => { - if (this.db.ENABLED && this.db.SAVE_DATA.INSTANCE) { - const collections = await this.dbInstance.collections(); - collections.forEach(async (collection) => { - const name = collection.namespace.replace(/^[\w-]+./, ''); - await this.dbInstance.collection(name).deleteMany({ - $or: [{ _id: { $regex: /^app.state.*/ } }, { _id: { $regex: /^session-.*/ } }], - }); - this.logger.verbose('instance files deleted: ' + name); - }); - } else if (!this.redis.ENABLED) { - const dir = opendirSync(INSTANCE_DIR, { encoding: 'utf-8' }); - for await (const dirent of dir) { - if (dirent.isDirectory()) { - const files = readdirSync(join(INSTANCE_DIR, dirent.name), { - encoding: 'utf-8', - }); - files.forEach(async (file) => { - if (file.match(/^app.state.*/) || file.match(/^session-.*/)) { - rmSync(join(INSTANCE_DIR, dirent.name, file), { - recursive: true, - force: true, - }); - } - }); - this.logger.verbose('instance files deleted: ' + dirent.name); - } - } - } - }, 3600 * 1000 * 2); - } - - public async cleaningUp(instanceName: string) { - this.logger.verbose('cleaning up instance: ' + instanceName); - if (this.db.ENABLED && this.db.SAVE_DATA.INSTANCE) { - this.logger.verbose('cleaning up instance in database: ' + instanceName); - await this.repository.dbServer.connect(); - const collections: any[] = await this.dbInstance.collections(); - if (collections.length > 0) { - await this.dbInstance.dropCollection(instanceName); - } - return; - } - - if (this.redis.ENABLED) { - this.logger.verbose('cleaning up instance in redis: ' + instanceName); - this.cache.reference = instanceName; - await this.cache.delAll(); - return; - } - - this.logger.verbose('cleaning up instance in files: ' + instanceName); - rmSync(join(INSTANCE_DIR, instanceName), { recursive: true, force: true }); - } - - public async cleaningStoreFiles(instanceName: string) { - if (!this.db.ENABLED) { - this.logger.verbose('cleaning store files instance: ' + instanceName); - rmSync(join(INSTANCE_DIR, instanceName), { recursive: true, force: true }); - - execSync(`rm -rf ${join(STORE_DIR, 'chats', instanceName)}`); - execSync(`rm -rf ${join(STORE_DIR, 'contacts', instanceName)}`); - execSync(`rm -rf ${join(STORE_DIR, 'message-up', instanceName)}`); - execSync(`rm -rf ${join(STORE_DIR, 'messages', instanceName)}`); - - execSync(`rm -rf ${join(STORE_DIR, 'auth', 'apikey', instanceName + '.json')}`); - execSync(`rm -rf ${join(STORE_DIR, 'webhook', instanceName + '.json')}`); - execSync(`rm -rf ${join(STORE_DIR, 'chatwoot', instanceName + '*')}`); - execSync(`rm -rf ${join(STORE_DIR, 'chamaai', instanceName + '*')}`); - execSync(`rm -rf ${join(STORE_DIR, 'proxy', instanceName + '*')}`); - execSync(`rm -rf ${join(STORE_DIR, 'rabbitmq', instanceName + '*')}`); - execSync(`rm -rf ${join(STORE_DIR, 'typebot', instanceName + '*')}`); - execSync(`rm -rf ${join(STORE_DIR, 'websocket', instanceName + '*')}`); - execSync(`rm -rf ${join(STORE_DIR, 'settings', instanceName + '*')}`); - - return; - } - - this.logger.verbose('cleaning store database instance: ' + instanceName); - - await AuthModel.deleteMany({ owner: instanceName }); - await ContactModel.deleteMany({ owner: instanceName }); - await MessageModel.deleteMany({ owner: instanceName }); - await MessageUpModel.deleteMany({ owner: instanceName }); - await AuthModel.deleteMany({ _id: instanceName }); - await WebhookModel.deleteMany({ _id: instanceName }); - await ChatwootModel.deleteMany({ _id: instanceName }); - await SettingsModel.deleteMany({ _id: instanceName }); - - return; - } - - public async loadInstance() { - this.logger.verbose('Loading instances'); - - try { - if (this.redis.ENABLED) { - await this.loadInstancesFromRedis(); - } else if (this.db.ENABLED && this.db.SAVE_DATA.INSTANCE) { - await this.loadInstancesFromDatabase(); - } else { - await this.loadInstancesFromFiles(); - } - } catch (error) { - this.logger.error(error); - } - } - - private async setInstance(name: string) { - const instance = new WAStartupService(this.configService, this.eventEmitter, this.repository, this.cache); - instance.instanceName = name; - this.logger.verbose('Instance loaded: ' + name); - - await instance.connectToWhatsapp(); - this.logger.verbose('connectToWhatsapp: ' + name); - - this.waInstances[name] = instance; - } - - private async loadInstancesFromRedis() { - this.logger.verbose('Redis enabled'); - await this.cache.connect(this.redis as Redis); - const keys = await this.cache.instanceKeys(); - - if (keys?.length > 0) { - this.logger.verbose('Reading instance keys and setting instances'); - await Promise.all(keys.map((k) => this.setInstance(k.split(':')[1]))); - } else { - this.logger.verbose('No instance keys found'); - } - } - - private async loadInstancesFromDatabase() { - this.logger.verbose('Database enabled'); - await this.repository.dbServer.connect(); - const collections: any[] = await this.dbInstance.collections(); - - if (collections.length > 0) { - this.logger.verbose('Reading collections and setting instances'); - await Promise.all(collections.map((coll) => this.setInstance(coll.namespace.replace(/^[\w-]+\./, '')))); - } else { - this.logger.verbose('No collections found'); - } - } - - private async loadInstancesFromFiles() { - this.logger.verbose('Store in files enabled'); - const dir = opendirSync(INSTANCE_DIR, { encoding: 'utf-8' }); - const instanceDirs = []; - - for await (const dirent of dir) { - if (dirent.isDirectory()) { - instanceDirs.push(dirent.name); - } else { - this.logger.verbose('No instance files found'); - } - } - - await Promise.all( - instanceDirs.map(async (instanceName) => { - this.logger.verbose('Reading instance files and setting instances: ' + instanceName); - const files = readdirSync(join(INSTANCE_DIR, instanceName), { encoding: 'utf-8' }); - - if (files.length === 0) { - rmSync(join(INSTANCE_DIR, instanceName), { recursive: true, force: true }); - } else { - await this.setInstance(instanceName); - } - }), - ); - } - - private removeInstance() { - this.eventEmitter.on('remove.instance', async (instanceName: string) => { - this.logger.verbose('remove instance: ' + instanceName); - try { - this.logger.verbose('instance: ' + instanceName + ' - removing from memory'); - this.waInstances[instanceName] = undefined; - } catch (error) { - this.logger.error(error); - } - - try { - this.logger.verbose('request cleaning up instance: ' + instanceName); - this.cleaningUp(instanceName); - this.cleaningStoreFiles(instanceName); - } finally { - this.logger.warn(`Instance "${instanceName}" - REMOVED`); - } - }); - this.eventEmitter.on('logout.instance', async (instanceName: string) => { - this.logger.verbose('logout instance: ' + instanceName); - try { - this.logger.verbose('request cleaning up instance: ' + instanceName); - this.cleaningUp(instanceName); - } finally { - this.logger.warn(`Instance "${instanceName}" - LOGOUT`); - } - }); - } - - private noConnection() { - this.logger.verbose('checking instances without connection'); - this.eventEmitter.on('no.connection', async (instanceName) => { - try { - this.logger.verbose('logging out instance: ' + instanceName); - await this.waInstances[instanceName]?.client?.logout('Log out instance: ' + instanceName); - - this.logger.verbose('close connection instance: ' + instanceName); - this.waInstances[instanceName]?.client?.ws?.close(); - - this.waInstances[instanceName].instance.qrcode = { count: 0 }; - this.waInstances[instanceName].stateConnection.state = 'close'; - } catch (error) { - this.logger.error({ - localError: 'noConnection', - warn: 'Error deleting instance from memory.', - error, - }); - } finally { - this.logger.warn(`Instance "${instanceName}" - NOT CONNECTION`); - } - }); - } -} From 240a77dccee59c332b86a2d8fe62255742472205 Mon Sep 17 00:00:00 2001 From: Wender Teixeira Date: Tue, 5 Sep 2023 11:48:38 -0300 Subject: [PATCH 34/36] Update monitor.service.ts Fix monitor --- src/whatsapp/services/monitor.service.ts | 303 +++++++++++++++++++++++ 1 file changed, 303 insertions(+) diff --git a/src/whatsapp/services/monitor.service.ts b/src/whatsapp/services/monitor.service.ts index 97a32f95..66b07bae 100644 --- a/src/whatsapp/services/monitor.service.ts +++ b/src/whatsapp/services/monitor.service.ts @@ -1,3 +1,78 @@ +import { execSync } from 'child_process'; +import EventEmitter2 from 'eventemitter2'; +import { opendirSync, readdirSync, rmSync } from 'fs'; +import { Db } from 'mongodb'; +import { join } from 'path'; + +import { Auth, ConfigService, Database, DelInstance, HttpServer, Redis } from '../../config/env.config'; +import { Logger } from '../../config/logger.config'; +import { INSTANCE_DIR, STORE_DIR } from '../../config/path.config'; +import { dbserver } from '../../libs/db.connect'; +import { RedisCache } from '../../libs/redis.client'; +import { + AuthModel, + ChatwootModel, + ContactModel, + MessageModel, + MessageUpModel, + SettingsModel, + WebhookModel, +} from '../models'; +import { RepositoryBroker } from '../repository/repository.manager'; +import { WAStartupService } from './whatsapp.service'; + +export class WAMonitoringService { + constructor( + private readonly eventEmitter: EventEmitter2, + private readonly configService: ConfigService, + private readonly repository: RepositoryBroker, + private readonly cache: RedisCache, + ) { + this.logger.verbose('instance created'); + + this.removeInstance(); + this.noConnection(); + this.delInstanceFiles(); + + Object.assign(this.db, configService.get('DATABASE')); + Object.assign(this.redis, configService.get('REDIS')); + + this.dbInstance = this.db.ENABLED + ? this.repository.dbServer?.db(this.db.CONNECTION.DB_PREFIX_NAME + '-instances') + : undefined; + } + + private readonly db: Partial = {}; + private readonly redis: Partial = {}; + + private dbInstance: Db; + + private dbStore = dbserver; + + private readonly logger = new Logger(WAMonitoringService.name); + public readonly waInstances: Record = {}; + + public delInstanceTime(instance: string) { + const time = this.configService.get('DEL_INSTANCE'); + if (typeof time === 'number' && time > 0) { + this.logger.verbose(`Instance "${instance}" don't have connection, will be removed in ${time} minutes`); + + setTimeout(async () => { + if (this.waInstances[instance]?.connectionStatus?.state !== 'open') { + if (this.waInstances[instance]?.connectionStatus?.state === 'connecting') { + await this.waInstances[instance]?.client?.logout('Log out instance: ' + instance); + this.waInstances[instance]?.client?.ws?.close(); + this.waInstances[instance]?.client?.end(undefined); + delete this.waInstances[instance]; + } else { + delete this.waInstances[instance]; + this.eventEmitter.emit('remove.instance', instance, 'inner'); + } + } + }, 1000 * 60 * time); + } + } + public async instanceInfo(instanceName?: string) { this.logger.verbose('get instance info'); @@ -52,3 +127,231 @@ return instances; } + + private delInstanceFiles() { + this.logger.verbose('cron to delete instance files started'); + setInterval(async () => { + if (this.db.ENABLED && this.db.SAVE_DATA.INSTANCE) { + const collections = await this.dbInstance.collections(); + collections.forEach(async (collection) => { + const name = collection.namespace.replace(/^[\w-]+./, ''); + await this.dbInstance.collection(name).deleteMany({ + $or: [{ _id: { $regex: /^app.state.*/ } }, { _id: { $regex: /^session-.*/ } }], + }); + this.logger.verbose('instance files deleted: ' + name); + }); + } else if (!this.redis.ENABLED) { + const dir = opendirSync(INSTANCE_DIR, { encoding: 'utf-8' }); + for await (const dirent of dir) { + if (dirent.isDirectory()) { + const files = readdirSync(join(INSTANCE_DIR, dirent.name), { + encoding: 'utf-8', + }); + files.forEach(async (file) => { + if (file.match(/^app.state.*/) || file.match(/^session-.*/)) { + rmSync(join(INSTANCE_DIR, dirent.name, file), { + recursive: true, + force: true, + }); + } + }); + this.logger.verbose('instance files deleted: ' + dirent.name); + } + } + } + }, 3600 * 1000 * 2); + } + + public async cleaningUp(instanceName: string) { + this.logger.verbose('cleaning up instance: ' + instanceName); + if (this.db.ENABLED && this.db.SAVE_DATA.INSTANCE) { + this.logger.verbose('cleaning up instance in database: ' + instanceName); + await this.repository.dbServer.connect(); + const collections: any[] = await this.dbInstance.collections(); + if (collections.length > 0) { + await this.dbInstance.dropCollection(instanceName); + } + return; + } + + if (this.redis.ENABLED) { + this.logger.verbose('cleaning up instance in redis: ' + instanceName); + this.cache.reference = instanceName; + await this.cache.delAll(); + return; + } + + this.logger.verbose('cleaning up instance in files: ' + instanceName); + rmSync(join(INSTANCE_DIR, instanceName), { recursive: true, force: true }); + } + + public async cleaningStoreFiles(instanceName: string) { + if (!this.db.ENABLED) { + this.logger.verbose('cleaning store files instance: ' + instanceName); + rmSync(join(INSTANCE_DIR, instanceName), { recursive: true, force: true }); + + execSync(`rm -rf ${join(STORE_DIR, 'chats', instanceName)}`); + execSync(`rm -rf ${join(STORE_DIR, 'contacts', instanceName)}`); + execSync(`rm -rf ${join(STORE_DIR, 'message-up', instanceName)}`); + execSync(`rm -rf ${join(STORE_DIR, 'messages', instanceName)}`); + + execSync(`rm -rf ${join(STORE_DIR, 'auth', 'apikey', instanceName + '.json')}`); + execSync(`rm -rf ${join(STORE_DIR, 'webhook', instanceName + '.json')}`); + execSync(`rm -rf ${join(STORE_DIR, 'chatwoot', instanceName + '*')}`); + execSync(`rm -rf ${join(STORE_DIR, 'chamaai', instanceName + '*')}`); + execSync(`rm -rf ${join(STORE_DIR, 'proxy', instanceName + '*')}`); + execSync(`rm -rf ${join(STORE_DIR, 'rabbitmq', instanceName + '*')}`); + execSync(`rm -rf ${join(STORE_DIR, 'typebot', instanceName + '*')}`); + execSync(`rm -rf ${join(STORE_DIR, 'websocket', instanceName + '*')}`); + execSync(`rm -rf ${join(STORE_DIR, 'settings', instanceName + '*')}`); + + return; + } + + this.logger.verbose('cleaning store database instance: ' + instanceName); + + await AuthModel.deleteMany({ owner: instanceName }); + await ContactModel.deleteMany({ owner: instanceName }); + await MessageModel.deleteMany({ owner: instanceName }); + await MessageUpModel.deleteMany({ owner: instanceName }); + await AuthModel.deleteMany({ _id: instanceName }); + await WebhookModel.deleteMany({ _id: instanceName }); + await ChatwootModel.deleteMany({ _id: instanceName }); + await SettingsModel.deleteMany({ _id: instanceName }); + + return; + } + + public async loadInstance() { + this.logger.verbose('Loading instances'); + + try { + if (this.redis.ENABLED) { + await this.loadInstancesFromRedis(); + } else if (this.db.ENABLED && this.db.SAVE_DATA.INSTANCE) { + await this.loadInstancesFromDatabase(); + } else { + await this.loadInstancesFromFiles(); + } + } catch (error) { + this.logger.error(error); + } + } + + private async setInstance(name: string) { + const instance = new WAStartupService(this.configService, this.eventEmitter, this.repository, this.cache); + instance.instanceName = name; + this.logger.verbose('Instance loaded: ' + name); + + await instance.connectToWhatsapp(); + this.logger.verbose('connectToWhatsapp: ' + name); + + this.waInstances[name] = instance; + } + + private async loadInstancesFromRedis() { + this.logger.verbose('Redis enabled'); + await this.cache.connect(this.redis as Redis); + const keys = await this.cache.instanceKeys(); + + if (keys?.length > 0) { + this.logger.verbose('Reading instance keys and setting instances'); + await Promise.all(keys.map((k) => this.setInstance(k.split(':')[1]))); + } else { + this.logger.verbose('No instance keys found'); + } + } + + private async loadInstancesFromDatabase() { + this.logger.verbose('Database enabled'); + await this.repository.dbServer.connect(); + const collections: any[] = await this.dbInstance.collections(); + + if (collections.length > 0) { + this.logger.verbose('Reading collections and setting instances'); + await Promise.all(collections.map((coll) => this.setInstance(coll.namespace.replace(/^[\w-]+\./, '')))); + } else { + this.logger.verbose('No collections found'); + } + } + + private async loadInstancesFromFiles() { + this.logger.verbose('Store in files enabled'); + const dir = opendirSync(INSTANCE_DIR, { encoding: 'utf-8' }); + const instanceDirs = []; + + for await (const dirent of dir) { + if (dirent.isDirectory()) { + instanceDirs.push(dirent.name); + } else { + this.logger.verbose('No instance files found'); + } + } + + await Promise.all( + instanceDirs.map(async (instanceName) => { + this.logger.verbose('Reading instance files and setting instances: ' + instanceName); + const files = readdirSync(join(INSTANCE_DIR, instanceName), { encoding: 'utf-8' }); + + if (files.length === 0) { + rmSync(join(INSTANCE_DIR, instanceName), { recursive: true, force: true }); + } else { + await this.setInstance(instanceName); + } + }), + ); + } + + private removeInstance() { + this.eventEmitter.on('remove.instance', async (instanceName: string) => { + this.logger.verbose('remove instance: ' + instanceName); + try { + this.logger.verbose('instance: ' + instanceName + ' - removing from memory'); + this.waInstances[instanceName] = undefined; + } catch (error) { + this.logger.error(error); + } + + try { + this.logger.verbose('request cleaning up instance: ' + instanceName); + this.cleaningUp(instanceName); + this.cleaningStoreFiles(instanceName); + } finally { + this.logger.warn(`Instance "${instanceName}" - REMOVED`); + } + }); + this.eventEmitter.on('logout.instance', async (instanceName: string) => { + this.logger.verbose('logout instance: ' + instanceName); + try { + this.logger.verbose('request cleaning up instance: ' + instanceName); + this.cleaningUp(instanceName); + } finally { + this.logger.warn(`Instance "${instanceName}" - LOGOUT`); + } + }); + } + + private noConnection() { + this.logger.verbose('checking instances without connection'); + this.eventEmitter.on('no.connection', async (instanceName) => { + try { + this.logger.verbose('logging out instance: ' + instanceName); + await this.waInstances[instanceName]?.client?.logout('Log out instance: ' + instanceName); + + this.logger.verbose('close connection instance: ' + instanceName); + this.waInstances[instanceName]?.client?.ws?.close(); + + this.waInstances[instanceName].instance.qrcode = { count: 0 }; + this.waInstances[instanceName].stateConnection.state = 'close'; + } catch (error) { + this.logger.error({ + localError: 'noConnection', + warn: 'Error deleting instance from memory.', + error, + }); + } finally { + this.logger.warn(`Instance "${instanceName}" - NOT CONNECTION`); + } + }); + } +} From cdbe839b35ac9cafc7cd08d504583dc1f02f6981 Mon Sep 17 00:00:00 2001 From: Wender Teixeira Date: Tue, 5 Sep 2023 11:49:02 -0300 Subject: [PATCH 35/36] Update monitor.service.ts From 250e67e7ae2d0e58d2a649dc6f2774d25198a9d0 Mon Sep 17 00:00:00 2001 From: Alan Mosko Date: Tue, 5 Sep 2023 17:44:47 -0300 Subject: [PATCH 36/36] Update whatsapp.service.ts --- src/whatsapp/services/whatsapp.service.ts | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/whatsapp/services/whatsapp.service.ts b/src/whatsapp/services/whatsapp.service.ts index e99cee84..09c78078 100644 --- a/src/whatsapp/services/whatsapp.service.ts +++ b/src/whatsapp/services/whatsapp.service.ts @@ -1458,21 +1458,20 @@ export class WAStartupService { } public async fetchProfile(instanceName: string, number?: string) { - const jid = (number) - ? this.createJid(number) - : this.client?.user?.id; + const jid = number ? this.createJid(number) : this.client?.user?.id; + this.logger.verbose('Getting profile with jid: ' + jid); try { this.logger.verbose('Getting profile info'); - const business = await this.fetchBusinessProfile(jid); - + if (number) { const info = (await this.whatsappNumber({ numbers: [jid] }))?.shift(); - const picture = await this.profilePicture(jid); - const status = await this.getStatus(jid); - + const picture = await this.profilePicture(info?.jid); + const status = await this.getStatus(info?.jid); + const business = await this.fetchBusinessProfile(info?.jid); + return { - wuid: jid, + wuid: info?.jid || jid, name: info?.name, numberExists: info?.exists, picture: picture?.profilePictureUrl, @@ -1484,7 +1483,8 @@ export class WAStartupService { }; } else { const info = await waMonitor.instanceInfo(instanceName); - + const business = await this.fetchBusinessProfile(jid); + return { wuid: jid, name: info?.instance?.profileName, @@ -1497,7 +1497,6 @@ export class WAStartupService { website: business?.website?.shift(), }; } - } catch (error) { this.logger.verbose('Profile not found'); return {