Built motion from commit f25620e4.|2.6.30
[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 _0xd4ce=['util','api','moment','request-promise','path','rimraf','../../config/environment','./sound.attributes','exports','define','Sound','tools_sounds'];(function(_0x5e00c8,_0x21f9e1){var _0x41c430=function(_0x303e26){while(--_0x303e26){_0x5e00c8['push'](_0x5e00c8['shift']());}};_0x41c430(++_0x21f9e1);}(_0xd4ce,0xc0));var _0xed4c=function(_0x45e98e,_0x169b60){_0x45e98e=_0x45e98e-0x0;var _0x374dba=_0xd4ce[_0x45e98e];return _0x374dba;};'use strict';var _=require('lodash');var util=require(_0xed4c('0x0'));var logger=require('../../config/logger')(_0xed4c('0x1'));var moment=require(_0xed4c('0x2'));var BPromise=require('bluebird');var rp=require(_0xed4c('0x3'));var fs=require('fs');var path=require(_0xed4c('0x4'));var rimraf=require(_0xed4c('0x5'));var config=require(_0xed4c('0x6'));var attributes=require(_0xed4c('0x7'));module[_0xed4c('0x8')]=function(_0x48a831,_0x2a2558){return _0x48a831[_0xed4c('0x9')](_0xed4c('0xa'),attributes,{'tableName':_0xed4c('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};