Built motion from commit 013e4bb4.|2.6.18
[motion2.git] / server / api / intZendeskAccount / intZendeskAccount.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 _0x2186=['rimraf','../../config/environment','./intZendeskAccount.attributes','../../components/integrations/configuration','exports','ZendeskAccount','int_zendesk_accounts','lodash','moment','bluebird','request-promise'];(function(_0x5ea120,_0x271931){var _0x36b321=function(_0x1b6845){while(--_0x1b6845){_0x5ea120['push'](_0x5ea120['shift']());}};_0x36b321(++_0x271931);}(_0x2186,0x1ca));var _0x6218=function(_0x5768bf,_0x5e4085){_0x5768bf=_0x5768bf-0x0;var _0x40454a=_0x2186[_0x5768bf];return _0x40454a;};'use strict';var _=require(_0x6218('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x6218('0x1'));var BPromise=require(_0x6218('0x2'));var rp=require(_0x6218('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x6218('0x4'));var config=require(_0x6218('0x5'));var attributes=require(_0x6218('0x6'));var integrations=require(_0x6218('0x7'));module[_0x6218('0x8')]=function(_0x4cf11b,_0x486978){return _0x4cf11b['define'](_0x6218('0x9'),attributes,{'tableName':_0x6218('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};