Built motion from commit c738b9ac.|2.6.25
[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 _0xe2bd=['FaxAccount','fax_accounts','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','./faxAccount.attributes','exports'];(function(_0x2de91a,_0x542708){var _0x49d0b8=function(_0x2e4bcf){while(--_0x2e4bcf){_0x2de91a['push'](_0x2de91a['shift']());}};_0x49d0b8(++_0x542708);}(_0xe2bd,0x65));var _0xde2b=function(_0x1268fa,_0x54aa97){_0x1268fa=_0x1268fa-0x0;var _0x4cceac=_0xe2bd[_0x1268fa];return _0x4cceac;};'use strict';var _=require('lodash');var util=require(_0xde2b('0x0'));var logger=require(_0xde2b('0x1'))(_0xde2b('0x2'));var moment=require(_0xde2b('0x3'));var BPromise=require(_0xde2b('0x4'));var rp=require(_0xde2b('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xde2b('0x6'));var config=require('../../config/environment');var attributes=require(_0xde2b('0x7'));module[_0xde2b('0x8')]=function(_0x52cfc3,_0x568d2b){return _0x52cfc3['define'](_0xde2b('0x9'),attributes,{'tableName':_0xde2b('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};