df04bcaf2e9e138147653a4b8cc3c7b766d9b8bc
[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 _0x8a57=['VoicePrefix','voice_prefixes','util','api','bluebird','request-promise','path','../../config/environment','./voicePrefix.attributes','exports','define'];(function(_0x39e7ae,_0x35d76b){var _0x74c4d7=function(_0x3e38d2){while(--_0x3e38d2){_0x39e7ae['push'](_0x39e7ae['shift']());}};_0x74c4d7(++_0x35d76b);}(_0x8a57,0x14c));var _0x78a5=function(_0x248c63,_0x3fb167){_0x248c63=_0x248c63-0x0;var _0x22ada6=_0x8a57[_0x248c63];return _0x22ada6;};'use strict';var _=require('lodash');var util=require(_0x78a5('0x0'));var logger=require('../../config/logger')(_0x78a5('0x1'));var moment=require('moment');var BPromise=require(_0x78a5('0x2'));var rp=require(_0x78a5('0x3'));var fs=require('fs');var path=require(_0x78a5('0x4'));var rimraf=require('rimraf');var config=require(_0x78a5('0x5'));var attributes=require(_0x78a5('0x6'));module[_0x78a5('0x7')]=function(_0x2e47d2,_0x139c4d){return _0x2e47d2[_0x78a5('0x8')](_0x78a5('0x9'),attributes,{'tableName':_0x78a5('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};