Built motion from commit ffdca78c.|2.6.24
[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 _0x8f28=['fax_accounts','lodash','moment','bluebird','request-promise','../../config/environment','./faxAccount.attributes','exports','define','FaxAccount'];(function(_0x3452a8,_0x4bfaa4){var _0x233814=function(_0x40b537){while(--_0x40b537){_0x3452a8['push'](_0x3452a8['shift']());}};_0x233814(++_0x4bfaa4);}(_0x8f28,0x12d));var _0x88f2=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x8f28[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x88f2('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x88f2('0x1'));var BPromise=require(_0x88f2('0x2'));var rp=require(_0x88f2('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x88f2('0x4'));var attributes=require(_0x88f2('0x5'));module[_0x88f2('0x6')]=function(_0x64fab6,_0x374d29){return _0x64fab6[_0x88f2('0x7')](_0x88f2('0x8'),attributes,{'tableName':_0x88f2('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};