Built motion from commit f7863d46.|2.5.41
[motion2.git] / server / api / faxAccount / faxAccount.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 _0x872f=['fax_accounts','lodash','../../config/logger','api','bluebird','rimraf','./faxAccount.attributes','exports','define','FaxAccount'];(function(_0x2db88b,_0x443a38){var _0x28ba53=function(_0x4ae59f){while(--_0x4ae59f){_0x2db88b['push'](_0x2db88b['shift']());}};_0x28ba53(++_0x443a38);}(_0x872f,0x19b));var _0xf872=function(_0x4318de,_0x32e804){_0x4318de=_0x4318de-0x0;var _0x57b497=_0x872f[_0x4318de];return _0x57b497;};'use strict';var _=require(_0xf872('0x0'));var util=require('util');var logger=require(_0xf872('0x1'))(_0xf872('0x2'));var moment=require('moment');var BPromise=require(_0xf872('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xf872('0x4'));var config=require('../../config/environment');var attributes=require(_0xf872('0x5'));module[_0xf872('0x6')]=function(_0x21c82d,_0x561ac4){return _0x21c82d[_0xf872('0x7')](_0xf872('0x8'),attributes,{'tableName':_0xf872('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};