d632214758f2dd7e95595e4b0d2c20539da80618
[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 _0x905b=['substring','lastIndexOf','exports','STRING','VIRTUAL','savePath'];(function(_0x42cae2,_0x284ef8){var _0x5f256f=function(_0x41abc8){while(--_0x41abc8){_0x42cae2['push'](_0x42cae2['shift']());}};_0x5f256f(++_0x284ef8);}(_0x905b,0x98));var _0xb905=function(_0x2df7a0,_0x51dda7){_0x2df7a0=_0x2df7a0-0x0;var _0x5e6b87=_0x905b[_0x2df7a0];return _0x5e6b87;};'use strict';var Sequelize=require('sequelize');module[_0xb905('0x0')]={'uniqueid':{'type':Sequelize[_0xb905('0x1')]},'callerid':{'type':Sequelize[_0xb905('0x1')]},'calleridname':{'type':Sequelize[_0xb905('0x1')]},'context':{'type':Sequelize['STRING']},'extension':{'type':Sequelize['STRING']},'priority':{'type':Sequelize[_0xb905('0x1')]},'accountcode':{'type':Sequelize[_0xb905('0x1')]},'dnid':{'type':Sequelize[_0xb905('0x1')]},'projectName':{'type':Sequelize[_0xb905('0x1')]},'saveName':{'type':Sequelize[_0xb905('0x1')]},'filename':{'type':Sequelize[_0xb905('0x1')]},'savePath':{'type':Sequelize['STRING']},'format':{'type':Sequelize[_0xb905('0x2')],'get':function(){var _0x5beed7='';var _0x1bbfc4=this['getDataValue'](_0xb905('0x3'));if(_0x1bbfc4){_0x5beed7=_0x1bbfc4[_0xb905('0x4')](_0x1bbfc4[_0xb905('0x5')]('.'));}return _0x5beed7;}}};