20a10b7835506ffdc892f38cf8809eed6e17a2e4
[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 _0xf410=['path','rimraf','../../config/environment','./sound.attributes','exports','define','Sound','tools_sounds','lodash','util','../../config/logger','moment','bluebird','request-promise'];(function(_0x5dbc26,_0x59fe73){var _0x2397ce=function(_0x18a4bd){while(--_0x18a4bd){_0x5dbc26['push'](_0x5dbc26['shift']());}};_0x2397ce(++_0x59fe73);}(_0xf410,0x14a));var _0x0f41=function(_0x2733ec,_0x5d6438){_0x2733ec=_0x2733ec-0x0;var _0x10bcd4=_0xf410[_0x2733ec];return _0x10bcd4;};'use strict';var _=require(_0x0f41('0x0'));var util=require(_0x0f41('0x1'));var logger=require(_0x0f41('0x2'))('api');var moment=require(_0x0f41('0x3'));var BPromise=require(_0x0f41('0x4'));var rp=require(_0x0f41('0x5'));var fs=require('fs');var path=require(_0x0f41('0x6'));var rimraf=require(_0x0f41('0x7'));var config=require(_0x0f41('0x8'));var attributes=require(_0x0f41('0x9'));module[_0x0f41('0xa')]=function(_0x9746c9,_0x31b9b7){return _0x9746c9[_0x0f41('0xb')](_0x0f41('0xc'),attributes,{'tableName':_0x0f41('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};