Built motion from commit a61a4a20.|2.5.46
[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 _0xe7d5=['int_zendesk_accounts','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intZendeskAccount.attributes','../../components/integrations/configuration','define'];(function(_0x5d4607,_0x6b5e7b){var _0x5e4a86=function(_0x46891a){while(--_0x46891a){_0x5d4607['push'](_0x5d4607['shift']());}};_0x5e4a86(++_0x6b5e7b);}(_0xe7d5,0x145));var _0x5e7d=function(_0x3947c9,_0x4d6c97){_0x3947c9=_0x3947c9-0x0;var _0x2e7871=_0xe7d5[_0x3947c9];return _0x2e7871;};'use strict';var _=require('lodash');var util=require(_0x5e7d('0x0'));var logger=require(_0x5e7d('0x1'))('api');var moment=require(_0x5e7d('0x2'));var BPromise=require(_0x5e7d('0x3'));var rp=require(_0x5e7d('0x4'));var fs=require('fs');var path=require(_0x5e7d('0x5'));var rimraf=require(_0x5e7d('0x6'));var config=require(_0x5e7d('0x7'));var attributes=require(_0x5e7d('0x8'));var integrations=require(_0x5e7d('0x9'));module['exports']=function(_0x2802c8,_0x4de8af){return _0x2802c8[_0x5e7d('0xa')]('ZendeskAccount',attributes,{'tableName':_0x5e7d('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};