Built motion from commit (unavailable).|2.5.11
[motion2.git] / server / services / ami / rpc / integrations / zendesk.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 _0x3ada=['Descriptions','keyType','Fields','nameField','customField','../../client','getZendeskAccounts','Request','GetZendeskAccount','name','username','password','authType','serverUrl','type','ZendeskConfiguration','Configurations','Tag','ZendeskField','Subjects','content','variableName','Variable'];(function(_0x4e676e,_0x2a7c6d){var _0x336a3c=function(_0x4767c4){while(--_0x4767c4){_0x4e676e['push'](_0x4e676e['shift']());}};_0x336a3c(++_0x2a7c6d);}(_0x3ada,0x1ba));var _0xa3ad=function(_0x12f78a,_0x807ec6){_0x12f78a=_0x12f78a-0x0;var _0x5d2272=_0x3ada[_0x12f78a];return _0x5d2272;};'use strict';var client=require(_0xa3ad('0x0'));exports[_0xa3ad('0x1')]=function(){return function(_0x5dcab7){return client[_0xa3ad('0x2')](_0xa3ad('0x3'),{'options':{'raw':![],'attributes':['id',_0xa3ad('0x4'),_0xa3ad('0x5'),_0xa3ad('0x6'),'token','remoteUri',_0xa3ad('0x7'),_0xa3ad('0x8'),_0xa3ad('0x9')],'include':[{'model':_0xa3ad('0xa'),'as':_0xa3ad('0xb'),'attributes':['id','name'],'include':[{'model':_0xa3ad('0xc'),'attributes':['id',_0xa3ad('0x4')]},{'model':_0xa3ad('0xd'),'as':_0xa3ad('0xe'),'attributes':['id',_0xa3ad('0x9'),_0xa3ad('0xf'),_0xa3ad('0x10')],'include':[{'model':_0xa3ad('0x11'),'as':'Variable','attributes':['id',_0xa3ad('0x4')]}]},{'model':_0xa3ad('0xd'),'as':_0xa3ad('0x12'),'attributes':['id','type',_0xa3ad('0xf'),'key',_0xa3ad('0x13'),'keyContent',_0xa3ad('0x10')],'include':[{'model':_0xa3ad('0x11'),'as':'Variable','attributes':['id',_0xa3ad('0x4')]}]},{'model':_0xa3ad('0xd'),'as':_0xa3ad('0x14'),'attributes':['id',_0xa3ad('0x9'),_0xa3ad('0xf'),'idField',_0xa3ad('0x15'),_0xa3ad('0x16'),_0xa3ad('0x10')],'include':[{'model':'Variable','as':_0xa3ad('0x11'),'attributes':['id','name']}]}]}]},'log':_0xa3ad('0x3')});};};