Built motion from commit e1760111.|2.6.18
[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 _0xe88f=['../../config/environment','define','VoicePrefix','../../config/logger','api','moment','bluebird','request-promise','rimraf'];(function(_0x56a5f,_0x316fd4){var _0x2b89e9=function(_0x2104a1){while(--_0x2104a1){_0x56a5f['push'](_0x56a5f['shift']());}};_0x2b89e9(++_0x316fd4);}(_0xe88f,0x186));var _0xfe88=function(_0x525b28,_0x5cf5a0){_0x525b28=_0x525b28-0x0;var _0x180178=_0xe88f[_0x525b28];return _0x180178;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xfe88('0x0'))(_0xfe88('0x1'));var moment=require(_0xfe88('0x2'));var BPromise=require(_0xfe88('0x3'));var rp=require(_0xfe88('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xfe88('0x5'));var config=require(_0xfe88('0x6'));var attributes=require('./voicePrefix.attributes');module['exports']=function(_0x43930d,_0x187d27){return _0x43930d[_0xfe88('0x7')](_0xfe88('0x8'),attributes,{'tableName':'voice_prefixes','paranoid':![],'indexes':[],'timestamps':!![]});};