Built motion from commit 0900f080.|2.5.45
[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 _0xaa53=['lodash','util','../../config/logger','api','bluebird','request-promise','path','../../config/environment','fax_accounts'];(function(_0x37ef09,_0x5edd6e){var _0xa254fc=function(_0x3289d7){while(--_0x3289d7){_0x37ef09['push'](_0x37ef09['shift']());}};_0xa254fc(++_0x5edd6e);}(_0xaa53,0x171));var _0x3aa5=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xaa53[_0x14add3];return _0x4a174f;};'use strict';var _=require(_0x3aa5('0x0'));var util=require(_0x3aa5('0x1'));var logger=require(_0x3aa5('0x2'))(_0x3aa5('0x3'));var moment=require('moment');var BPromise=require(_0x3aa5('0x4'));var rp=require(_0x3aa5('0x5'));var fs=require('fs');var path=require(_0x3aa5('0x6'));var rimraf=require('rimraf');var config=require(_0x3aa5('0x7'));var attributes=require('./faxAccount.attributes');module['exports']=function(_0x35a05e,_0x567dbd){return _0x35a05e['define']('FaxAccount',attributes,{'tableName':_0x3aa5('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};