Built motion from commit e0fa946e.|2.6.5
[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 _0x123c=['rimraf','./faxAccount.attributes','exports','define','FaxAccount','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x4fa916,_0x3ec36a){var _0x576439=function(_0x5692e0){while(--_0x5692e0){_0x4fa916['push'](_0x4fa916['shift']());}};_0x576439(++_0x3ec36a);}(_0x123c,0xc8));var _0xc123=function(_0x485a11,_0x2a4a63){_0x485a11=_0x485a11-0x0;var _0x2aa2bf=_0x123c[_0x485a11];return _0x2aa2bf;};'use strict';var _=require(_0xc123('0x0'));var util=require(_0xc123('0x1'));var logger=require(_0xc123('0x2'))(_0xc123('0x3'));var moment=require(_0xc123('0x4'));var BPromise=require(_0xc123('0x5'));var rp=require(_0xc123('0x6'));var fs=require('fs');var path=require(_0xc123('0x7'));var rimraf=require(_0xc123('0x8'));var config=require('../../config/environment');var attributes=require(_0xc123('0x9'));module[_0xc123('0xa')]=function(_0x3b8ec8,_0x4603ff){return _0x3b8ec8[_0xc123('0xb')](_0xc123('0xc'),attributes,{'tableName':'fax_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};