f63a252be44d5c4b74a76944554f27fce6e67708
[motion2.git] / server / api / squareRecording / squareRecording.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 _0xf445=['getDataValue','substring','sequelize','exports','STRING'];(function(_0x37f49b,_0x3a9fd4){var _0x2aa145=function(_0xa267e3){while(--_0xa267e3){_0x37f49b['push'](_0x37f49b['shift']());}};_0x2aa145(++_0x3a9fd4);}(_0xf445,0xe8));var _0x5f44=function(_0xa8f24a,_0x48d7d3){_0xa8f24a=_0xa8f24a-0x0;var _0x3a1471=_0xf445[_0xa8f24a];return _0x3a1471;};'use strict';var Sequelize=require(_0x5f44('0x0'));module[_0x5f44('0x1')]={'uniqueid':{'type':Sequelize[_0x5f44('0x2')]},'callerid':{'type':Sequelize[_0x5f44('0x2')]},'calleridname':{'type':Sequelize[_0x5f44('0x2')]},'context':{'type':Sequelize[_0x5f44('0x2')]},'extension':{'type':Sequelize['STRING']},'priority':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize['STRING']},'dnid':{'type':Sequelize['STRING']},'projectName':{'type':Sequelize[_0x5f44('0x2')]},'saveName':{'type':Sequelize[_0x5f44('0x2')]},'filename':{'type':Sequelize[_0x5f44('0x2')]},'savePath':{'type':Sequelize[_0x5f44('0x2')]},'format':{'type':Sequelize['VIRTUAL'],'get':function(){var _0x3cab3e='';var _0x1e7205=this[_0x5f44('0x3')]('savePath');if(_0x1e7205){_0x3cab3e=_0x1e7205[_0x5f44('0x4')](_0x1e7205['lastIndexOf']('.'));}return _0x3cab3e;}}};