Built motion from commit (unavailable).|2.4.20
[motion2.git] / server / api / intDeskAccount / intDeskAccount.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 _0x2eaa=['DeskAccount','int_desk_accounts','lodash','../../config/logger','api','bluebird','request-promise','rimraf','../../config/environment','../../components/integrations/configuration','define'];(function(_0x5fd9a3,_0x4d6377){var _0x45fc16=function(_0x2cc90b){while(--_0x2cc90b){_0x5fd9a3['push'](_0x5fd9a3['shift']());}};_0x45fc16(++_0x4d6377);}(_0x2eaa,0x1db));var _0xa2ea=function(_0x4bf8d2,_0x152a6e){_0x4bf8d2=_0x4bf8d2-0x0;var _0xc73d6b=_0x2eaa[_0x4bf8d2];return _0xc73d6b;};'use strict';var _=require(_0xa2ea('0x0'));var util=require('util');var logger=require(_0xa2ea('0x1'))(_0xa2ea('0x2'));var moment=require('moment');var BPromise=require(_0xa2ea('0x3'));var rp=require(_0xa2ea('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa2ea('0x5'));var config=require(_0xa2ea('0x6'));var attributes=require('./intDeskAccount.attributes');var integrations=require(_0xa2ea('0x7'));module['exports']=function(_0x128354,_0x2b70fe){return _0x128354[_0xa2ea('0x8')](_0xa2ea('0x9'),attributes,{'tableName':_0xa2ea('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};