Built motion from commit ce03bc3d.|2.5.39
[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 _0x8e1c=['path','rimraf','../../config/environment','./faxAccount.attributes','exports','FaxAccount','fax_accounts','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x15de84,_0x10b96e){var _0x261be8=function(_0x4b7391){while(--_0x4b7391){_0x15de84['push'](_0x15de84['shift']());}};_0x261be8(++_0x10b96e);}(_0x8e1c,0x89));var _0xc8e1=function(_0xc048e2,_0x3825ef){_0xc048e2=_0xc048e2-0x0;var _0x4012ed=_0x8e1c[_0xc048e2];return _0x4012ed;};'use strict';var _=require(_0xc8e1('0x0'));var util=require(_0xc8e1('0x1'));var logger=require(_0xc8e1('0x2'))(_0xc8e1('0x3'));var moment=require(_0xc8e1('0x4'));var BPromise=require(_0xc8e1('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xc8e1('0x6'));var rimraf=require(_0xc8e1('0x7'));var config=require(_0xc8e1('0x8'));var attributes=require(_0xc8e1('0x9'));module[_0xc8e1('0xa')]=function(_0x261dba,_0x241400){return _0x261dba['define'](_0xc8e1('0xb'),attributes,{'tableName':_0xc8e1('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};