Built motion from commit 25580385.|2.6.2
[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 _0x5b10=['rimraf','../../config/environment','./faxAccount.attributes','exports','define','FaxAccount','util','../../config/logger','moment','bluebird'];(function(_0x48c77b,_0x16a55c){var _0x18edfc=function(_0x3062e3){while(--_0x3062e3){_0x48c77b['push'](_0x48c77b['shift']());}};_0x18edfc(++_0x16a55c);}(_0x5b10,0xf6));var _0x05b1=function(_0xcf4e7d,_0x482fa4){_0xcf4e7d=_0xcf4e7d-0x0;var _0x46df93=_0x5b10[_0xcf4e7d];return _0x46df93;};'use strict';var _=require('lodash');var util=require(_0x05b1('0x0'));var logger=require(_0x05b1('0x1'))('api');var moment=require(_0x05b1('0x2'));var BPromise=require(_0x05b1('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x05b1('0x4'));var config=require(_0x05b1('0x5'));var attributes=require(_0x05b1('0x6'));module[_0x05b1('0x7')]=function(_0x10aaa8,_0x45f537){return _0x10aaa8[_0x05b1('0x8')](_0x05b1('0x9'),attributes,{'tableName':'fax_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};