Built motion from commit (unavailable).|2.5.27
[motion2.git] / server / api / voiceExtension / voiceExtension.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 _0xa984=['voice_extensions','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./voiceExtension.attributes','exports','define','VoiceExtension'];(function(_0x596b3d,_0x4e271b){var _0x3edd94=function(_0x495e9e){while(--_0x495e9e){_0x596b3d['push'](_0x596b3d['shift']());}};_0x3edd94(++_0x4e271b);}(_0xa984,0x139));var _0x4a98=function(_0x38f6ee,_0xf06a6c){_0x38f6ee=_0x38f6ee-0x0;var _0x49aeef=_0xa984[_0x38f6ee];return _0x49aeef;};'use strict';var _=require('lodash');var util=require(_0x4a98('0x0'));var logger=require(_0x4a98('0x1'))(_0x4a98('0x2'));var moment=require(_0x4a98('0x3'));var BPromise=require(_0x4a98('0x4'));var rp=require(_0x4a98('0x5'));var fs=require('fs');var path=require(_0x4a98('0x6'));var rimraf=require(_0x4a98('0x7'));var config=require('../../config/environment');var attributes=require(_0x4a98('0x8'));module[_0x4a98('0x9')]=function(_0x1991d3,_0x37c319){return _0x1991d3[_0x4a98('0xa')](_0x4a98('0xb'),attributes,{'tableName':_0x4a98('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};