Built motion from commit 25580385.|2.6.2
[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 _0x97a9=['exports','define','voice_prefixes','util','../../config/logger','api','bluebird','path','rimraf','../../config/environment'];(function(_0x13ffd5,_0x132b2e){var _0x5274a8=function(_0x2cdbe0){while(--_0x2cdbe0){_0x13ffd5['push'](_0x13ffd5['shift']());}};_0x5274a8(++_0x132b2e);}(_0x97a9,0xf3));var _0x997a=function(_0x4f4f90,_0x6203b7){_0x4f4f90=_0x4f4f90-0x0;var _0x1cc99f=_0x97a9[_0x4f4f90];return _0x1cc99f;};'use strict';var _=require('lodash');var util=require(_0x997a('0x0'));var logger=require(_0x997a('0x1'))(_0x997a('0x2'));var moment=require('moment');var BPromise=require(_0x997a('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x997a('0x4'));var rimraf=require(_0x997a('0x5'));var config=require(_0x997a('0x6'));var attributes=require('./voicePrefix.attributes');module[_0x997a('0x7')]=function(_0x4db41c,_0x3645c2){return _0x4db41c[_0x997a('0x8')]('VoicePrefix',attributes,{'tableName':_0x997a('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};