534ff2cf04337653d6bb85e201e4a6092e9b35e1
[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 _0xa756=['define','util','api','bluebird','request-promise','path','../../config/environment','exports'];(function(_0x2bbf4d,_0xe5c8bb){var _0x8dd663=function(_0x2809da){while(--_0x2809da){_0x2bbf4d['push'](_0x2bbf4d['shift']());}};_0x8dd663(++_0xe5c8bb);}(_0xa756,0x159));var _0x6a75=function(_0x3a678a,_0x61219){_0x3a678a=_0x3a678a-0x0;var _0x3141a6=_0xa756[_0x3a678a];return _0x3141a6;};'use strict';var _=require('lodash');var util=require(_0x6a75('0x0'));var logger=require('../../config/logger')(_0x6a75('0x1'));var moment=require('moment');var BPromise=require(_0x6a75('0x2'));var rp=require(_0x6a75('0x3'));var fs=require('fs');var path=require(_0x6a75('0x4'));var rimraf=require('rimraf');var config=require(_0x6a75('0x5'));var attributes=require('./voicePrefix.attributes');module[_0x6a75('0x6')]=function(_0x436acd,_0x5066b5){return _0x436acd[_0x6a75('0x7')]('VoicePrefix',attributes,{'tableName':'voice_prefixes','paranoid':![],'indexes':[],'timestamps':!![]});};