6b0f56d37e95b74b7974bb81162c5c4924af3d3a
[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 _0xe174=['util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./sound.attributes','exports','define','Sound','tools_sounds','lodash'];(function(_0x3eac13,_0x23fcd8){var _0x37eb99=function(_0x3545bd){while(--_0x3545bd){_0x3eac13['push'](_0x3eac13['shift']());}};_0x37eb99(++_0x23fcd8);}(_0xe174,0x141));var _0x4e17=function(_0x28a80e,_0x2127ee){_0x28a80e=_0x28a80e-0x0;var _0x59c8cb=_0xe174[_0x28a80e];return _0x59c8cb;};'use strict';var _=require(_0x4e17('0x0'));var util=require(_0x4e17('0x1'));var logger=require(_0x4e17('0x2'))(_0x4e17('0x3'));var moment=require(_0x4e17('0x4'));var BPromise=require('bluebird');var rp=require(_0x4e17('0x5'));var fs=require('fs');var path=require(_0x4e17('0x6'));var rimraf=require(_0x4e17('0x7'));var config=require(_0x4e17('0x8'));var attributes=require(_0x4e17('0x9'));module[_0x4e17('0xa')]=function(_0x23d71d,_0x335bd2){return _0x23d71d[_0x4e17('0xb')](_0x4e17('0xc'),attributes,{'tableName':_0x4e17('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};