Built motion from commit (unavailable).|2.5.10
[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 _0x5d44=['savePath','substring','lastIndexOf','sequelize','exports','STRING','getDataValue'];(function(_0x510d2c,_0x2f0c1e){var _0x1e98eb=function(_0x49c5c9){while(--_0x49c5c9){_0x510d2c['push'](_0x510d2c['shift']());}};_0x1e98eb(++_0x2f0c1e);}(_0x5d44,0x6c));var _0x45d4=function(_0x54c1c9,_0x2781b4){_0x54c1c9=_0x54c1c9-0x0;var _0x1c780e=_0x5d44[_0x54c1c9];return _0x1c780e;};'use strict';var Sequelize=require(_0x45d4('0x0'));module[_0x45d4('0x1')]={'uniqueid':{'type':Sequelize[_0x45d4('0x2')]},'callerid':{'type':Sequelize[_0x45d4('0x2')]},'calleridname':{'type':Sequelize[_0x45d4('0x2')]},'context':{'type':Sequelize[_0x45d4('0x2')]},'extension':{'type':Sequelize[_0x45d4('0x2')]},'priority':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize[_0x45d4('0x2')]},'dnid':{'type':Sequelize['STRING']},'projectName':{'type':Sequelize['STRING']},'saveName':{'type':Sequelize['STRING']},'filename':{'type':Sequelize['STRING']},'savePath':{'type':Sequelize[_0x45d4('0x2')]},'format':{'type':Sequelize['VIRTUAL'],'get':function(){var _0x41188d='';var _0x67b599=this[_0x45d4('0x3')](_0x45d4('0x4'));if(_0x67b599){_0x41188d=_0x67b599[_0x45d4('0x5')](_0x67b599[_0x45d4('0x6')]('.'));}return _0x41188d;}}};