Built motion from commit (unavailable).|2.5.4
[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 _0x3643=['bluebird','request-promise','path','rimraf','../../config/environment','./openchannelAccount.attributes','exports','openchannel_accounts','lodash','../../config/logger','moment'];(function(_0x3dae18,_0x1e6e5a){var _0x323bef=function(_0x19b289){while(--_0x19b289){_0x3dae18['push'](_0x3dae18['shift']());}};_0x323bef(++_0x1e6e5a);}(_0x3643,0x97));var _0x3364=function(_0xb561b0,_0x3e292c){_0xb561b0=_0xb561b0-0x0;var _0x532850=_0x3643[_0xb561b0];return _0x532850;};'use strict';var _=require(_0x3364('0x0'));var util=require('util');var logger=require(_0x3364('0x1'))('api');var moment=require(_0x3364('0x2'));var BPromise=require(_0x3364('0x3'));var rp=require(_0x3364('0x4'));var fs=require('fs');var path=require(_0x3364('0x5'));var rimraf=require(_0x3364('0x6'));var config=require(_0x3364('0x7'));var attributes=require(_0x3364('0x8'));module[_0x3364('0x9')]=function(_0x76eeea,_0x88a2f0){return _0x76eeea['define']('OpenchannelAccount',attributes,{'tableName':_0x3364('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};