Built motion from commit (unavailable).|2.5.13
[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 _0xa1a1=['lodash','api','bluebird','request-promise','path','rimraf','../../config/environment','./sound.attributes','exports','define','Sound','tools_sounds'];(function(_0x4b78d2,_0x4691de){var _0x599eca=function(_0x145bae){while(--_0x145bae){_0x4b78d2['push'](_0x4b78d2['shift']());}};_0x599eca(++_0x4691de);}(_0xa1a1,0x90));var _0x1a1a=function(_0x1d7300,_0x17f109){_0x1d7300=_0x1d7300-0x0;var _0x46ee98=_0xa1a1[_0x1d7300];return _0x46ee98;};'use strict';var _=require(_0x1a1a('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x1a1a('0x1'));var moment=require('moment');var BPromise=require(_0x1a1a('0x2'));var rp=require(_0x1a1a('0x3'));var fs=require('fs');var path=require(_0x1a1a('0x4'));var rimraf=require(_0x1a1a('0x5'));var config=require(_0x1a1a('0x6'));var attributes=require(_0x1a1a('0x7'));module[_0x1a1a('0x8')]=function(_0xd819b5,_0x59a27c){return _0xd819b5[_0x1a1a('0x9')](_0x1a1a('0xa'),attributes,{'tableName':_0x1a1a('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};