Built motion from commit 355702c8.|2.5.41
[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 _0x55a8=['exports','DeskAccount','int_desk_accounts','lodash','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./intDeskAccount.attributes','../../components/integrations/configuration'];(function(_0x37ca9a,_0x12041c){var _0xd7a4ff=function(_0x88179a){while(--_0x88179a){_0x37ca9a['push'](_0x37ca9a['shift']());}};_0xd7a4ff(++_0x12041c);}(_0x55a8,0xfa));var _0x855a=function(_0x34af56,_0x2285eb){_0x34af56=_0x34af56-0x0;var _0x481b6f=_0x55a8[_0x34af56];return _0x481b6f;};'use strict';var _=require(_0x855a('0x0'));var util=require('util');var logger=require(_0x855a('0x1'))(_0x855a('0x2'));var moment=require(_0x855a('0x3'));var BPromise=require(_0x855a('0x4'));var rp=require(_0x855a('0x5'));var fs=require('fs');var path=require(_0x855a('0x6'));var rimraf=require('rimraf');var config=require(_0x855a('0x7'));var attributes=require(_0x855a('0x8'));var integrations=require(_0x855a('0x9'));module[_0x855a('0xa')]=function(_0x17af97,_0x3ef3f9){return _0x17af97['define'](_0x855a('0xb'),attributes,{'tableName':_0x855a('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};