Built motion from commit 994c64e1.|2.6.1
[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 _0xdced=['rimraf','./squareRecording.attributes','exports','SquareRecording','square_recordings','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x37204e,_0x25c362){var _0x4e5ce5=function(_0x4da5a5){while(--_0x4da5a5){_0x37204e['push'](_0x37204e['shift']());}};_0x4e5ce5(++_0x25c362);}(_0xdced,0xcb));var _0xddce=function(_0x5ea6c0,_0x2c6a29){_0x5ea6c0=_0x5ea6c0-0x0;var _0x811be=_0xdced[_0x5ea6c0];return _0x811be;};'use strict';var _=require('lodash');var util=require(_0xddce('0x0'));var logger=require(_0xddce('0x1'))(_0xddce('0x2'));var moment=require(_0xddce('0x3'));var BPromise=require(_0xddce('0x4'));var rp=require(_0xddce('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xddce('0x6'));var config=require('../../config/environment');var attributes=require(_0xddce('0x7'));module[_0xddce('0x8')]=function(_0x541f99,_0x31c76b){return _0x541f99['define'](_0xddce('0x9'),attributes,{'tableName':_0xddce('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};