From 8afcfde0782fb577784cb2215ee79ef384c6c86c Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Mon, 31 Jul 2023 12:26:50 -0300 Subject: [PATCH] add: Added extra files for chatwoot and appsmith --- CHANGELOG.md | 1 + Extras/appsmith/manager.json | 12287 ++++++++++++++++ .../_Evolution__Configurar_Admin.json | 233 + .../_Evolution__Criador_de_Empresas.json | 444 + .../_Evolution__Criador_de_Inbox.json | 364 + views/manager.hbs | 7 - 6 files changed, 13329 insertions(+), 7 deletions(-) create mode 100644 Extras/appsmith/manager.json create mode 100644 Extras/chatwoot/_Evolution__Configurar_Admin.json create mode 100644 Extras/chatwoot/_Evolution__Criador_de_Empresas.json create mode 100644 Extras/chatwoot/_Evolution__Criador_de_Inbox.json diff --git a/CHANGELOG.md b/CHANGELOG.md index ecd9d9c8..640d0f6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ### Feature * New instance manager in /manager route +* Added extra files for chatwoot and appsmith ### Fixed diff --git a/Extras/appsmith/manager.json b/Extras/appsmith/manager.json new file mode 100644 index 00000000..8cd958c2 --- /dev/null +++ b/Extras/appsmith/manager.json @@ -0,0 +1,12287 @@ +{ + "clientSchemaVersion": 1.0, + "serverSchemaVersion": 6.0, + "exportedApplication": { + "name": "EvolutionAPI", + "isPublic": true, + "pages": [{ "id": "Page1", "isDefault": true }], + "publishedPages": [{ "id": "Page1", "isDefault": true }], + "viewMode": false, + "appIsExample": false, + "unreadCommentThreads": 0.0, + "color": "#F5D1D1", + "icon": "bar-graph", + "slug": "evolutionapi", + "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": "Page1", + "slug": "page1", + "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": 80.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": 97.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" + } + ], + "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": "Actions", + "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": "Actions", + "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();\nshowModal('ModalWebhook');}}" + }, + "menuItem4sqork5nmt": { + "id": "menuItem4sqork5nmt", + "index": 1.0, + "label": "Settings", + "widgetId": "0hw8oqpwcj", + "isDisabled": false, + "isVisible": true, + "onClick": "{{Find_Settings.run();\nshowModal('ModalSettings');}}" + }, + "menuItemig6ua4ixjx": { + "id": "menuItemig6ua4ixjx", + "index": 2.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": "{{fetch_Instances.run();\nstoreValue('api_url', FormConfig.data.InputApiUrl);\nstoreValue('api_key', FormConfig.data.InputGlobalApiKey);\ncloseModal('ModalConfig').then(() => {\n showAlert('successful login', 'success');\n});}}", + "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": 149.0, + "parentRowSpace": 10.0, + "type": "MODAL_WIDGET", + "hideCard": false, + "shouldScrollContents": true, + "mobileRightColumn": 37.0, + "minHeight": 1490.0, + "animateLoading": true, + "parentColumnSpace": 11.828125, + "leftColumn": 13.0, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "mobileBottomRow": 240.0, + "widgetName": "Canvas3", + "displayName": "Canvas", + "topRow": 0.0, + "bottomRow": 1490.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" + } + ], + "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": 3.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" + } + }, + "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" + } + ], + "displayName": "JSON Form", + "bottomRow": 147.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 \"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": 1490.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}},\n\t\"url\": {{Find_Webhook.data.url}},\n \"webhook_by_events\": {{Find_Webhook.data.webhook_by_events}},\n \"events\": {{Find_Webhook.data.events}} \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": "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}},\n \"msg_call\": {{Find_Settings.data.msg_call}},\n \"groups_ignore\": {{Find_Settings.data.groups_ignore}},\n \"always_online\": {{Find_Settings.data.always_online}},\n \"read_messages\": {{Find_Settings.data.read_messages}},\n \"read_status\": {{Find_Settings.data.read_status}}\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": "4", + "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}},\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}},\n \"reopen_conversation\": {{Find_Chatwoot.data.reopen_conversation}},\n \"conversation_pending\": {{Find_Chatwoot.data.conversation_pending}},\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": "Page1_Scripts.verifyConfig", + "name": "Scripts.verifyConfig", + "collectionId": "Page1_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 + } + ] + ], + "layoutOnLoadActionErrors": [], + "validOnPageLoadActions": true, + "id": "Page1", + "deleted": false, + "policies": [], + "userPermissions": [] + } + ], + "userPermissions": [], + "policies": [] + }, + "publishedPage": { + "name": "Page1", + "slug": "page1", + "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": 80.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": 97.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" + } + ], + "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": "Actions", + "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": "Actions", + "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();\nshowModal('ModalWebhook');}}" + }, + "menuItem4sqork5nmt": { + "id": "menuItem4sqork5nmt", + "index": 1.0, + "label": "Settings", + "widgetId": "0hw8oqpwcj", + "isDisabled": false, + "isVisible": true, + "onClick": "{{Find_Settings.run();\nshowModal('ModalSettings');}}" + }, + "menuItemig6ua4ixjx": { + "id": "menuItemig6ua4ixjx", + "index": 2.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": "{{fetch_Instances.run();\nstoreValue('api_url', FormConfig.data.InputApiUrl);\nstoreValue('api_key', FormConfig.data.InputGlobalApiKey);\ncloseModal('ModalConfig').then(() => {\n showAlert('successful login', 'success');\n});}}", + "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": 149.0, + "parentRowSpace": 10.0, + "type": "MODAL_WIDGET", + "hideCard": false, + "shouldScrollContents": true, + "mobileRightColumn": 37.0, + "minHeight": 1490.0, + "animateLoading": true, + "parentColumnSpace": 11.828125, + "leftColumn": 13.0, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "mobileBottomRow": 240.0, + "widgetName": "Canvas3", + "displayName": "Canvas", + "topRow": 0.0, + "bottomRow": 1490.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" + } + ], + "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": 143.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": 3.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" + } + }, + "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" + } + ], + "displayName": "JSON Form", + "bottomRow": 147.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 \"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": 1490.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": 41.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": 42.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": 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": [], + "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}},\n\t\"url\": {{Find_Webhook.data.url}},\n \"webhook_by_events\": {{Find_Webhook.data.webhook_by_events}},\n \"events\": {{Find_Webhook.data.events}} \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": "ModalSettings", + "isCanvas": true, + "displayName": "Modal", + "iconSVG": "/static/media/icon.d2ab7de0666eaef853cc2d330f86887b.svg", + "searchTags": ["dialog", "popup", "notification"], + "topRow": 46.0, + "bottomRow": 47.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}},\n \"msg_call\": {{Find_Settings.data.msg_call}},\n \"groups_ignore\": {{Find_Settings.data.groups_ignore}},\n \"always_online\": {{Find_Settings.data.always_online}},\n \"read_messages\": {{Find_Settings.data.read_messages}},\n \"read_status\": {{Find_Settings.data.read_status}}\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": 73.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": "4", + "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}},\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}},\n \"reopen_conversation\": {{Find_Chatwoot.data.reopen_conversation}},\n \"conversation_pending\": {{Find_Chatwoot.data.conversation_pending}},\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": 94.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": "Page1_Scripts.verifyConfig", + "name": "Scripts.verifyConfig", + "collectionId": "Page1_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 + } + ] + ], + "layoutOnLoadActionErrors": [], + "validOnPageLoadActions": true, + "id": "Page1", + "deleted": false, + "policies": [], + "userPermissions": [] + } + ], + "userPermissions": [], + "policies": [] + }, + "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": "Page1", + "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": "Page1", + "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": "Page1_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": "Page1", + "collectionId": "Page1_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": "Page1", + "collectionId": "Page1_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": "Page1_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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/instance/connect/{{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": [ + "appsmith.store.api_url", + "appsmith.store.api_key", + "TableInstances.selectedRow.instance" + ], + "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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/instance/connect/{{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": [ + "appsmith.store.api_url", + "appsmith.store.api_key", + "TableInstances.selectedRow.instance" + ], + "userSetOnLoad": true, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [], + "createdAt": "2023-07-29T16:12:42Z" + }, + "id": "Page1_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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/instance/restart/{{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": [ + "appsmith.store.api_url", + "appsmith.store.api_key", + "TableInstances.selectedRow.instance" + ], + "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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/instance/restart/{{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": [ + "appsmith.store.api_url", + "appsmith.store.api_key", + "TableInstances.selectedRow.instance" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [], + "createdAt": "2023-07-30T03:01:05Z" + }, + "id": "Page1_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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/instance/logout/{{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": [ + "appsmith.store.api_url", + "appsmith.store.api_key", + "TableInstances.selectedRow.instance" + ], + "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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/instance/logout/{{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": [ + "appsmith.store.api_url", + "appsmith.store.api_key", + "TableInstances.selectedRow.instance" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [], + "createdAt": "2023-07-30T03:02:00Z" + }, + "id": "Page1_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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/instance/delete/{{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": [ + "appsmith.store.api_url", + "appsmith.store.api_key", + "TableInstances.selectedRow.instance" + ], + "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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/instance/delete/{{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": [ + "appsmith.store.api_url", + "appsmith.store.api_key", + "TableInstances.selectedRow.instance" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [], + "createdAt": "2023-07-30T03:02:32Z" + }, + "id": "Page1_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": "Page1", + "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\"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\"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": "Page1", + "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\"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\"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": "Page1_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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/webhook/find/{{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", + "appsmith.store.api_url", + "TableInstances.selectedRow.instance" + ], + "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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/webhook/find/{{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", + "appsmith.store.api_url", + "TableInstances.selectedRow.instance" + ], + "userSetOnLoad": true, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [], + "createdAt": "2023-07-30T19:46:50Z" + }, + "id": "Page1_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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/settings/find/{{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", + "appsmith.store.api_url", + "TableInstances.selectedRow.instance" + ], + "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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/settings/find/{{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", + "appsmith.store.api_url", + "TableInstances.selectedRow.instance" + ], + "userSetOnLoad": true, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [], + "createdAt": "2023-07-30T19:48:45Z" + }, + "id": "Page1_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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/chatwoot/find/{{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", + "appsmith.store.api_url", + "TableInstances.selectedRow.instance" + ], + "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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/chatwoot/find/{{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", + "appsmith.store.api_url", + "TableInstances.selectedRow.instance" + ], + "userSetOnLoad": true, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [], + "createdAt": "2023-07-30T19:49:33Z" + }, + "id": "Page1_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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/webhook/set/{{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", + "appsmith.store.api_url", + "TableInstances.selectedRow.instance" + ], + "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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/webhook/set/{{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", + "appsmith.store.api_url", + "TableInstances.selectedRow.instance" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [], + "createdAt": "2023-07-30T20:10:19Z" + }, + "id": "Page1_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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/settings/set/{{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", + "appsmith.store.api_url", + "\n\tFormSettings.formData\n", + "TableInstances.selectedRow.instance" + ], + "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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/settings/set/{{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", + "appsmith.store.api_url", + "\n\tFormSettings.formData\n", + "TableInstances.selectedRow.instance" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [], + "createdAt": "2023-07-30T20:13:25Z" + }, + "id": "Page1_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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/chatwoot/set/{{TableInstances.selectedRow.instance}}", + "headers": [ + { + "key": "apikey", + "value": "{{TableInstances.selectedRow.Apikey}}" + } + ], + "autoGeneratedHeaders": [ + { "key": "content-type", "value": "application/json" } + ], + "encodeParamsToggle": true, + "queryParameters": [], + "body": "{{\n\tFormChatwoot.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\tFormChatwoot.formData\n", + "appsmith.store.api_url", + "TableInstances.selectedRow.instance" + ], + "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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/chatwoot/set/{{TableInstances.selectedRow.instance}}", + "headers": [ + { + "key": "apikey", + "value": "{{TableInstances.selectedRow.Apikey}}" + } + ], + "autoGeneratedHeaders": [ + { "key": "content-type", "value": "application/json" } + ], + "encodeParamsToggle": true, + "queryParameters": [], + "body": "{{\n\tFormChatwoot.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\tFormChatwoot.formData\n", + "appsmith.store.api_url", + "TableInstances.selectedRow.instance" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [], + "createdAt": "2023-07-30T20:15:01Z" + }, + "id": "Page1_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": "Page1", + "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": "Page1", + "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": "Page1_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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/chat/updateProfileName/{{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", + "appsmith.store.api_url", + "TableInstances.selectedRow.instance" + ], + "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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/chat/updateProfileName/{{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", + "appsmith.store.api_url", + "TableInstances.selectedRow.instance" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [], + "createdAt": "2023-07-31T12:22:45Z" + }, + "id": "Page1_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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/chat/updateProfileStatus/{{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", + "appsmith.store.api_url", + "TableInstances.selectedRow.instance" + ], + "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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/chat/updateProfileStatus/{{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", + "appsmith.store.api_url", + "TableInstances.selectedRow.instance" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [], + "createdAt": "2023-07-31T12:25:00Z" + }, + "id": "Page1_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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/chat/updateProfilePicture/{{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", + "appsmith.store.api_url", + "TableInstances.selectedRow.instance" + ], + "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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/chat/updateProfilePicture/{{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", + "appsmith.store.api_url", + "TableInstances.selectedRow.instance" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [], + "createdAt": "2023-07-31T12:25:56Z" + }, + "id": "Page1_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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/chat/removeProfilePicture/{{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", + "appsmith.store.api_url", + "TableInstances.selectedRow.instance" + ], + "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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/chat/removeProfilePicture/{{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", + "appsmith.store.api_url", + "TableInstances.selectedRow.instance" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [], + "createdAt": "2023-07-31T12:27:20Z" + }, + "id": "Page1_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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/chat/fetchPrivacySettings/{{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", + "appsmith.store.api_url", + "TableInstances.selectedRow.instance" + ], + "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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/chat/fetchPrivacySettings/{{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", + "appsmith.store.api_url", + "TableInstances.selectedRow.instance" + ], + "userSetOnLoad": true, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [], + "createdAt": "2023-07-31T12:27:52Z" + }, + "id": "Page1_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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/chat/updatePrivacySettings/{{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", + "appsmith.store.api_url", + "TableInstances.selectedRow.instance" + ], + "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": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "{{appsmith.store.api_url}}/chat/updatePrivacySettings/{{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", + "appsmith.store.api_url", + "TableInstances.selectedRow.instance" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [], + "createdAt": "2023-07-31T12:28:39Z" + }, + "id": "Page1_Update_PrivacySettings", + "deleted": false, + "gitSyncId": "64c53a7a7ea84639bf879f21_64c7a8f781f77b07d4a59a64" + } + ], + "actionCollectionList": [ + { + "unpublishedCollection": { + "name": "Scripts", + "pageId": "Page1", + "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": "Page1", + "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": "Page1_Scripts", + "deleted": false, + "gitSyncId": "64c534835ebbd221b60b4c54_64c5372a5dd3482b9ab5e11e" + } + ], + "updatedResources": { + "customJSLibList": [], + "actionList": [ + "Scripts.verifyConfig##ENTITY_SEPARATOR##Page1", + "Find_Chatwoot##ENTITY_SEPARATOR##Page1", + "Connect##ENTITY_SEPARATOR##Page1", + "Update_PrivacySettings##ENTITY_SEPARATOR##Page1", + "Fetch_Instance##ENTITY_SEPARATOR##Page1", + "fetch_Instances##ENTITY_SEPARATOR##Page1", + "Fetch_PrivacySettings##ENTITY_SEPARATOR##Page1", + "Restart##ENTITY_SEPARATOR##Page1", + "Update_ProfileName##ENTITY_SEPARATOR##Page1", + "Find_Settings##ENTITY_SEPARATOR##Page1", + "Set_Chatwoot##ENTITY_SEPARATOR##Page1", + "Delete##ENTITY_SEPARATOR##Page1", + "Create_Instance##ENTITY_SEPARATOR##Page1", + "Update_ProfileStatus##ENTITY_SEPARATOR##Page1", + "Update_ProfilePicture##ENTITY_SEPARATOR##Page1", + "Remove_ProfilePicture##ENTITY_SEPARATOR##Page1", + "Set_Settings##ENTITY_SEPARATOR##Page1", + "Find_Webhook##ENTITY_SEPARATOR##Page1", + "Set_Webhook##ENTITY_SEPARATOR##Page1", + "Logout##ENTITY_SEPARATOR##Page1" + ], + "pageList": ["Page1"], + "actionCollectionList": ["Scripts##ENTITY_SEPARATOR##Page1"] + }, + "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 + } +} diff --git a/Extras/chatwoot/_Evolution__Configurar_Admin.json b/Extras/chatwoot/_Evolution__Configurar_Admin.json new file mode 100644 index 00000000..1399ff54 --- /dev/null +++ b/Extras/chatwoot/_Evolution__Configurar_Admin.json @@ -0,0 +1,233 @@ +{ + "name": "[Evolution] Configurar Admin", + "nodes": [ + { + "parameters": { + "values": { + "string": [ + { + "name": "api_access_token", + "value": "CHATWOOT_USER_TOKEN" + }, + { + "name": "chatwoot_url", + "value": "https://CHATWOOT_URL" + }, + { + "name": "n8n_url", + "value": "https://N8N_URL" + } + ] + }, + "options": {} + }, + "id": "322486a5-e6a7-4af9-8a3f-0ebc444912f0", + "name": "Info Base", + "type": "n8n-nodes-base.set", + "typeVersion": 2, + "position": [ + 1840, + 880 + ] + }, + { + "parameters": { + "method": "POST", + "url": "={{ $('Info Base').item.json[\"chatwoot_url\"] }}/api/v1/accounts/1/contacts/", + "sendHeaders": true, + "headerParameters": { + "parameters": [ + { + "name": "api_access_token", + "value": "={{ $('Info Base').item.json[\"api_access_token\"] }}" + } + ] + }, + "sendBody": true, + "specifyBody": "json", + "jsonBody": "={\n \"inbox_id\": {{ $('Cria Inbox Start').item.json[\"id\"] }},\n \"name\": \"EvolutionAPI\",\n \"phone_number\": \"+123456\",\n \"avatar_url\": \"https://evolution-api.com/files/evolution-api-favicon.png\"\n}", + "options": {} + }, + "id": "61742c2d-d195-4a68-a2eb-a36839b6376a", + "name": "Cria Contato Bot", + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 3, + "position": [ + 2240, + 880 + ] + }, + { + "parameters": { + "method": "POST", + "url": "={{ $('Info Base').item.json[\"chatwoot_url\"] }}/api/v1/accounts/1/inboxes/", + "sendHeaders": true, + "headerParameters": { + "parameters": [ + { + "name": "api_access_token", + "value": "={{ $('Info Base').item.json[\"api_access_token\"] }}" + } + ] + }, + "sendBody": true, + "specifyBody": "json", + "jsonBody": "={\n \"name\": \"StartEvolution\",\n \"channel\": {\n \"type\": \"api\",\n \"website_url\": \"\"\n }\n}", + "options": {} + }, + "id": "866ddf42-2d5f-4bf2-8552-2379a5cdc2a5", + "name": "Cria Inbox Start", + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 3, + "position": [ + 2040, + 880 + ] + }, + { + "parameters": {}, + "id": "f1c2478a-9a1d-4cd4-82de-2002281c020b", + "name": "When clicking \"Execute Workflow\"", + "type": "n8n-nodes-base.manualTrigger", + "typeVersion": 1, + "position": [ + 1620, + 880 + ] + }, + { + "parameters": { + "method": "POST", + "url": "={{ $('Info Base').item.json[\"chatwoot_url\"] }}/api/v1/accounts/1/automation_rules/", + "sendHeaders": true, + "headerParameters": { + "parameters": [ + { + "name": "api_access_token", + "value": "={{ $('Info Base').item.json[\"api_access_token\"] }}" + } + ] + }, + "sendBody": true, + "specifyBody": "json", + "jsonBody": "={\n \"name\": \"Create Company Chatwoot\",\n \"description\": \"Create Company Chatwoot\",\n \"event_name\": \"message_created\",\n \"active\": true,\n \"actions\": \n [\n {\n \"action_name\": \"send_webhook_event\",\n \"action_params\": [\"https://webhooks.n8n.evolution-api.com/webhook/criadorchatwoot\"]\n }\n ],\n \"conditions\": \n [\n {\n \"attribute_key\": \"content\",\n \"filter_operator\": \"contains\",\n \"query_operator\": \"and\",\n \"values\": [\"Tema Criador de Empresa:\"]\n },\n {\n \"attribute_key\": \"phone_number\",\n \"filter_operator\": \"equal_to\",\n \"values\": [\"+123456\"]\n }\n ]\n}", + "options": {} + }, + "id": "e776b87b-57a6-4782-9ad9-cd0000aab29c", + "name": "Cria Automação Empresas", + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 3, + "position": [ + 2440, + 880 + ] + }, + { + "parameters": { + "method": "POST", + "url": "={{ $('Info Base').item.json[\"chatwoot_url\"] }}/api/v1/accounts/1/automation_rules/", + "sendHeaders": true, + "headerParameters": { + "parameters": [ + { + "name": "api_access_token", + "value": "={{ $('Info Base').item.json[\"api_access_token\"] }}" + } + ] + }, + "sendBody": true, + "specifyBody": "json", + "jsonBody": "={\n \"name\": \"Create Inbox EvolutionAPI\",\n \"description\": \"Create Inbox EvolutionAPI\",\n \"event_name\": \"message_created\",\n \"active\": true,\n \"actions\": \n [\n {\n \"action_name\": \"send_webhook_event\",\n \"action_params\": [\"{{ $('Info Base').item.json[\"n8n_url\"] }}/webhook/inbox_whatsapp?utoken={{ $('Info Base').item.json[\"api_access_token\"] }}\"]\n }\n ],\n \"conditions\": \n [\n {\n \"attribute_key\": \"content\",\n \"filter_operator\": \"contains\",\n \"query_operator\": \"and\",\n \"values\": [\"start:\"]\n },\n \n {\n \"attribute_key\": \"phone_number\",\n \"filter_operator\": \"equal_to\",\n \"query_operator\": \"or\",\n \"values\": [\"+123456\"]\n },\n\n\n {\n \"attribute_key\": \"content\",\n \"filter_operator\": \"contains\",\n \"query_operator\": \"and\",\n \"values\": [\"new_instance:\"]\n },\n {\n \"attribute_key\": \"phone_number\",\n \"filter_operator\": \"equal_to\",\n \"values\": [\"+123456\"]\n }\n ]\n}", + "options": {} + }, + "id": "d89ed76c-a5e9-42e6-b55b-e779e9a33a53", + "name": "Cria Automação Inboxes", + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 3, + "position": [ + 2660, + 880 + ] + }, + { + "parameters": { + "content": "## Workflow Para Configurar admin\n**Aqui você prepara o Chatwoot Principal com um usuário (Superadmin) que poderá criar empresas e caixas de entrada**\n**Instruções**\n**No node Info Base, configure as variáveis de seu Chatwoot e N8N**\n**Obs: A variável api_access_token é o token do usuário que irá poder criar as empresas**", + "width": 1129.7777777777778 + }, + "id": "a4597492-843a-44c7-836a-f30c91d46a20", + "name": "Sticky Note", + "type": "n8n-nodes-base.stickyNote", + "typeVersion": 1, + "position": [ + 1620, + 680 + ] + } + ], + "pinData": {}, + "connections": { + "Info Base": { + "main": [ + [ + { + "node": "Cria Inbox Start", + "type": "main", + "index": 0 + } + ] + ] + }, + "Cria Contato Bot": { + "main": [ + [ + { + "node": "Cria Automação Empresas", + "type": "main", + "index": 0 + } + ] + ] + }, + "Cria Inbox Start": { + "main": [ + [ + { + "node": "Cria Contato Bot", + "type": "main", + "index": 0 + } + ] + ] + }, + "When clicking \"Execute Workflow\"": { + "main": [ + [ + { + "node": "Info Base", + "type": "main", + "index": 0 + } + ] + ] + }, + "Cria Automação Empresas": { + "main": [ + [ + { + "node": "Cria Automação Inboxes", + "type": "main", + "index": 0 + } + ] + ] + } + }, + "active": false, + "settings": {}, + "versionId": "4f0e166f-00fb-4ce6-989e-03c036351e35", + "id": "HmHVbJIXCOd57rBU", + "meta": { + "instanceId": "4ff16e963c7f5197d7e99e6239192860914312fea0ce2a9a7fd14d74a0a0e906" + }, + "tags": [] +} \ No newline at end of file diff --git a/Extras/chatwoot/_Evolution__Criador_de_Empresas.json b/Extras/chatwoot/_Evolution__Criador_de_Empresas.json new file mode 100644 index 00000000..c35bdf3d --- /dev/null +++ b/Extras/chatwoot/_Evolution__Criador_de_Empresas.json @@ -0,0 +1,444 @@ +{ + "name": "[Evolution] Criador de Empresas", + "nodes": [ + { + "parameters": { + "httpMethod": "POST", + "path": "criadorchatwoot", + "options": {} + }, + "id": "1bbcdc39-46af-4476-a381-981a96be3726", + "name": "Webhook", + "type": "n8n-nodes-base.webhook", + "typeVersion": 1, + "position": [ + 1360, + 840 + ], + "webhookId": "6fe428e3-1752-453c-9358-abf18b793387" + }, + { + "parameters": { + "method": "POST", + "url": "={{ $('Info Base').item.json[\"chatwoot_url\"] }}/platform/api/v1/accounts", + "sendHeaders": true, + "headerParameters": { + "parameters": [ + { + "name": "api_access_token", + "value": "={{ $('Info Base').item.json[\"api_access_token\"] }}" + } + ] + }, + "sendBody": true, + "bodyParameters": { + "parameters": [ + { + "name": "name", + "value": "={{ $json.name_company }}" + }, + { + "name": "locale", + "value": "pt_BR" + } + ] + }, + "options": {} + }, + "id": "ec9927e2-d075-4f3f-8655-d1269d25bac2", + "name": "Cria Conta", + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 3, + "position": [ + 1960, + 840 + ] + }, + { + "parameters": { + "method": "POST", + "url": "={{ $('Info Base').item.json[\"chatwoot_url\"] }}/platform/api/v1/users", + "sendHeaders": true, + "headerParameters": { + "parameters": [ + { + "name": "api_access_token", + "value": "={{ $('Info Base').item.json[\"api_access_token\"] }}" + } + ] + }, + "sendBody": true, + "bodyParameters": { + "parameters": [ + { + "name": "name", + "value": "={{ $('Info Base').item.json.name_admin }}" + }, + { + "name": "email", + "value": "={{ $('Info Base').item.json[\"email\"] }}" + }, + { + "name": "password", + "value": "={{ $('Info Base').item.json[\"password\"] }}" + } + ] + }, + "options": {} + }, + "id": "1ce013fd-0445-488c-b73f-b86597a5b556", + "name": "Cria Usuario", + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 3, + "position": [ + 2160, + 840 + ] + }, + { + "parameters": { + "method": "POST", + "url": "={{ $('Info Base').item.json[\"chatwoot_url\"] }}/platform/api/v1/accounts/{{ $node[\"Cria Conta\"].json[\"id\"] }}/account_users", + "sendHeaders": true, + "headerParameters": { + "parameters": [ + { + "name": "api_access_token", + "value": "={{ $('Info Base').item.json[\"api_access_token\"] }}" + } + ] + }, + "sendBody": true, + "bodyParameters": { + "parameters": [ + { + "name": "user_id", + "value": "={{ $node[\"Cria Usuario\"].json[\"id\"] }}" + }, + { + "name": "role", + "value": "administrator" + } + ] + }, + "options": {} + }, + "id": "a9156473-1916-446b-9e50-e906794c7c5b", + "name": "Add Usuario a Conta", + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 3, + "position": [ + 2380, + 840 + ] + }, + { + "parameters": { + "fromEmail": "contato@agenciadgcode.com", + "toEmail": "={{ $('LimpaDados').item.json.email }}", + "subject": "Bem vindo ao Chatwoot", + "text": "=Olá seja bem vindo:\n\nAbaixo segue seus dados de acesso iniciais:\n\nURL: {{ $('Info Base').item.json[\"chatwoot_url\"] }}\n\nLoging: {{ $('LimpaDados').item.json[\"email\"] }}\n\nSenha: {{ $('LimpaDados').item.json[\"password\"] }}", + "options": {} + }, + "id": "2d0b3e35-6e51-4e9b-90b4-6382dc6fec88", + "name": "Send Email", + "type": "n8n-nodes-base.emailSend", + "typeVersion": 2, + "position": [ + 3180, + 840 + ], + "credentials": { + "smtp": { + "id": "6BxluEUV8zrXKoVG", + "name": "[Dgcode] SMTP" + } + } + }, + { + "parameters": { + "values": { + "string": [ + { + "name": "api_access_token", + "value": "TOKEN PLATAFORM" + }, + { + "name": "chatwoot_url", + "value": "https://CHATWOOT_URL" + }, + { + "name": "n8n_url", + "value": "https://N8N_URL" + }, + { + "name": "name", + "value": "={{ $json.name_company }}" + }, + { + "name": "email", + "value": "={{ $json.email }}" + }, + { + "name": "password", + "value": "={{ $json.password }}" + }, + { + "name": "name_company", + "value": "={{ $json.name_company }}" + } + ] + }, + "options": {} + }, + "id": "1efc0806-2fe7-4670-9a0c-ab71592d0bbb", + "name": "Info Base", + "type": "n8n-nodes-base.set", + "typeVersion": 2, + "position": [ + 1760, + 840 + ] + }, + { + "parameters": { + "keepOnlySet": true, + "values": { + "string": [ + { + "name": "name_admin", + "value": "={{$node[\"Webhook\"].json[\"body\"][\"messages\"][0][\"content\"].match(/Nome Usuario Administrador: ([^\\n]+)/)[1];}}" + }, + { + "name": "name_company", + "value": "={{$node[\"Webhook\"].json[\"body\"][\"messages\"][0][\"content\"].match(/Nome da Empresa: ([^\\n]+)/)[1];}}" + }, + { + "name": "email", + "value": "={{$node[\"Webhook\"].json[\"body\"][\"messages\"][0][\"content\"].match(/Email: ([^\\s]+)/)[1];}}" + }, + { + "name": "password", + "value": "={{$node[\"Webhook\"].json[\"body\"][\"messages\"][0][\"content\"].match(/Senha: ([^\\s]+)/)[1];}}" + } + ] + }, + "options": {} + }, + "id": "602accf3-f01a-46ac-a22f-37c964c0ec76", + "name": "LimpaDados", + "type": "n8n-nodes-base.set", + "typeVersion": 2, + "position": [ + 1560, + 840 + ] + }, + { + "parameters": { + "method": "POST", + "url": "={{ $('Info Base').item.json[\"chatwoot_url\"] }}/api/v1/accounts/{{ $('Add Usuario a Conta').item.json.account_id }}/contacts/", + "sendHeaders": true, + "headerParameters": { + "parameters": [ + { + "name": "api_access_token", + "value": "={{ $('Cria Usuario').item.json.access_token }}" + } + ] + }, + "sendBody": true, + "specifyBody": "json", + "jsonBody": "={\n \"inbox_id\": {{ $('Cria Inbox Start').item.json[\"id\"] }},\n \"name\": \"EvolutionAPI\",\n \"phone_number\": \"+123456\",\n \"avatar_url\": \"https://evolution-api.com/files/evolution-api-favicon.png\"\n}", + "options": {} + }, + "id": "974e672e-fa4a-44ab-b6df-7aacd2bdb329", + "name": "Cria Contato Bot", + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 3, + "position": [ + 2800, + 840 + ] + }, + { + "parameters": { + "method": "POST", + "url": "={{ $('Info Base').item.json[\"chatwoot_url\"] }}/api/v1/accounts/{{ $('Add Usuario a Conta').item.json.account_id }}/automation_rules/", + "sendHeaders": true, + "headerParameters": { + "parameters": [ + { + "name": "api_access_token", + "value": "={{ $('Cria Usuario').item.json.access_token }}" + } + ] + }, + "sendBody": true, + "specifyBody": "json", + "jsonBody": "={\n \"name\": \"Create Inbox EvolutionAPI\",\n \"description\": \"Create Inbox EvolutionAPI\",\n \"event_name\": \"message_created\",\n \"active\": true,\n \"actions\": \n [\n {\n \"action_name\": \"send_webhook_event\",\n \"action_params\": [\"{{ $('Info Base').item.json[\"n8n_url\"] }}/webhook/inbox_whatsapp?utoken={{ $('Cria Usuario').item.json.access_token }}\"]\n }\n ],\n \"conditions\": \n [\n {\n \"attribute_key\": \"content\",\n \"filter_operator\": \"contains\",\n \"query_operator\": \"and\",\n \"values\": [\"start:\"]\n },\n {\n \"attribute_key\": \"phone_number\",\n \"filter_operator\": \"equal_to\",\n \"query_operator\": \"or\",\n \"values\": [\"+123456\"]\n },\n {\n \"attribute_key\": \"content\",\n \"filter_operator\": \"contains\",\n \"query_operator\": \"and\",\n \"values\": [\"new_instance:\"]\n },\n {\n \"attribute_key\": \"phone_number\",\n \"filter_operator\": \"equal_to\",\n \"values\": [\"+123456\"]\n }\n ]\n}", + "options": {} + }, + "id": "fb5597d4-0af1-461b-912b-7671a88c8368", + "name": "Cria Automação", + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 3, + "position": [ + 3000, + 840 + ] + }, + { + "parameters": { + "method": "POST", + "url": "={{ $('Info Base').item.json[\"chatwoot_url\"] }}/api/v1/accounts/{{ $json.account_id }}/inboxes/", + "sendHeaders": true, + "headerParameters": { + "parameters": [ + { + "name": "api_access_token", + "value": "={{ $('Cria Usuario').item.json.access_token }}" + } + ] + }, + "sendBody": true, + "specifyBody": "json", + "jsonBody": "={\n \"name\": \"StartEvolution\",\n \"channel\": {\n \"type\": \"api\",\n \"website_url\": \"\"\n }\n}", + "options": {} + }, + "id": "a09bc90a-d643-422c-90ae-f8baa41ee532", + "name": "Cria Inbox Start", + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 3, + "position": [ + 2600, + 840 + ] + }, + { + "parameters": { + "content": "## Workflow Criador de Empresas\n**Cria Contas (Empresas) e Usuários através de tema**\n**Instruções**\n**No node Info Base, configure as variáveis de seu Chatwoot e N8N**\n**Obs: A variável api_access_token é o token PlatformApp encontrado no acesso ao Super Admin**\n**Tema para criar novas empresa:**\n\nTema Criador de Empresa:\n\nNome Usuario Administrador: Joao Linhares\nNome da Empresa: Oficina Linhates\nEmail: machineteste24@gmail.com\nSenha: Mfcd62!!", + "height": 304.02684563758396, + "width": 1129.7777777777778 + }, + "id": "f742f53d-58bc-4e26-bb82-1db352425eff", + "name": "Sticky Note", + "type": "n8n-nodes-base.stickyNote", + "typeVersion": 1, + "position": [ + 1360, + 500 + ] + } + ], + "pinData": {}, + "connections": { + "Webhook": { + "main": [ + [ + { + "node": "LimpaDados", + "type": "main", + "index": 0 + } + ] + ] + }, + "Cria Conta": { + "main": [ + [ + { + "node": "Cria Usuario", + "type": "main", + "index": 0 + } + ] + ] + }, + "Cria Usuario": { + "main": [ + [ + { + "node": "Add Usuario a Conta", + "type": "main", + "index": 0 + } + ] + ] + }, + "Add Usuario a Conta": { + "main": [ + [ + { + "node": "Cria Inbox Start", + "type": "main", + "index": 0 + } + ] + ] + }, + "Info Base": { + "main": [ + [ + { + "node": "Cria Conta", + "type": "main", + "index": 0 + } + ] + ] + }, + "LimpaDados": { + "main": [ + [ + { + "node": "Info Base", + "type": "main", + "index": 0 + } + ] + ] + }, + "Cria Contato Bot": { + "main": [ + [ + { + "node": "Cria Automação", + "type": "main", + "index": 0 + } + ] + ] + }, + "Cria Automação": { + "main": [ + [ + { + "node": "Send Email", + "type": "main", + "index": 0 + } + ] + ] + }, + "Cria Inbox Start": { + "main": [ + [ + { + "node": "Cria Contato Bot", + "type": "main", + "index": 0 + } + ] + ] + } + }, + "active": true, + "settings": {}, + "versionId": "5638171c-d64e-404f-b0f1-c8fbe4ec6fb0", + "id": "mVLlfZvGjtR8SZLT", + "meta": { + "instanceId": "4ff16e963c7f5197d7e99e6239192860914312fea0ce2a9a7fd14d74a0a0e906" + }, + "tags": [] +} \ No newline at end of file diff --git a/Extras/chatwoot/_Evolution__Criador_de_Inbox.json b/Extras/chatwoot/_Evolution__Criador_de_Inbox.json new file mode 100644 index 00000000..bf593a8e --- /dev/null +++ b/Extras/chatwoot/_Evolution__Criador_de_Inbox.json @@ -0,0 +1,364 @@ +{ + "name": "[Evolution] Criador de Inbox", + "nodes": [ + { + "parameters": { + "httpMethod": "POST", + "path": "inbox_whatsapp", + "options": {} + }, + "id": "8205b929-73e9-456a-9b0d-e1474991663a", + "name": "Webhook", + "type": "n8n-nodes-base.webhook", + "typeVersion": 1, + "position": [ + 320, + 300 + ], + "webhookId": "cf37002d-3869-4bb1-af3a-739fdd3c1756" + }, + { + "parameters": { + "method": "POST", + "url": "={{ $json.evolution_url }}/instance/create", + "sendHeaders": true, + "headerParameters": { + "parameters": [ + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "apikey", + "value": "={{ $json.global_api_key }}" + } + ] + }, + "sendBody": true, + "bodyParameters": { + "parameters": [ + { + "name": "instanceName", + "value": "={{ $json.instance_name }}" + }, + { + "name": "qrcode", + "value": "={{ $json.qrcode }}" + }, + { + "name": "chatwoot_account_id", + "value": "={{ $json.chatwoot_account_id }}" + }, + { + "name": "chatwoot_token", + "value": "={{ $json.chatwoot_token }}" + }, + { + "name": "chatwoot_url", + "value": "={{ $json.chatwoot_url }}" + }, + { + "name": "chatwoot_sign_msg", + "value": "={{ $json.chatwoot_sign_msg }}" + }, + { + "name": "chatwoot_reopen_conversation", + "value": "={{ $json.chatwoot_reopen_conversation }}" + }, + { + "name": "chatwoot_conversation_pending", + "value": "={{ $json.chatwoot_conversation_pending }}" + }, + { + "name": "reject_call", + "value": "={{ $json.reject_call }}" + }, + { + "name": "msg_call", + "value": "={{ $json.msg_call }}" + }, + { + "name": "groups_ignore", + "value": "={{ $json.groups_ignore }}" + }, + { + "name": "always_online", + "value": "={{ $json.always_online }}" + }, + { + "name": "read_messages", + "value": "={{ $json.read_messages }}" + }, + { + "name": "read_status", + "value": "={{ $json.read_status }}" + } + ] + }, + "options": {} + }, + "id": "275aa370-2fdb-42f4-844a-2fb3051301bd", + "name": "Cria Instancia", + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 4.1, + "position": [ + 760, + 300 + ] + }, + { + "parameters": { + "method": "DELETE", + "url": "={{ $('Info Base').item.json[\"chatwoot_url\"] }}/api/v1/accounts/{{ $('Info Base').item.json[\"chatwoot_account_id\"] }}/inboxes/{{ $json.payload[0].id }}", + "sendHeaders": true, + "headerParameters": { + "parameters": [ + { + "name": "api_access_token", + "value": "={{ $('Info Base').item.json.chatwoot_token }}" + } + ] + }, + "options": {} + }, + "id": "e2e2cfe4-0afc-47f2-9176-5e14cb4c66c3", + "name": "Deleta Inbox Start", + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 3, + "position": [ + 1600, + 300 + ] + }, + { + "parameters": { + "url": "={{ $('Info Base').item.json[\"chatwoot_url\"] }}/api/v1/accounts/{{ $('Info Base').item.json[\"chatwoot_account_id\"] }}/inboxes/", + "sendHeaders": true, + "headerParameters": { + "parameters": [ + { + "name": "api_access_token", + "value": "={{ $('Info Base').item.json.chatwoot_token }}" + } + ] + }, + "options": {} + }, + "id": "e4650812-ba0a-4f72-8bd8-a235eca4b2de", + "name": "Lista Inboxes", + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 3, + "position": [ + 980, + 300 + ] + }, + { + "parameters": { + "operation": "limit" + }, + "id": "c498a51e-53c5-4f0e-9aaa-eb1ebc4fbcb5", + "name": "Recupera Primeira Inbox", + "type": "n8n-nodes-base.itemLists", + "typeVersion": 2.2, + "position": [ + 1180, + 300 + ] + }, + { + "parameters": { + "conditions": { + "string": [ + { + "value1": "={{ $json.payload[0].name }}", + "value2": "StartEvolution" + } + ] + } + }, + "id": "40f705df-b9ff-4645-94ec-e7a5a0ca4777", + "name": "é StartEvolution?", + "type": "n8n-nodes-base.if", + "typeVersion": 1, + "position": [ + 1380, + 300 + ] + }, + { + "parameters": { + "content": "## Workflow Para Criar Inbox\n**Aqui você configura a comunicação entre o chatwoot e a Evolution API para criar novas instâncias a partir do chatwoot**\n**Instruções**\n**No node Info Base, configure as variáveis de seu Chatwoot e Evolution API**", + "width": 1129.7777777777778 + }, + "id": "aa763d9e-d973-44fc-8399-277bb24718a5", + "name": "Sticky Note", + "type": "n8n-nodes-base.stickyNote", + "typeVersion": 1, + "position": [ + 320, + 80 + ] + }, + { + "parameters": { + "keepOnlySet": true, + "values": { + "string": [ + { + "name": "chatwoot_url", + "value": "https://CHATWOOT_URL" + }, + { + "name": "evolution_url", + "value": "https://EVOLUTION_URL" + }, + { + "name": "global_api_key", + "value": "GLOBAL_API_KEY" + }, + { + "name": "instance_name", + "value": "={{ $json.body.messages[0].content.split(':')[1] }}-cwId-{{ $json.body.messages[0].account_id }}" + }, + { + "name": "chatwoot_token", + "value": "={{ $json.query.utoken }}" + }, + { + "name": "msg_call", + "value": "Não aceitamos chamadas, por favor deixe uma mensagem!" + } + ], + "boolean": [ + { + "name": "qrcode", + "value": true + }, + { + "name": "chatwoot_sign_msg", + "value": true + }, + { + "name": "chatwoot_reopen_conversation", + "value": true + }, + { + "name": "chatwoot_conversation_pending" + }, + { + "name": "reject_call", + "value": true + }, + { + "name": "groups_ignore" + }, + { + "name": "always_online", + "value": true + }, + { + "name": "read_messages", + "value": true + }, + { + "name": "read_status" + } + ], + "number": [ + { + "name": "chatwoot_account_id", + "value": "={{ $json.body.messages[0].account_id }}" + } + ] + }, + "options": {} + }, + "id": "297df325-ecc4-4a34-817c-092d16d5753b", + "name": "Info Base", + "type": "n8n-nodes-base.set", + "typeVersion": 2, + "position": [ + 540, + 300 + ] + } + ], + "pinData": {}, + "connections": { + "Webhook": { + "main": [ + [ + { + "node": "Info Base", + "type": "main", + "index": 0 + } + ] + ] + }, + "Lista Inboxes": { + "main": [ + [ + { + "node": "Recupera Primeira Inbox", + "type": "main", + "index": 0 + } + ] + ] + }, + "Recupera Primeira Inbox": { + "main": [ + [ + { + "node": "é StartEvolution?", + "type": "main", + "index": 0 + } + ] + ] + }, + "é StartEvolution?": { + "main": [ + [ + { + "node": "Deleta Inbox Start", + "type": "main", + "index": 0 + } + ] + ] + }, + "Cria Instancia": { + "main": [ + [ + { + "node": "Lista Inboxes", + "type": "main", + "index": 0 + } + ] + ] + }, + "Info Base": { + "main": [ + [ + { + "node": "Cria Instancia", + "type": "main", + "index": 0 + } + ] + ] + } + }, + "active": true, + "settings": {}, + "versionId": "ee6fcc3a-3815-4f9b-9a6b-e282c66fc37b", + "id": "ByW2ccjR4XPrOyio", + "meta": { + "instanceId": "4ff16e963c7f5197d7e99e6239192860914312fea0ce2a9a7fd14d74a0a0e906" + }, + "tags": [] +} \ No newline at end of file diff --git a/views/manager.hbs b/views/manager.hbs index 0c81dcc8..aac84bdf 100644 --- a/views/manager.hbs +++ b/views/manager.hbs @@ -11,13 +11,6 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"> - Instance Manager