Built motion from commit 3c2ce842.|2.6.31
[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 _0xa1be=['define','FaxAccount','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','exports'];(function(_0x1de4b8,_0x529b41){var _0x557699=function(_0xb10c18){while(--_0xb10c18){_0x1de4b8['push'](_0x1de4b8['shift']());}};_0x557699(++_0x529b41);}(_0xa1be,0xbd));var _0xea1b=function(_0x510c74,_0x4702f3){_0x510c74=_0x510c74-0x0;var _0x6c31fa=_0xa1be[_0x510c74];return _0x6c31fa;};'use strict';var _=require('lodash');var util=require(_0xea1b('0x0'));var logger=require(_0xea1b('0x1'))(_0xea1b('0x2'));var moment=require(_0xea1b('0x3'));var BPromise=require(_0xea1b('0x4'));var rp=require(_0xea1b('0x5'));var fs=require('fs');var path=require(_0xea1b('0x6'));var rimraf=require(_0xea1b('0x7'));var config=require('../../config/environment');var attributes=require('./faxAccount.attributes');module[_0xea1b('0x8')]=function(_0x1e035d,_0x24c141){return _0x1e035d[_0xea1b('0x9')](_0xea1b('0xa'),attributes,{'tableName':'fax_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};