Built motion from commit d1eab355.|2.6.28
[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 _0xab15=['FaxAccount','lodash','util','../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment','exports','define'];(function(_0x38a221,_0x508298){var _0x2ae70e=function(_0xeebe45){while(--_0xeebe45){_0x38a221['push'](_0x38a221['shift']());}};_0x2ae70e(++_0x508298);}(_0xab15,0x1f0));var _0x5ab1=function(_0x99245d,_0x47ab5c){_0x99245d=_0x99245d-0x0;var _0x564edb=_0xab15[_0x99245d];return _0x564edb;};'use strict';var _=require(_0x5ab1('0x0'));var util=require(_0x5ab1('0x1'));var logger=require(_0x5ab1('0x2'))('api');var moment=require(_0x5ab1('0x3'));var BPromise=require(_0x5ab1('0x4'));var rp=require(_0x5ab1('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x5ab1('0x6'));var config=require(_0x5ab1('0x7'));var attributes=require('./faxAccount.attributes');module[_0x5ab1('0x8')]=function(_0xd0bb60,_0x9bcb33){return _0xd0bb60[_0x5ab1('0x9')](_0x5ab1('0xa'),attributes,{'tableName':'fax_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};