Built motion from commit efa66e19.|2.6.22
[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 _0x8c2f=['lodash','util','api','moment','path','rimraf','./faxAccount.attributes','exports','FaxAccount','fax_accounts'];(function(_0x3a62a3,_0x1abdd5){var _0x3ca823=function(_0x1d3639){while(--_0x1d3639){_0x3a62a3['push'](_0x3a62a3['shift']());}};_0x3ca823(++_0x1abdd5);}(_0x8c2f,0xf0));var _0xf8c2=function(_0x4b9b78,_0x1dc74a){_0x4b9b78=_0x4b9b78-0x0;var _0x330388=_0x8c2f[_0x4b9b78];return _0x330388;};'use strict';var _=require(_0xf8c2('0x0'));var util=require(_0xf8c2('0x1'));var logger=require('../../config/logger')(_0xf8c2('0x2'));var moment=require(_0xf8c2('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xf8c2('0x4'));var rimraf=require(_0xf8c2('0x5'));var config=require('../../config/environment');var attributes=require(_0xf8c2('0x6'));module[_0xf8c2('0x7')]=function(_0x5a82f5,_0x3028dc){return _0x5a82f5['define'](_0xf8c2('0x8'),attributes,{'tableName':_0xf8c2('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};