Built motion from commit (unavailable).|2.5.5
[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 _0xe205=['bluebird','request-promise','path','../../config/environment','./faxAccount.attributes','FaxAccount','fax_accounts','api','moment'];(function(_0x276d85,_0x30b7ef){var _0x7103a3=function(_0xaa4adb){while(--_0xaa4adb){_0x276d85['push'](_0x276d85['shift']());}};_0x7103a3(++_0x30b7ef);}(_0xe205,0x73));var _0x5e20=function(_0x25fcd2,_0x401e05){_0x25fcd2=_0x25fcd2-0x0;var _0x3d4fb7=_0xe205[_0x25fcd2];return _0x3d4fb7;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0x5e20('0x0'));var moment=require(_0x5e20('0x1'));var BPromise=require(_0x5e20('0x2'));var rp=require(_0x5e20('0x3'));var fs=require('fs');var path=require(_0x5e20('0x4'));var rimraf=require('rimraf');var config=require(_0x5e20('0x5'));var attributes=require(_0x5e20('0x6'));module['exports']=function(_0x56b776,_0x386572){return _0x56b776['define'](_0x5e20('0x7'),attributes,{'tableName':_0x5e20('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};