Built motion from commit 3e059bc2.|2.5.32
[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 _0x0229=['./sound.attributes','exports','Sound','util','../../config/logger','bluebird','request-promise','path','rimraf'];(function(_0x6f6c98,_0x470e42){var _0x20f154=function(_0x1aff46){while(--_0x1aff46){_0x6f6c98['push'](_0x6f6c98['shift']());}};_0x20f154(++_0x470e42);}(_0x0229,0xc0));var _0x9022=function(_0x15824c,_0x234bc8){_0x15824c=_0x15824c-0x0;var _0x572b49=_0x0229[_0x15824c];return _0x572b49;};'use strict';var _=require('lodash');var util=require(_0x9022('0x0'));var logger=require(_0x9022('0x1'))('api');var moment=require('moment');var BPromise=require(_0x9022('0x2'));var rp=require(_0x9022('0x3'));var fs=require('fs');var path=require(_0x9022('0x4'));var rimraf=require(_0x9022('0x5'));var config=require('../../config/environment');var attributes=require(_0x9022('0x6'));module[_0x9022('0x7')]=function(_0x97c69b,_0x4c7175){return _0x97c69b['define'](_0x9022('0x8'),attributes,{'tableName':'tools_sounds','paranoid':![],'indexes':[],'timestamps':!![]});};