Built motion from commit b5413ace.|2.6.9
[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 _0xc21b=['define','Sound','tools_sounds','lodash','util','request-promise','path','rimraf','../../config/environment','./sound.attributes','exports'];(function(_0x54a229,_0x479dd1){var _0x36232e=function(_0x48a4d3){while(--_0x48a4d3){_0x54a229['push'](_0x54a229['shift']());}};_0x36232e(++_0x479dd1);}(_0xc21b,0x9d));var _0xbc21=function(_0x5179a5,_0x419746){_0x5179a5=_0x5179a5-0x0;var _0x15c8ce=_0xc21b[_0x5179a5];return _0x15c8ce;};'use strict';var _=require(_0xbc21('0x0'));var util=require(_0xbc21('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xbc21('0x2'));var fs=require('fs');var path=require(_0xbc21('0x3'));var rimraf=require(_0xbc21('0x4'));var config=require(_0xbc21('0x5'));var attributes=require(_0xbc21('0x6'));module[_0xbc21('0x7')]=function(_0xe7f882,_0x4f3b0a){return _0xe7f882[_0xbc21('0x8')](_0xbc21('0x9'),attributes,{'tableName':_0xbc21('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};