ecf2a706d84be6cd3ab5edcbb89803467be61912
[motion2.git] / server / api / action / action.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xfddb=['jscripty','urlForward','browser','bot','script','Allowed\x20values:\x20contactManager,\x20integration,\x20motionbar,\x20jscripty,\x20urlForward,\x20browser,\x20bot,\x20script','jscripty[ProjectId],\x20browser[type(0=Popup,1=CTI\x20URL)],\x20contactManager[ListId],\x20urlForward[type(GET,POST,PUT,DELETE)],\x20script[info],\x20integration[intName(desk,dynamics365,freshdesk,freshsales,salesforce,sugarcrm,vtiger,zendesk,zoho)],\x20motionbar[type(0=Popup,1=CTI\x20URL,2=WinApp)]','contactManager[autoCreate(0=No,1=Yes)],\x20urlForward[URL],\x20script[type],\x20integration[AccountId],\x20motionbar[TemplateId,URL,WinAppPath],\x20browser[TemplateId,URL]','browser[location(0=NewTab,1=NewWindow,2=MotionTab)],\x20contactManager[autoCreateField]','urlForward[timeout],\x20browser[windowWidth],\x20contactManager[ignoreDialerContactId]','TEXT','urlForward[body]','sequelize','exports','VIRTUAL','action','STRING','contactManager','integration','motionbar'];(function(_0x5495af,_0x181c27){var _0x3c6c42=function(_0x42378b){while(--_0x42378b){_0x5495af['push'](_0x5495af['shift']());}};_0x3c6c42(++_0x181c27);}(_0xfddb,0x174));var _0xbfdd=function(_0x58a2ef,_0xb91f3a){_0x58a2ef=_0x58a2ef-0x0;var _0x1c7072=_0xfddb[_0x58a2ef];return _0x1c7072;};'use strict';var Sequelize=require(_0xbfdd('0x0'));module[_0xbfdd('0x1')]={'name':{'type':Sequelize[_0xbfdd('0x2')],'get':function(_0x4c3d94){return this['getDataValue'](_0xbfdd('0x3'));}},'action':{'type':Sequelize[_0xbfdd('0x4')],'allowNull':![],'validate':{'isIn':{'args':[[_0xbfdd('0x5'),_0xbfdd('0x6'),_0xbfdd('0x7'),_0xbfdd('0x8'),_0xbfdd('0x9'),_0xbfdd('0xa'),_0xbfdd('0xb'),_0xbfdd('0xc')]],'msg':_0xbfdd('0xd')}},'comment':_0xbfdd('0xd')},'data1':{'type':Sequelize[_0xbfdd('0x4')](0x1000),'comment':_0xbfdd('0xe')},'data2':{'type':Sequelize['STRING'](0x1000),'comment':_0xbfdd('0xf')},'data3':{'type':Sequelize[_0xbfdd('0x4')](0x1000),'comment':'contactManager[searchFields],\x20script[script],\x20integration[ConfigurationId],\x20motionbar[NULL,eventVariables(0=No,1=Yes),WinAppArguments],\x20browser[NULL,eventVariables(0=No,1=Yes)]'},'data4':{'type':Sequelize[_0xbfdd('0x4')](0x1000),'comments':_0xbfdd('0x10')},'data5':{'type':Sequelize[_0xbfdd('0x4')](0x1000),'comments':_0xbfdd('0x11')},'data6':{'type':Sequelize[_0xbfdd('0x4')],'comments':'urlForward[headers],\x20browser[wsindowHeight]'},'data7':{'type':Sequelize[_0xbfdd('0x12')],'comments':_0xbfdd('0x13')}};