e80d193483a89e0cafa888325f8b5f314c6b5802
[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 _0x00ef=['api','bluebird','request-promise','rimraf','./faxAccount.attributes','FaxAccount','../../config/logger'];(function(_0x13b295,_0x3286bb){var _0x4f7c05=function(_0x57f68d){while(--_0x57f68d){_0x13b295['push'](_0x13b295['shift']());}};_0x4f7c05(++_0x3286bb);}(_0x00ef,0x1d4));var _0xf00e=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0x00ef[_0x122ef9];return _0x42fba0;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xf00e('0x0'))(_0xf00e('0x1'));var moment=require('moment');var BPromise=require(_0xf00e('0x2'));var rp=require(_0xf00e('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf00e('0x4'));var config=require('../../config/environment');var attributes=require(_0xf00e('0x5'));module['exports']=function(_0xafe568,_0x4af5ef){return _0xafe568['define'](_0xf00e('0x6'),attributes,{'tableName':'fax_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};