72ea81a750abe77e2c86498e434da50cf796a487
[motion2.git] / server / api / voicePrefix / voicePrefix.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 _0x8561=['VoicePrefix','voice_prefixes','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./voicePrefix.attributes','define'];(function(_0x2017fb,_0x355923){var _0xd200de=function(_0x38babe){while(--_0x38babe){_0x2017fb['push'](_0x2017fb['shift']());}};_0xd200de(++_0x355923);}(_0x8561,0x1a2));var _0x1856=function(_0x452968,_0x31e391){_0x452968=_0x452968-0x0;var _0xb6f9ae=_0x8561[_0x452968];return _0xb6f9ae;};'use strict';var _=require(_0x1856('0x0'));var util=require(_0x1856('0x1'));var logger=require(_0x1856('0x2'))(_0x1856('0x3'));var moment=require(_0x1856('0x4'));var BPromise=require('bluebird');var rp=require(_0x1856('0x5'));var fs=require('fs');var path=require(_0x1856('0x6'));var rimraf=require(_0x1856('0x7'));var config=require(_0x1856('0x8'));var attributes=require(_0x1856('0x9'));module['exports']=function(_0x20e912,_0x5921ed){return _0x20e912[_0x1856('0xa')](_0x1856('0xb'),attributes,{'tableName':_0x1856('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};