Built motion from commit (unavailable).|2.5.10
[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 _0xe97b=['./sound.attributes','exports','define','Sound','tools_sounds','lodash','util','../../config/logger','request-promise','path','rimraf'];(function(_0x154983,_0xc29edf){var _0x3d1243=function(_0x5cb7a4){while(--_0x5cb7a4){_0x154983['push'](_0x154983['shift']());}};_0x3d1243(++_0xc29edf);}(_0xe97b,0x1a7));var _0xbe97=function(_0x1f071e,_0x497769){_0x1f071e=_0x1f071e-0x0;var _0x4b9bb7=_0xe97b[_0x1f071e];return _0x4b9bb7;};'use strict';var _=require(_0xbe97('0x0'));var util=require(_0xbe97('0x1'));var logger=require(_0xbe97('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xbe97('0x3'));var fs=require('fs');var path=require(_0xbe97('0x4'));var rimraf=require(_0xbe97('0x5'));var config=require('../../config/environment');var attributes=require(_0xbe97('0x6'));module[_0xbe97('0x7')]=function(_0x126d94,_0x44771f){return _0x126d94[_0xbe97('0x8')](_0xbe97('0x9'),attributes,{'tableName':_0xbe97('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};