Built motion from commit efa66e19.|2.6.22
[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 _0xd9b3=['int_zendesk_accounts','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intZendeskAccount.attributes','exports','ZendeskAccount'];(function(_0xb821e3,_0x3c373a){var _0x3625ef=function(_0x8bdf8c){while(--_0x8bdf8c){_0xb821e3['push'](_0xb821e3['shift']());}};_0x3625ef(++_0x3c373a);}(_0xd9b3,0xfd));var _0x3d9b=function(_0xbdd80a,_0x539de2){_0xbdd80a=_0xbdd80a-0x0;var _0x14c9d9=_0xd9b3[_0xbdd80a];return _0x14c9d9;};'use strict';var _=require(_0x3d9b('0x0'));var util=require(_0x3d9b('0x1'));var logger=require(_0x3d9b('0x2'))(_0x3d9b('0x3'));var moment=require(_0x3d9b('0x4'));var BPromise=require(_0x3d9b('0x5'));var rp=require(_0x3d9b('0x6'));var fs=require('fs');var path=require(_0x3d9b('0x7'));var rimraf=require(_0x3d9b('0x8'));var config=require(_0x3d9b('0x9'));var attributes=require(_0x3d9b('0xa'));var integrations=require('../../components/integrations/configuration');module[_0x3d9b('0xb')]=function(_0x3c8b93,_0x30ac54){return _0x3c8b93['define'](_0x3d9b('0xc'),attributes,{'tableName':_0x3d9b('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};