Built motion from commit ce97982f.|2.6.29
[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 _0x6930=['fax_accounts','lodash','util','../../config/logger','api','./faxAccount.attributes','exports'];(function(_0x323303,_0x22c4fb){var _0x1bac97=function(_0x5baa41){while(--_0x5baa41){_0x323303['push'](_0x323303['shift']());}};_0x1bac97(++_0x22c4fb);}(_0x6930,0xf6));var _0x0693=function(_0x44438d,_0x54fcef){_0x44438d=_0x44438d-0x0;var _0x3b2f2f=_0x6930[_0x44438d];return _0x3b2f2f;};'use strict';var _=require(_0x0693('0x0'));var util=require(_0x0693('0x1'));var logger=require(_0x0693('0x2'))(_0x0693('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x0693('0x4'));module[_0x0693('0x5')]=function(_0x1e242b,_0x415ddf){return _0x1e242b['define']('FaxAccount',attributes,{'tableName':_0x0693('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};