b22ec160467c401ccefb3649b17de1e01da8dc23
[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 _0xfe8f=['getDataValue','STRING'];(function(_0x4ec34d,_0xff9e78){var _0x26c8cf=function(_0x19921d){while(--_0x19921d){_0x4ec34d['push'](_0x4ec34d['shift']());}};_0x26c8cf(++_0xff9e78);}(_0xfe8f,0xdb));var _0xffe8=function(_0x1860bd,_0x258af1){_0x1860bd=_0x1860bd-0x0;var _0x5674d5=_0xfe8f[_0x1860bd];return _0x5674d5;};'use strict';var Sequelize=require('sequelize');module['exports']={'uniqueid':{'type':Sequelize['STRING']},'callerid':{'type':Sequelize[_0xffe8('0x0')]},'calleridname':{'type':Sequelize[_0xffe8('0x0')]},'context':{'type':Sequelize[_0xffe8('0x0')]},'extension':{'type':Sequelize[_0xffe8('0x0')]},'priority':{'type':Sequelize[_0xffe8('0x0')]},'accountcode':{'type':Sequelize[_0xffe8('0x0')]},'dnid':{'type':Sequelize['STRING']},'projectName':{'type':Sequelize['STRING']},'saveName':{'type':Sequelize[_0xffe8('0x0')]},'filename':{'type':Sequelize['STRING']},'savePath':{'type':Sequelize[_0xffe8('0x0')]},'format':{'type':Sequelize['VIRTUAL'],'get':function(){var _0x1bd244='';var _0x244f9f=this[_0xffe8('0x1')]('savePath');if(_0x244f9f){_0x1bd244=_0x244f9f['substring'](_0x244f9f['lastIndexOf']('.'));}return _0x1bd244;}}};