Built motion from commit c738b9ac.|2.6.25
[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 _0xa55a=['moment','bluebird','request-promise','path','../../config/environment','./sound.attributes','exports','tools_sounds','util','../../config/logger','api'];(function(_0x3f159a,_0x438191){var _0x57530c=function(_0x104738){while(--_0x104738){_0x3f159a['push'](_0x3f159a['shift']());}};_0x57530c(++_0x438191);}(_0xa55a,0xa2));var _0xaa55=function(_0x1fc079,_0x4af514){_0x1fc079=_0x1fc079-0x0;var _0x234276=_0xa55a[_0x1fc079];return _0x234276;};'use strict';var _=require('lodash');var util=require(_0xaa55('0x0'));var logger=require(_0xaa55('0x1'))(_0xaa55('0x2'));var moment=require(_0xaa55('0x3'));var BPromise=require(_0xaa55('0x4'));var rp=require(_0xaa55('0x5'));var fs=require('fs');var path=require(_0xaa55('0x6'));var rimraf=require('rimraf');var config=require(_0xaa55('0x7'));var attributes=require(_0xaa55('0x8'));module[_0xaa55('0x9')]=function(_0x59438c,_0x3550da){return _0x59438c['define']('Sound',attributes,{'tableName':_0xaa55('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};