Built motion from commit (unavailable).|2.4.21
[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 _0x2c50=['moment','request-promise','path','rimraf','exports','openchannel_accounts','lodash','../../config/logger','api'];(function(_0x10a30f,_0x5598f9){var _0x252a1c=function(_0x5d5b59){while(--_0x5d5b59){_0x10a30f['push'](_0x10a30f['shift']());}};_0x252a1c(++_0x5598f9);}(_0x2c50,0xa8));var _0x02c5=function(_0x4aba15,_0x4e90aa){_0x4aba15=_0x4aba15-0x0;var _0x1c8122=_0x2c50[_0x4aba15];return _0x1c8122;};'use strict';var _=require(_0x02c5('0x0'));var util=require('util');var logger=require(_0x02c5('0x1'))(_0x02c5('0x2'));var moment=require(_0x02c5('0x3'));var BPromise=require('bluebird');var rp=require(_0x02c5('0x4'));var fs=require('fs');var path=require(_0x02c5('0x5'));var rimraf=require(_0x02c5('0x6'));var config=require('../../config/environment');var attributes=require('./openchannelAccount.attributes');module[_0x02c5('0x7')]=function(_0x363b03,_0x5b2f44){return _0x363b03['define']('OpenchannelAccount',attributes,{'tableName':_0x02c5('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};