Built motion from commit (unavailable).|2.5.13
[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 _0x4baf=['exports','define','FaxAccount','lodash','util','api','moment','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x46698a,_0x8de1e4){var _0x356db0=function(_0x19e83c){while(--_0x19e83c){_0x46698a['push'](_0x46698a['shift']());}};_0x356db0(++_0x8de1e4);}(_0x4baf,0x158));var _0xf4ba=function(_0x57c17c,_0x3dd2e5){_0x57c17c=_0x57c17c-0x0;var _0x946bf5=_0x4baf[_0x57c17c];return _0x946bf5;};'use strict';var _=require(_0xf4ba('0x0'));var util=require(_0xf4ba('0x1'));var logger=require('../../config/logger')(_0xf4ba('0x2'));var moment=require(_0xf4ba('0x3'));var BPromise=require(_0xf4ba('0x4'));var rp=require(_0xf4ba('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf4ba('0x6'));var config=require(_0xf4ba('0x7'));var attributes=require('./faxAccount.attributes');module[_0xf4ba('0x8')]=function(_0x577d79,_0x5e65e3){return _0x577d79[_0xf4ba('0x9')](_0xf4ba('0xa'),attributes,{'tableName':'fax_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};