Built motion from commit (unavailable).|2.5.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 _0x00be=['define','ZendeskAccount','int_zendesk_accounts','lodash','util','moment','bluebird','rimraf','../../config/environment','./intZendeskAccount.attributes','exports'];(function(_0x1d1fdf,_0x33ba5a){var _0x3521d6=function(_0x53281c){while(--_0x53281c){_0x1d1fdf['push'](_0x1d1fdf['shift']());}};_0x3521d6(++_0x33ba5a);}(_0x00be,0x1e7));var _0xe00b=function(_0x42cae2,_0x284ef8){_0x42cae2=_0x42cae2-0x0;var _0x5f256f=_0x00be[_0x42cae2];return _0x5f256f;};'use strict';var _=require(_0xe00b('0x0'));var util=require(_0xe00b('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xe00b('0x2'));var BPromise=require(_0xe00b('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xe00b('0x4'));var config=require(_0xe00b('0x5'));var attributes=require(_0xe00b('0x6'));var integrations=require('../../components/integrations/configuration');module[_0xe00b('0x7')]=function(_0x34b556,_0x1de612){return _0x34b556[_0xe00b('0x8')](_0xe00b('0x9'),attributes,{'tableName':_0xe00b('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};