Built motion from commit (unavailable).|2.4.19
[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 _0x9c0f=['api','moment','bluebird','request-promise','path','./sound.attributes','exports','define','Sound','tools_sounds','lodash','../../config/logger'];(function(_0x34bc30,_0x177cb0){var _0x5706de=function(_0x535a8c){while(--_0x535a8c){_0x34bc30['push'](_0x34bc30['shift']());}};_0x5706de(++_0x177cb0);}(_0x9c0f,0xbe));var _0xf9c0=function(_0x544c03,_0x558fe4){_0x544c03=_0x544c03-0x0;var _0x5e86ad=_0x9c0f[_0x544c03];return _0x5e86ad;};'use strict';var _=require(_0xf9c0('0x0'));var util=require('util');var logger=require(_0xf9c0('0x1'))(_0xf9c0('0x2'));var moment=require(_0xf9c0('0x3'));var BPromise=require(_0xf9c0('0x4'));var rp=require(_0xf9c0('0x5'));var fs=require('fs');var path=require(_0xf9c0('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xf9c0('0x7'));module[_0xf9c0('0x8')]=function(_0x11314,_0x2e7a86){return _0x11314[_0xf9c0('0x9')](_0xf9c0('0xa'),attributes,{'tableName':_0xf9c0('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};