cc8ab062af71c42b7444dbb52be49490a5395b9e
[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 _0xae93=['path','rimraf','../../config/environment','./faxAccount.attributes','exports','define','FaxAccount','fax_accounts','lodash','api','moment','bluebird','request-promise'];(function(_0x422905,_0x3bce3a){var _0x33dc6c=function(_0x4852c9){while(--_0x4852c9){_0x422905['push'](_0x422905['shift']());}};_0x33dc6c(++_0x3bce3a);}(_0xae93,0x1a8));var _0x3ae9=function(_0x14f282,_0x5994c5){_0x14f282=_0x14f282-0x0;var _0x4a1d13=_0xae93[_0x14f282];return _0x4a1d13;};'use strict';var _=require(_0x3ae9('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x3ae9('0x1'));var moment=require(_0x3ae9('0x2'));var BPromise=require(_0x3ae9('0x3'));var rp=require(_0x3ae9('0x4'));var fs=require('fs');var path=require(_0x3ae9('0x5'));var rimraf=require(_0x3ae9('0x6'));var config=require(_0x3ae9('0x7'));var attributes=require(_0x3ae9('0x8'));module[_0x3ae9('0x9')]=function(_0x1af880,_0x5d934d){return _0x1af880[_0x3ae9('0xa')](_0x3ae9('0xb'),attributes,{'tableName':_0x3ae9('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};