21558f8d77f4f658026597fa1efc1df36dccdd97
[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 _0xf23c=['urlForward[timeout],\x20browser[windowWidth],\x20contactManager[ignoreDialerContactId]','urlForward[headers],\x20browser[wsindowHeight]','TEXT','VIRTUAL','action','STRING','contactManager','integration','motionbar','jscripty','browser','script','Allowed\x20values:\x20contactManager,\x20integration,\x20motionbar,\x20jscripty,\x20urlForward,\x20browser,\x20bot,\x20script','jscripty[ProjectId],\x20browser[type(0=Popup,1=CTI\x20URL)],\x20contactManager[ListId],\x20urlForward[type(GET,POST,PUT,DELETE)],\x20script[info],\x20integration[intName(desk,dynamics365,freshdesk,freshsales,salesforce,sugarcrm,vtiger,zendesk,zoho)],\x20motionbar[type(0=Popup,1=CTI\x20URL,2=WinApp)]','contactManager[autoCreate(0=No,1=Yes)],\x20urlForward[URL],\x20script[type],\x20integration[AccountId],\x20motionbar[TemplateId,URL,WinAppPath],\x20browser[TemplateId,URL]','browser[location(0=NewTab,1=NewWindow,2=MotionTab)],\x20contactManager[autoCreateField]'];(function(_0x173808,_0x9b76c3){var _0x4336a2=function(_0x4785c5){while(--_0x4785c5){_0x173808['push'](_0x173808['shift']());}};_0x4336a2(++_0x9b76c3);}(_0xf23c,0x113));var _0xcf23=function(_0x52ea08,_0x15d935){_0x52ea08=_0x52ea08-0x0;var _0x28d546=_0xf23c[_0x52ea08];return _0x28d546;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0xcf23('0x0')],'get':function(_0x4f42b6){return this['getDataValue'](_0xcf23('0x1'));}},'action':{'type':Sequelize[_0xcf23('0x2')],'allowNull':![],'validate':{'isIn':{'args':[[_0xcf23('0x3'),_0xcf23('0x4'),_0xcf23('0x5'),_0xcf23('0x6'),'urlForward',_0xcf23('0x7'),'bot',_0xcf23('0x8')]],'msg':'Allowed\x20values:\x20contactManager,\x20integration,\x20motionbar,\x20jscripty,\x20urlForward,\x20browser,\x20bot,\x20script'}},'comment':_0xcf23('0x9')},'data1':{'type':Sequelize[_0xcf23('0x2')](0x1000),'comment':_0xcf23('0xa')},'data2':{'type':Sequelize[_0xcf23('0x2')](0x1000),'comment':_0xcf23('0xb')},'data3':{'type':Sequelize[_0xcf23('0x2')](0x1000),'comment':'contactManager[searchFields],\x20script[script],\x20integration[ConfigurationId],\x20motionbar[NULL,eventVariables(0=No,1=Yes),WinAppArguments],\x20browser[NULL,eventVariables(0=No,1=Yes)]'},'data4':{'type':Sequelize[_0xcf23('0x2')](0x1000),'comments':_0xcf23('0xc')},'data5':{'type':Sequelize[_0xcf23('0x2')](0x1000),'comments':_0xcf23('0xd')},'data6':{'type':Sequelize['STRING'],'comments':_0xcf23('0xe')},'data7':{'type':Sequelize[_0xcf23('0xf')],'comments':'urlForward[body]'}};