Built motion from commit d1eab355.|2.6.28
[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 _0xe362=['api','moment','request-promise','path','rimraf','../../config/environment','define','VoicePrefix','voice_prefixes'];(function(_0x49b207,_0x408ade){var _0x2dc8fa=function(_0x150975){while(--_0x150975){_0x49b207['push'](_0x49b207['shift']());}};_0x2dc8fa(++_0x408ade);}(_0xe362,0x171));var _0x2e36=function(_0x49fb35,_0x121edc){_0x49fb35=_0x49fb35-0x0;var _0xd05ed7=_0xe362[_0x49fb35];return _0xd05ed7;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0x2e36('0x0'));var moment=require(_0x2e36('0x1'));var BPromise=require('bluebird');var rp=require(_0x2e36('0x2'));var fs=require('fs');var path=require(_0x2e36('0x3'));var rimraf=require(_0x2e36('0x4'));var config=require(_0x2e36('0x5'));var attributes=require('./voicePrefix.attributes');module['exports']=function(_0x379124,_0xf0177b){return _0x379124[_0x2e36('0x6')](_0x2e36('0x7'),attributes,{'tableName':_0x2e36('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};