Built motion from commit (unavailable).|2.5.15
[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 _0xc413=['path','exports','define','lodash','util','../../config/logger','api','moment','request-promise'];(function(_0x4b8156,_0x437af2){var _0x4a819c=function(_0xe21347){while(--_0xe21347){_0x4b8156['push'](_0x4b8156['shift']());}};_0x4a819c(++_0x437af2);}(_0xc413,0x1d7));var _0x3c41=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xc413[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x3c41('0x0'));var util=require(_0x3c41('0x1'));var logger=require(_0x3c41('0x2'))(_0x3c41('0x3'));var moment=require(_0x3c41('0x4'));var BPromise=require('bluebird');var rp=require(_0x3c41('0x5'));var fs=require('fs');var path=require(_0x3c41('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./faxAccount.attributes');module[_0x3c41('0x7')]=function(_0x975113,_0x39760c){return _0x975113[_0x3c41('0x8')]('FaxAccount',attributes,{'tableName':'fax_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};