7cac815f0545a5224df4f68f5a25f8088d9acb47
[motion2.git] / server / api / squareRecording / squareRecording.model.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 _0x43e7=['exports','SquareRecording','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./squareRecording.attributes'];(function(_0x19ad66,_0x54731b){var _0x1607b9=function(_0x1ac187){while(--_0x1ac187){_0x19ad66['push'](_0x19ad66['shift']());}};_0x1607b9(++_0x54731b);}(_0x43e7,0x1b2));var _0x743e=function(_0x374ada,_0x27b3a5){_0x374ada=_0x374ada-0x0;var _0x449ed8=_0x43e7[_0x374ada];return _0x449ed8;};'use strict';var _=require(_0x743e('0x0'));var util=require(_0x743e('0x1'));var logger=require(_0x743e('0x2'))(_0x743e('0x3'));var moment=require(_0x743e('0x4'));var BPromise=require(_0x743e('0x5'));var rp=require(_0x743e('0x6'));var fs=require('fs');var path=require(_0x743e('0x7'));var rimraf=require('rimraf');var config=require(_0x743e('0x8'));var attributes=require(_0x743e('0x9'));module[_0x743e('0xa')]=function(_0xfb57be,_0x5ef224){return _0xfb57be['define'](_0x743e('0xb'),attributes,{'tableName':'square_recordings','paranoid':![],'indexes':[],'timestamps':!![]});};