Built motion from commit b5996064.|2.6.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 _0x2c57=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','VoicePrefix','voice_prefixes'];(function(_0x474bc0,_0x26989c){var _0x4b24cf=function(_0x4be866){while(--_0x4be866){_0x474bc0['push'](_0x474bc0['shift']());}};_0x4b24cf(++_0x26989c);}(_0x2c57,0xa8));var _0x72c5=function(_0x54e86c,_0x13635c){_0x54e86c=_0x54e86c-0x0;var _0x497e60=_0x2c57[_0x54e86c];return _0x497e60;};'use strict';var _=require(_0x72c5('0x0'));var util=require(_0x72c5('0x1'));var logger=require(_0x72c5('0x2'))(_0x72c5('0x3'));var moment=require(_0x72c5('0x4'));var BPromise=require(_0x72c5('0x5'));var rp=require(_0x72c5('0x6'));var fs=require('fs');var path=require(_0x72c5('0x7'));var rimraf=require(_0x72c5('0x8'));var config=require(_0x72c5('0x9'));var attributes=require('./voicePrefix.attributes');module[_0x72c5('0xa')]=function(_0x470da1,_0x216abd){return _0x470da1[_0x72c5('0xb')](_0x72c5('0xc'),attributes,{'tableName':_0x72c5('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};