48b2a05d8bd460cd708ca1185fb5e515fb1d9b4e
[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 _0xe8a6=['./sound.attributes','exports','Sound','tools_sounds','lodash','util','../../config/logger','api','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x36de10,_0xfe25e8){var _0x58100f=function(_0x1fee3f){while(--_0x1fee3f){_0x36de10['push'](_0x36de10['shift']());}};_0x58100f(++_0xfe25e8);}(_0xe8a6,0x7c));var _0x6e8a=function(_0x8db8bb,_0x170311){_0x8db8bb=_0x8db8bb-0x0;var _0x233835=_0xe8a6[_0x8db8bb];return _0x233835;};'use strict';var _=require(_0x6e8a('0x0'));var util=require(_0x6e8a('0x1'));var logger=require(_0x6e8a('0x2'))(_0x6e8a('0x3'));var moment=require('moment');var BPromise=require(_0x6e8a('0x4'));var rp=require(_0x6e8a('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x6e8a('0x6'));var config=require(_0x6e8a('0x7'));var attributes=require(_0x6e8a('0x8'));module[_0x6e8a('0x9')]=function(_0x53580d,_0x182674){return _0x53580d['define'](_0x6e8a('0xa'),attributes,{'tableName':_0x6e8a('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};