5f8ce004382715da1ee5ae40f687d158e97d4213
[motion2.git] / server / api / openchannelAccount / openchannelAccount.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 _0x5498=['lodash','util','moment','bluebird','path','rimraf','../../config/environment','./openchannelAccount.attributes','define','OpenchannelAccount','openchannel_accounts'];(function(_0x40197b,_0x4e763f){var _0x3b9c2f=function(_0x41c34f){while(--_0x41c34f){_0x40197b['push'](_0x40197b['shift']());}};_0x3b9c2f(++_0x4e763f);}(_0x5498,0x181));var _0x8549=function(_0x45a472,_0x54e59b){_0x45a472=_0x45a472-0x0;var _0x437e19=_0x5498[_0x45a472];return _0x437e19;};'use strict';var _=require(_0x8549('0x0'));var util=require(_0x8549('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x8549('0x2'));var BPromise=require(_0x8549('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x8549('0x4'));var rimraf=require(_0x8549('0x5'));var config=require(_0x8549('0x6'));var attributes=require(_0x8549('0x7'));module['exports']=function(_0x184951,_0x8f2aa2){return _0x184951[_0x8549('0x8')](_0x8549('0x9'),attributes,{'tableName':_0x8549('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};