Built motion from commit 953226e6.|2.6.32
[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 _0x709c=['fax_accounts','lodash','util','api','moment','path','rimraf','define','FaxAccount'];(function(_0x3b5c38,_0x2c7022){var _0x442ebd=function(_0x738ed7){while(--_0x738ed7){_0x3b5c38['push'](_0x3b5c38['shift']());}};_0x442ebd(++_0x2c7022);}(_0x709c,0x1ba));var _0xc709=function(_0x5106b3,_0x4eeecc){_0x5106b3=_0x5106b3-0x0;var _0x30a06e=_0x709c[_0x5106b3];return _0x30a06e;};'use strict';var _=require(_0xc709('0x0'));var util=require(_0xc709('0x1'));var logger=require('../../config/logger')(_0xc709('0x2'));var moment=require(_0xc709('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xc709('0x4'));var rimraf=require(_0xc709('0x5'));var config=require('../../config/environment');var attributes=require('./faxAccount.attributes');module['exports']=function(_0x2f77b5,_0x27ebed){return _0x2f77b5[_0xc709('0x6')](_0xc709('0x7'),attributes,{'tableName':_0xc709('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};