aff6231eeb1886975f41e38323b5482538076e86
[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 _0x0d4e=['integration[AccountId],\x20motionbar[TemplateId,URL,WinAppPath],\x20urlForward[URL]','STRING','motionbar[NULL,NULL,WinAppArguments]','TEXT','sequelize','exports','VIRTUAL','getDataValue','contactManager','motionbar','jscripty','browser','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)]'];(function(_0x2cc711,_0x300328){var _0x31a52e=function(_0x588378){while(--_0x588378){_0x2cc711['push'](_0x2cc711['shift']());}};_0x31a52e(++_0x300328);}(_0x0d4e,0x146));var _0xe0d4=function(_0x27af45,_0x1b57aa){_0x27af45=_0x27af45-0x0;var _0x18df21=_0x0d4e[_0x27af45];return _0x18df21;};'use strict';var Sequelize=require(_0xe0d4('0x0'));module[_0xe0d4('0x1')]={'name':{'type':Sequelize[_0xe0d4('0x2')],'get':function(_0x15f304){return this[_0xe0d4('0x3')]('action');}},'action':{'type':Sequelize['STRING'],'allowNull':![],'validate':{'isIn':{'args':[[_0xe0d4('0x4'),'integration',_0xe0d4('0x5'),_0xe0d4('0x6'),'urlForward',_0xe0d4('0x7'),'bot','script']],'msg':_0xe0d4('0x8')}},'comment':_0xe0d4('0x8')},'data1':{'type':Sequelize['STRING'](0x1000),'comment':_0xe0d4('0x9')},'data2':{'type':Sequelize['STRING'](0x1000),'comment':_0xe0d4('0xa')},'data3':{'type':Sequelize[_0xe0d4('0xb')](0x1000),'comment':_0xe0d4('0xc')},'data4':{'type':Sequelize[_0xe0d4('0xb')](0x1000)},'data5':{'type':Sequelize[_0xe0d4('0xb')](0x1000)},'data6':{'type':Sequelize[_0xe0d4('0xb')]},'data7':{'type':Sequelize[_0xe0d4('0xd')]}};