Built motion from commit eddce310.|2.6.12
[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 _0x6eef=['rimraf','../../config/environment','./sound.attributes','exports','define','Sound','tools_sounds','lodash','util','../../config/logger','api','moment','bluebird','path'];(function(_0x3ed0c3,_0x4a8864){var _0x20ea68=function(_0x41cdc2){while(--_0x41cdc2){_0x3ed0c3['push'](_0x3ed0c3['shift']());}};_0x20ea68(++_0x4a8864);}(_0x6eef,0x173));var _0xf6ee=function(_0xf363f0,_0x3b5eeb){_0xf363f0=_0xf363f0-0x0;var _0x55a386=_0x6eef[_0xf363f0];return _0x55a386;};'use strict';var _=require(_0xf6ee('0x0'));var util=require(_0xf6ee('0x1'));var logger=require(_0xf6ee('0x2'))(_0xf6ee('0x3'));var moment=require(_0xf6ee('0x4'));var BPromise=require(_0xf6ee('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xf6ee('0x6'));var rimraf=require(_0xf6ee('0x7'));var config=require(_0xf6ee('0x8'));var attributes=require(_0xf6ee('0x9'));module[_0xf6ee('0xa')]=function(_0x21f68b,_0x2cf9cc){return _0x21f68b[_0xf6ee('0xb')](_0xf6ee('0xc'),attributes,{'tableName':_0xf6ee('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};