317d60a927a9cc932e54e11859448cac96d81351
[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 _0x6960=['exports','STRING','VIRTUAL','getDataValue','savePath','lastIndexOf','sequelize'];(function(_0x12cd04,_0x391a8b){var _0x4b9427=function(_0x4ceff9){while(--_0x4ceff9){_0x12cd04['push'](_0x12cd04['shift']());}};_0x4b9427(++_0x391a8b);}(_0x6960,0xae));var _0x0696=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0x6960[_0x17d9e3];return _0x14192d;};'use strict';var Sequelize=require(_0x0696('0x0'));module[_0x0696('0x1')]={'uniqueid':{'type':Sequelize[_0x0696('0x2')]},'callerid':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0x0696('0x2')]},'context':{'type':Sequelize[_0x0696('0x2')]},'extension':{'type':Sequelize[_0x0696('0x2')]},'priority':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize['STRING']},'dnid':{'type':Sequelize['STRING']},'projectName':{'type':Sequelize[_0x0696('0x2')]},'saveName':{'type':Sequelize['STRING']},'filename':{'type':Sequelize[_0x0696('0x2')]},'savePath':{'type':Sequelize['STRING']},'format':{'type':Sequelize[_0x0696('0x3')],'get':function(){var _0x2acd2a='';var _0x300f94=this[_0x0696('0x4')](_0x0696('0x5'));if(_0x300f94){_0x2acd2a=_0x300f94['substring'](_0x300f94[_0x0696('0x6')]('.'));}return _0x2acd2a;}}};