Built motion from commit (unavailable).|2.4.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 _0x311a=['rimraf','../../config/environment','./intZendeskAccount.attributes','../../components/integrations/configuration','define','int_zendesk_accounts','../../config/logger','api','bluebird','request-promise'];(function(_0x397e5f,_0x454c8f){var _0x5302b8=function(_0x1a29ef){while(--_0x1a29ef){_0x397e5f['push'](_0x397e5f['shift']());}};_0x5302b8(++_0x454c8f);}(_0x311a,0x16e));var _0xa311=function(_0x2bd6e2,_0x409b8f){_0x2bd6e2=_0x2bd6e2-0x0;var _0x300428=_0x311a[_0x2bd6e2];return _0x300428;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xa311('0x0'))(_0xa311('0x1'));var moment=require('moment');var BPromise=require(_0xa311('0x2'));var rp=require(_0xa311('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa311('0x4'));var config=require(_0xa311('0x5'));var attributes=require(_0xa311('0x6'));var integrations=require(_0xa311('0x7'));module['exports']=function(_0x986e4c,_0x1a6935){return _0x986e4c[_0xa311('0x8')]('ZendeskAccount',attributes,{'tableName':_0xa311('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};