Built motion from commit (unavailable).|2.5.14
[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 _0x20a3=['sequelize','VIRTUAL','getDataValue','STRING','contactManager','motionbar','jscripty','urlForward','browser','bot','Allowed\x20values:\x20contactManager,\x20integration,\x20motionbar,\x20jscripty,\x20urlForward,\x20browser,\x20bot,\x20script','TEXT'];(function(_0x53921f,_0x576f9f){var _0x1e160d=function(_0x1a3cb4){while(--_0x1a3cb4){_0x53921f['push'](_0x53921f['shift']());}};_0x1e160d(++_0x576f9f);}(_0x20a3,0x1c8));var _0x320a=function(_0x4d95e8,_0x8c6139){_0x4d95e8=_0x4d95e8-0x0;var _0x508106=_0x20a3[_0x4d95e8];return _0x508106;};'use strict';var Sequelize=require(_0x320a('0x0'));module['exports']={'name':{'type':Sequelize[_0x320a('0x1')],'get':function(_0x353ed1){return this[_0x320a('0x2')]('action');}},'action':{'type':Sequelize[_0x320a('0x3')],'allowNull':![],'validate':{'isIn':{'args':[[_0x320a('0x4'),'integration',_0x320a('0x5'),_0x320a('0x6'),_0x320a('0x7'),_0x320a('0x8'),_0x320a('0x9'),'script']],'msg':_0x320a('0xa')}},'comment':_0x320a('0xa')},'data1':{'type':Sequelize[_0x320a('0x3')](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[_0x320a('0x3')](0x1000),'comment':'integration[AccountId],\x20motionbar[TemplateId,URL,WinAppPath],\x20urlForward[URL]'},'data3':{'type':Sequelize[_0x320a('0x3')](0x1000),'comment':'motionbar[NULL,NULL,WinAppArguments]'},'data4':{'type':Sequelize[_0x320a('0x3')](0x1000)},'data5':{'type':Sequelize[_0x320a('0x3')](0x1000)},'data6':{'type':Sequelize['STRING']},'data7':{'type':Sequelize[_0x320a('0xb')]}};