45f1f4ce666a3678e92b668b7ba148ce3fb9f133
[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 _0x25f4=['sequelize','exports','VIRTUAL','getDataValue','STRING','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)]','integration[AccountId],\x20motionbar[TemplateId,URL,WinAppPath],\x20urlForward[URL]','TEXT'];(function(_0x3ab9ee,_0x4a74b8){var _0x82ee88=function(_0x6ccc7e){while(--_0x6ccc7e){_0x3ab9ee['push'](_0x3ab9ee['shift']());}};_0x82ee88(++_0x4a74b8);}(_0x25f4,0xe0));var _0x425f=function(_0x5c74fc,_0x9617df){_0x5c74fc=_0x5c74fc-0x0;var _0x1dd063=_0x25f4[_0x5c74fc];return _0x1dd063;};'use strict';var Sequelize=require(_0x425f('0x0'));module[_0x425f('0x1')]={'name':{'type':Sequelize[_0x425f('0x2')],'get':function(_0x42d387){return this[_0x425f('0x3')]('action');}},'action':{'type':Sequelize[_0x425f('0x4')],'allowNull':![],'validate':{'isIn':{'args':[['contactManager',_0x425f('0x5'),_0x425f('0x6'),_0x425f('0x7'),_0x425f('0x8'),_0x425f('0x9'),_0x425f('0xa'),_0x425f('0xb')]],'msg':'Allowed\x20values:\x20contactManager,\x20integration,\x20motionbar,\x20jscripty,\x20urlForward,\x20browser,\x20bot,\x20script'}},'comment':_0x425f('0xc')},'data1':{'type':Sequelize['STRING'](0x1000),'comment':_0x425f('0xd')},'data2':{'type':Sequelize[_0x425f('0x4')](0x1000),'comment':_0x425f('0xe')},'data3':{'type':Sequelize[_0x425f('0x4')](0x1000),'comment':'motionbar[NULL,NULL,WinAppArguments]'},'data4':{'type':Sequelize[_0x425f('0x4')](0x1000)},'data5':{'type':Sequelize[_0x425f('0x4')](0x1000)},'data6':{'type':Sequelize[_0x425f('0x4')]},'data7':{'type':Sequelize[_0x425f('0xf')]}};