Built motion from commit efa66e19.|2.6.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 _0x62f3=['define','tools_sounds','../../config/logger','api','moment','bluebird','request-promise','../../config/environment','./sound.attributes','exports'];(function(_0x1a36a5,_0x746928){var _0x746243=function(_0x481966){while(--_0x481966){_0x1a36a5['push'](_0x1a36a5['shift']());}};_0x746243(++_0x746928);}(_0x62f3,0x8e));var _0x362f=function(_0x2a03fd,_0x1b5aa1){_0x2a03fd=_0x2a03fd-0x0;var _0x289c0a=_0x62f3[_0x2a03fd];return _0x289c0a;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x362f('0x0'))(_0x362f('0x1'));var moment=require(_0x362f('0x2'));var BPromise=require(_0x362f('0x3'));var rp=require(_0x362f('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x362f('0x5'));var attributes=require(_0x362f('0x6'));module[_0x362f('0x7')]=function(_0x9fa41d,_0x5552e7){return _0x9fa41d[_0x362f('0x8')]('Sound',attributes,{'tableName':_0x362f('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};