8ab32b7ea3e1f23140f5518609005f205bafbb69
[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 _0xa09e=['moment','bluebird','request-promise','rimraf','../../config/environment','./sound.attributes','Sound','tools_sounds','lodash','util','../../config/logger','api'];(function(_0xf0100a,_0x2eb0dd){var _0xab66bf=function(_0x396dd6){while(--_0x396dd6){_0xf0100a['push'](_0xf0100a['shift']());}};_0xab66bf(++_0x2eb0dd);}(_0xa09e,0x68));var _0xea09=function(_0x173f10,_0x35db61){_0x173f10=_0x173f10-0x0;var _0x53142d=_0xa09e[_0x173f10];return _0x53142d;};'use strict';var _=require(_0xea09('0x0'));var util=require(_0xea09('0x1'));var logger=require(_0xea09('0x2'))(_0xea09('0x3'));var moment=require(_0xea09('0x4'));var BPromise=require(_0xea09('0x5'));var rp=require(_0xea09('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xea09('0x7'));var config=require(_0xea09('0x8'));var attributes=require(_0xea09('0x9'));module['exports']=function(_0x572cce,_0xb10ea5){return _0x572cce['define'](_0xea09('0xa'),attributes,{'tableName':_0xea09('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};