dbd8bc8c5a594e2602701c69154a59d8f1231a2d
[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 _0xe136=['../../config/environment','./faxAccount.attributes','exports','define','FaxAccount','lodash','util','../../config/logger','moment','path','rimraf'];(function(_0x5434c8,_0x1b406c){var _0x2e3d4e=function(_0x3a8f85){while(--_0x3a8f85){_0x5434c8['push'](_0x5434c8['shift']());}};_0x2e3d4e(++_0x1b406c);}(_0xe136,0x118));var _0x6e13=function(_0x546450,_0x1acebd){_0x546450=_0x546450-0x0;var _0x1a1298=_0xe136[_0x546450];return _0x1a1298;};'use strict';var _=require(_0x6e13('0x0'));var util=require(_0x6e13('0x1'));var logger=require(_0x6e13('0x2'))('api');var moment=require(_0x6e13('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x6e13('0x4'));var rimraf=require(_0x6e13('0x5'));var config=require(_0x6e13('0x6'));var attributes=require(_0x6e13('0x7'));module[_0x6e13('0x8')]=function(_0x30f5e9,_0x34b11f){return _0x30f5e9[_0x6e13('0x9')](_0x6e13('0xa'),attributes,{'tableName':'fax_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};