Built motion from commit (unavailable).|2.4.20
[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 _0x5a77=['bluebird','request-promise','path','../../config/environment','./openchannelAccount.attributes','exports','define','OpenchannelAccount','lodash','util','../../config/logger','api','moment'];(function(_0x1cc8fe,_0x105328){var _0x230054=function(_0x1a1b56){while(--_0x1a1b56){_0x1cc8fe['push'](_0x1cc8fe['shift']());}};_0x230054(++_0x105328);}(_0x5a77,0x126));var _0x75a7=function(_0x5233f1,_0x1db5df){_0x5233f1=_0x5233f1-0x0;var _0x2620e8=_0x5a77[_0x5233f1];return _0x2620e8;};'use strict';var _=require(_0x75a7('0x0'));var util=require(_0x75a7('0x1'));var logger=require(_0x75a7('0x2'))(_0x75a7('0x3'));var moment=require(_0x75a7('0x4'));var BPromise=require(_0x75a7('0x5'));var rp=require(_0x75a7('0x6'));var fs=require('fs');var path=require(_0x75a7('0x7'));var rimraf=require('rimraf');var config=require(_0x75a7('0x8'));var attributes=require(_0x75a7('0x9'));module[_0x75a7('0xa')]=function(_0x111cbe,_0x57b453){return _0x111cbe[_0x75a7('0xb')](_0x75a7('0xc'),attributes,{'tableName':'openchannel_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};