Built motion from commit 9d1906d1.|2.5.40
[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 _0x35b4=['request-promise','path','../../config/environment','./sound.attributes','define','Sound','tools_sounds','util','api','moment','bluebird'];(function(_0x41a09c,_0x3fb020){var _0x426a89=function(_0x431902){while(--_0x431902){_0x41a09c['push'](_0x41a09c['shift']());}};_0x426a89(++_0x3fb020);}(_0x35b4,0x1ca));var _0x435b=function(_0x5b0a47,_0x41cd93){_0x5b0a47=_0x5b0a47-0x0;var _0x416bd8=_0x35b4[_0x5b0a47];return _0x416bd8;};'use strict';var _=require('lodash');var util=require(_0x435b('0x0'));var logger=require('../../config/logger')(_0x435b('0x1'));var moment=require(_0x435b('0x2'));var BPromise=require(_0x435b('0x3'));var rp=require(_0x435b('0x4'));var fs=require('fs');var path=require(_0x435b('0x5'));var rimraf=require('rimraf');var config=require(_0x435b('0x6'));var attributes=require(_0x435b('0x7'));module['exports']=function(_0x34f8bd,_0x6a3bd0){return _0x34f8bd[_0x435b('0x8')](_0x435b('0x9'),attributes,{'tableName':_0x435b('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};