821162f50bfefd31956035d155fb62e4e73a18c8
[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 _0x1b03=['lodash','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./faxAccount.attributes','exports','FaxAccount','fax_accounts'];(function(_0x2f3b38,_0x4b4681){var _0x59aa2e=function(_0x49bb39){while(--_0x49bb39){_0x2f3b38['push'](_0x2f3b38['shift']());}};_0x59aa2e(++_0x4b4681);}(_0x1b03,0x180));var _0x31b0=function(_0x31e29a,_0x349c9b){_0x31e29a=_0x31e29a-0x0;var _0x32d892=_0x1b03[_0x31e29a];return _0x32d892;};'use strict';var _=require(_0x31b0('0x0'));var util=require('util');var logger=require(_0x31b0('0x1'))(_0x31b0('0x2'));var moment=require('moment');var BPromise=require(_0x31b0('0x3'));var rp=require(_0x31b0('0x4'));var fs=require('fs');var path=require(_0x31b0('0x5'));var rimraf=require(_0x31b0('0x6'));var config=require(_0x31b0('0x7'));var attributes=require(_0x31b0('0x8'));module[_0x31b0('0x9')]=function(_0x354fb2,_0x3d7e3f){return _0x354fb2['define'](_0x31b0('0xa'),attributes,{'tableName':_0x31b0('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};