Built motion from commit (unavailable).|2.5.14
[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 _0x6659=['STRING','VIRTUAL','getDataValue','savePath','exports'];(function(_0x75267d,_0x5d286c){var _0x21ccec=function(_0x1a3c1f){while(--_0x1a3c1f){_0x75267d['push'](_0x75267d['shift']());}};_0x21ccec(++_0x5d286c);}(_0x6659,0xbd));var _0x9665=function(_0x182979,_0x186bb3){_0x182979=_0x182979-0x0;var _0x18da17=_0x6659[_0x182979];return _0x18da17;};'use strict';var Sequelize=require('sequelize');module[_0x9665('0x0')]={'uniqueid':{'type':Sequelize['STRING']},'callerid':{'type':Sequelize[_0x9665('0x1')]},'calleridname':{'type':Sequelize[_0x9665('0x1')]},'context':{'type':Sequelize[_0x9665('0x1')]},'extension':{'type':Sequelize[_0x9665('0x1')]},'priority':{'type':Sequelize[_0x9665('0x1')]},'accountcode':{'type':Sequelize[_0x9665('0x1')]},'dnid':{'type':Sequelize[_0x9665('0x1')]},'projectName':{'type':Sequelize['STRING']},'saveName':{'type':Sequelize['STRING']},'filename':{'type':Sequelize['STRING']},'savePath':{'type':Sequelize['STRING']},'format':{'type':Sequelize[_0x9665('0x2')],'get':function(){var _0x279158='';var _0x4d5720=this[_0x9665('0x3')](_0x9665('0x4'));if(_0x4d5720){_0x279158=_0x4d5720['substring'](_0x4d5720['lastIndexOf']('.'));}return _0x279158;}}};