0739567de7f992a94544cff6d7d304d04a975729
[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 _0xb7ac=['rimraf','../../config/environment','exports','square_recordings','lodash','util','../../config/logger','api','moment','request-promise'];(function(_0x54488c,_0x1bbcf7){var _0x325fcb=function(_0x1dca64){while(--_0x1dca64){_0x54488c['push'](_0x54488c['shift']());}};_0x325fcb(++_0x1bbcf7);}(_0xb7ac,0x18a));var _0xcb7a=function(_0x38b587,_0x13415b){_0x38b587=_0x38b587-0x0;var _0x95f67e=_0xb7ac[_0x38b587];return _0x95f67e;};'use strict';var _=require(_0xcb7a('0x0'));var util=require(_0xcb7a('0x1'));var logger=require(_0xcb7a('0x2'))(_0xcb7a('0x3'));var moment=require(_0xcb7a('0x4'));var BPromise=require('bluebird');var rp=require(_0xcb7a('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xcb7a('0x6'));var config=require(_0xcb7a('0x7'));var attributes=require('./squareRecording.attributes');module[_0xcb7a('0x8')]=function(_0x39e229,_0x5dc16){return _0x39e229['define']('SquareRecording',attributes,{'tableName':_0xcb7a('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};