19730fc6fe74bd0b39b82d1506f411078ba0d069
[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 _0xfd47=['lodash','util','../../config/logger','api','moment','path','rimraf','../../config/environment','./voicePrefix.attributes','define','VoicePrefix','voice_prefixes'];(function(_0x4a747d,_0x3b747f){var _0x3a5b5c=function(_0x4b3e81){while(--_0x4b3e81){_0x4a747d['push'](_0x4a747d['shift']());}};_0x3a5b5c(++_0x3b747f);}(_0xfd47,0x9c));var _0x7fd4=function(_0x1574f2,_0x55309b){_0x1574f2=_0x1574f2-0x0;var _0x3faef7=_0xfd47[_0x1574f2];return _0x3faef7;};'use strict';var _=require(_0x7fd4('0x0'));var util=require(_0x7fd4('0x1'));var logger=require(_0x7fd4('0x2'))(_0x7fd4('0x3'));var moment=require(_0x7fd4('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x7fd4('0x5'));var rimraf=require(_0x7fd4('0x6'));var config=require(_0x7fd4('0x7'));var attributes=require(_0x7fd4('0x8'));module['exports']=function(_0x3e7aeb,_0x5cadd4){return _0x3e7aeb[_0x7fd4('0x9')](_0x7fd4('0xa'),attributes,{'tableName':_0x7fd4('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};