efce86a25068c7f510c44a5b1939f9c12e61bc07
[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 _0xf4f7=['fax_accounts','lodash','../../config/logger','api','moment','request-promise','rimraf','../../config/environment','./faxAccount.attributes','exports','define','FaxAccount'];(function(_0x29b609,_0x19d388){var _0x54c952=function(_0xb3c38d){while(--_0xb3c38d){_0x29b609['push'](_0x29b609['shift']());}};_0x54c952(++_0x19d388);}(_0xf4f7,0xfd));var _0x7f4f=function(_0xffa198,_0x5a8940){_0xffa198=_0xffa198-0x0;var _0x1e4b50=_0xf4f7[_0xffa198];return _0x1e4b50;};'use strict';var _=require(_0x7f4f('0x0'));var util=require('util');var logger=require(_0x7f4f('0x1'))(_0x7f4f('0x2'));var moment=require(_0x7f4f('0x3'));var BPromise=require('bluebird');var rp=require(_0x7f4f('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x7f4f('0x5'));var config=require(_0x7f4f('0x6'));var attributes=require(_0x7f4f('0x7'));module[_0x7f4f('0x8')]=function(_0xc2f619,_0x5cef07){return _0xc2f619[_0x7f4f('0x9')](_0x7f4f('0xa'),attributes,{'tableName':_0x7f4f('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};