764a086fbd7b2783e4e2854e15346345cd74e639
[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 _0x7d96=['define','Sound','tools_sounds','lodash','../../config/logger','moment','bluebird','request-promise','../../config/environment','./sound.attributes','exports'];(function(_0x20c43f,_0x98454f){var _0x4aa0e5=function(_0x3ab474){while(--_0x3ab474){_0x20c43f['push'](_0x20c43f['shift']());}};_0x4aa0e5(++_0x98454f);}(_0x7d96,0xb3));var _0x67d9=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x7d96[_0x14add3];return _0x4a174f;};'use strict';var _=require(_0x67d9('0x0'));var util=require('util');var logger=require(_0x67d9('0x1'))('api');var moment=require(_0x67d9('0x2'));var BPromise=require(_0x67d9('0x3'));var rp=require(_0x67d9('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x67d9('0x5'));var attributes=require(_0x67d9('0x6'));module[_0x67d9('0x7')]=function(_0x3dec5e,_0x108023){return _0x3dec5e[_0x67d9('0x8')](_0x67d9('0x9'),attributes,{'tableName':_0x67d9('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};