33031a9327c2df3c48ac73d022ffb1cb9d8d3eb3
[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 _0xe9f4=['../../config/logger','moment','bluebird','rimraf','../../config/environment','./faxAccount.attributes','exports','FaxAccount','fax_accounts','lodash','util'];(function(_0x331dd8,_0x15e211){var _0x56408f=function(_0x576ffd){while(--_0x576ffd){_0x331dd8['push'](_0x331dd8['shift']());}};_0x56408f(++_0x15e211);}(_0xe9f4,0xda));var _0x4e9f=function(_0x54c6e2,_0x184d8f){_0x54c6e2=_0x54c6e2-0x0;var _0x5c1837=_0xe9f4[_0x54c6e2];return _0x5c1837;};'use strict';var _=require(_0x4e9f('0x0'));var util=require(_0x4e9f('0x1'));var logger=require(_0x4e9f('0x2'))('api');var moment=require(_0x4e9f('0x3'));var BPromise=require(_0x4e9f('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x4e9f('0x5'));var config=require(_0x4e9f('0x6'));var attributes=require(_0x4e9f('0x7'));module[_0x4e9f('0x8')]=function(_0x62d6dc,_0x2479cb){return _0x62d6dc['define'](_0x4e9f('0x9'),attributes,{'tableName':_0x4e9f('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};