ba8c8a89c6cd2f011ea96a5a6bbcfad675fd1573
[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 _0x6830=['util','../../config/logger','api','moment','request-promise','path','../../config/environment','./faxAccount.attributes','exports','lodash'];(function(_0x6c993a,_0x5ea3ab){var _0x27f547=function(_0x22df20){while(--_0x22df20){_0x6c993a['push'](_0x6c993a['shift']());}};_0x27f547(++_0x5ea3ab);}(_0x6830,0x1a3));var _0x0683=function(_0x23551e,_0x56f82f){_0x23551e=_0x23551e-0x0;var _0x4e36ff=_0x6830[_0x23551e];return _0x4e36ff;};'use strict';var _=require(_0x0683('0x0'));var util=require(_0x0683('0x1'));var logger=require(_0x0683('0x2'))(_0x0683('0x3'));var moment=require(_0x0683('0x4'));var BPromise=require('bluebird');var rp=require(_0x0683('0x5'));var fs=require('fs');var path=require(_0x0683('0x6'));var rimraf=require('rimraf');var config=require(_0x0683('0x7'));var attributes=require(_0x0683('0x8'));module[_0x0683('0x9')]=function(_0xd38b03,_0x26fa00){return _0xd38b03['define']('FaxAccount',attributes,{'tableName':'fax_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};