ef6563ad4e91dd2302f3508a4b205404153442dc
[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 _0xa364=['substring','lastIndexOf','sequelize','exports','STRING','VIRTUAL','getDataValue','savePath'];(function(_0x237da8,_0x37b77a){var _0x558825=function(_0x45d7f1){while(--_0x45d7f1){_0x237da8['push'](_0x237da8['shift']());}};_0x558825(++_0x37b77a);}(_0xa364,0x6a));var _0x4a36=function(_0x225972,_0x351916){_0x225972=_0x225972-0x0;var _0xe2e8ed=_0xa364[_0x225972];return _0xe2e8ed;};'use strict';var Sequelize=require(_0x4a36('0x0'));module[_0x4a36('0x1')]={'uniqueid':{'type':Sequelize['STRING']},'callerid':{'type':Sequelize[_0x4a36('0x2')]},'calleridname':{'type':Sequelize[_0x4a36('0x2')]},'context':{'type':Sequelize[_0x4a36('0x2')]},'extension':{'type':Sequelize[_0x4a36('0x2')]},'priority':{'type':Sequelize[_0x4a36('0x2')]},'accountcode':{'type':Sequelize['STRING']},'dnid':{'type':Sequelize['STRING']},'projectName':{'type':Sequelize[_0x4a36('0x2')]},'saveName':{'type':Sequelize[_0x4a36('0x2')]},'filename':{'type':Sequelize[_0x4a36('0x2')]},'savePath':{'type':Sequelize['STRING']},'format':{'type':Sequelize[_0x4a36('0x3')],'get':function(){var _0x41c790='';var _0x2e8ae9=this[_0x4a36('0x4')](_0x4a36('0x5'));if(_0x2e8ae9){_0x41c790=_0x2e8ae9[_0x4a36('0x6')](_0x2e8ae9[_0x4a36('0x7')]('.'));}return _0x41c790;}}};