b3955def553b486fdbad2f75940216c950d74113
[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 _0xae7e=['lodash','../../config/logger','moment','rimraf','./faxAccount.attributes','define','FaxAccount','fax_accounts'];(function(_0x3760ac,_0x409368){var _0x318cf0=function(_0x27a65a){while(--_0x27a65a){_0x3760ac['push'](_0x3760ac['shift']());}};_0x318cf0(++_0x409368);}(_0xae7e,0xf8));var _0xeae7=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0xae7e[_0x19e35c];return _0x3e1fe8;};'use strict';var _=require(_0xeae7('0x0'));var util=require('util');var logger=require(_0xeae7('0x1'))('api');var moment=require(_0xeae7('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xeae7('0x3'));var config=require('../../config/environment');var attributes=require(_0xeae7('0x4'));module['exports']=function(_0xf629eb,_0x488123){return _0xf629eb[_0xeae7('0x5')](_0xeae7('0x6'),attributes,{'tableName':_0xeae7('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};