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