b45601ec9d5e963bbd7b48a5f701be288525ac0e
[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 _0x0d99=['bot','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]','exports','VIRTUAL','getDataValue','action','STRING','contactManager','integration','jscripty','urlForward','browser'];(function(_0x3cb827,_0x4c7d54){var _0x4802a2=function(_0x3b5faf){while(--_0x3b5faf){_0x3cb827['push'](_0x3cb827['shift']());}};_0x4802a2(++_0x4c7d54);}(_0x0d99,0x74));var _0x90d9=function(_0xea4f3d,_0x1ca466){_0xea4f3d=_0xea4f3d-0x0;var _0x550d16=_0x0d99[_0xea4f3d];return _0x550d16;};'use strict';var Sequelize=require('sequelize');module[_0x90d9('0x0')]={'name':{'type':Sequelize[_0x90d9('0x1')],'get':function(_0x74648a){return this[_0x90d9('0x2')](_0x90d9('0x3'));}},'action':{'type':Sequelize[_0x90d9('0x4')],'allowNull':![],'validate':{'isIn':{'args':[[_0x90d9('0x5'),_0x90d9('0x6'),'motionbar',_0x90d9('0x7'),_0x90d9('0x8'),_0x90d9('0x9'),_0x90d9('0xa'),'script']],'msg':_0x90d9('0xb')}},'comment':_0x90d9('0xb')},'data1':{'type':Sequelize[_0x90d9('0x4')](0x1000),'comment':_0x90d9('0xc')},'data2':{'type':Sequelize[_0x90d9('0x4')](0x1000),'comment':_0x90d9('0xd')},'data3':{'type':Sequelize[_0x90d9('0x4')](0x1000),'comment':'motionbar[NULL,NULL,WinAppArguments]'},'data4':{'type':Sequelize['STRING'](0x1000)},'data5':{'type':Sequelize[_0x90d9('0x4')](0x1000)},'data6':{'type':Sequelize[_0x90d9('0x4')]},'data7':{'type':Sequelize['TEXT']}};