69f77ecde03a3f71b5b86d6e5972953edc137528
[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 _0x335e=['request-promise','rimraf','../../config/environment','./voicePrefix.attributes','exports','define','VoicePrefix','voice_prefixes','lodash','util','../../config/logger','api','bluebird'];(function(_0x186404,_0x2ccb83){var _0x50a770=function(_0x4aa6cd){while(--_0x4aa6cd){_0x186404['push'](_0x186404['shift']());}};_0x50a770(++_0x2ccb83);}(_0x335e,0x1b5));var _0xe335=function(_0x4a65e3,_0x2b6115){_0x4a65e3=_0x4a65e3-0x0;var _0x324fa3=_0x335e[_0x4a65e3];return _0x324fa3;};'use strict';var _=require(_0xe335('0x0'));var util=require(_0xe335('0x1'));var logger=require(_0xe335('0x2'))(_0xe335('0x3'));var moment=require('moment');var BPromise=require(_0xe335('0x4'));var rp=require(_0xe335('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe335('0x6'));var config=require(_0xe335('0x7'));var attributes=require(_0xe335('0x8'));module[_0xe335('0x9')]=function(_0x1619c7,_0x38b4e9){return _0x1619c7[_0xe335('0xa')](_0xe335('0xb'),attributes,{'tableName':_0xe335('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};