ece75dbe54c82ae517404067fc03be50d82877f1
[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 _0xfcfb=['browser[location(0=NewTab,1=NewWindow,2=MotionTab)],\x20contactManager[autoCreateField]','urlForward[timeout],\x20browser[windowWidth],\x20contactManager[ignoreDialerContactId]','urlForward[headers],\x20browser[wsindowHeight]','TEXT','urlForward[body]','sequelize','VIRTUAL','getDataValue','STRING','contactManager','integration','jscripty','urlForward','browser','bot','script','Allowed\x20values:\x20contactManager,\x20integration,\x20motionbar,\x20jscripty,\x20urlForward,\x20browser,\x20bot,\x20script','contactManager[autoCreate(0=No,1=Yes)],\x20urlForward[URL],\x20script[type],\x20integration[AccountId],\x20motionbar[TemplateId,URL,WinAppPath],\x20browser[TemplateId,URL]','contactManager[searchFields],\x20script[script],\x20integration[ConfigurationId],\x20motionbar[NULL,eventVariables(0=No,1=Yes),WinAppArguments],\x20browser[NULL,eventVariables(0=No,1=Yes)]'];(function(_0x34fe1a,_0x5be3db){var _0x2f56b6=function(_0x211c5a){while(--_0x211c5a){_0x34fe1a['push'](_0x34fe1a['shift']());}};_0x2f56b6(++_0x5be3db);}(_0xfcfb,0x9d));var _0xbfcf=function(_0x4aaff3,_0x18b012){_0x4aaff3=_0x4aaff3-0x0;var _0x3a20f3=_0xfcfb[_0x4aaff3];return _0x3a20f3;};'use strict';var Sequelize=require(_0xbfcf('0x0'));module['exports']={'name':{'type':Sequelize[_0xbfcf('0x1')],'get':function(_0x218c63){return this[_0xbfcf('0x2')]('action');}},'action':{'type':Sequelize[_0xbfcf('0x3')],'allowNull':![],'validate':{'isIn':{'args':[[_0xbfcf('0x4'),_0xbfcf('0x5'),'motionbar',_0xbfcf('0x6'),_0xbfcf('0x7'),_0xbfcf('0x8'),_0xbfcf('0x9'),_0xbfcf('0xa')]],'msg':_0xbfcf('0xb')}},'comment':_0xbfcf('0xb')},'data1':{'type':Sequelize[_0xbfcf('0x3')](0x1000),'comment':'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)]'},'data2':{'type':Sequelize[_0xbfcf('0x3')](0x1000),'comment':_0xbfcf('0xc')},'data3':{'type':Sequelize[_0xbfcf('0x3')](0x1000),'comment':_0xbfcf('0xd')},'data4':{'type':Sequelize['STRING'](0x1000),'comments':_0xbfcf('0xe')},'data5':{'type':Sequelize[_0xbfcf('0x3')](0x1000),'comments':_0xbfcf('0xf')},'data6':{'type':Sequelize[_0xbfcf('0x3')],'comments':_0xbfcf('0x10')},'data7':{'type':Sequelize[_0xbfcf('0x11')],'comments':_0xbfcf('0x12')}};