f06a950f145fbf983f790ddc3e1fdc256e66c71b
[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 _0x3bcd=['../../config/environment','./sound.attributes','exports','define','Sound','tools_sounds','lodash','util','api','bluebird','request-promise','path'];(function(_0x4d67b8,_0x565134){var _0x55af3b=function(_0x145904){while(--_0x145904){_0x4d67b8['push'](_0x4d67b8['shift']());}};_0x55af3b(++_0x565134);}(_0x3bcd,0x192));var _0xd3bc=function(_0x287234,_0x4b9e28){_0x287234=_0x287234-0x0;var _0x4bfc27=_0x3bcd[_0x287234];return _0x4bfc27;};'use strict';var _=require(_0xd3bc('0x0'));var util=require(_0xd3bc('0x1'));var logger=require('../../config/logger')(_0xd3bc('0x2'));var moment=require('moment');var BPromise=require(_0xd3bc('0x3'));var rp=require(_0xd3bc('0x4'));var fs=require('fs');var path=require(_0xd3bc('0x5'));var rimraf=require('rimraf');var config=require(_0xd3bc('0x6'));var attributes=require(_0xd3bc('0x7'));module[_0xd3bc('0x8')]=function(_0x19c1b7,_0x4e0e0b){return _0x19c1b7[_0xd3bc('0x9')](_0xd3bc('0xa'),attributes,{'tableName':_0xd3bc('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};