Built motion from commit (unavailable).|2.5.14
[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 _0x28f8=['./intDeskAccount.attributes','../../components/integrations/configuration','exports','define','int_desk_accounts','lodash','../../config/logger','api','moment','bluebird','path','../../config/environment'];(function(_0x413e35,_0x5dfc98){var _0x498fa4=function(_0x5edb89){while(--_0x5edb89){_0x413e35['push'](_0x413e35['shift']());}};_0x498fa4(++_0x5dfc98);}(_0x28f8,0x19d));var _0x828f=function(_0xd553ab,_0x788918){_0xd553ab=_0xd553ab-0x0;var _0x215442=_0x28f8[_0xd553ab];return _0x215442;};'use strict';var _=require(_0x828f('0x0'));var util=require('util');var logger=require(_0x828f('0x1'))(_0x828f('0x2'));var moment=require(_0x828f('0x3'));var BPromise=require(_0x828f('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x828f('0x5'));var rimraf=require('rimraf');var config=require(_0x828f('0x6'));var attributes=require(_0x828f('0x7'));var integrations=require(_0x828f('0x8'));module[_0x828f('0x9')]=function(_0x3835f9,_0x52b008){return _0x3835f9[_0x828f('0xa')]('DeskAccount',attributes,{'tableName':_0x828f('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};