Built motion from commit (unavailable).|2.4.17
[motion2.git] / server / services / ami / rpc / integrations / dynamics365.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 _0x0bde=['name','username','password','tenantId','clientId','clientSecret','serverUrl','description','Dynamics365Configuration','Configurations','ticketType','Dynamics365Field','Subjects','type','content','variableName','Variable','keyType','keyContent','Fields','idField','nameField','customField','getDynamics365Accounts','Request','GetDynamics365Account'];(function(_0x35fefa,_0xde356f){var _0x4b0664=function(_0x5e3102){while(--_0x5e3102){_0x35fefa['push'](_0x35fefa['shift']());}};_0x4b0664(++_0xde356f);}(_0x0bde,0xe7));var _0xe0bd=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x0bde[_0x321bb2];return _0x9c12ed;};'use strict';var client=require('../../client');exports[_0xe0bd('0x0')]=function(){return function(_0x51460d){return client[_0xe0bd('0x1')](_0xe0bd('0x2'),{'options':{'raw':![],'attributes':['id',_0xe0bd('0x3'),_0xe0bd('0x4'),_0xe0bd('0x5'),'remoteUri',_0xe0bd('0x6'),_0xe0bd('0x7'),_0xe0bd('0x8'),_0xe0bd('0x9'),_0xe0bd('0xa')],'include':[{'model':_0xe0bd('0xb'),'as':_0xe0bd('0xc'),'attributes':['id','name',_0xe0bd('0xd')],'include':[{'model':_0xe0bd('0xe'),'as':_0xe0bd('0xf'),'attributes':['id',_0xe0bd('0x10'),_0xe0bd('0x11'),_0xe0bd('0x12')],'include':[{'model':_0xe0bd('0x13'),'as':_0xe0bd('0x13'),'attributes':['id','name']}]},{'model':'Dynamics365Field','as':'Descriptions','attributes':['id',_0xe0bd('0x10'),'content','key',_0xe0bd('0x14'),_0xe0bd('0x15'),'variableName'],'include':[{'model':_0xe0bd('0x13'),'as':'Variable','attributes':['id',_0xe0bd('0x3')]}]},{'model':_0xe0bd('0xe'),'as':_0xe0bd('0x16'),'attributes':['id',_0xe0bd('0x10'),_0xe0bd('0x11'),_0xe0bd('0x17'),_0xe0bd('0x18'),_0xe0bd('0x19'),'variableName'],'include':[{'model':'Variable','as':'Variable','attributes':['id',_0xe0bd('0x3')]}]}]}]},'log':_0xe0bd('0x2')});};};