Built motion from commit 97153652.|2.6.26
[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 _0x1a81=['path','rimraf','../../config/environment','./sound.attributes','exports','tools_sounds','lodash','util','../../config/logger','api','request-promise'];(function(_0x5dc1da,_0x3902f0){var _0x16164e=function(_0x58a9c3){while(--_0x58a9c3){_0x5dc1da['push'](_0x5dc1da['shift']());}};_0x16164e(++_0x3902f0);}(_0x1a81,0x1a8));var _0x11a8=function(_0x3190d9,_0x4af77a){_0x3190d9=_0x3190d9-0x0;var _0x208415=_0x1a81[_0x3190d9];return _0x208415;};'use strict';var _=require(_0x11a8('0x0'));var util=require(_0x11a8('0x1'));var logger=require(_0x11a8('0x2'))(_0x11a8('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x11a8('0x4'));var fs=require('fs');var path=require(_0x11a8('0x5'));var rimraf=require(_0x11a8('0x6'));var config=require(_0x11a8('0x7'));var attributes=require(_0x11a8('0x8'));module[_0x11a8('0x9')]=function(_0x151e55,_0x2d168a){return _0x151e55['define']('Sound',attributes,{'tableName':_0x11a8('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};