Built motion from commit (unavailable).|2.5.22
[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 _0x2de6=['util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./sound.attributes','define','Sound','tools_sounds'];(function(_0x4f6d08,_0x1b3dd0){var _0x53a9c6=function(_0x2e0e0f){while(--_0x2e0e0f){_0x4f6d08['push'](_0x4f6d08['shift']());}};_0x53a9c6(++_0x1b3dd0);}(_0x2de6,0x108));var _0x62de=function(_0xc900f7,_0x33d3bf){_0xc900f7=_0xc900f7-0x0;var _0x365e5f=_0x2de6[_0xc900f7];return _0x365e5f;};'use strict';var _=require('lodash');var util=require(_0x62de('0x0'));var logger=require(_0x62de('0x1'))('api');var moment=require(_0x62de('0x2'));var BPromise=require(_0x62de('0x3'));var rp=require(_0x62de('0x4'));var fs=require('fs');var path=require(_0x62de('0x5'));var rimraf=require(_0x62de('0x6'));var config=require(_0x62de('0x7'));var attributes=require(_0x62de('0x8'));module['exports']=function(_0xfeabb3,_0x2e360e){return _0xfeabb3[_0x62de('0x9')](_0x62de('0xa'),attributes,{'tableName':_0x62de('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};