17479671642bdf554271cd485f5b16067f922768
[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 _0x6eb6=['request-promise','path','../../config/environment','./faxAccount.attributes','exports','define','lodash','../../config/logger','api','moment','bluebird'];(function(_0x20cf47,_0x460a48){var _0x1687e6=function(_0x45d335){while(--_0x45d335){_0x20cf47['push'](_0x20cf47['shift']());}};_0x1687e6(++_0x460a48);}(_0x6eb6,0x10e));var _0x66eb=function(_0x4244ff,_0x31d180){_0x4244ff=_0x4244ff-0x0;var _0x487ccc=_0x6eb6[_0x4244ff];return _0x487ccc;};'use strict';var _=require(_0x66eb('0x0'));var util=require('util');var logger=require(_0x66eb('0x1'))(_0x66eb('0x2'));var moment=require(_0x66eb('0x3'));var BPromise=require(_0x66eb('0x4'));var rp=require(_0x66eb('0x5'));var fs=require('fs');var path=require(_0x66eb('0x6'));var rimraf=require('rimraf');var config=require(_0x66eb('0x7'));var attributes=require(_0x66eb('0x8'));module[_0x66eb('0x9')]=function(_0x462b48,_0x510d78){return _0x462b48[_0x66eb('0xa')]('FaxAccount',attributes,{'tableName':'fax_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};