a6e6e591149a1a982be5fb79b8e515250849dacf
[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 _0xbe3b=['lodash','../../config/logger','api','request-promise','path','rimraf','../../config/environment','./faxAccount.attributes','exports','define','FaxAccount','fax_accounts'];(function(_0x12aa2f,_0x249663){var _0x1038e7=function(_0x5a6e85){while(--_0x5a6e85){_0x12aa2f['push'](_0x12aa2f['shift']());}};_0x1038e7(++_0x249663);}(_0xbe3b,0xb4));var _0xbbe3=function(_0x17ac5b,_0x1a2d16){_0x17ac5b=_0x17ac5b-0x0;var _0x2dcec9=_0xbe3b[_0x17ac5b];return _0x2dcec9;};'use strict';var _=require(_0xbbe3('0x0'));var util=require('util');var logger=require(_0xbbe3('0x1'))(_0xbbe3('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xbbe3('0x3'));var fs=require('fs');var path=require(_0xbbe3('0x4'));var rimraf=require(_0xbbe3('0x5'));var config=require(_0xbbe3('0x6'));var attributes=require(_0xbbe3('0x7'));module[_0xbbe3('0x8')]=function(_0x2a2ea3,_0x46573d){return _0x2a2ea3[_0xbbe3('0x9')](_0xbbe3('0xa'),attributes,{'tableName':_0xbbe3('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};