3e3ef2cdb43d90adbb1e606e342e9d7e8dfbbbca
[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 _0x7fd5=['exports','STRING','VIRTUAL','getDataValue','savePath','lastIndexOf','sequelize'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x7fd5,0xa0));var _0x57fd=function(_0x42e5bc,_0x58d89e){_0x42e5bc=_0x42e5bc-0x0;var _0x9d3c30=_0x7fd5[_0x42e5bc];return _0x9d3c30;};'use strict';var Sequelize=require(_0x57fd('0x0'));module[_0x57fd('0x1')]={'uniqueid':{'type':Sequelize[_0x57fd('0x2')]},'callerid':{'type':Sequelize[_0x57fd('0x2')]},'calleridname':{'type':Sequelize[_0x57fd('0x2')]},'context':{'type':Sequelize[_0x57fd('0x2')]},'extension':{'type':Sequelize['STRING']},'priority':{'type':Sequelize[_0x57fd('0x2')]},'accountcode':{'type':Sequelize[_0x57fd('0x2')]},'dnid':{'type':Sequelize[_0x57fd('0x2')]},'projectName':{'type':Sequelize[_0x57fd('0x2')]},'saveName':{'type':Sequelize[_0x57fd('0x2')]},'filename':{'type':Sequelize[_0x57fd('0x2')]},'savePath':{'type':Sequelize[_0x57fd('0x2')]},'format':{'type':Sequelize[_0x57fd('0x3')],'get':function(){var _0x11ff44='';var _0x25cfe0=this[_0x57fd('0x4')](_0x57fd('0x5'));if(_0x25cfe0){_0x11ff44=_0x25cfe0['substring'](_0x25cfe0[_0x57fd('0x6')]('.'));}return _0x11ff44;}}};