10b6bb922f08a07dfa27a0066d0ec9fa3e410603
[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 _0xbf00=['integration','jscripty','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]','motionbar[NULL,NULL,WinAppArguments]','sequelize','exports','VIRTUAL','action','STRING','contactManager'];(function(_0x314843,_0x13f6e8){var _0x50480=function(_0x5a9e35){while(--_0x5a9e35){_0x314843['push'](_0x314843['shift']());}};_0x50480(++_0x13f6e8);}(_0xbf00,0x1e9));var _0x0bf0=function(_0x52282a,_0x45aef7){_0x52282a=_0x52282a-0x0;var _0x3c66b4=_0xbf00[_0x52282a];return _0x3c66b4;};'use strict';var Sequelize=require(_0x0bf0('0x0'));module[_0x0bf0('0x1')]={'name':{'type':Sequelize[_0x0bf0('0x2')],'get':function(_0xb7f4aa){return this['getDataValue'](_0x0bf0('0x3'));}},'action':{'type':Sequelize[_0x0bf0('0x4')],'allowNull':![],'validate':{'isIn':{'args':[[_0x0bf0('0x5'),_0x0bf0('0x6'),'motionbar',_0x0bf0('0x7'),'urlForward',_0x0bf0('0x8'),_0x0bf0('0x9'),_0x0bf0('0xa')]],'msg':_0x0bf0('0xb')}},'comment':'Allowed\x20values:\x20contactManager,\x20integration,\x20motionbar,\x20jscripty,\x20urlForward,\x20browser,\x20bot,\x20script'},'data1':{'type':Sequelize[_0x0bf0('0x4')](0x1000),'comment':_0x0bf0('0xc')},'data2':{'type':Sequelize[_0x0bf0('0x4')](0x1000),'comment':_0x0bf0('0xd')},'data3':{'type':Sequelize[_0x0bf0('0x4')](0x1000),'comment':_0x0bf0('0xe')},'data4':{'type':Sequelize[_0x0bf0('0x4')](0x1000)},'data5':{'type':Sequelize[_0x0bf0('0x4')](0x1000)},'data6':{'type':Sequelize[_0x0bf0('0x4')]},'data7':{'type':Sequelize['TEXT']}};