8d45f0f1ec12618b25bb815312f91ce0d5546576
[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 _0x570e=['request-promise','rimraf','../../config/environment','define','VoicePrefix','voice_prefixes','lodash','../../config/logger','moment'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x570e,0xc3));var _0xe570=function(_0x5583f,_0x36b976){_0x5583f=_0x5583f-0x0;var _0x196941=_0x570e[_0x5583f];return _0x196941;};'use strict';var _=require(_0xe570('0x0'));var util=require('util');var logger=require(_0xe570('0x1'))('api');var moment=require(_0xe570('0x2'));var BPromise=require('bluebird');var rp=require(_0xe570('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe570('0x4'));var config=require(_0xe570('0x5'));var attributes=require('./voicePrefix.attributes');module['exports']=function(_0x2f2089,_0x362b2c){return _0x2f2089[_0xe570('0x6')](_0xe570('0x7'),attributes,{'tableName':_0xe570('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};