7e7238904e84bb3abbb6d8bbe24d9e0edd9531bd
[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 _0x8fd4=['./squareRecording.attributes','define','SquareRecording','square_recordings','util','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment'];(function(_0x57e2b3,_0xfceed7){var _0x495f0a=function(_0x2c36ee){while(--_0x2c36ee){_0x57e2b3['push'](_0x57e2b3['shift']());}};_0x495f0a(++_0xfceed7);}(_0x8fd4,0x178));var _0x48fd=function(_0xac151d,_0x4ea1d2){_0xac151d=_0xac151d-0x0;var _0x111dba=_0x8fd4[_0xac151d];return _0x111dba;};'use strict';var _=require('lodash');var util=require(_0x48fd('0x0'));var logger=require(_0x48fd('0x1'))(_0x48fd('0x2'));var moment=require(_0x48fd('0x3'));var BPromise=require(_0x48fd('0x4'));var rp=require(_0x48fd('0x5'));var fs=require('fs');var path=require(_0x48fd('0x6'));var rimraf=require('rimraf');var config=require(_0x48fd('0x7'));var attributes=require(_0x48fd('0x8'));module['exports']=function(_0x2b7864,_0x1d3c43){return _0x2b7864[_0x48fd('0x9')](_0x48fd('0xa'),attributes,{'tableName':_0x48fd('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};