Built motion from commit (unavailable).|2.5.31
[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 _0xbdf8=['action','STRING','contactManager','integration','motionbar','jscripty','urlForward','browser','bot','Allowed\x20values:\x20contactManager,\x20integration,\x20motionbar,\x20jscripty,\x20urlForward,\x20browser,\x20bot,\x20script','TEXT','sequelize','exports','VIRTUAL'];(function(_0x5a3cf0,_0x160a68){var _0x5a64ee=function(_0x34cd1d){while(--_0x34cd1d){_0x5a3cf0['push'](_0x5a3cf0['shift']());}};_0x5a64ee(++_0x160a68);}(_0xbdf8,0x1cb));var _0x8bdf=function(_0x3ff601,_0x565c8){_0x3ff601=_0x3ff601-0x0;var _0x168e2f=_0xbdf8[_0x3ff601];return _0x168e2f;};'use strict';var Sequelize=require(_0x8bdf('0x0'));module[_0x8bdf('0x1')]={'name':{'type':Sequelize[_0x8bdf('0x2')],'get':function(_0xf47d63){return this['getDataValue'](_0x8bdf('0x3'));}},'action':{'type':Sequelize[_0x8bdf('0x4')],'allowNull':![],'validate':{'isIn':{'args':[[_0x8bdf('0x5'),_0x8bdf('0x6'),_0x8bdf('0x7'),_0x8bdf('0x8'),_0x8bdf('0x9'),_0x8bdf('0xa'),_0x8bdf('0xb'),'script']],'msg':_0x8bdf('0xc')}},'comment':_0x8bdf('0xc')},'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[_0x8bdf('0x4')](0x1000),'comment':'integration[AccountId],\x20motionbar[TemplateId,URL,WinAppPath],\x20urlForward[URL]'},'data3':{'type':Sequelize[_0x8bdf('0x4')](0x1000),'comment':'motionbar[NULL,NULL,WinAppArguments]'},'data4':{'type':Sequelize[_0x8bdf('0x4')](0x1000)},'data5':{'type':Sequelize[_0x8bdf('0x4')](0x1000)},'data6':{'type':Sequelize[_0x8bdf('0x4')]},'data7':{'type':Sequelize[_0x8bdf('0xd')]}};