Built motion from commit b5413ace.|2.6.9
[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 _0x1e60=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./faxAccount.attributes','exports','FaxAccount','fax_accounts','lodash','util'];(function(_0x6a4439,_0x41e10a){var _0x54628a=function(_0x3dc821){while(--_0x3dc821){_0x6a4439['push'](_0x6a4439['shift']());}};_0x54628a(++_0x41e10a);}(_0x1e60,0xec));var _0x01e6=function(_0x881a7a,_0x4a77f9){_0x881a7a=_0x881a7a-0x0;var _0x215864=_0x1e60[_0x881a7a];return _0x215864;};'use strict';var _=require(_0x01e6('0x0'));var util=require(_0x01e6('0x1'));var logger=require(_0x01e6('0x2'))(_0x01e6('0x3'));var moment=require(_0x01e6('0x4'));var BPromise=require(_0x01e6('0x5'));var rp=require(_0x01e6('0x6'));var fs=require('fs');var path=require(_0x01e6('0x7'));var rimraf=require(_0x01e6('0x8'));var config=require(_0x01e6('0x9'));var attributes=require(_0x01e6('0xa'));module[_0x01e6('0xb')]=function(_0x55b266,_0x2fb310){return _0x55b266['define'](_0x01e6('0xc'),attributes,{'tableName':_0x01e6('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};