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