Built motion from commit (unavailable).|2.5.31
[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 _0x49b7=['./voicePrefix.attributes','exports','define','VoicePrefix','voice_prefixes','lodash','util','api','moment','path','../../config/environment'];(function(_0x4f0ecb,_0x352f3d){var _0xdb3702=function(_0x2ad621){while(--_0x2ad621){_0x4f0ecb['push'](_0x4f0ecb['shift']());}};_0xdb3702(++_0x352f3d);}(_0x49b7,0x10d));var _0x749b=function(_0xbb14db,_0x3ee8c6){_0xbb14db=_0xbb14db-0x0;var _0x36bed7=_0x49b7[_0xbb14db];return _0x36bed7;};'use strict';var _=require(_0x749b('0x0'));var util=require(_0x749b('0x1'));var logger=require('../../config/logger')(_0x749b('0x2'));var moment=require(_0x749b('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x749b('0x4'));var rimraf=require('rimraf');var config=require(_0x749b('0x5'));var attributes=require(_0x749b('0x6'));module[_0x749b('0x7')]=function(_0x410188,_0x5ac046){return _0x410188[_0x749b('0x8')](_0x749b('0x9'),attributes,{'tableName':_0x749b('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};