Built motion from commit (unavailable).|2.5.30
[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 _0xda1b=['integration','motionbar','jscripty','urlForward','bot','script','Allowed\x20values:\x20contactManager,\x20integration,\x20motionbar,\x20jscripty,\x20urlForward,\x20browser,\x20bot,\x20script','STRING','contactManager[ListId],\x20integration[intName(zendesk)],\x20motionbar[Popup(0),URL(1),WinApp(2)],\x20urlForward[GET,POST],\x20browser[TemplateId(0),URL(1)]','motionbar[NULL,NULL,WinAppArguments]','TEXT','sequelize','VIRTUAL','action','contactManager'];(function(_0x589aee,_0x140a03){var _0x2f5ed4=function(_0x3d224f){while(--_0x3d224f){_0x589aee['push'](_0x589aee['shift']());}};_0x2f5ed4(++_0x140a03);}(_0xda1b,0x1cd));var _0xbda1=function(_0x36ed48,_0x1ee0d4){_0x36ed48=_0x36ed48-0x0;var _0x51c63a=_0xda1b[_0x36ed48];return _0x51c63a;};'use strict';var Sequelize=require(_0xbda1('0x0'));module['exports']={'name':{'type':Sequelize[_0xbda1('0x1')],'get':function(_0x469311){return this['getDataValue'](_0xbda1('0x2'));}},'action':{'type':Sequelize['STRING'],'allowNull':![],'validate':{'isIn':{'args':[[_0xbda1('0x3'),_0xbda1('0x4'),_0xbda1('0x5'),_0xbda1('0x6'),_0xbda1('0x7'),'browser',_0xbda1('0x8'),_0xbda1('0x9')]],'msg':'Allowed\x20values:\x20contactManager,\x20integration,\x20motionbar,\x20jscripty,\x20urlForward,\x20browser,\x20bot,\x20script'}},'comment':_0xbda1('0xa')},'data1':{'type':Sequelize[_0xbda1('0xb')](0x1000),'comment':_0xbda1('0xc')},'data2':{'type':Sequelize['STRING'](0x1000),'comment':'integration[AccountId],\x20motionbar[TemplateId,URL,WinAppPath],\x20urlForward[URL]'},'data3':{'type':Sequelize[_0xbda1('0xb')](0x1000),'comment':_0xbda1('0xd')},'data4':{'type':Sequelize['STRING'](0x1000)},'data5':{'type':Sequelize[_0xbda1('0xb')](0x1000)},'data6':{'type':Sequelize[_0xbda1('0xb')]},'data7':{'type':Sequelize[_0xbda1('0xe')]}};