Built motion from commit 06a208af.|2.6.26
[motion2.git] / server / api / sound / sound.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 _0xb702=['util','../../config/logger','api','bluebird','request-promise','rimraf','../../config/environment','./sound.attributes','exports','define','Sound','tools_sounds','lodash'];(function(_0x2f82f0,_0x449b18){var _0xeb0cf3=function(_0x451a3e){while(--_0x451a3e){_0x2f82f0['push'](_0x2f82f0['shift']());}};_0xeb0cf3(++_0x449b18);}(_0xb702,0x12a));var _0x2b70=function(_0x56fe98,_0x43dc16){_0x56fe98=_0x56fe98-0x0;var _0x212f4f=_0xb702[_0x56fe98];return _0x212f4f;};'use strict';var _=require(_0x2b70('0x0'));var util=require(_0x2b70('0x1'));var logger=require(_0x2b70('0x2'))(_0x2b70('0x3'));var moment=require('moment');var BPromise=require(_0x2b70('0x4'));var rp=require(_0x2b70('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x2b70('0x6'));var config=require(_0x2b70('0x7'));var attributes=require(_0x2b70('0x8'));module[_0x2b70('0x9')]=function(_0x5c7321,_0x5c46a6){return _0x5c7321[_0x2b70('0xa')](_0x2b70('0xb'),attributes,{'tableName':_0x2b70('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};