19a77db146fd6d2f6eb66ede3fcde7238f6b972d
[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 _0x5795=['exports','VIRTUAL','getDataValue','action','STRING','contactManager','integration','motionbar','urlForward','browser','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'];(function(_0x117473,_0x485375){var _0x38711a=function(_0x33e119){while(--_0x33e119){_0x117473['push'](_0x117473['shift']());}};_0x38711a(++_0x485375);}(_0x5795,0xcf));var _0x5579=function(_0x54d4a8,_0x585a59){_0x54d4a8=_0x54d4a8-0x0;var _0x3b321b=_0x5795[_0x54d4a8];return _0x3b321b;};'use strict';var Sequelize=require(_0x5579('0x0'));module[_0x5579('0x1')]={'name':{'type':Sequelize[_0x5579('0x2')],'get':function(_0xaf5d4c){return this[_0x5579('0x3')](_0x5579('0x4'));}},'action':{'type':Sequelize[_0x5579('0x5')],'allowNull':![],'validate':{'isIn':{'args':[[_0x5579('0x6'),_0x5579('0x7'),_0x5579('0x8'),'jscripty',_0x5579('0x9'),_0x5579('0xa'),_0x5579('0xb'),'script']],'msg':_0x5579('0xc')}},'comment':_0x5579('0xc')},'data1':{'type':Sequelize[_0x5579('0x5')](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[_0x5579('0x5')](0x1000),'comment':_0x5579('0xd')},'data3':{'type':Sequelize[_0x5579('0x5')](0x1000),'comment':_0x5579('0xe')},'data4':{'type':Sequelize[_0x5579('0x5')](0x1000)},'data5':{'type':Sequelize['STRING'](0x1000)},'data6':{'type':Sequelize[_0x5579('0x5')]},'data7':{'type':Sequelize[_0x5579('0xf')]}};