fceff85295835b4e994c161da9cca14fc4d89520
[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 _0xe0ca=['urlForward','bot','Allowed\x20values:\x20contactManager,\x20integration,\x20motionbar,\x20jscripty,\x20urlForward,\x20browser,\x20bot,\x20script','integration[AccountId],\x20motionbar[TemplateId,URL,WinAppPath],\x20urlForward[URL]','motionbar[NULL,NULL,WinAppArguments]','TEXT','sequelize','VIRTUAL','action','STRING','integration','motionbar','jscripty'];(function(_0xac822,_0x467ff6){var _0x5e1121=function(_0x4c8681){while(--_0x4c8681){_0xac822['push'](_0xac822['shift']());}};_0x5e1121(++_0x467ff6);}(_0xe0ca,0xaf));var _0xae0c=function(_0x281372,_0x2a5398){_0x281372=_0x281372-0x0;var _0x4957b6=_0xe0ca[_0x281372];return _0x4957b6;};'use strict';var Sequelize=require(_0xae0c('0x0'));module['exports']={'name':{'type':Sequelize[_0xae0c('0x1')],'get':function(_0x259994){return this['getDataValue'](_0xae0c('0x2'));}},'action':{'type':Sequelize[_0xae0c('0x3')],'allowNull':![],'validate':{'isIn':{'args':[['contactManager',_0xae0c('0x4'),_0xae0c('0x5'),_0xae0c('0x6'),_0xae0c('0x7'),'browser',_0xae0c('0x8'),'script']],'msg':_0xae0c('0x9')}},'comment':_0xae0c('0x9')},'data1':{'type':Sequelize['STRING'](0x1000),'comment':'contactManager[ListId],\x20integration[intName(zendesk)],\x20motionbar[Popup(0),URL(1),WinApp(2)],\x20urlForward[GET,POST],\x20browser[TemplateId(0),URL(1)]'},'data2':{'type':Sequelize[_0xae0c('0x3')](0x1000),'comment':_0xae0c('0xa')},'data3':{'type':Sequelize[_0xae0c('0x3')](0x1000),'comment':_0xae0c('0xb')},'data4':{'type':Sequelize[_0xae0c('0x3')](0x1000)},'data5':{'type':Sequelize[_0xae0c('0x3')](0x1000)},'data6':{'type':Sequelize['STRING']},'data7':{'type':Sequelize[_0xae0c('0xc')]}};