9512ffb2d2718fceed278137c167253418089289
[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 _0x05af=['FaxAccount','fax_accounts','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf','./faxAccount.attributes','exports','define'];(function(_0xf7ced1,_0x52f1a6){var _0x4bfe3e=function(_0x37f440){while(--_0x37f440){_0xf7ced1['push'](_0xf7ced1['shift']());}};_0x4bfe3e(++_0x52f1a6);}(_0x05af,0x17b));var _0xf05a=function(_0xc77819,_0x139fdc){_0xc77819=_0xc77819-0x0;var _0x1c9434=_0x05af[_0xc77819];return _0x1c9434;};'use strict';var _=require(_0xf05a('0x0'));var util=require(_0xf05a('0x1'));var logger=require(_0xf05a('0x2'))(_0xf05a('0x3'));var moment=require(_0xf05a('0x4'));var BPromise=require(_0xf05a('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xf05a('0x6'));var rimraf=require(_0xf05a('0x7'));var config=require('../../config/environment');var attributes=require(_0xf05a('0x8'));module[_0xf05a('0x9')]=function(_0x4f1936,_0x29e11f){return _0x4f1936[_0xf05a('0xa')](_0xf05a('0xb'),attributes,{'tableName':_0xf05a('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};