Built motion from commit (unavailable).|2.5.22
[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 _0x0a22=['lastIndexOf','sequelize','exports','STRING','VIRTUAL'];(function(_0x419135,_0x432880){var _0x3b7c4d=function(_0x5e4fed){while(--_0x5e4fed){_0x419135['push'](_0x419135['shift']());}};_0x3b7c4d(++_0x432880);}(_0x0a22,0x1eb));var _0x20a2=function(_0x4e44a8,_0x6a475b){_0x4e44a8=_0x4e44a8-0x0;var _0x404bbf=_0x0a22[_0x4e44a8];return _0x404bbf;};'use strict';var Sequelize=require(_0x20a2('0x0'));module[_0x20a2('0x1')]={'uniqueid':{'type':Sequelize[_0x20a2('0x2')]},'callerid':{'type':Sequelize[_0x20a2('0x2')]},'calleridname':{'type':Sequelize[_0x20a2('0x2')]},'context':{'type':Sequelize[_0x20a2('0x2')]},'extension':{'type':Sequelize['STRING']},'priority':{'type':Sequelize[_0x20a2('0x2')]},'accountcode':{'type':Sequelize[_0x20a2('0x2')]},'dnid':{'type':Sequelize[_0x20a2('0x2')]},'projectName':{'type':Sequelize[_0x20a2('0x2')]},'saveName':{'type':Sequelize['STRING']},'filename':{'type':Sequelize['STRING']},'savePath':{'type':Sequelize[_0x20a2('0x2')]},'format':{'type':Sequelize[_0x20a2('0x3')],'get':function(){var _0x248894='';var _0x9555aa=this['getDataValue']('savePath');if(_0x9555aa){_0x248894=_0x9555aa['substring'](_0x9555aa[_0x20a2('0x4')]('.'));}return _0x248894;}}};