Built motion from commit (unavailable).|2.5.17
[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 _0x32d6=['STRING','motionbar','jscripty','urlForward','browser','script','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','getDataValue','action'];(function(_0x344a3f,_0x579a22){var _0x264712=function(_0x34c9f0){while(--_0x34c9f0){_0x344a3f['push'](_0x344a3f['shift']());}};_0x264712(++_0x579a22);}(_0x32d6,0xa4));var _0x632d=function(_0x26c848,_0x2e36ba){_0x26c848=_0x26c848-0x0;var _0x599488=_0x32d6[_0x26c848];return _0x599488;};'use strict';var Sequelize=require(_0x632d('0x0'));module['exports']={'name':{'type':Sequelize[_0x632d('0x1')],'get':function(_0x5c0274){return this[_0x632d('0x2')](_0x632d('0x3'));}},'action':{'type':Sequelize[_0x632d('0x4')],'allowNull':![],'validate':{'isIn':{'args':[['contactManager','integration',_0x632d('0x5'),_0x632d('0x6'),_0x632d('0x7'),_0x632d('0x8'),'bot',_0x632d('0x9')]],'msg':_0x632d('0xa')}},'comment':_0x632d('0xa')},'data1':{'type':Sequelize[_0x632d('0x4')](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[_0x632d('0x4')](0x1000),'comment':_0x632d('0xb')},'data3':{'type':Sequelize[_0x632d('0x4')](0x1000),'comment':_0x632d('0xc')},'data4':{'type':Sequelize['STRING'](0x1000)},'data5':{'type':Sequelize['STRING'](0x1000)},'data6':{'type':Sequelize['STRING']},'data7':{'type':Sequelize[_0x632d('0xd')]}};