Built motion from commit efa66e19.|2.6.22
[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 _0x6618=['browser[location(0=NewTab,1=NewWindow,2=MotionTab)],\x20contactManager[autoCreateField]','urlForward[timeout],\x20browser[windowWidth],\x20contactManager[ignoreDialerContactId]','TEXT','urlForward[body]','sequelize','exports','VIRTUAL','getDataValue','action','contactManager','script','Allowed\x20values:\x20contactManager,\x20integration,\x20motionbar,\x20jscripty,\x20urlForward,\x20browser,\x20bot,\x20script','STRING','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[searchFields],\x20script[script],\x20integration[ConfigurationId],\x20motionbar[NULL,eventVariables(0=No,1=Yes),WinAppArguments],\x20browser[NULL,eventVariables(0=No,1=Yes)]'];(function(_0x299027,_0x5d2e4f){var _0x1bc622=function(_0x281430){while(--_0x281430){_0x299027['push'](_0x299027['shift']());}};_0x1bc622(++_0x5d2e4f);}(_0x6618,0xb8));var _0x8661=function(_0x2f99f9,_0x5208ca){_0x2f99f9=_0x2f99f9-0x0;var _0x3494c2=_0x6618[_0x2f99f9];return _0x3494c2;};'use strict';var Sequelize=require(_0x8661('0x0'));module[_0x8661('0x1')]={'name':{'type':Sequelize[_0x8661('0x2')],'get':function(_0xd67b07){return this[_0x8661('0x3')](_0x8661('0x4'));}},'action':{'type':Sequelize['STRING'],'allowNull':![],'validate':{'isIn':{'args':[[_0x8661('0x5'),'integration','motionbar','jscripty','urlForward','browser','bot',_0x8661('0x6')]],'msg':'Allowed\x20values:\x20contactManager,\x20integration,\x20motionbar,\x20jscripty,\x20urlForward,\x20browser,\x20bot,\x20script'}},'comment':_0x8661('0x7')},'data1':{'type':Sequelize[_0x8661('0x8')](0x1000),'comment':_0x8661('0x9')},'data2':{'type':Sequelize[_0x8661('0x8')](0x1000),'comment':'contactManager[autoCreate(0=No,1=Yes)],\x20urlForward[URL],\x20script[type],\x20integration[AccountId],\x20motionbar[TemplateId,URL,WinAppPath],\x20browser[TemplateId,URL]'},'data3':{'type':Sequelize[_0x8661('0x8')](0x1000),'comment':_0x8661('0xa')},'data4':{'type':Sequelize['STRING'](0x1000),'comments':_0x8661('0xb')},'data5':{'type':Sequelize['STRING'](0x1000),'comments':_0x8661('0xc')},'data6':{'type':Sequelize['STRING'],'comments':'urlForward[headers],\x20browser[wsindowHeight]'},'data7':{'type':Sequelize[_0x8661('0xd')],'comments':_0x8661('0xe')}};