Built motion from commit 497d3d92.|2.5.43
[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 _0x30de=['define','FaxAccount','lodash','util','../../config/logger','moment','bluebird','path','rimraf','./faxAccount.attributes','exports'];(function(_0x1cb9bd,_0x37af34){var _0x7065c7=function(_0xbc1ba3){while(--_0xbc1ba3){_0x1cb9bd['push'](_0x1cb9bd['shift']());}};_0x7065c7(++_0x37af34);}(_0x30de,0x14c));var _0xe30d=function(_0x16c0e4,_0x4a1c93){_0x16c0e4=_0x16c0e4-0x0;var _0xf5daa4=_0x30de[_0x16c0e4];return _0xf5daa4;};'use strict';var _=require(_0xe30d('0x0'));var util=require(_0xe30d('0x1'));var logger=require(_0xe30d('0x2'))('api');var moment=require(_0xe30d('0x3'));var BPromise=require(_0xe30d('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xe30d('0x5'));var rimraf=require(_0xe30d('0x6'));var config=require('../../config/environment');var attributes=require(_0xe30d('0x7'));module[_0xe30d('0x8')]=function(_0xbb9cf6,_0x53b519){return _0xbb9cf6[_0xe30d('0x9')](_0xe30d('0xa'),attributes,{'tableName':'fax_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};