Built motion from commit 639a1a7f.|2.6.19
[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 _0x46cc=['api','moment','bluebird','request-promise','path','./faxAccount.attributes','exports','define','FaxAccount','fax_accounts','util'];(function(_0x502c7d,_0x2f1285){var _0x30b7ed=function(_0x2d92f3){while(--_0x2d92f3){_0x502c7d['push'](_0x502c7d['shift']());}};_0x30b7ed(++_0x2f1285);}(_0x46cc,0x13e));var _0xc46c=function(_0x50c2c8,_0x17421e){_0x50c2c8=_0x50c2c8-0x0;var _0x55f8a3=_0x46cc[_0x50c2c8];return _0x55f8a3;};'use strict';var _=require('lodash');var util=require(_0xc46c('0x0'));var logger=require('../../config/logger')(_0xc46c('0x1'));var moment=require(_0xc46c('0x2'));var BPromise=require(_0xc46c('0x3'));var rp=require(_0xc46c('0x4'));var fs=require('fs');var path=require(_0xc46c('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xc46c('0x6'));module[_0xc46c('0x7')]=function(_0x28c295,_0x5624d2){return _0x28c295[_0xc46c('0x8')](_0xc46c('0x9'),attributes,{'tableName':_0xc46c('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};