Built motion from commit bab6f49e.|2.6.17
[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 _0x9e7e=['path','./faxAccount.attributes','exports','FaxAccount','fax_accounts','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x9e7e,0xdd));var _0xe9e7=function(_0x543412,_0x4d2bea){_0x543412=_0x543412-0x0;var _0x4cab53=_0x9e7e[_0x543412];return _0x4cab53;};'use strict';var _=require(_0xe9e7('0x0'));var util=require(_0xe9e7('0x1'));var logger=require(_0xe9e7('0x2'))(_0xe9e7('0x3'));var moment=require(_0xe9e7('0x4'));var BPromise=require(_0xe9e7('0x5'));var rp=require(_0xe9e7('0x6'));var fs=require('fs');var path=require(_0xe9e7('0x7'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xe9e7('0x8'));module[_0xe9e7('0x9')]=function(_0x3d7e3c,_0x15ced4){return _0x3d7e3c['define'](_0xe9e7('0xa'),attributes,{'tableName':_0xe9e7('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};