ab3dec7e2b0edc1ff07d5b9b23ca86596e2dd982
[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 _0x428f=['define','FaxAccount','lodash','util','../../config/logger','api','bluebird','path','rimraf','../../config/environment','./faxAccount.attributes','exports'];(function(_0x36ed48,_0x1ee0d4){var _0x51c63a=function(_0x2d0a40){while(--_0x2d0a40){_0x36ed48['push'](_0x36ed48['shift']());}};_0x51c63a(++_0x1ee0d4);}(_0x428f,0x1a6));var _0xf428=function(_0x55fc1f,_0x9fe63a){_0x55fc1f=_0x55fc1f-0x0;var _0x4cddfd=_0x428f[_0x55fc1f];return _0x4cddfd;};'use strict';var _=require(_0xf428('0x0'));var util=require(_0xf428('0x1'));var logger=require(_0xf428('0x2'))(_0xf428('0x3'));var moment=require('moment');var BPromise=require(_0xf428('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xf428('0x5'));var rimraf=require(_0xf428('0x6'));var config=require(_0xf428('0x7'));var attributes=require(_0xf428('0x8'));module[_0xf428('0x9')]=function(_0x445abd,_0x380cb8){return _0x445abd[_0xf428('0xa')](_0xf428('0xb'),attributes,{'tableName':'fax_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};