Built motion from commit 67e5df37.|2.0.66
[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 _0x36af=['urlForward','browser','Allowed\x20values:\x20contactManager,\x20integration,\x20motionbar,\x20jscripty,\x20urlForward,\x20browser','STRING','integration[AccountId],\x20motionbar[TemplateId,URL,WinAppPath],\x20urlForward[URL]','motionbar[NULL,NULL,WinAppArguments]','exports','contactManager','motionbar'];(function(_0x8dbc49,_0x764bc0){var _0xe5fa56=function(_0xbb508c){while(--_0xbb508c){_0x8dbc49['push'](_0x8dbc49['shift']());}};_0xe5fa56(++_0x764bc0);}(_0x36af,0x177));var _0xf36a=function(_0x48d9e9,_0xb88d63){_0x48d9e9=_0x48d9e9-0x0;var _0x44e336=_0x36af[_0x48d9e9];return _0x44e336;};'use strict';var Sequelize=require('sequelize');module[_0xf36a('0x0')]={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x51acfa){return this['getDataValue']('action');}},'action':{'type':Sequelize['STRING'],'allowNull':![],'validate':{'isIn':{'args':[[_0xf36a('0x1'),'integration',_0xf36a('0x2'),'jscripty',_0xf36a('0x3'),_0xf36a('0x4')]],'msg':'Allowed\x20values:\x20contactManager,\x20integration,\x20motionbar,\x20jscripty,\x20urlForward,\x20browser'}},'comment':_0xf36a('0x5')},'data1':{'type':Sequelize['STRING'](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[_0xf36a('0x6')](0x1000),'comment':_0xf36a('0x7')},'data3':{'type':Sequelize[_0xf36a('0x6')](0x1000),'comment':_0xf36a('0x8')},'data4':{'type':Sequelize['STRING'](0x1000)},'data5':{'type':Sequelize[_0xf36a('0x6')](0x1000)},'data6':{'type':Sequelize[_0xf36a('0x6')]}};