Built motion from commit (unavailable).|2.5.21
[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 _0xa0e7=['VoicePrefix','voice_prefixes','lodash','moment','bluebird','path','../../config/environment','./voicePrefix.attributes','exports','define'];(function(_0xe39824,_0xbdf61f){var _0x4bc31e=function(_0x594760){while(--_0x594760){_0xe39824['push'](_0xe39824['shift']());}};_0x4bc31e(++_0xbdf61f);}(_0xa0e7,0x17e));var _0x7a0e=function(_0xcbde29,_0x56c414){_0xcbde29=_0xcbde29-0x0;var _0x5887b4=_0xa0e7[_0xcbde29];return _0x5887b4;};'use strict';var _=require(_0x7a0e('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x7a0e('0x1'));var BPromise=require(_0x7a0e('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x7a0e('0x3'));var rimraf=require('rimraf');var config=require(_0x7a0e('0x4'));var attributes=require(_0x7a0e('0x5'));module[_0x7a0e('0x6')]=function(_0x3b5270,_0x293c17){return _0x3b5270[_0x7a0e('0x7')](_0x7a0e('0x8'),attributes,{'tableName':_0x7a0e('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};