Built motion from commit 994c64e1.|2.6.1
[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 _0xa382=['./sound.attributes','define','tools_sounds','lodash','util','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x2c5255,_0x4340c3){var _0x30d0ea=function(_0x131ba1){while(--_0x131ba1){_0x2c5255['push'](_0x2c5255['shift']());}};_0x30d0ea(++_0x4340c3);}(_0xa382,0x1bb));var _0x2a38=function(_0x49b207,_0x408ade){_0x49b207=_0x49b207-0x0;var _0x2dc8fa=_0xa382[_0x49b207];return _0x2dc8fa;};'use strict';var _=require(_0x2a38('0x0'));var util=require(_0x2a38('0x1'));var logger=require('../../config/logger')(_0x2a38('0x2'));var moment=require(_0x2a38('0x3'));var BPromise=require(_0x2a38('0x4'));var rp=require(_0x2a38('0x5'));var fs=require('fs');var path=require(_0x2a38('0x6'));var rimraf=require(_0x2a38('0x7'));var config=require('../../config/environment');var attributes=require(_0x2a38('0x8'));module['exports']=function(_0x22dc98,_0x4e8098){return _0x22dc98[_0x2a38('0x9')]('Sound',attributes,{'tableName':_0x2a38('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};