UNPKG

onvif-rx

Version:

Interact with ONVIF cameras and devices using RXJS

15 lines 102 kB
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("typescript-monads"),require("rxjs"),require("rxjs/operators"),require("xml-js"),require("buffer")):"function"==typeof define&&define.amd?define(["exports","typescript-monads","rxjs","rxjs/operators","xml-js","buffer"],e):e((t=t||self).onvif={},t.typescriptMonads,t.rxjs,t["rxjs/operators"],t["xml-js"],t.Buffer)}(this,(function(t,e,n,o,r,i){"use strict";
/*! *****************************************************************************
    Copyright (c) Microsoft Corporation. All rights reserved.
    Licensed under the Apache License, Version 2.0 (the "License"); you may not use
    this file except in compliance with the License. You may obtain a copy of the
    License at http://www.apache.org/licenses/LICENSE-2.0

    THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
    WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
    MERCHANTABLITY OR NON-INFRINGEMENT.

    See the Apache Version 2.0 License for specific language governing permissions
    and limitations under the License.
    ***************************************************************************** */var s=function(){return(s=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};var u,a="wsse:Security",c="wsse:UsernameToken",p="wsse:Username",f="wsse:Password",d="wsse:Nonce",g="wsu:Created",l=function(t){return void 0===t&&(t=0),(n=new Date(Date.now()+t).toISOString(),e.reader((function(t){return t.user.map((function(e){var o=t.system.nonce();return t.system.digestSha1(o+n+e.password).then((function(r){var i=t.system.buffer.from(r,"hex").toString("base64"),s=t.system.buffer.from(o).toString("base64");return{dateIsoString:n,nonceBase64:s,digest64:i,username:e.username}}))}))}))).map((function(t){return t.map((function(t){return t.then((function(t){return"<"+a+' S11:mustUnderstand="1">\n        <'+c+">\n          <"+p+">"+t.username+"</"+p+">\n          <"+f+' Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">'+t.digest64+"</"+f+">\n          <"+d+' EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">'+t.nonceBase64+"</"+d+">\n          <"+g+">"+t.dateIsoString+"</"+g+">\n        </"+c+">\n      </"+a+">"}))}))}));var n};!function(t){t.S11='xmlns:S11="http://www.w3.org/2003/05/soap-envelope"',t.wsse='xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"',t.wsu='xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"',t.tt='xmlns:tt="http://www.onvif.org/ver10/schema"',t.tds='xmlns:tds="http://www.onvif.org/ver10/device/wsdl"',t.trt='xmlns:trt="http://www.onvif.org/ver10/media/wsdl"',t.xsi='xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"',t.xsd='xmlns:xsd="http://www.w3.org/2001/XMLSchema"',t.ns1='xmlns:ns1="http://www.onvif.org/ver10/accesscontrol/wsdl"',t.ns3='xmlns:ns3="http://www.onvif.org/ver10/actionengine/wsdl"',t.tad='xmlns:tad="http://www.onvif.org/ver10/analyticsdevice/wsdl"',t.timg='xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl"',t.tptz='xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl"',t.trc='xmlns:trc="http://www.onvif.org/ver10/recording/wsdl"',t.trv='xmlns:trv="http://www.onvif.org/ver10/receiver/wsdl"',t.tse='xmlns:tse="http://www.onvif.org/ver10/search/wsdl"',t.vifsvr='xmlns:vifsvr="http://www.onvif.org/ver10/events/wsdl/PullPointSubscriptionBinding"',t.vifsvr10='xmlns:vifsvr10="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngineBinding"',t.vifsvr2='xmlns:vifsvr2="http://www.onvif.org/ver10/events/wsdl/EventBinding"',t.tev='xmlns:tev="http://www.onvif.org/ver10/events/wsdl"',t.vifsvr3='xmlns:vifsvr3="http://www.onvif.org/ver10/events/wsdl/SubscriptionManagerBinding"',t.vifsvr4='xmlns:vifsvr4="http://www.onvif.org/ver10/events/wsdl/NotificationProducerBinding"',t.vifsvr5='xmlns:vifsvr5="http://www.onvif.org/ver10/events/wsdl/NotificationConsumerBinding"',t.vifsvr6='xmlns:vifsvr6="http://www.onvif.org/ver10/events/wsdl/PullPointBinding"',t.vifsvr7='xmlns:vifsvr7="http://www.onvif.org/ver10/events/wsdl/CreatePullPointBinding"',t.vifsvr8='xmlns:vifsvr8="http://www.onvif.org/ver10/events/wsdl/PausableSubscriptionManagerBinding"',t.wsnt='xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"',t.vifsvr9='xmlns:vifsvr9="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding"',t.tan='xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl"',t.ter='xmlns:ter="http://www.onvif.org/ver10/error"',t.tns1='xmlns:tns1="http://www.onvif.org/ver10/topics"',t.ns2='xmlns:ns2="http://www.onvif.org/ver10/pacs"',t.wsa5='xmlns:wsa5="http://www.w3.org/2005/08/addressing"'}(u||(u={}));var C;!function(t){t.Header="S11:Header",t.Envelope="S11:Envelope",t.Body="S11:Body"}(C||(C={}));var S,m,G,y,R,P,v,h,A,D,T,M,_,k,O,w,b,E,V,N,I,U,F,x,z,L,H,B,X,K,Z,J,W,j,q,Q,Y,$,tt,et,nt,ot,rt,it,st,ut,at,ct,pt,ft,dt,gt,lt,Ct,St,mt,Gt,yt,Rt,Pt,vt,ht,At,Dt,Tt,Mt,_t,kt,Ot,wt,bt,Et,Vt=function(t){return function(e){return'<?xml version="1.0" encoding="UTF-8"?>\n      <'+C.Envelope+" "+Object.keys(u).map((function(t){return u[t]})).join(" ")+">\n        <"+C.Header+">"+(e||"")+"</"+C.Header+">\n        <"+C.Body+">"+t+"</"+C.Body+">\n      </"+C.Envelope+">"}},Nt=function(t){return function(n){return n.pipe(o.map((function(n){return n.map((function(n){var o=t.split(":"),i=e.maybe(o[1]).valueOr(t),s=n.xmlDocument.documentElement.lookupPrefix(n.xmlDocument.documentElement.namespaceURI),u=JSON.parse(r.xml2json(n.xmlString,{compact:!0,spaces:2,textFn:function(t,e){try{var n=Object.keys(e._parent).length,o=Object.keys(e._parent)[n-1];e._parent[o]=function(t){return"true"===t.toLowerCase()||"false"===t.toLowerCase()}(r=t)?function(t){return"true"===t.toLowerCase()}(r):r}catch(t){}var r},elementNameFn:function(t){return e.maybe(t.split(":")[1]).valueOr(t)}}));return{json:u.Envelope?u.Envelope.Body[i]:u[s+":Envelope"][s+":Body"][i],xml:n.xmlString}}))})))}},It=function(t){return function(e){var n,o=Object.keys(e).reduce((function(t,n){var o;return void 0===e[n]?t:s(s({},t),((o={})[n]=e[n],o))}),{});return r.js2xml(((n={})[t.replace(":","_")]=o,n),{compact:!0,elementNameFn:function(t){return t.indexOf("_")>0?t.replace("_",":"):"tt:"+t}})}},Ut=function(t){return function(t){return e.reader((function(r){var i=function(t){return r.system.transport(t)(r.deviceUrl).pipe(o.map((function(t){var n,o=(n=r.system.parser,function(t){return n.parseFromString(t,"text/xml")})(t.body),i=(u.S11.split("=").pop()||"").replace(/"/g,""),a=e.maybe(o.getElementsByTagNameNS(i,"Subcode").item(0)).flatMapAuto((function(t){return t.textContent})),c=e.maybe(o.getElementsByTagNameNS(i,"Reason").item(0)).flatMapAuto((function(t){return t.textContent}));return 200!==t.status||c.valueOrUndefined()?e.fail(s(s({},t),{statusMessage:(c.valueOrUndefined()||a.valueOr(JSON.stringify(t.statusMessage))).trim()})):e.ok({xmlString:t.body,xmlDocument:o})})))};return l().map((function(e){return e.map((function(e){return n.from(e).pipe(o.flatMap((function(e){return i(t.replace("<"+C.Header+"></"+C.Header+">","<"+C.Header+">"+e+"</"+C.Header+">"))})))})).valueOr(i(t))})).run(r)}))}(Vt(t)())},Ft=function(){function t(t){this.config=t}return t.GetServiceCapabilities=function(){return Ut(It("tev:GetServiceCapabilities")({})).map(Nt("tev:GetServiceCapabilitiesResponse"))},t.CreatePullPointSubscription=function(t,e,n){return Ut(It("tev:CreatePullPointSubscription")({tev_Filter:t,tev_InitialTerminationTime:e,tev_SubscriptionPolicy:n})).map(Nt("tev:CreatePullPointSubscriptionResponse"))},t.GetEventProperties=function(){return Ut(It("tev:GetEventProperties")({})).map(Nt("tev:GetEventPropertiesResponse"))},t.AddEventBroker=function(t){return Ut(It("tev:AddEventBroker")({tev_EventBroker:t})).map(Nt("tev:AddEventBrokerResponse"))},t.DeleteEventBroker=function(t){return Ut(It("tev:DeleteEventBroker")({tev_Address:t})).map(Nt("tev:DeleteEventBrokerResponse"))},t.GetEventBrokers=function(t){return Ut(It("tev:GetEventBrokers")({tev_Address:t})).map(Nt("tev:GetEventBrokersResponse"))},t.PullMessages=function(t,e){return Ut(It("tev:PullMessages")({tev_Timeout:t,tev_MessageLimit:e})).map(Nt("tev:PullMessagesResponse"))},t.Seek=function(t,e){return Ut(It("tev:Seek")({tev_UtcTime:t,tev_Reverse:e})).map(Nt("tev:SeekResponse"))},t.SetSynchronizationPoint=function(){return Ut(It("tev:SetSynchronizationPoint")({})).map(Nt("tev:SetSynchronizationPointResponse"))},t.Unsubscribe=function(){return Ut(It("")({})).map(Nt("wsntw:UnsubscribeResponse"))},t.prototype.GetServiceCapabilities=function(){return t.GetServiceCapabilities().run(this.config)},t.prototype.CreatePullPointSubscription=function(e,n,o){return t.CreatePullPointSubscription(e,n,o).run(this.config)},t.prototype.GetEventProperties=function(){return t.GetEventProperties().run(this.config)},t.prototype.AddEventBroker=function(e){return t.AddEventBroker(e).run(this.config)},t.prototype.DeleteEventBroker=function(e){return t.DeleteEventBroker(e).run(this.config)},t.prototype.GetEventBrokers=function(e){return t.GetEventBrokers(e).run(this.config)},t.prototype.PullMessages=function(e,n){return t.PullMessages(e,n).run(this.config)},t.prototype.Seek=function(e,n){return t.Seek(e,n).run(this.config)},t.prototype.SetSynchronizationPoint=function(){return t.SetSynchronizationPoint().run(this.config)},t.prototype.Unsubscribe=function(){return t.Unsubscribe().run(this.config)},t}(),xt=function(){function t(t){this.config=t}return t.GetServices=function(t){return Ut(It("tds:GetServices")({tds_IncludeCapability:t})).map(Nt("tds:GetServicesResponse"))},t.GetServiceCapabilities=function(){return Ut(It("tds:GetServiceCapabilities")({})).map(Nt("tds:GetServiceCapabilitiesResponse"))},t.GetDeviceInformation=function(){return Ut(It("tds:GetDeviceInformation")({})).map(Nt("tds:GetDeviceInformationResponse"))},t.SetSystemDateAndTime=function(t,e,n,o){return Ut(It("tds:SetSystemDateAndTime")({tds_DateTimeType:t,tds_DaylightSavings:e,tds_TimeZone:n,tds_UTCDateTime:o})).map(Nt("tds:SetSystemDateAndTimeResponse"))},t.GetSystemDateAndTime=function(){return Ut(It("tds:GetSystemDateAndTime")({})).map(Nt("tds:GetSystemDateAndTimeResponse"))},t.SetSystemFactoryDefault=function(t){return Ut(It("tds:SetSystemFactoryDefault")({tds_FactoryDefault:t})).map(Nt("tds:SetSystemFactoryDefaultResponse"))},t.UpgradeSystemFirmware=function(t){return Ut(It("tds:UpgradeSystemFirmware")({tds_Firmware:t})).map(Nt("tds:UpgradeSystemFirmwareResponse"))},t.SystemReboot=function(){return Ut(It("tds:SystemReboot")({})).map(Nt("tds:SystemRebootResponse"))},t.RestoreSystem=function(t){return Ut(It("tds:RestoreSystem")({tds_BackupFiles:t})).map(Nt("tds:RestoreSystemResponse"))},t.GetSystemBackup=function(){return Ut(It("tds:GetSystemBackup")({})).map(Nt("tds:GetSystemBackupResponse"))},t.GetSystemLog=function(t){return Ut(It("tds:GetSystemLog")({tds_LogType:t})).map(Nt("tds:GetSystemLogResponse"))},t.GetSystemSupportInformation=function(){return Ut(It("tds:GetSystemSupportInformation")({})).map(Nt("tds:GetSystemSupportInformationResponse"))},t.GetScopes=function(){return Ut(It("tds:GetScopes")({})).map(Nt("tds:GetScopesResponse"))},t.SetScopes=function(t){return Ut(It("tds:SetScopes")({tds_Scopes:t})).map(Nt("tds:SetScopesResponse"))},t.AddScopes=function(t){return Ut(It("tds:AddScopes")({tds_ScopeItem:t})).map(Nt("tds:AddScopesResponse"))},t.RemoveScopes=function(t){return Ut(It("tds:RemoveScopes")({tds_ScopeItem:t})).map(Nt("tds:RemoveScopesResponse"))},t.GetDiscoveryMode=function(){return Ut(It("tds:GetDiscoveryMode")({})).map(Nt("tds:GetDiscoveryModeResponse"))},t.SetDiscoveryMode=function(t){return Ut(It("tds:SetDiscoveryMode")({tds_DiscoveryMode:t})).map(Nt("tds:SetDiscoveryModeResponse"))},t.GetRemoteDiscoveryMode=function(){return Ut(It("tds:GetRemoteDiscoveryMode")({})).map(Nt("tds:GetRemoteDiscoveryModeResponse"))},t.SetRemoteDiscoveryMode=function(t){return Ut(It("tds:SetRemoteDiscoveryMode")({tds_RemoteDiscoveryMode:t})).map(Nt("tds:SetRemoteDiscoveryModeResponse"))},t.GetDPAddresses=function(){return Ut(It("tds:GetDPAddresses")({})).map(Nt("tds:GetDPAddressesResponse"))},t.SetDPAddresses=function(t){return Ut(It("tds:SetDPAddresses")({tds_DPAddress:t})).map(Nt("tds:SetDPAddressesResponse"))},t.GetEndpointReference=function(){return Ut(It("tds:GetEndpointReference")({})).map(Nt("tds:GetEndpointReferenceResponse"))},t.GetRemoteUser=function(){return Ut(It("tds:GetRemoteUser")({})).map(Nt("tds:GetRemoteUserResponse"))},t.SetRemoteUser=function(t){return Ut(It("tds:SetRemoteUser")({tds_RemoteUser:t})).map(Nt("tds:SetRemoteUserResponse"))},t.GetUsers=function(){return Ut(It("tds:GetUsers")({})).map(Nt("tds:GetUsersResponse"))},t.CreateUsers=function(t){return Ut(It("tds:CreateUsers")({tds_User:t})).map(Nt("tds:CreateUsersResponse"))},t.DeleteUsers=function(t){return Ut(It("tds:DeleteUsers")({tds_Username:t})).map(Nt("tds:DeleteUsersResponse"))},t.SetUser=function(t){return Ut(It("tds:SetUser")({tds_User:t})).map(Nt("tds:SetUserResponse"))},t.GetWsdlUrl=function(){return Ut(It("tds:GetWsdlUrl")({})).map(Nt("tds:GetWsdlUrlResponse"))},t.GetCapabilities=function(t){return Ut(It("tds:GetCapabilities")({tds_Category:t})).map(Nt("tds:GetCapabilitiesResponse"))},t.GetHostname=function(){return Ut(It("tds:GetHostname")({})).map(Nt("tds:GetHostnameResponse"))},t.SetHostname=function(t){return Ut(It("tds:SetHostname")({tds_Name:t})).map(Nt("tds:SetHostnameResponse"))},t.SetHostnameFromDHCP=function(t){return Ut(It("tds:SetHostnameFromDHCP")({tds_FromDHCP:t})).map(Nt("tds:SetHostnameFromDHCPResponse"))},t.GetDNS=function(){return Ut(It("tds:GetDNS")({})).map(Nt("tds:GetDNSResponse"))},t.SetDNS=function(t,e,n){return Ut(It("tds:SetDNS")({tds_FromDHCP:t,tds_SearchDomain:e,tds_DNSManual:n})).map(Nt("tds:SetDNSResponse"))},t.GetNTP=function(){return Ut(It("tds:GetNTP")({})).map(Nt("tds:GetNTPResponse"))},t.SetNTP=function(t,e){return Ut(It("tds:SetNTP")({tds_FromDHCP:t,tds_NTPManual:e})).map(Nt("tds:SetNTPResponse"))},t.GetDynamicDNS=function(){return Ut(It("tds:GetDynamicDNS")({})).map(Nt("tds:GetDynamicDNSResponse"))},t.SetDynamicDNS=function(t,e,n){return Ut(It("tds:SetDynamicDNS")({tds_Type:t,tds_Name:e,tds_TTL:n})).map(Nt("tds:SetDynamicDNSResponse"))},t.GetNetworkInterfaces=function(){return Ut(It("tds:GetNetworkInterfaces")({})).map(Nt("tds:GetNetworkInterfacesResponse"))},t.SetNetworkInterfaces=function(t,e){return Ut(It("tds:SetNetworkInterfaces")({tds_InterfaceToken:t,tds_NetworkInterface:e})).map(Nt("tds:SetNetworkInterfacesResponse"))},t.GetNetworkProtocols=function(){return Ut(It("tds:GetNetworkProtocols")({})).map(Nt("tds:GetNetworkProtocolsResponse"))},t.SetNetworkProtocols=function(t){return Ut(It("tds:SetNetworkProtocols")({tds_NetworkProtocols:t})).map(Nt("tds:SetNetworkProtocolsResponse"))},t.GetNetworkDefaultGateway=function(){return Ut(It("tds:GetNetworkDefaultGateway")({})).map(Nt("tds:GetNetworkDefaultGatewayResponse"))},t.SetNetworkDefaultGateway=function(t,e){return Ut(It("tds:SetNetworkDefaultGateway")({tds_IPv4Address:t,tds_IPv6Address:e})).map(Nt("tds:SetNetworkDefaultGatewayResponse"))},t.GetZeroConfiguration=function(){return Ut(It("tds:GetZeroConfiguration")({})).map(Nt("tds:GetZeroConfigurationResponse"))},t.SetZeroConfiguration=function(t,e){return Ut(It("tds:SetZeroConfiguration")({tds_InterfaceToken:t,tds_Enabled:e})).map(Nt("tds:SetZeroConfigurationResponse"))},t.GetIPAddressFilter=function(){return Ut(It("tds:GetIPAddressFilter")({})).map(Nt("tds:GetIPAddressFilterResponse"))},t.SetIPAddressFilter=function(t){return Ut(It("tds:SetIPAddressFilter")({tds_IPAddressFilter:t})).map(Nt("tds:SetIPAddressFilterResponse"))},t.AddIPAddressFilter=function(t){return Ut(It("tds:AddIPAddressFilter")({tds_IPAddressFilter:t})).map(Nt("tds:AddIPAddressFilterResponse"))},t.RemoveIPAddressFilter=function(t){return Ut(It("tds:RemoveIPAddressFilter")({tds_IPAddressFilter:t})).map(Nt("tds:RemoveIPAddressFilterResponse"))},t.GetAccessPolicy=function(){return Ut(It("tds:GetAccessPolicy")({})).map(Nt("tds:GetAccessPolicyResponse"))},t.SetAccessPolicy=function(t){return Ut(It("tds:SetAccessPolicy")({tds_PolicyFile:t})).map(Nt("tds:SetAccessPolicyResponse"))},t.GetRelayOutputs=function(){return Ut(It("tds:GetRelayOutputs")({})).map(Nt("tds:GetRelayOutputsResponse"))},t.SetRelayOutputSettings=function(t,e){return Ut(It("tds:SetRelayOutputSettings")({tds_RelayOutputToken:t,tds_Properties:e})).map(Nt("tds:SetRelayOutputSettingsResponse"))},t.SetRelayOutputState=function(t,e){return Ut(It("tds:SetRelayOutputState")({tds_RelayOutputToken:t,tds_LogicalState:e})).map(Nt("tds:SetRelayOutputStateResponse"))},t.SendAuxiliaryCommand=function(t){return Ut(It("tds:SendAuxiliaryCommand")({tds_AuxiliaryCommand:t})).map(Nt("tds:SendAuxiliaryCommandResponse"))},t.GetDot11Capabilities=function(){return Ut(It("tds:GetDot11Capabilities")({})).map(Nt("tds:GetDot11CapabilitiesResponse"))},t.GetDot11Status=function(t){return Ut(It("tds:GetDot11Status")({tds_InterfaceToken:t})).map(Nt("tds:GetDot11StatusResponse"))},t.ScanAvailableDot11Networks=function(t){return Ut(It("tds:ScanAvailableDot11Networks")({tds_InterfaceToken:t})).map(Nt("tds:ScanAvailableDot11NetworksResponse"))},t.GetSystemUris=function(){return Ut(It("tds:GetSystemUris")({})).map(Nt("tds:GetSystemUrisResponse"))},t.StartFirmwareUpgrade=function(){return Ut(It("tds:StartFirmwareUpgrade")({})).map(Nt("tds:StartFirmwareUpgradeResponse"))},t.StartSystemRestore=function(){return Ut(It("tds:StartSystemRestore")({})).map(Nt("tds:StartSystemRestoreResponse"))},t.GetStorageConfigurations=function(){return Ut(It("tds:GetStorageConfigurations")({})).map(Nt("tds:GetStorageConfigurationsResponse"))},t.CreateStorageConfiguration=function(t){return Ut(It("tds:CreateStorageConfiguration")({tds_StorageConfiguration:t})).map(Nt("tds:CreateStorageConfigurationResponse"))},t.GetStorageConfiguration=function(t){return Ut(It("tds:GetStorageConfiguration")({tds_Token:t})).map(Nt("tds:GetStorageConfigurationResponse"))},t.SetStorageConfiguration=function(t){return Ut(It("tds:SetStorageConfiguration")({tds_StorageConfiguration:t})).map(Nt("tds:SetStorageConfigurationResponse"))},t.DeleteStorageConfiguration=function(t){return Ut(It("tds:DeleteStorageConfiguration")({tds_Token:t})).map(Nt("tds:DeleteStorageConfigurationResponse"))},t.GetGeoLocation=function(){return Ut(It("tds:GetGeoLocation")({})).map(Nt("tds:GetGeoLocationResponse"))},t.SetGeoLocation=function(t){return Ut(It("tds:SetGeoLocation")({tds_Location:t})).map(Nt("tds:SetGeoLocationResponse"))},t.DeleteGeoLocation=function(t){return Ut(It("tds:DeleteGeoLocation")({tds_Location:t})).map(Nt("tds:DeleteGeoLocationResponse"))},t.CreateCertificate=function(t,e,n,o){return Ut(It("tds:CreateCertificate")({tds_CertificateID:t,tds_Subject:e,tds_ValidNotBefore:n,tds_ValidNotAfter:o})).map(Nt("tds:CreateCertificateResponse"))},t.GetCertificates=function(){return Ut(It("tds:GetCertificates")({})).map(Nt("tds:GetCertificatesResponse"))},t.GetCertificatesStatus=function(){return Ut(It("tds:GetCertificatesStatus")({})).map(Nt("tds:GetCertificatesStatusResponse"))},t.SetCertificatesStatus=function(t){return Ut(It("tds:SetCertificatesStatus")({tds_CertificateStatus:t})).map(Nt("tds:SetCertificatesStatusResponse"))},t.DeleteCertificates=function(t){return Ut(It("tds:DeleteCertificates")({tds_CertificateID:t})).map(Nt("tds:DeleteCertificatesResponse"))},t.GetPkcs10Request=function(t,e,n){return Ut(It("tds:GetPkcs10Request")({tds_CertificateID:t,tds_Subject:e,tds_Attributes:n})).map(Nt("tds:GetPkcs10RequestResponse"))},t.LoadCertificates=function(t){return Ut(It("tds:LoadCertificates")({tds_NVTCertificate:t})).map(Nt("tds:LoadCertificatesResponse"))},t.GetClientCertificateMode=function(){return Ut(It("tds:GetClientCertificateMode")({})).map(Nt("tds:GetClientCertificateModeResponse"))},t.SetClientCertificateMode=function(t){return Ut(It("tds:SetClientCertificateMode")({tds_Enabled:t})).map(Nt("tds:SetClientCertificateModeResponse"))},t.GetCACertificates=function(){return Ut(It("tds:GetCACertificates")({})).map(Nt("tds:GetCACertificatesResponse"))},t.LoadCertificateWithPrivateKey=function(t){return Ut(It("tds:LoadCertificateWithPrivateKey")({tds_CertificateWithPrivateKey:t})).map(Nt("tds:LoadCertificateWithPrivateKeyResponse"))},t.GetCertificateInformation=function(t){return Ut(It("tds:GetCertificateInformation")({tds_CertificateID:t})).map(Nt("tds:GetCertificateInformationResponse"))},t.LoadCACertificates=function(t){return Ut(It("tds:LoadCACertificates")({tds_CACertificate:t})).map(Nt("tds:LoadCACertificatesResponse"))},t.CreateDot1XConfiguration=function(t){return Ut(It("tds:CreateDot1XConfiguration")({tds_Dot1XConfiguration:t})).map(Nt("tds:CreateDot1XConfigurationResponse"))},t.SetDot1XConfiguration=function(t){return Ut(It("tds:SetDot1XConfiguration")({tds_Dot1XConfiguration:t})).map(Nt("tds:SetDot1XConfigurationResponse"))},t.GetDot1XConfiguration=function(t){return Ut(It("tds:GetDot1XConfiguration")({tds_Dot1XConfigurationToken:t})).map(Nt("tds:GetDot1XConfigurationResponse"))},t.GetDot1XConfigurations=function(){return Ut(It("tds:GetDot1XConfigurations")({})).map(Nt("tds:GetDot1XConfigurationsResponse"))},t.DeleteDot1XConfiguration=function(t){return Ut(It("tds:DeleteDot1XConfiguration")({tds_Dot1XConfigurationToken:t})).map(Nt("tds:DeleteDot1XConfigurationResponse"))},t.prototype.GetServices=function(e){return t.GetServices(e).run(this.config)},t.prototype.GetServiceCapabilities=function(){return t.GetServiceCapabilities().run(this.config)},t.prototype.GetDeviceInformation=function(){return t.GetDeviceInformation().run(this.config)},t.prototype.SetSystemDateAndTime=function(e,n,o,r){return t.SetSystemDateAndTime(e,n,o,r).run(this.config)},t.prototype.GetSystemDateAndTime=function(){return t.GetSystemDateAndTime().run(this.config)},t.prototype.SetSystemFactoryDefault=function(e){return t.SetSystemFactoryDefault(e).run(this.config)},t.prototype.UpgradeSystemFirmware=function(e){return t.UpgradeSystemFirmware(e).run(this.config)},t.prototype.SystemReboot=function(){return t.SystemReboot().run(this.config)},t.prototype.RestoreSystem=function(e){return t.RestoreSystem(e).run(this.config)},t.prototype.GetSystemBackup=function(){return t.GetSystemBackup().run(this.config)},t.prototype.GetSystemLog=function(e){return t.GetSystemLog(e).run(this.config)},t.prototype.GetSystemSupportInformation=function(){return t.GetSystemSupportInformation().run(this.config)},t.prototype.GetScopes=function(){return t.GetScopes().run(this.config)},t.prototype.SetScopes=function(e){return t.SetScopes(e).run(this.config)},t.prototype.AddScopes=function(e){return t.AddScopes(e).run(this.config)},t.prototype.RemoveScopes=function(e){return t.RemoveScopes(e).run(this.config)},t.prototype.GetDiscoveryMode=function(){return t.GetDiscoveryMode().run(this.config)},t.prototype.SetDiscoveryMode=function(e){return t.SetDiscoveryMode(e).run(this.config)},t.prototype.GetRemoteDiscoveryMode=function(){return t.GetRemoteDiscoveryMode().run(this.config)},t.prototype.SetRemoteDiscoveryMode=function(e){return t.SetRemoteDiscoveryMode(e).run(this.config)},t.prototype.GetDPAddresses=function(){return t.GetDPAddresses().run(this.config)},t.prototype.SetDPAddresses=function(e){return t.SetDPAddresses(e).run(this.config)},t.prototype.GetEndpointReference=function(){return t.GetEndpointReference().run(this.config)},t.prototype.GetRemoteUser=function(){return t.GetRemoteUser().run(this.config)},t.prototype.SetRemoteUser=function(e){return t.SetRemoteUser(e).run(this.config)},t.prototype.GetUsers=function(){return t.GetUsers().run(this.config)},t.prototype.CreateUsers=function(e){return t.CreateUsers(e).run(this.config)},t.prototype.DeleteUsers=function(e){return t.DeleteUsers(e).run(this.config)},t.prototype.SetUser=function(e){return t.SetUser(e).run(this.config)},t.prototype.GetWsdlUrl=function(){return t.GetWsdlUrl().run(this.config)},t.prototype.GetCapabilities=function(e){return t.GetCapabilities(e).run(this.config)},t.prototype.GetHostname=function(){return t.GetHostname().run(this.config)},t.prototype.SetHostname=function(e){return t.SetHostname(e).run(this.config)},t.prototype.SetHostnameFromDHCP=function(e){return t.SetHostnameFromDHCP(e).run(this.config)},t.prototype.GetDNS=function(){return t.GetDNS().run(this.config)},t.prototype.SetDNS=function(e,n,o){return t.SetDNS(e,n,o).run(this.config)},t.prototype.GetNTP=function(){return t.GetNTP().run(this.config)},t.prototype.SetNTP=function(e,n){return t.SetNTP(e,n).run(this.config)},t.prototype.GetDynamicDNS=function(){return t.GetDynamicDNS().run(this.config)},t.prototype.SetDynamicDNS=function(e,n,o){return t.SetDynamicDNS(e,n,o).run(this.config)},t.prototype.GetNetworkInterfaces=function(){return t.GetNetworkInterfaces().run(this.config)},t.prototype.SetNetworkInterfaces=function(e,n){return t.SetNetworkInterfaces(e,n).run(this.config)},t.prototype.GetNetworkProtocols=function(){return t.GetNetworkProtocols().run(this.config)},t.prototype.SetNetworkProtocols=function(e){return t.SetNetworkProtocols(e).run(this.config)},t.prototype.GetNetworkDefaultGateway=function(){return t.GetNetworkDefaultGateway().run(this.config)},t.prototype.SetNetworkDefaultGateway=function(e,n){return t.SetNetworkDefaultGateway(e,n).run(this.config)},t.prototype.GetZeroConfiguration=function(){return t.GetZeroConfiguration().run(this.config)},t.prototype.SetZeroConfiguration=function(e,n){return t.SetZeroConfiguration(e,n).run(this.config)},t.prototype.GetIPAddressFilter=function(){return t.GetIPAddressFilter().run(this.config)},t.prototype.SetIPAddressFilter=function(e){return t.SetIPAddressFilter(e).run(this.config)},t.prototype.AddIPAddressFilter=function(e){return t.AddIPAddressFilter(e).run(this.config)},t.prototype.RemoveIPAddressFilter=function(e){return t.RemoveIPAddressFilter(e).run(this.config)},t.prototype.GetAccessPolicy=function(){return t.GetAccessPolicy().run(this.config)},t.prototype.SetAccessPolicy=function(e){return t.SetAccessPolicy(e).run(this.config)},t.prototype.GetRelayOutputs=function(){return t.GetRelayOutputs().run(this.config)},t.prototype.SetRelayOutputSettings=function(e,n){return t.SetRelayOutputSettings(e,n).run(this.config)},t.prototype.SetRelayOutputState=function(e,n){return t.SetRelayOutputState(e,n).run(this.config)},t.prototype.SendAuxiliaryCommand=function(e){return t.SendAuxiliaryCommand(e).run(this.config)},t.prototype.GetDot11Capabilities=function(){return t.GetDot11Capabilities().run(this.config)},t.prototype.GetDot11Status=function(e){return t.GetDot11Status(e).run(this.config)},t.prototype.ScanAvailableDot11Networks=function(e){return t.ScanAvailableDot11Networks(e).run(this.config)},t.prototype.GetSystemUris=function(){return t.GetSystemUris().run(this.config)},t.prototype.StartFirmwareUpgrade=function(){return t.StartFirmwareUpgrade().run(this.config)},t.prototype.StartSystemRestore=function(){return t.StartSystemRestore().run(this.config)},t.prototype.GetStorageConfigurations=function(){return t.GetStorageConfigurations().run(this.config)},t.prototype.CreateStorageConfiguration=function(e){return t.CreateStorageConfiguration(e).run(this.config)},t.prototype.GetStorageConfiguration=function(e){return t.GetStorageConfiguration(e).run(this.config)},t.prototype.SetStorageConfiguration=function(e){return t.SetStorageConfiguration(e).run(this.config)},t.prototype.DeleteStorageConfiguration=function(e){return t.DeleteStorageConfiguration(e).run(this.config)},t.prototype.GetGeoLocation=function(){return t.GetGeoLocation().run(this.config)},t.prototype.SetGeoLocation=function(e){return t.SetGeoLocation(e).run(this.config)},t.prototype.DeleteGeoLocation=function(e){return t.DeleteGeoLocation(e).run(this.config)},t.prototype.CreateCertificate=function(e,n,o,r){return t.CreateCertificate(e,n,o,r).run(this.config)},t.prototype.GetCertificates=function(){return t.GetCertificates().run(this.config)},t.prototype.GetCertificatesStatus=function(){return t.GetCertificatesStatus().run(this.config)},t.prototype.SetCertificatesStatus=function(e){return t.SetCertificatesStatus(e).run(this.config)},t.prototype.DeleteCertificates=function(e){return t.DeleteCertificates(e).run(this.config)},t.prototype.GetPkcs10Request=function(e,n,o){return t.GetPkcs10Request(e,n,o).run(this.config)},t.prototype.LoadCertificates=function(e){return t.LoadCertificates(e).run(this.config)},t.prototype.GetClientCertificateMode=function(){return t.GetClientCertificateMode().run(this.config)},t.prototype.SetClientCertificateMode=function(e){return t.SetClientCertificateMode(e).run(this.config)},t.prototype.GetCACertificates=function(){return t.GetCACertificates().run(this.config)},t.prototype.LoadCertificateWithPrivateKey=function(e){return t.LoadCertificateWithPrivateKey(e).run(this.config)},t.prototype.GetCertificateInformation=function(e){return t.GetCertificateInformation(e).run(this.config)},t.prototype.LoadCACertificates=function(e){return t.LoadCACertificates(e).run(this.config)},t.prototype.CreateDot1XConfiguration=function(e){return t.CreateDot1XConfiguration(e).run(this.config)},t.prototype.SetDot1XConfiguration=function(e){return t.SetDot1XConfiguration(e).run(this.config)},t.prototype.GetDot1XConfiguration=function(e){return t.GetDot1XConfiguration(e).run(this.config)},t.prototype.GetDot1XConfigurations=function(){return t.GetDot1XConfigurations().run(this.config)},t.prototype.DeleteDot1XConfiguration=function(e){return t.DeleteDot1XConfiguration(e).run(this.config)},t}(),zt=function(){function t(t){this.config=t}return t.GetServiceCapabilities=function(){return Ut(It("trt:GetServiceCapabilities")({})).map(Nt("trt:GetServiceCapabilitiesResponse"))},t.GetVideoSources=function(){return Ut(It("trt:GetVideoSources")({})).map(Nt("trt:GetVideoSourcesResponse"))},t.GetAudioSources=function(){return Ut(It("trt:GetAudioSources")({})).map(Nt("trt:GetAudioSourcesResponse"))},t.GetAudioOutputs=function(){return Ut(It("trt:GetAudioOutputs")({})).map(Nt("trt:GetAudioOutputsResponse"))},t.CreateProfile=function(t,e){return Ut(It("trt:CreateProfile")({trt_Name:t,trt_Token:e})).map(Nt("trt:CreateProfileResponse"))},t.GetProfile=function(t){return Ut(It("trt:GetProfile")({trt_ProfileToken:t})).map(Nt("trt:GetProfileResponse"))},t.GetProfiles=function(){return Ut(It("trt:GetProfiles")({})).map(Nt("trt:GetProfilesResponse"))},t.AddVideoEncoderConfiguration=function(t,e){return Ut(It("trt:AddVideoEncoderConfiguration")({trt_ProfileToken:t,trt_ConfigurationToken:e})).map(Nt("trt:AddVideoEncoderConfigurationResponse"))},t.RemoveVideoEncoderConfiguration=function(t){return Ut(It("trt:RemoveVideoEncoderConfiguration")({trt_ProfileToken:t})).map(Nt("trt:RemoveVideoEncoderConfigurationResponse"))},t.AddVideoSourceConfiguration=function(t,e){return Ut(It("trt:AddVideoSourceConfiguration")({trt_ProfileToken:t,trt_ConfigurationToken:e})).map(Nt("trt:AddVideoSourceConfigurationResponse"))},t.RemoveVideoSourceConfiguration=function(t){return Ut(It("trt:RemoveVideoSourceConfiguration")({trt_ProfileToken:t})).map(Nt("trt:RemoveVideoSourceConfigurationResponse"))},t.AddAudioEncoderConfiguration=function(t,e){return Ut(It("trt:AddAudioEncoderConfiguration")({trt_ProfileToken:t,trt_ConfigurationToken:e})).map(Nt("trt:AddAudioEncoderConfigurationResponse"))},t.RemoveAudioEncoderConfiguration=function(t){return Ut(It("trt:RemoveAudioEncoderConfiguration")({trt_ProfileToken:t})).map(Nt("trt:RemoveAudioEncoderConfigurationResponse"))},t.AddAudioSourceConfiguration=function(t,e){return Ut(It("trt:AddAudioSourceConfiguration")({trt_ProfileToken:t,trt_ConfigurationToken:e})).map(Nt("trt:AddAudioSourceConfigurationResponse"))},t.RemoveAudioSourceConfiguration=function(t){return Ut(It("trt:RemoveAudioSourceConfiguration")({trt_ProfileToken:t})).map(Nt("trt:RemoveAudioSourceConfigurationResponse"))},t.AddPTZConfiguration=function(t,e){return Ut(It("trt:AddPTZConfiguration")({trt_ProfileToken:t,trt_ConfigurationToken:e})).map(Nt("trt:AddPTZConfigurationResponse"))},t.RemovePTZConfiguration=function(t){return Ut(It("trt:RemovePTZConfiguration")({trt_ProfileToken:t})).map(Nt("trt:RemovePTZConfigurationResponse"))},t.AddVideoAnalyticsConfiguration=function(t,e){return Ut(It("trt:AddVideoAnalyticsConfiguration")({trt_ProfileToken:t,trt_ConfigurationToken:e})).map(Nt("trt:AddVideoAnalyticsConfigurationResponse"))},t.RemoveVideoAnalyticsConfiguration=function(t){return Ut(It("trt:RemoveVideoAnalyticsConfiguration")({trt_ProfileToken:t})).map(Nt("trt:RemoveVideoAnalyticsConfigurationResponse"))},t.AddMetadataConfiguration=function(t,e){return Ut(It("trt:AddMetadataConfiguration")({trt_ProfileToken:t,trt_ConfigurationToken:e})).map(Nt("trt:AddMetadataConfigurationResponse"))},t.RemoveMetadataConfiguration=function(t){return Ut(It("trt:RemoveMetadataConfiguration")({trt_ProfileToken:t})).map(Nt("trt:RemoveMetadataConfigurationResponse"))},t.AddAudioOutputConfiguration=function(t,e){return Ut(It("trt:AddAudioOutputConfiguration")({trt_ProfileToken:t,trt_ConfigurationToken:e})).map(Nt("trt:AddAudioOutputConfigurationResponse"))},t.RemoveAudioOutputConfiguration=function(t){return Ut(It("trt:RemoveAudioOutputConfiguration")({trt_ProfileToken:t})).map(Nt("trt:RemoveAudioOutputConfigurationResponse"))},t.AddAudioDecoderConfiguration=function(t,e){return Ut(It("trt:AddAudioDecoderConfiguration")({trt_ProfileToken:t,trt_ConfigurationToken:e})).map(Nt("trt:AddAudioDecoderConfigurationResponse"))},t.RemoveAudioDecoderConfiguration=function(t){return Ut(It("trt:RemoveAudioDecoderConfiguration")({trt_ProfileToken:t})).map(Nt("trt:RemoveAudioDecoderConfigurationResponse"))},t.DeleteProfile=function(t){return Ut(It("trt:DeleteProfile")({trt_ProfileToken:t})).map(Nt("trt:DeleteProfileResponse"))},t.GetVideoSourceConfigurations=function(){return Ut(It("trt:GetVideoSourceConfigurations")({})).map(Nt("trt:GetVideoSourceConfigurationsResponse"))},t.GetVideoEncoderConfigurations=function(){return Ut(It("trt:GetVideoEncoderConfigurations")({})).map(Nt("trt:GetVideoEncoderConfigurationsResponse"))},t.GetAudioSourceConfigurations=function(){return Ut(It("trt:GetAudioSourceConfigurations")({})).map(Nt("trt:GetAudioSourceConfigurationsResponse"))},t.GetAudioEncoderConfigurations=function(){return Ut(It("trt:GetAudioEncoderConfigurations")({})).map(Nt("trt:GetAudioEncoderConfigurationsResponse"))},t.GetVideoAnalyticsConfigurations=function(){return Ut(It("trt:GetVideoAnalyticsConfigurations")({})).map(Nt("trt:GetVideoAnalyticsConfigurationsResponse"))},t.GetMetadataConfigurations=function(){return Ut(It("trt:GetMetadataConfigurations")({})).map(Nt("trt:GetMetadataConfigurationsResponse"))},t.GetAudioOutputConfigurations=function(){return Ut(It("trt:GetAudioOutputConfigurations")({})).map(Nt("trt:GetAudioOutputConfigurationsResponse"))},t.GetAudioDecoderConfigurations=function(){return Ut(It("trt:GetAudioDecoderConfigurations")({})).map(Nt("trt:GetAudioDecoderConfigurationsResponse"))},t.GetVideoSourceConfiguration=function(t){return Ut(It("trt:GetVideoSourceConfiguration")({trt_ConfigurationToken:t})).map(Nt("trt:GetVideoSourceConfigurationResponse"))},t.GetVideoEncoderConfiguration=function(t){return Ut(It("trt:GetVideoEncoderConfiguration")({trt_ConfigurationToken:t})).map(Nt("trt:GetVideoEncoderConfigurationResponse"))},t.GetAudioSourceConfiguration=function(t){return Ut(It("trt:GetAudioSourceConfiguration")({trt_ConfigurationToken:t})).map(Nt("trt:GetAudioSourceConfigurationResponse"))},t.GetAudioEncoderConfiguration=function(t){return Ut(It("trt:GetAudioEncoderConfiguration")({trt_ConfigurationToken:t})).map(Nt("trt:GetAudioEncoderConfigurationResponse"))},t.GetVideoAnalyticsConfiguration=function(t){return Ut(It("trt:GetVideoAnalyticsConfiguration")({trt_ConfigurationToken:t})).map(Nt("trt:GetVideoAnalyticsConfigurationResponse"))},t.GetMetadataConfiguration=function(t){return Ut(It("trt:GetMetadataConfiguration")({trt_ConfigurationToken:t})).map(Nt("trt:GetMetadataConfigurationResponse"))},t.GetAudioOutputConfiguration=function(t){return Ut(It("trt:GetAudioOutputConfiguration")({trt_ConfigurationToken:t})).map(Nt("trt:GetAudioOutputConfigurationResponse"))},t.GetAudioDecoderConfiguration=function(t){return Ut(It("trt:GetAudioDecoderConfiguration")({trt_ConfigurationToken:t})).map(Nt("trt:GetAudioDecoderConfigurationResponse"))},t.GetCompatibleVideoEncoderConfigurations=function(t){return Ut(It("trt:GetCompatibleVideoEncoderConfigurations")({trt_ProfileToken:t})).map(Nt("trt:GetCompatibleVideoEncoderConfigurationsResponse"))},t.GetCompatibleVideoSourceConfigurations=function(t){return Ut(It("trt:GetCompatibleVideoSourceConfigurations")({trt_ProfileToken:t})).map(Nt("trt:GetCompatibleVideoSourceConfigurationsResponse"))},t.GetCompatibleAudioEncoderConfigurations=function(t){return Ut(It("trt:GetCompatibleAudioEncoderConfigurations")({trt_ProfileToken:t})).map(Nt("trt:GetCompatibleAudioEncoderConfigurationsResponse"))},t.GetCompatibleAudioSourceConfigurations=function(t){return Ut(It("trt:GetCompatibleAudioSourceConfigurations")({trt_ProfileToken:t})).map(Nt("trt:GetCompatibleAudioSourceConfigurationsResponse"))},t.GetCompatibleVideoAnalyticsConfigurations=function(t){return Ut(It("trt:GetCompatibleVideoAnalyticsConfigurations")({trt_ProfileToken:t})).map(Nt("trt:GetCompatibleVideoAnalyticsConfigurationsResponse"))},t.GetCompatibleMetadataConfigurations=function(t){return Ut(It("trt:GetCompatibleMetadataConfigurations")({trt_ProfileToken:t})).map(Nt("trt:GetCompatibleMetadataConfigurationsResponse"))},t.GetCompatibleAudioOutputConfigurations=function(t){return Ut(It("trt:GetCompatibleAudioOutputConfigurations")({trt_ProfileToken:t})).map(Nt("trt:GetCompatibleAudioOutputConfigurationsResponse"))},t.GetCompatibleAudioDecoderConfigurations=function(t){return Ut(It("trt:GetCompatibleAudioDecoderConfigurations")({trt_ProfileToken:t})).map(Nt("trt:GetCompatibleAudioDecoderConfigurationsResponse"))},t.SetVideoSourceConfiguration=function(t,e){return Ut(It("trt:SetVideoSourceConfiguration")({trt_Configuration:t,trt_ForcePersistence:e})).map(Nt("trt:SetVideoSourceConfigurationResponse"))},t.SetVideoEncoderConfiguration=function(t,e){return Ut(It("trt:SetVideoEncoderConfiguration")({trt_Configuration:t,trt_ForcePersistence:e})).map(Nt("trt:SetVideoEncoderConfigurationResponse"))},t.SetAudioSourceConfiguration=function(t,e){return Ut(It("trt:SetAudioSourceConfiguration")({trt_Configuration:t,trt_ForcePersistence:e})).map(Nt("trt:SetAudioSourceConfigurationResponse"))},t.SetAudioEncoderConfiguration=function(t,e){return Ut(It("trt:SetAudioEncoderConfiguration")({trt_Configuration:t,trt_ForcePersistence:e})).map(Nt("trt:SetAudioEncoderConfigurationResponse"))},t.SetVideoAnalyticsConfiguration=function(t,e){return Ut(It("trt:SetVideoAnalyticsConfiguration")({trt_Configuration:t,trt_ForcePersistence:e})).map(Nt("trt:SetVideoAnalyticsConfigurationResponse"))},t.SetMetadataConfiguration=function(t,e){return Ut(It("trt:SetMetadataConfiguration")({trt_Configuration:t,trt_ForcePersistence:e})).map(Nt("trt:SetMetadataConfigurationResponse"))},t.SetAudioOutputConfiguration=function(t,e){return Ut(It("trt:SetAudioOutputConfiguration")({trt_Configuration:t,trt_ForcePersistence:e})).map(Nt("trt:SetAudioOutputConfigurationResponse"))},t.SetAudioDecoderConfiguration=function(t,e){return Ut(It("trt:SetAudioDecoderConfiguration")({trt_Configuration:t,trt_ForcePersistence:e})).map(Nt("trt:SetAudioDecoderConfigurationResponse"))},t.GetVideoSourceConfigurationOptions=function(t,e){return Ut(It("trt:GetVideoSourceConfigurationOptions")({trt_ConfigurationToken:t,trt_ProfileToken:e})).map(Nt("trt:GetVideoSourceConfigurationOptionsResponse"))},t.GetVideoEncoderConfigurationOptions=function(t,e){return Ut(It("trt:GetVideoEncoderConfigurationOptions")({trt_ConfigurationToken:t,trt_ProfileToken:e})).map(Nt("trt:GetVideoEncoderConfigurationOptionsResponse"))},t.GetAudioSourceConfigurationOptions=function(t,e){return Ut(It("trt:GetAudioSourceConfigurationOptions")({trt_ConfigurationToken:t,trt_ProfileToken:e})).map(Nt("trt:GetAudioSourceConfigurationOptionsResponse"))},t.GetAudioEncoderConfigurationOptions=function(t,e){return Ut(It("trt:GetAudioEncoderConfigurationOptions")({trt_ConfigurationToken:t,trt_ProfileToken:e})).map(Nt("trt:GetAudioEncoderConfigurationOptionsResponse"))},t.GetMetadataConfigurationOptions=function(t,e){return Ut(It("trt:GetMetadataConfigurationOptions")({trt_ConfigurationToken:t,trt_ProfileToken:e})).map(Nt("trt:GetMetadataConfigurationOptionsResponse"))},t.GetAudioOutputConfigurationOptions=function(t,e){return Ut(It("trt:GetAudioOutputConfigurationOptions")({trt_ConfigurationToken:t,trt_ProfileToken:e})).map(Nt("trt:GetAudioOutputConfigurationOptionsResponse"))},t.GetAudioDecoderConfigurationOptions=function(t,e){return Ut(It("trt:GetAudioDecoderConfigurationOptions")({trt_ConfigurationToken:t,trt_ProfileToken:e})).map(Nt("trt:GetAudioDecoderConfigurationOptionsResponse"))},t.GetGuaranteedNumberOfVideoEncoderInstances=function(t){return Ut(It("trt:GetGuaranteedNumberOfVideoEncoderInstances")({trt_ConfigurationToken:t})).map(Nt("trt:GetGuaranteedNumberOfVideoEncoderInstancesResponse"))},t.GetStreamUri=function(t,e){return Ut(It("trt:GetStreamUri")({trt_StreamSetup:t,trt_ProfileToken:e})).map(Nt("trt:GetStreamUriResponse"))},t.StartMulticastStreaming=function(t){return Ut(It("trt:StartMulticastStreaming")({trt_ProfileToken:t})).map(Nt("trt:StartMulticastStreamingResponse"))},t.StopMulticastStreaming=function(t){return Ut(It("trt:StopMulticastStreaming")({trt_ProfileToken:t})).map(Nt("trt:StopMulticastStreamingResponse"))},t.SetSynchronizationPoint=function(t){return Ut(It("trt:SetSynchronizationPoint")({trt_ProfileToken:t})).map(Nt("trt:SetSynchronizationPointResponse"))},t.GetSnapshotUri=function(t){return Ut(It("trt:GetSnapshotUri")({trt_ProfileToken:t})).map(Nt("trt:GetSnapshotUriResponse"))},t.GetVideoSourceModes=function(t){return Ut(It("trt:GetVideoSourceModes")({trt_VideoSourceToken:t})).map(Nt("trt:GetVideoSourceModesResponse"))},t.SetVideoSourceMode=function(t,e){return Ut(It("trt:SetVideoSourceMode")({trt_VideoSourceToken:t,trt_VideoSourceModeToken:e})).map(Nt("trt:SetVideoSourceModeResponse"))},t.GetOSDs=function(t){return Ut(It("trt:GetOSDs")({trt_ConfigurationToken:t})).map(Nt("trt:GetOSDsResponse"))},t.GetOSD=function(t){return Ut(It("trt:GetOSD")({trt_OSDToken:t})).map(Nt("trt:GetOSDResponse"))},t.GetOSDOptions=function(t){return Ut(It("trt:GetOSDOptions")({trt_ConfigurationToken:t})).map(Nt("trt:GetOSDOptionsResponse"))},t.SetOSD=function(t){return Ut(It("trt:SetOSD")({trt_OSD:t})).map(Nt("trt:SetOSDResponse"))},t.CreateOSD=function(t){return Ut(It("trt:CreateOSD")({trt_OSD:t})).map(Nt("trt:CreateOSDResponse"))},t.DeleteOSD=function(t){return Ut(It("trt:DeleteOSD")({trt_OSDToken:t})).map(Nt("trt:DeleteOSDResponse"))},t.prototype.GetServiceCapabilities=function(){return t.GetServiceCapabilities().run(this.config)},t.prototype.GetVideoSources=function(){return t.GetVideoSources().run(this.config)},t.prototype.GetAudioSources=function(){return t.GetAudioSources().run(this.config)},t.prototype.GetAudioOutputs=function(){return t.GetAudioOutputs().run(this.config)},t.prototype.CreateProfile=function(e,n){return t.CreateProfile(e,n).run(this.config)},t.prototype.GetProfile=function(e){return t.GetProfile(e).run(this.config)},t.prototype.GetProfiles=function(){return t.GetProfiles().run(this.config)},t.prototype.AddVideoEncoderConfiguration=function(e,n){return t.AddVideoEncoderConfiguration(e,n).run(this.config)},t.prototype.RemoveVideoEncoderConfiguration=function(e){return t.RemoveVideoEncoderConfiguration(e).run(this.config)},t.prototype.AddVideoSourceConfiguration=function(e,n){return t.AddVideoSourceConfiguration(e,n).run(this.config)},t.prototype.RemoveVideoSourceConfiguration=function(e){return t.RemoveVideoSourceConfiguration(e).run(this.config)},t.prototype.AddAudioEncoderConfiguration=function(e,n){return t.AddAudioEncoderConfiguration(e,n).run(this.config)},t.prototype.RemoveAudioEncoderConfiguration=function(e){return t.RemoveAudioEncoderConfiguration(e).run(this.config)},t.prototype.AddAudioSourceConfiguration=function(e,n){return t.AddAudioSourceConfiguration(e,n).run(this.config)},t.prototype.RemoveAudioSourceConfiguration=function(e){return t.RemoveAudioSourceConfiguration(e).run(this.config)},t.prototype.AddPTZConfiguration=function(e,n){return t.AddPTZConfiguration(e,n).run(this.config)},t.prototype.RemovePTZConfiguration=function(e){return t.RemovePTZConfiguration(e).run(this.config)},t.prototype.AddVideoAnalyticsConfiguration=function(e,n){return t.AddVideoAnalyticsConfiguration(e,n).run(this.config)},t.prototype.RemoveVideoAnalyticsConfiguration=function(e){return t.RemoveVideoAnalyticsConfiguration(e).run(this.config)},t.prototype.AddMetadataConfiguration=function(e,n){return t.AddMetadataConfiguration(e,n).run(this.config)},t.prototype.RemoveMetadataConfiguration=function(e){return t.RemoveMetadataConfiguration(e).run(this.config)},t.prototype.AddAudioOutputConfiguration=function(e,n){return t.AddAudioOutputConfiguration(e,n).run(this.config)},t.prototype.RemoveAudioOutputConfiguration=function(e){return t.RemoveAudioOutputConfiguration(e).run(this.config)},t.prototype.AddAudioDecoderConfiguration=function(e,n){return t.AddAudioDecoderConfiguration(e,n).run(this.config)},t.prototype.RemoveAudioDecoderConfiguration=function(e){return t.RemoveAudioDecoderConfiguration(e).run(this.config)},t.prototype.DeleteProfile=function(e){return t.DeleteProfile(e).run(this.config)},t.prototype.GetVideoSourceConfigurations=function(){return t.GetVideoSourceConfigurations().run(this.config)},t.prototype.GetVideoEncoderConfigurations=function(){return t.GetVideoEncoderConfigurations().run(this.config)},t.prototype.GetAudioSourceConfigurations=function(){return t.GetAudioSourceConfigurations().run(this.config)},t.prototype.GetAudioEncoderConfigurations=function(){return t.GetAudioEncoderConfigurations().run(this.config)},t.prototype.GetVideoAnalyticsConfigurations=function(){return t.GetVideoAnalyticsConfigurations().run(this.config)},t.prototype.GetMetadataConfigurations=function(){return t.GetMetadataConfigurations().run(this.config)},t.prototype.GetAudioOutputConfigurations=function(){return t.GetAudioOutputConfigurations().run(this.config)},t.prototype.GetAudioDecoderConfigurations=function(){return t.GetAudioDecoderConfigurations().run(this.config)},t.prototype.GetVideoSourceConfiguration=function(e){return t.GetVideoSourceConfiguration(e).run(this.config)},t.prototype.GetVideoEncoderConfiguration=function(e){return t.GetVideoEncoderConfiguration(e).run(this.config)},t.prototype.GetAudioSourceConfiguration=function(e){return t.GetAudioSourceConfiguration(e).run(this.config)},t.prototype.GetAudioEncoderConfiguration=function(e){return t.GetAudioEncoderConfiguration(e).run(this.config)},t.prototype.GetVideoAnalyticsConfiguration=function(e){return t.GetVideoAnalyticsConfiguration(e).run(this.config)},t.prototype.GetMetadataConfiguration=function(e){return t.GetMetadataConfiguration(e).run(this.config)},t.prototype.GetAudioOutputConfiguration=function(e){return t.GetAudioOutputConfiguration(e).run(this.config)},t.prototype.GetAudioDecoderConfiguration=function(e){return t.GetAudioDecoderConfiguration(e).run(this.config)},t.prototype.GetCompatibleVideoEncoderConfigurations=function(e){return t.GetCompatibleVideoEncoderConfigurations(e).run(this.config)},t.prototype.GetCompatibleVideoSourceConfigurations=function(e){return t.GetCompatibleVideoSourceConfigurations(e).run(this.config)},t.prototype.GetCompatibleAudioEncoderConfigurations=function(e){return t.GetCompatibleAudioEncoderConfigurations(e).run(this.config)},t.prototype.GetCompatibleAudioSourceConfigurations=function(e){return t.GetCompatibleAudioSourceConfigurations(e).run(this.config)},t.prototype.GetCompatibleVideoAnalyticsConfigurations=function(e){return t.GetCompatibleVideoAnalyticsConfigurations(e).run(this.config)},t.prototype.GetCompatibleMetadataConfigurations=function(e){return t.GetCompatibleMetadataConfigurations(e).run(this.config)},t.prototype.GetCompatibleAudioOutputConfigurations=function(e){return t.GetCompatibleAudioOutputConfigurations(e).run(this.config)},t.prototype.GetCompatibleAudioDecoderConfigurations=function(e){return t.GetCompatibleAudioDecoderConfigurations(e).run(this.config)},t.prototype.SetVideoSourceConfiguration=function(e,n){return t.SetVideoSourceConfiguration(e,n).run(this.config)},t.prototype.SetVideoEncoderConfiguration=function(e,n){return t.SetVideoEncoderConfiguration(e,n).run(this.config)},t.prototype.SetAudioSourceConfiguration=function(e,n){return t.SetAudioSourceConfiguration(e,n).run(this.config)},t.prototype.SetAudioEncoderConfiguration=function(e,n){return t.SetAudioEncoderConfiguration(e,n).run(this.config)},t.prototype.SetVideoAnalyticsConfiguration=function(e,n){return t.SetVideoAnalyticsConfiguration(e,n).run(this.config)},t.prototype.SetMetadataConfiguration=function(e,n){return t.SetMetadataConfiguration(e,n).run(this.config)},t.prototype.SetAudioOutputConfiguration=function(e,n){return t.SetAudioOutputConfiguration(e,n).run(this.config)},t.prototype.SetAudioDecoderConfiguration=function(e,n){return t.SetAudioDecoderConfiguration(e,n).run(this.config)},t.prototype.GetVideoSourceConfigurationOptions=function(e,n){return t.GetVideoSourceConfigurationOptions(e,n).run(this.config)},t.prototype.GetVideoEncoderConfigurationOptions=function(e,n){return t.GetVideoEncoderConfigurationOptions(e,n).run(this.config)},t.prototype.GetAudioSourceConfigurationOptions=function(e,n){return t.GetAudioSourceConfigurationOptions(e,n).run(this.config)},t.prototype.GetAudioEncoderConfigurationOptions=function(e,n){return t.GetAudioEncoderConfigurationOptions(e,n).run(this.config)},t.prototype.GetMetadataConfigurationOptions=function(e,n){return t.GetMetadataConfigurationOptions(e,n).run(this.config)},t.prototype.GetAudioOutputConfigurationOptions=function(e,n){return t.GetAudioOutputConfigurationOptions(e,n).run(this.config)},t.prototype.GetAudioDecoderConfigurationOptions=function(e,n){return t.GetAudioDecoderConfigurationOptions(e,n).run(this.config)},t.prototype.GetGuaranteedNumberOfVideoEncoderInstances=function(e){return t.GetGuaranteedNumberOfVideoEncoderInstances(e).run(this.config)},t.prototype.GetStreamUri=function(e,n){return t.GetStreamUri(e,n).run(this.config)},t.prototype.StartMulticastStreaming=function(e){return t.StartMulticastStreaming(e).run(this.config)},t.prototype.StopMulticastStreaming=function(e){return t.StopMulticastStreaming(e).run(this.config)},t.prototype.SetSynchronizationPoint=function(e){return t.SetSynchronizationPoint(e).run(this.config)},t.prototype.GetSnapshotUri=function(e){return t.GetSnapshotUri(e).run(this.config)},t.prototype.GetVideoSourceModes=function(e){return t.GetVideoSourceModes(e).run(this.config)},t.prototype.SetVideoSourceMode=function(e,n){return t.SetVideoSourceMode(e,n).run(this.config)},t.prototype.GetOSDs=function(e){return t.GetOSDs(e).run(this.config)},t.prototype.GetOSD=function(e){return t.GetOSD(e).run(this.config)},t.prototype.GetOSDOptions=function(e){return t.GetOSDOptions(e).run(this.config)},t.prototype.SetOSD=function(e){return t.SetOSD(e).run(this.config)},t.prototype.CreateOSD=function(e){return t.CreateOSD(e).run(this.config)},t.prototype.DeleteOSD=function(e){return t.DeleteOSD(e).run(this.config)},t}(),Lt=function(){function t(t){this.config=t}return t.GetSupportedRules=function(t){return Ut(It("tan:GetSupportedRules")({tan_ConfigurationToken:t})).map(Nt("tan:GetSupportedRulesResponse"))},t.CreateRules=function(t,e){return Ut(It("tan:CreateRules")({tan_ConfigurationToken:t,tan_Rule:e})).map(Nt("tan:CreateRulesResponse"))},t.DeleteRules=function(t,e){return Ut(It("tan:DeleteRules")({tan_ConfigurationToken:t,tan_RuleName:e})).map(Nt("tan:DeleteRulesResponse"))},t.GetRules=function(t){return Ut(It("tan:GetRules")({tan_ConfigurationToken:t})).map(Nt("tan:GetRulesResponse"))},t.GetRuleOptions=function(t,e){return Ut(It("tan:GetRuleOptions")({tan_ConfigurationToken:t,tan_RuleType:e})).map(Nt("tan:GetRuleOptionsResponse"))},t.ModifyRules=function(t,e){return Ut(It("tan:ModifyRules")({tan_ConfigurationToken:t,tan_Rule:e})).map(Nt("tan:ModifyRulesResponse"))},t.GetServiceCapabilities=function(){return Ut(It("tan:GetServiceCapabilities")({})).map(Nt("tan:GetServiceCapabilitiesResponse"))},t.GetSupportedAnalyticsModules=function(t){return Ut(It("tan:GetSupportedAnalyticsModules")({tan_ConfigurationToken:t})).map(Nt("tan:GetSupportedAnalyticsModulesResponse"))},t.GetAnalyticsModuleOptions=function(t,e){return Ut(It("tan:GetAnalyticsModuleOptions")({tan_ConfigurationToken:t,tan_Type:e})).map(Nt("tan:GetAnalyticsModuleOptionsResponse"))},t.CreateAnalyticsModules=function(t,e){return Ut(It("tan:CreateAnalyticsModules")({tan_ConfigurationToken:t,tan_AnalyticsModule:e})).map(Nt("tan:CreateAnalyticsModulesResponse"))},t.DeleteAnalyticsModules=function(t,e){return Ut(It("tan:DeleteAnalyticsModules")({tan_ConfigurationToken:t,tan_AnalyticsModuleName:e})).map(Nt("tan:DeleteAnalyticsModulesResponse"))},t.GetAnalyticsModules=function(t){return Ut(It("tan:GetAnalyticsModules")({tan_ConfigurationToken:t})).map(Nt("tan:GetAnalyticsModulesResponse"))},t.ModifyAnalyticsModules=function(t,e){return Ut(It("tan:ModifyAnalyticsModules")({tan_ConfigurationToken:t,tan_AnalyticsModule:e})).map(Nt("tan:ModifyAnalyticsModulesResponse"))},t.GetSupportedMetadata=function(t){return Ut(It("tan:GetSupportedMetadata")({tan_Type:t})).map(Nt("tan:GetSupportedMetadataResponse"))},t.prototype.GetSupportedRules=function(e){return t.GetSupportedRules(e).run(this.config)},t.prototype.CreateRules=function(e,n){return t.CreateRules(e,n).run(this.config)},t.prototype.DeleteRules=function(e,n){return t.DeleteRules(e,n).run(this.config)},t.prototype.GetRules=function(e){return t.GetRules(e).run(this.config)},t.prototype.GetRuleOptions=function(e,n){return t.GetRuleOptions(e,n).run(this.config)},t.prototype.ModifyRules=function(e,n){return t.ModifyRules(e,n).run(this.config)},t.prototype.GetServiceCapabilities=function(){return t.GetServiceCapabilities().run(this.config)},t.prototype.GetSupportedAnalyticsModules=function(e){return t.GetSupportedAnalyticsModules(e).run(this.config)},t.prototype.GetAnalyticsModuleOptions=function(e,n){return t.GetAnalyticsModuleOptions(e,n).run(this.config)},t.prototype.CreateAnalyticsModules=function(e,n){return t.CreateAnalyticsModules(e,n).run(this.config)},t.prototype.DeleteAnalyticsModules=function(e,n){return t.DeleteAnalyticsModules(e,n).run(this.config)},t.prototype.GetAnalyticsModules=function(e){return t.GetAnalyticsModules(e).run(this.config)},t.prototype.ModifyAnalyticsModules=function(e,n){return t.ModifyAnalyticsModules(e,n).run(this.config)},t.prototype.GetSupportedMetadata=function(e){return t.GetSupportedMetadata(e).run(this.config)},t}(),Ht=function(){function t(t){this.config=t}return t.GetServiceCapabilities=function(){return Ut(It("tls:GetServiceCapabilities")({})).map(Nt("tls:GetServiceCapabilitiesResponse"))},t.GetLayout=function(t){return Ut(It("tls:GetLayout")({tls_VideoOutput:t})).map(Nt("tls:GetLayoutResponse"))},t.SetLayout=function(t,e){return Ut(It("tls:SetLayout")({tls_VideoOutput:t,tls_Layout:e})).map(Nt("tls:SetLayoutResponse"))},t.GetDisplayOptions=function(t){return Ut(It("tls:GetDisplayOptions")({tls_VideoOutput:t})).map(Nt("tls:GetDisplayOptionsResponse"))},t.GetPaneConfigurations=function(t){return Ut(It("tls:GetPaneConfigurations")({tls_VideoOutput:t})).map(Nt("tls:GetPaneConfigurationsResponse"))},t.GetPaneConfiguration=function(t,e){return Ut(It("tls:GetPaneConfiguration")({tls_VideoOutput:t,tls_Pane:e})).map(Nt("tls:GetPaneConfigurationResponse"))},t.SetPaneConfigurations=function(t,e){return Ut(It("tls:SetPaneConfigurations")({tls_VideoOutput:t,tls_PaneConfiguration:e})).map(Nt("tls:SetPaneConfigurationsResponse"))},t.SetPaneConfiguration=function(t,e){return Ut(It("tls:SetPaneConfiguration")({tls_VideoOutput:t,tls_PaneConfiguration:e})).map(Nt("tls:SetPaneConfigurationResponse"))},t.CreatePaneConfiguration=function(t,e){return Ut(It("tls:CreatePaneConfiguration")({tls_VideoOutput:t,tls_PaneConfiguration:e})).map(Nt("tls:CreatePaneConfigurationResponse"))},t.DeletePaneConfiguration=function(t,e){return Ut(It("tls:DeletePaneConfiguration")({tls_VideoOutput:t,tls_PaneToken:e})).map(Nt("tls:DeletePaneConfigurationResponse"))},t.prototype.GetServiceCapabilities=function(){return t.GetServiceCapabilities().run(this.config)},t.prototype.GetLayout=function(e){return t.GetLayout(e).run(this.config)},t.prototype.SetLayout=function(e,n){return t.SetLayout(e,n).run(this.config)},t.prototype.GetDisplayOptions=function(e){return t.GetDisplayOptions(e).run(this.config)},t.prototype.GetPaneConfigurations=function(e){return t.GetPaneConfigurations(e).run(this.config)},t.prototype.GetPaneConfiguration=function(e,n){return t.GetPaneConfiguration(e,n).run(this.config)},t.prototype.SetPaneConfigurations=function(e,n){return t.SetPaneConfigurations(e,n).run(this.config)},t.prototype.SetPaneConfiguration=function(e,n){return t.SetPaneConfiguration(e,n).run(this.config)},t.prototype.CreatePaneConfiguration=function(e,n){return t.CreatePaneConfiguration(e,n).run(this.config)},t.prototype.DeletePaneConfiguration=function(e,n){return t.DeletePaneConfiguration(e,n).run(this.config)},t}(),Bt=function(){function t(t){this.config=t}return t.GetServiceCapabilities=function(){return Ut(It("timg:GetServiceCapabilities")({})).map(Nt("timg:GetServiceCapabilitiesResponse"))},t.GetImagingSettings=function(t){return Ut(It("timg:GetImagingSettings")({timg_VideoSourceToken:t})).map(Nt("timg:GetImagingSettingsResponse"))},t.SetImagingSettings=function(t,e,n){return Ut(It("timg:SetImagingSettings")({timg_VideoSourceToken:t,timg_ImagingSettings:e,timg_ForcePersistence:n})).map(Nt("timg:SetImagingSettingsResponse"))},t.GetOptions=function(t){return Ut(It("timg:GetOptions")({timg_VideoSourceToken:t})).map(Nt("timg:GetOptionsResponse"))},t.Move=function(t,e){return Ut(It("timg:Move")({timg_VideoSourceToken:t,timg_Focus:e})).map(Nt("timg:MoveResponse"))},t.GetMoveOptions=function(t){return Ut(It("timg:GetMoveOptions")({timg_VideoSourceToken:t})).map(Nt("timg:GetMoveOptionsResponse"))},t.Stop=function(t){return Ut(It("timg:Stop")({timg_VideoSourceToken:t})).map(Nt("timg:StopResponse"))},t.GetStatus=function(t){return Ut(It("timg:GetStatus")({timg_VideoSourceToken:t})).map(Nt("timg:GetStatusResponse"))},t.GetPresets=function(t){return Ut(It("timg:GetPresets")({timg_VideoSourceToken:t})).map(Nt("timg:GetPresetsResponse"))},t.GetCurrentPreset=function(t){return Ut(It("timg:GetCurrentPreset")({timg_VideoSourceToken:t})).map(Nt("timg:GetCurrentPresetResponse"))},t.SetCurrentPreset=function(t,e){return Ut(It("timg:SetCurrentPreset")({timg_VideoSourceToken:t,timg_PresetToken:e})).map(Nt("timg:SetCurrentPresetResponse"))},t.prototype.GetServiceCapabilities=function(){return t.GetServiceCapabilities().run(this.config)},t.prototype.GetImagingSettings=function(e){return t.GetImagingSettings(e).run(this.config)},t.prototype.SetImagingSettings=function(e,n,o){return t.SetImagingSettings(e,n,o).run(this.config)},t.prototype.GetOptions=function(e){return t.GetOptions(e).run(this.config)},t.prototype.Move=function(e,n){return t.Move(e,n).run(this.config)},t.prototype.GetMoveOptions=function(e){return t.GetMoveOptions(e).run(this.config)},t.prototype.Stop=function(e){return t.Stop(e).run(this.config)},t.prototype.GetStatus=function(e){return t.GetStatus(e).run(this.config)},t.prototype.GetPresets=function(e){return t.GetPresets(e).run(this.config)},t.prototype.GetCurrentPreset=function(e){return t.GetCurrentPreset(e).run(this.config)},t.prototype.SetCurrentPreset=function(e,n){return t.SetCurrentPreset(e,n).run(this.config)},t}();(S=t.MoveStatus||(t.MoveStatus={})).IDLE="IDLE",S.MOVING="MOVING",S.UNKNOWN="UNKNOWN",(m=t.Entity||(t.Entity={})).Device="Device",m.VideoSource="VideoSource",m.AudioSource="AudioSource",(G=t.RotateMode||(t.RotateMode={})).OFF="OFF",G.ON="ON",G.AUTO="AUTO",(y=t.SceneOrientationMode||(t.SceneOrientationMode={})).MANUAL="MANUAL",y.AUTO="AUTO",(R=t.SceneOrientationOption||(t.SceneOrientationOption={})).Below="Below",R.Horizon="Horizon",R.Above="Above",(P=t.ViewModes||(t.ViewModes={})).Fisheye="Fisheye",P["360Panorama"]="360Panorama",P["180Panorama"]="180Panorama",P.Quad="Quad",P.Original="Original",P.LeftHalf="LeftHalf",P.RightHalf="RightHalf",P.Dewarp="Dewarp",(v=t.VideoEncoding||(t.VideoEncoding={})).JPEG="JPEG",v.MPEG4="MPEG4",v.H264="H264",(h=t.Mpeg4Profile||(t.Mpeg4Profile={})).SP="SP",h.ASP="ASP",(A=t.H264Profile||(t.H264Profile={})).Baseline="Baseline",A.Main="Main",A.Extended="Extended",A.High="High",(D=t.VideoEncodingMimeNames||(t.VideoEncodingMimeNames={})).JPEG="JPEG",D["MPV4-ES"]="MPV4-ES",D.H264="H264",D.H265="H265",(T=t.VideoEncodingProfiles||(t.VideoEncodingProfiles={})).Simple="Simple",T.AdvancedSimple="AdvancedSimple",T.Baseline="Baseline",T.Main="Main",T.Main10="Main10",T.Extended="Extended",T.High="High",(M=t.AudioEncoding||(t.AudioEncoding={})).G711="G711",M.G726="G726",M.AAC="AAC",(_=t.AudioEncodingMimeNames||(t.AudioEncodingMimeNames={})).PCMU="PCMU",_.G726="G726",_["MP4A-LATM"]="MP4A-LATM",_["mpeg4-generic"]="mpeg4-generic",(k=t.MetadataCompressionType||(t.MetadataCompressionType={})).None="None",k.GZIP="GZIP",k.EXI="EXI",(O=t.StreamType||(t.StreamType={}))["RTP-Unicast"]="RTP-Unicast",O["RTP-Multicast"]="RTP-Multicast",(w=t.TransportProtocol||(t.TransportProtocol={})).UDP="UDP",w.TCP="TCP",w.RTSP="RTSP",w.HTTP="HTTP",(b=t.ScopeDefinition||(t.ScopeDefinition={})).Fixed="Fixed",b.Configurable="Configurable",(E=t.DiscoveryMode||(t.DiscoveryMode={})).Discoverable="Discoverable",E.NonDiscoverable="NonDiscoverable",(V=t.Duplex||(t.Duplex={})).Full="Full",V.Half="Half",(N=t.IPv6DHCPConfiguration||(t.IPv6DHCPConfiguration={})).Auto="Auto",N.Stateful="Stateful",N.Stateless="Stateless",N.Off="Off",(I=t.NetworkProtocolType||(t.NetworkProtocolType={})).HTTP="HTTP",I.HTTPS="HTTPS",I.RTSP="RTSP",(U=t.NetworkHostType||(t.NetworkHostType={})).IPv4="IPv4",U.IPv6="IPv6",U.DNS="DNS",(F=t.IPType||(t.IPType={})).IPv4="IPv4",F.IPv6="IPv6",(x=t.IPAddressFilterType||(t.IPAddressFilterType={})).Allow="Allow",x.Deny="Deny",(z=t.DynamicDNSType||(t.DynamicDNSType={})).NoUpdate="NoUpdate",z.ClientUpdates="ClientUpdates",z.ServerUpdates="ServerUpdates",(L=t.Dot11StationMode||(t.Dot11StationMode={}))["Ad-hoc"]="Ad-hoc",L.Infrastructure="Infrastructure",L.Extended="Extended",(H=t.Dot11SecurityMode||(t.Dot11SecurityMode={})).None="None",H.WEP="WEP",H.PSK="PSK",H.Dot1X="Dot1X",H.Extended="Extended",(B=t.Dot11Cipher||(t.Dot11Cipher={})).CCMP="CCMP",B.TKIP="TKIP",B.Any="Any",B.Extended="Extended",(X=t.Dot11SignalStrength||(t.Dot11SignalStrength={})).None="None",X["Very Bad"]="Very Bad",X.Bad="Bad",X.Good="Good",X["Very Good"]="Very Good",X.Extended="Extended",(K=t.Dot11AuthAndMangementSuite||(t.Dot11AuthAndMangementSuite={})).None="None",K.Dot1X="Dot1X",K.PSK="PSK",K.Extended="Extended",(Z=t.CapabilityCategory||(t.CapabilityCategory={})).All="All",Z.Analytics="Analytics",Z.Device="Device",Z.Events="Events",Z.Imaging="Imaging",Z.Media="Media",Z.PTZ="PTZ",(J=t.SystemLogType||(t.SystemLogType={})).System="System",J.Access="Access",(W=t.FactoryDefaultType||(t.FactoryDefaultType={})).Hard="Hard",W.Soft="Soft",(j=t.SetDateTimeType||(t.SetDateTimeType={})).Manual="Manual",j.NTP="NTP",(q=t.UserLevel||(t.UserLevel={})).Administrator="Administrator",q.Operator="Operator",q.User="User",q.Anonymous="Anonymous",q.Extended="Extended",(Q=t.RelayLogicalState||(t.RelayLogicalState={})).active="active",Q.inactive="inactive",(Y=t.RelayIdleState||(t.RelayIdleState={})).closed="closed",Y.open="open",($=t.RelayMode||(t.RelayMode={})).Monostable="Monostable",$.Bistable="Bistable",(tt=t.DigitalIdleState||(t.DigitalIdleState={})).closed="closed",tt.open="open",(et=t.EFlipMode||(t.EFlipMode={})).OFF="OFF",et.ON="ON",et.Extended="Extended",(nt=t.ReverseMode||(t.ReverseMode={})).OFF="OFF",nt.ON="ON",nt.AUTO="AUTO",nt.Extended="Extended",(ot=t.PTZPresetTourState||(t.PTZPresetTourState={})).Idle="Idle",ot.Touring="Touring",ot.Paused="Paused",ot.Extended="Extended",(rt=t.PTZPresetTourDirection||(t.PTZPresetTourDirection={})).Forward="Forward",rt.Backward="Backward",rt.Extended="Extended",(it=t.PTZPresetTourOperation||(t.PTZPresetTourOperation={})).Start="Start",it.Stop="Stop",it.Pause="Pause",it.Extended="Extended",(st=t.MoveAndTrackMethod||(t.MoveAndTrackMethod={})).PresetToken="PresetToken",st.GeoLocation="GeoLocation",st.PTZVector="PTZVector",st.ObjectID="ObjectID",(ut=t.AutoFocusMode||(t.AutoFocusMode={})).AUTO="AUTO",ut.MANUAL="MANUAL",(t.AFModes||(t.AFModes={})).OnceAfterMove="OnceAfterMove",(at=t.WideDynamicMode||(t.WideDynamicMode={})).OFF="OFF",at.ON="ON",(ct=t.BacklightCompensationMode||(t.BacklightCompensationMode={})).OFF="OFF",ct.ON="ON",(pt=t.ExposurePriority||(t.ExposurePriority={})).LowNoise="LowNoise",pt.FrameRate="FrameRate",(ft=t.ExposureMode||(t.ExposureMode={})).AUTO="AUTO",ft.MANUAL="MANUAL",(dt=t.Enabled||(t.Enabled={})).ENABLED="ENABLED",dt.DISABLED="DISABLED",(gt=t.WhiteBalanceMode||(t.WhiteBalanceMode={})).AUTO="AUTO",gt.MANUAL="MANUAL",(lt=t.IrCutFilterMode||(t.IrCutFilterMode={})).ON="ON",lt.OFF="OFF",lt.AUTO="AUTO",(Ct=t.ImageStabilizationMode||(t.ImageStabilizationMode={})).OFF="OFF",Ct.ON="ON",Ct.AUTO="AUTO",Ct.Extended="Extended",(St=t.IrCutFilterAutoBoundaryType||(t.IrCutFilterAutoBoundaryType={})).Common="Common",St.ToOn="ToOn",St.ToOff="ToOff",St.Extended="Extended",(mt=t.ToneCompensationMode||(t.ToneCompensationMode={})).OFF="OFF",mt.ON="ON",mt.AUTO="AUTO",(Gt=t.DefoggingMode||(t.DefoggingMode={})).OFF="OFF",Gt.ON="ON",Gt.AUTO="AUTO",(yt=t.ImageSendingType||(t.ImageSendingType={})).Embedded="Embedded",yt.LocalStorage="LocalStorage",yt.RemoteStorage="RemoteStorage",(Rt=t.PropertyOperation||(t.PropertyOperation={})).Initialized="Initialized",Rt.Deleted="Deleted",Rt.Changed="Changed",(Pt=t.Direction||(t.Direction={})).Left="Left",Pt.Right="Right",Pt.Any="Any",(vt=t.ReceiverMode||(t.ReceiverMode={})).AutoConnect="AutoConnect",vt.AlwaysConnect="AlwaysConnect",vt.NeverConnect="NeverConnect",vt.Unknown="Unknown",(ht=t.ReceiverState||(t.ReceiverState={})).NotConnected="NotConnected",ht.Connecting="Connecting",ht.Connected="Connected",ht.Unknown="Unknown",(At=t.SearchState||(t.SearchState={})).Queued="Queued",At.Searching="Searching",At.Completed="Completed",At.Unknown="Unknown",(Dt=t.RecordingStatus||(t.RecordingStatus={})).Initiated="Initiated",Dt.Recording="Recording",Dt.Stopped="Stopped",Dt.Removing="Removing",Dt.Removed="Removed",Dt.Unknown="Unknown",(Tt=t.TrackType||(t.TrackType={})).Video="Video",Tt.Audio="Audio",Tt.Metadata="Metadata",Tt.Extended="Extended",(Mt=t.ModeOfOperation||(t.ModeOfOperation={})).Idle="Idle",Mt.Active="Active",Mt.Unknown="Unknown",(_t=t.AudioClassType||(t.AudioClassType={})).gun_shot="gun_shot",_t.scream="scream",_t.glass_breaking="glass_breaking",_t.tire_screech="tire_screech",(kt=t.OSDType||(t.OSDType={})).Text="Text",kt.Image="Image",kt.Extended="Extended",(Ot=t.EventBrokerProtocol||(t.EventBrokerProtocol={})).mqtt="mqtt",Ot.mqtts="mqtts",Ot.ws="ws",Ot.wss="wss",(wt=t.ConnectionStatus||(t.ConnectionStatus={})).Offline="Offline",wt.Connecting="Connecting",wt.Connected="Connected",(bt=t.AutoGeoModes||(t.AutoGeoModes={})).Location="Location",bt.Heading="Heading",bt.Leveling="Leveling",(Et=t.StorageType||(t.StorageType={})).NFS="NFS",Et.CIFS="CIFS",Et.CDMI="CDMI",Et.FTP="FTP";var Xt=function(){function t(t){this.config=t}return t.GetServiceCapabilities=function(){return Ut(It("tpv:GetServiceCapabilities")({})).map(Nt("tpv:GetServiceCapabilitiesResponse"))},t.PanMove=function(){return Ut(It("tpv:PanMove")({})).map(Nt("tpv:PanMoveResponse"))},t.TiltMove=function(){return Ut(It("tpv:TiltMove")({})).map(Nt("tpv:TiltMoveResponse"))},t.ZoomMove=function(){return Ut(It("tpv:ZoomMove")({})).map(Nt("tpv:ZoomMoveResponse"))},t.RollMove=function(){return Ut(It("tpv:RollMove")({})).map(Nt("tpv:RollMoveResponse"))},t.FocusMove=function(){return Ut(It("tpv:FocusMove")({})).map(Nt("tpv:FocusMoveResponse"))},t.Stop=function(){return Ut(It("tpv:Stop")({})).map(Nt("tpv:StopResponse"))},t.GetUsage=function(){return Ut(It("tpv:GetUsage")({})).map(Nt("tpv:GetUsageResponse"))},t.prototype.GetServiceCapabilities=function(){return t.GetServiceCapabilities().run(this.config)},t.prototype.PanMove=function(){return t.PanMove().run(this.config)},t.prototype.TiltMove=function(){return t.TiltMove().run(this.config)},t.prototype.ZoomMove=function(){return t.ZoomMove().run(this.config)},t.prototype.RollMove=function(){return t.RollMove().run(this.config)},t.prototype.FocusMove=function(){return t.FocusMove().run(this.config)},t.prototype.Stop=function(){return t.Stop().run(this.config)},t.prototype.GetUsage=function(){return t.GetUsage().run(this.config)},t}(),Kt=function(){function t(t){this.config=t}return t.GetServiceCapabilities=function(){return Ut(It("tptz:GetServiceCapabilities")({})).map(Nt("tptz:GetServiceCapabilitiesResponse"))},t.GetNodes=function(){return Ut(It("tptz:GetNodes")({})).map(Nt("tptz:GetNodesResponse"))},t.GetNode=function(t){return Ut(It("tptz:GetNode")({tptz_NodeToken:t})).map(Nt("tptz:GetNodeResponse"))},t.GetConfiguration=function(t){return Ut(It("tptz:GetConfiguration")({tptz_PTZConfigurationToken:t})).map(Nt("tptz:GetConfigurationResponse"))},t.GetConfigurations=function(){return Ut(It("tptz:GetConfigurations")({})).map(Nt("tptz:GetConfigurationsResponse"))},t.SetConfiguration=function(t,e){return Ut(It("tptz:SetConfiguration")({tptz_PTZConfiguration:t,tptz_ForcePersistence:e})).map(Nt("tptz:SetConfigurationResponse"))},t.GetConfigurationOptions=function(t){return Ut(It("tptz:GetConfigurationOptions")({tptz_ConfigurationToken:t})).map(Nt("tptz:GetConfigurationOptionsResponse"))},t.SendAuxiliaryCommand=function(t,e){return Ut(It("tptz:SendAuxiliaryCommand")({tptz_ProfileToken:t,tptz_AuxiliaryData:e})).map(Nt("tptz:SendAuxiliaryCommandResponse"))},t.GetPresets=function(t){return Ut(It("tptz:GetPresets")({tptz_ProfileToken:t})).map(Nt("tptz:GetPresetsResponse"))},t.SetPreset=function(t,e,n){return Ut(It("tptz:SetPreset")({tptz_ProfileToken:t,tptz_PresetName:e,tptz_PresetToken:n})).map(Nt("tptz:SetPresetResponse"))},t.RemovePreset=function(t,e){return Ut(It("tptz:RemovePreset")({tptz_ProfileToken:t,tptz_PresetToken:e})).map(Nt("tptz:RemovePresetResponse"))},t.GotoPreset=function(t,e,n){return Ut(It("tptz:GotoPreset")({tptz_ProfileToken:t,tptz_PresetToken:e,tptz_Speed:n})).map(Nt("tptz:GotoPresetResponse"))},t.GotoHomePosition=function(t,e){return Ut(It("tptz:GotoHomePosition")({tptz_ProfileToken:t,tptz_Speed:e})).map(Nt("tptz:GotoHomePositionResponse"))},t.SetHomePosition=function(t){return Ut(It("tptz:SetHomePosition")({tptz_ProfileToken:t})).map(Nt("tptz:SetHomePositionResponse"))},t.ContinuousMove=function(t,e,n){return Ut(It("tptz:ContinuousMove")({tptz_ProfileToken:t,tptz_Velocity:e,tptz_Timeout:n})).map(Nt("tptz:ContinuousMoveResponse"))},t.RelativeMove=function(t,e,n){return Ut(It("tptz:RelativeMove")({tptz_ProfileToken:t,tptz_Translation:e,tptz_Speed:n})).map(Nt("tptz:RelativeMoveResponse"))},t.GetStatus=function(t){return Ut(It("tptz:GetStatus")({tptz_ProfileToken:t})).map(Nt("tptz:GetStatusResponse"))},t.AbsoluteMove=function(t,e,n){return Ut(It("tptz:AbsoluteMove")({tptz_ProfileToken:t,tptz_Position:e,tptz_Speed:n})).map(Nt("tptz:AbsoluteMoveResponse"))},t.GeoMove=function(t,e,n,o,r){return Ut(It("tptz:GeoMove")({tptz_ProfileToken:t,tptz_Target:e,tptz_Speed:n,tptz_AreaHeight:o,tptz_AreaWidth:r})).map(Nt("tptz:GeoMoveResponse"))},t.Stop=function(t,e,n){return Ut(It("tptz:Stop")({tptz_ProfileToken:t,tptz_PanTilt:e,tptz_Zoom:n})).map(Nt("tptz:StopResponse"))},t.GetPresetTours=function(t){return Ut(It("tptz:GetPresetTours")({tptz_ProfileToken:t})).map(Nt("tptz:GetPresetToursResponse"))},t.GetPresetTour=function(t,e){return Ut(It("tptz:GetPresetTour")({tptz_ProfileToken:t,tptz_PresetTourToken:e})).map(Nt("tptz:GetPresetTourResponse"))},t.GetPresetTourOptions=function(t,e){return Ut(It("tptz:GetPresetTourOptions")({tptz_ProfileToken:t,tptz_PresetTourToken:e})).map(Nt("tptz:GetPresetTourOptionsResponse"))},t.CreatePresetTour=function(t){return Ut(It("tptz:CreatePresetTour")({tptz_ProfileToken:t})).map(Nt("tptz:CreatePresetTourResponse"))},t.ModifyPresetTour=function(t,e){return Ut(It("tptz:ModifyPresetTour")({tptz_ProfileToken:t,tptz_PresetTour:e})).map(Nt("tptz:ModifyPresetTourResponse"))},t.OperatePresetTour=function(t,e,n){return Ut(It("tptz:OperatePresetTour")({tptz_ProfileToken:t,tptz_PresetTourToken:e,tptz_Operation:n})).map(Nt("tptz:OperatePresetTourResponse"))},t.RemovePresetTour=function(t,e){return Ut(It("tptz:RemovePresetTour")({tptz_ProfileToken:t,tptz_PresetTourToken:e})).map(Nt("tptz:RemovePresetTourResponse"))},t.GetCompatibleConfigurations=function(t){return Ut(It("tptz:GetCompatibleConfigurations")({tptz_ProfileToken:t})).map(Nt("tptz:GetCompatibleConfigurationsResponse"))},t.MoveAndStartTracking=function(t,e,n,o,r,i){return Ut(It("tptz:MoveAndStartTracking")({tptz_ProfileToken:t,tptz_PresetToken:e,tptz_GeoLocation:n,tptz_TargetPosition:o,tptz_Speed:r,tptz_ObjectID:i})).map(Nt("tptz:MoveAndStartTrackingResponse"))},t.prototype.GetServiceCapabilities=function(){return t.GetServiceCapabilities().run(this.config)},t.prototype.GetNodes=function(){return t.GetNodes().run(this.config)},t.prototype.GetNode=function(e){return t.GetNode(e).run(this.config)},t.prototype.GetConfiguration=function(e){return t.GetConfiguration(e).run(this.config)},t.prototype.GetConfigurations=function(){return t.GetConfigurations().run(this.config)},t.prototype.SetConfiguration=function(e,n){return t.SetConfiguration(e,n).run(this.config)},t.prototype.GetConfigurationOptions=function(e){return t.GetConfigurationOptions(e).run(this.config)},t.prototype.SendAuxiliaryCommand=function(e,n){return t.SendAuxiliaryCommand(e,n).run(this.config)},t.prototype.GetPresets=function(e){return t.GetPresets(e).run(this.config)},t.prototype.SetPreset=function(e,n,o){return t.SetPreset(e,n,o).run(this.config)},t.prototype.RemovePreset=function(e,n){return t.RemovePreset(e,n).run(this.config)},t.prototype.GotoPreset=function(e,n,o){return t.GotoPreset(e,n,o).run(this.config)},t.prototype.GotoHomePosition=function(e,n){return t.GotoHomePosition(e,n).run(this.config)},t.prototype.SetHomePosition=function(e){return t.SetHomePosition(e).run(this.config)},t.prototype.ContinuousMove=function(e,n,o){return t.ContinuousMove(e,n,o).run(this.config)},t.prototype.RelativeMove=function(e,n,o){return t.RelativeMove(e,n,o).run(this.config)},t.prototype.GetStatus=function(e){return t.GetStatus(e).run(this.config)},t.prototype.AbsoluteMove=function(e,n,o){return t.AbsoluteMove(e,n,o).run(this.config)},t.prototype.GeoMove=function(e,n,o,r,i){return t.GeoMove(e,n,o,r,i).run(this.config)},t.prototype.Stop=function(e,n,o){return t.Stop(e,n,o).run(this.config)},t.prototype.GetPresetTours=function(e){return t.GetPresetTours(e).run(this.config)},t.prototype.GetPresetTour=function(e,n){return t.GetPresetTour(e,n).run(this.config)},t.prototype.GetPresetTourOptions=function(e,n){return t.GetPresetTourOptions(e,n).run(this.config)},t.prototype.CreatePresetTour=function(e){return t.CreatePresetTour(e).run(this.config)},t.prototype.ModifyPresetTour=function(e,n){return t.ModifyPresetTour(e,n).run(this.config)},t.prototype.OperatePresetTour=function(e,n,o){return t.OperatePresetTour(e,n,o).run(this.config)},t.prototype.RemovePresetTour=function(e,n){return t.RemovePresetTour(e,n).run(this.config)},t.prototype.GetCompatibleConfigurations=function(e){return t.GetCompatibleConfigurations(e).run(this.config)},t.prototype.MoveAndStartTracking=function(e,n,o,r,i,s){return t.MoveAndStartTracking(e,n,o,r,i,s).run(this.config)},t}(),Zt=function(){function t(t){this.config=t}return t.GetServiceCapabilities=function(){return Ut(It("trv:GetServiceCapabilities")({})).map(Nt("trv:GetServiceCapabilitiesResponse"))},t.GetReceivers=function(){return Ut(It("trv:GetReceivers")({})).map(Nt("trv:GetReceiversResponse"))},t.GetReceiver=function(t){return Ut(It("trv:GetReceiver")({trv_ReceiverToken:t})).map(Nt("trv:GetReceiverResponse"))},t.CreateReceiver=function(t){return Ut(It("trv:CreateReceiver")({trv_Configuration:t})).map(Nt("trv:CreateReceiverResponse"))},t.DeleteReceiver=function(t){return Ut(It("trv:DeleteReceiver")({trv_ReceiverToken:t})).map(Nt("trv:DeleteReceiverResponse"))},t.ConfigureReceiver=function(t,e){return Ut(It("trv:ConfigureReceiver")({trv_ReceiverToken:t,trv_Configuration:e})).map(Nt("trv:ConfigureReceiverResponse"))},t.SetReceiverMode=function(t,e){return Ut(It("trv:SetReceiverMode")({trv_ReceiverToken:t,trv_Mode:e})).map(Nt("trv:SetReceiverModeResponse"))},t.GetReceiverState=function(t){return Ut(It("trv:GetReceiverState")({trv_ReceiverToken:t})).map(Nt("trv:GetReceiverStateResponse"))},t.prototype.GetServiceCapabilities=function(){return t.GetServiceCapabilities().run(this.config)},t.prototype.GetReceivers=function(){return t.GetReceivers().run(this.config)},t.prototype.GetReceiver=function(e){return t.GetReceiver(e).run(this.config)},t.prototype.CreateReceiver=function(e){return t.CreateReceiver(e).run(this.config)},t.prototype.DeleteReceiver=function(e){return t.DeleteReceiver(e).run(this.config)},t.prototype.ConfigureReceiver=function(e,n){return t.ConfigureReceiver(e,n).run(this.config)},t.prototype.SetReceiverMode=function(e,n){return t.SetReceiverMode(e,n).run(this.config)},t.prototype.GetReceiverState=function(e){return t.GetReceiverState(e).run(this.config)},t}(),Jt=function(){function t(t){this.config=t}return t.GetServiceCapabilities=function(){return Ut(It("trc:GetServiceCapabilities")({})).map(Nt("trc:GetServiceCapabilitiesResponse"))},t.CreateRecording=function(t){return Ut(It("trc:CreateRecording")({trc_RecordingConfiguration:t})).map(Nt("trc:CreateRecordingResponse"))},t.DeleteRecording=function(t){return Ut(It("trc:DeleteRecording")({trc_RecordingToken:t})).map(Nt("trc:DeleteRecordingResponse"))},t.GetRecordings=function(){return Ut(It("trc:GetRecordings")({})).map(Nt("trc:GetRecordingsResponse"))},t.SetRecordingConfiguration=function(t,e){return Ut(It("trc:SetRecordingConfiguration")({trc_RecordingToken:t,trc_RecordingConfiguration:e})).map(Nt("trc:SetRecordingConfigurationResponse"))},t.GetRecordingConfiguration=function(t){return Ut(It("trc:GetRecordingConfiguration")({trc_RecordingToken:t})).map(Nt("trc:GetRecordingConfigurationResponse"))},t.GetRecordingOptions=function(t){return Ut(It("trc:GetRecordingOptions")({trc_RecordingToken:t})).map(Nt("trc:GetRecordingOptionsResponse"))},t.CreateTrack=function(t,e){return Ut(It("trc:CreateTrack")({trc_RecordingToken:t,trc_TrackConfiguration:e})).map(Nt("trc:CreateTrackResponse"))},t.DeleteTrack=function(t,e){return Ut(It("trc:DeleteTrack")({trc_RecordingToken:t,trc_TrackToken:e})).map(Nt("trc:DeleteTrackResponse"))},t.GetTrackConfiguration=function(t,e){return Ut(It("trc:GetTrackConfiguration")({trc_RecordingToken:t,trc_TrackToken:e})).map(Nt("trc:GetTrackConfigurationResponse"))},t.SetTrackConfiguration=function(t,e,n){return Ut(It("trc:SetTrackConfiguration")({trc_RecordingToken:t,trc_TrackToken:e,trc_TrackConfiguration:n})).map(Nt("trc:SetTrackConfigurationResponse"))},t.CreateRecordingJob=function(t){return Ut(It("trc:CreateRecordingJob")({trc_JobConfiguration:t})).map(Nt("trc:CreateRecordingJobResponse"))},t.DeleteRecordingJob=function(t){return Ut(It("trc:DeleteRecordingJob")({trc_JobToken:t})).map(Nt("trc:DeleteRecordingJobResponse"))},t.GetRecordingJobs=function(){return Ut(It("trc:GetRecordingJobs")({})).map(Nt("trc:GetRecordingJobsResponse"))},t.SetRecordingJobConfiguration=function(t,e){return Ut(It("trc:SetRecordingJobConfiguration")({trc_JobToken:t,trc_JobConfiguration:e})).map(Nt("trc:SetRecordingJobConfigurationResponse"))},t.GetRecordingJobConfiguration=function(t){return Ut(It("trc:GetRecordingJobConfiguration")({trc_JobToken:t})).map(Nt("trc:GetRecordingJobConfigurationResponse"))},t.SetRecordingJobMode=function(t,e){return Ut(It("trc:SetRecordingJobMode")({trc_JobToken:t,trc_Mode:e})).map(Nt("trc:SetRecordingJobModeResponse"))},t.GetRecordingJobState=function(t){return Ut(It("trc:GetRecordingJobState")({trc_JobToken:t})).map(Nt("trc:GetRecordingJobStateResponse"))},t.ExportRecordedData=function(t,e,n,o,r){return Ut(It("trc:ExportRecordedData")({trc_SearchScope:t,trc_FileFormat:e,trc_StorageDestination:n,trc_StartPoint:o,trc_EndPoint:r})).map(Nt("trc:ExportRecordedDataResponse"))},t.StopExportRecordedData=function(t){return Ut(It("trc:StopExportRecordedData")({trc_OperationToken:t})).map(Nt("trc:StopExportRecordedDataResponse"))},t.GetExportRecordedDataState=function(t){return Ut(It("trc:GetExportRecordedDataState")({trc_OperationToken:t})).map(Nt("trc:GetExportRecordedDataStateResponse"))},t.prototype.GetServiceCapabilities=function(){return t.GetServiceCapabilities().run(this.config)},t.prototype.CreateRecording=function(e){return t.CreateRecording(e).run(this.config)},t.prototype.DeleteRecording=function(e){return t.DeleteRecording(e).run(this.config)},t.prototype.GetRecordings=function(){return t.GetRecordings().run(this.config)},t.prototype.SetRecordingConfiguration=function(e,n){return t.SetRecordingConfiguration(e,n).run(this.config)},t.prototype.GetRecordingConfiguration=function(e){return t.GetRecordingConfiguration(e).run(this.config)},t.prototype.GetRecordingOptions=function(e){return t.GetRecordingOptions(e).run(this.config)},t.prototype.CreateTrack=function(e,n){return t.CreateTrack(e,n).run(this.config)},t.prototype.DeleteTrack=function(e,n){return t.DeleteTrack(e,n).run(this.config)},t.prototype.GetTrackConfiguration=function(e,n){return t.GetTrackConfiguration(e,n).run(this.config)},t.prototype.SetTrackConfiguration=function(e,n,o){return t.SetTrackConfiguration(e,n,o).run(this.config)},t.prototype.CreateRecordingJob=function(e){return t.CreateRecordingJob(e).run(this.config)},t.prototype.DeleteRecordingJob=function(e){return t.DeleteRecordingJob(e).run(this.config)},t.prototype.GetRecordingJobs=function(){return t.GetRecordingJobs().run(this.config)},t.prototype.SetRecordingJobConfiguration=function(e,n){return t.SetRecordingJobConfiguration(e,n).run(this.config)},t.prototype.GetRecordingJobConfiguration=function(e){return t.GetRecordingJobConfiguration(e).run(this.config)},t.prototype.SetRecordingJobMode=function(e,n){return t.SetRecordingJobMode(e,n).run(this.config)},t.prototype.GetRecordingJobState=function(e){return t.GetRecordingJobState(e).run(this.config)},t.prototype.ExportRecordedData=function(e,n,o,r,i){return t.ExportRecordedData(e,n,o,r,i).run(this.config)},t.prototype.StopExportRecordedData=function(e){return t.StopExportRecordedData(e).run(this.config)},t.prototype.GetExportRecordedDataState=function(e){return t.GetExportRecordedDataState(e).run(this.config)},t}(),Wt=function(){function t(t){this.config=t}return t.GetServiceCapabilities=function(){return Ut(It("trp:GetServiceCapabilities")({})).map(Nt("trp:GetServiceCapabilitiesResponse"))},t.GetReplayUri=function(t,e){return Ut(It("trp:GetReplayUri")({trp_StreamSetup:t,trp_RecordingToken:e})).map(Nt("trp:GetReplayUriResponse"))},t.GetReplayConfiguration=function(){return Ut(It("trp:GetReplayConfiguration")({})).map(Nt("trp:GetReplayConfigurationResponse"))},t.SetReplayConfiguration=function(t){return Ut(It("trp:SetReplayConfiguration")({trp_Configuration:t})).map(Nt("trp:SetReplayConfigurationResponse"))},t.prototype.GetServiceCapabilities=function(){return t.GetServiceCapabilities().run(this.config)},t.prototype.GetReplayUri=function(e,n){return t.GetReplayUri(e,n).run(this.config)},t.prototype.GetReplayConfiguration=function(){return t.GetReplayConfiguration().run(this.config)},t.prototype.SetReplayConfiguration=function(e){return t.SetReplayConfiguration(e).run(this.config)},t}(),jt=function(){function t(t){this.config=t}return t.GetServiceCapabilities=function(){return Ut(It("tse:GetServiceCapabilities")({})).map(Nt("tse:GetServiceCapabilitiesResponse"))},t.GetRecordingSummary=function(){return Ut(It("tse:GetRecordingSummary")({})).map(Nt("tse:GetRecordingSummaryResponse"))},t.GetRecordingInformation=function(t){return Ut(It("tse:GetRecordingInformation")({tse_RecordingToken:t})).map(Nt("tse:GetRecordingInformationResponse"))},t.GetMediaAttributes=function(t,e){return Ut(It("tse:GetMediaAttributes")({tse_Time:t,tse_RecordingTokens:e})).map(Nt("tse:GetMediaAttributesResponse"))},t.FindRecordings=function(t,e,n){return Ut(It("tse:FindRecordings")({tse_Scope:t,tse_KeepAliveTime:e,tse_MaxMatches:n})).map(Nt("tse:FindRecordingsResponse"))},t.GetRecordingSearchResults=function(t,e,n,o){return Ut(It("tse:GetRecordingSearchResults")({tse_SearchToken:t,tse_MinResults:e,tse_MaxResults:n,tse_WaitTime:o})).map(Nt("tse:GetRecordingSearchResultsResponse"))},t.FindEvents=function(t,e,n,o,r,i,s){return Ut(It("tse:FindEvents")({tse_StartPoint:t,tse_Scope:e,tse_SearchFilter:n,tse_IncludeStartState:o,tse_KeepAliveTime:r,tse_EndPoint:i,tse_MaxMatches:s})).map(Nt("tse:FindEventsResponse"))},t.GetEventSearchResults=function(t,e,n,o){return Ut(It("tse:GetEventSearchResults")({tse_SearchToken:t,tse_MinResults:e,tse_MaxResults:n,tse_WaitTime:o})).map(Nt("tse:GetEventSearchResultsResponse"))},t.FindPTZPosition=function(t,e,n,o,r,i){return Ut(It("tse:FindPTZPosition")({tse_StartPoint:t,tse_Scope:e,tse_SearchFilter:n,tse_KeepAliveTime:o,tse_EndPoint:r,tse_MaxMatches:i})).map(Nt("tse:FindPTZPositionResponse"))},t.GetPTZPositionSearchResults=function(t,e,n,o){return Ut(It("tse:GetPTZPositionSearchResults")({tse_SearchToken:t,tse_MinResults:e,tse_MaxResults:n,tse_WaitTime:o})).map(Nt("tse:GetPTZPositionSearchResultsResponse"))},t.GetSearchState=function(t){return Ut(It("tse:GetSearchState")({tse_SearchToken:t})).map(Nt("tse:GetSearchStateResponse"))},t.EndSearch=function(t){return Ut(It("tse:EndSearch")({tse_SearchToken:t})).map(Nt("tse:EndSearchResponse"))},t.FindMetadata=function(t,e,n,o,r,i){return Ut(It("tse:FindMetadata")({tse_StartPoint:t,tse_Scope:e,tse_MetadataFilter:n,tse_KeepAliveTime:o,tse_EndPoint:r,tse_MaxMatches:i})).map(Nt("tse:FindMetadataResponse"))},t.GetMetadataSearchResults=function(t,e,n,o){return Ut(It("tse:GetMetadataSearchResults")({tse_SearchToken:t,tse_MinResults:e,tse_MaxResults:n,tse_WaitTime:o})).map(Nt("tse:GetMetadataSearchResultsResponse"))},t.prototype.GetServiceCapabilities=function(){return t.GetServiceCapabilities().run(this.config)},t.prototype.GetRecordingSummary=function(){return t.GetRecordingSummary().run(this.config)},t.prototype.GetRecordingInformation=function(e){return t.GetRecordingInformation(e).run(this.config)},t.prototype.GetMediaAttributes=function(e,n){return t.GetMediaAttributes(e,n).run(this.config)},t.prototype.FindRecordings=function(e,n,o){return t.FindRecordings(e,n,o).run(this.config)},t.prototype.GetRecordingSearchResults=function(e,n,o,r){return t.GetRecordingSearchResults(e,n,o,r).run(this.config)},t.prototype.FindEvents=function(e,n,o,r,i,s,u){return t.FindEvents(e,n,o,r,i,s,u).run(this.config)},t.prototype.GetEventSearchResults=function(e,n,o,r){return t.GetEventSearchResults(e,n,o,r).run(this.config)},t.prototype.FindPTZPosition=function(e,n,o,r,i,s){return t.FindPTZPosition(e,n,o,r,i,s).run(this.config)},t.prototype.GetPTZPositionSearchResults=function(e,n,o,r){return t.GetPTZPositionSearchResults(e,n,o,r).run(this.config)},t.prototype.GetSearchState=function(e){return t.GetSearchState(e).run(this.config)},t.prototype.EndSearch=function(e){return t.EndSearch(e).run(this.config)},t.prototype.FindMetadata=function(e,n,o,r,i,s){return t.FindMetadata(e,n,o,r,i,s).run(this.config)},t.prototype.GetMetadataSearchResults=function(e,n,o,r){return t.GetMetadataSearchResults(e,n,o,r).run(this.config)},t}(),qt=function(){function t(t){this.config=t}return t.GetServiceCapabilities=function(){return Ut(It("tas:GetServiceCapabilities")({})).map(Nt("tas:GetServiceCapabilitiesResponse"))},t.CreateRSAKeyPair=function(){return Ut(It("tas:CreateRSAKeyPair")({})).map(Nt("tas:CreateRSAKeyPairResponse"))},t.UploadKeyPairInPKCS8=function(){return Ut(It("tas:UploadKeyPairInPKCS8")({})).map(Nt("tas:UploadKeyPairInPKCS8Response"))},t.UploadCertificateWithPrivateKeyInPKCS12=function(){return Ut(It("tas:UploadCertificateWithPrivateKeyInPKCS12")({})).map(Nt("tas:UploadCertificateWithPrivateKeyInPKCS12Response"))},t.GetKeyStatus=function(){return Ut(It("tas:GetKeyStatus")({})).map(Nt("tas:GetKeyStatusResponse"))},t.GetPrivateKeyStatus=function(){return Ut(It("tas:GetPrivateKeyStatus")({})).map(Nt("tas:GetPrivateKeyStatusResponse"))},t.GetAllKeys=function(){return Ut(It("tas:GetAllKeys")({})).map(Nt("tas:GetAllKeysResponse"))},t.DeleteKey=function(){return Ut(It("tas:DeleteKey")({})).map(Nt("tas:DeleteKeyResponse"))},t.CreatePKCS10CSR=function(){return Ut(It("tas:CreatePKCS10CSR")({})).map(Nt("tas:CreatePKCS10CSRResponse"))},t.CreateSelfSignedCertificate=function(){return Ut(It("tas:CreateSelfSignedCertificate")({})).map(Nt("tas:CreateSelfSignedCertificateResponse"))},t.UploadCertificate=function(){return Ut(It("tas:UploadCertificate")({})).map(Nt("tas:UploadCertificateResponse"))},t.GetCertificate=function(){return Ut(It("tas:GetCertificate")({})).map(Nt("tas:GetCertificateResponse"))},t.GetAllCertificates=function(){return Ut(It("tas:GetAllCertificates")({})).map(Nt("tas:GetAllCertificatesResponse"))},t.DeleteCertificate=function(){return Ut(It("tas:DeleteCertificate")({})).map(Nt("tas:DeleteCertificateResponse"))},t.CreateCertificationPath=function(){return Ut(It("tas:CreateCertificationPath")({})).map(Nt("tas:CreateCertificationPathResponse"))},t.GetCertificationPath=function(){return Ut(It("tas:GetCertificationPath")({})).map(Nt("tas:GetCertificationPathResponse"))},t.GetAllCertificationPaths=function(){return Ut(It("tas:GetAllCertificationPaths")({})).map(Nt("tas:GetAllCertificationPathsResponse"))},t.DeleteCertificationPath=function(){return Ut(It("tas:DeleteCertificationPath")({})).map(Nt("tas:DeleteCertificationPathResponse"))},t.UploadPassphrase=function(){return Ut(It("tas:UploadPassphrase")({})).map(Nt("tas:UploadPassphraseResponse"))},t.GetAllPassphrases=function(){return Ut(It("tas:GetAllPassphrases")({})).map(Nt("tas:GetAllPassphrasesResponse"))},t.DeletePassphrase=function(){return Ut(It("tas:DeletePassphrase")({})).map(Nt("tas:DeletePassphraseResponse"))},t.UploadCRL=function(){return Ut(It("tas:UploadCRL")({})).map(Nt("tas:UploadCRLResponse"))},t.GetCRL=function(){return Ut(It("tas:GetCRL")({})).map(Nt("tas:GetCRLResponse"))},t.GetAllCRLs=function(){return Ut(It("tas:GetAllCRLs")({})).map(Nt("tas:GetAllCRLsResponse"))},t.DeleteCRL=function(){return Ut(It("tas:DeleteCRL")({})).map(Nt("tas:DeleteCRLResponse"))},t.CreateCertPathValidationPolicy=function(){return Ut(It("tas:CreateCertPathValidationPolicy")({})).map(Nt("tas:CreateCertPathValidationPolicyResponse"))},t.GetCertPathValidationPolicy=function(){return Ut(It("tas:GetCertPathValidationPolicy")({})).map(Nt("tas:GetCertPathValidationPolicyResponse"))},t.GetAllCertPathValidationPolicies=function(){return Ut(It("tas:GetAllCertPathValidationPolicies")({})).map(Nt("tas:GetAllCertPathValidationPoliciesResponse"))},t.DeleteCertPathValidationPolicy=function(){return Ut(It("tas:DeleteCertPathValidationPolicy")({})).map(Nt("tas:DeleteCertPathValidationPolicyResponse"))},t.AddServerCertificateAssignment=function(){return Ut(It("tas:AddServerCertificateAssignment")({})).map(Nt("tas:AddServerCertificateAssignmentResponse"))},t.RemoveServerCertificateAssignment=function(){return Ut(It("tas:RemoveServerCertificateAssignment")({})).map(Nt("tas:RemoveServerCertificateAssignmentResponse"))},t.ReplaceServerCertificateAssignment=function(){return Ut(It("tas:ReplaceServerCertificateAssignment")({})).map(Nt("tas:ReplaceServerCertificateAssignmentResponse"))},t.SetEnabledTLSVersions=function(){return Ut(It("tas:SetEnabledTLSVersions")({})).map(Nt("tas:SetEnabledTLSVersionsResponse"))},t.GetEnabledTLSVersions=function(){return Ut(It("tas:GetEnabledTLSVersions")({})).map(Nt("tas:GetEnabledTLSVersionsResponse"))},t.GetAssignedServerCertificates=function(){return Ut(It("tas:GetAssignedServerCertificates")({})).map(Nt("tas:GetAssignedServerCertificatesResponse"))},t.SetClientAuthenticationRequired=function(){return Ut(It("tas:SetClientAuthenticationRequired")({})).map(Nt("tas:SetClientAuthenticationRequiredResponse"))},t.GetClientAuthenticationRequired=function(){return Ut(It("tas:GetClientAuthenticationRequired")({})).map(Nt("tas:GetClientAuthenticationRequiredResponse"))},t.SetCnMapsToUser=function(){return Ut(It("tas:SetCnMapsToUser")({})).map(Nt("tas:SetCnMapsToUserResponse"))},t.GetCnMapsToUser=function(){return Ut(It("tas:GetCnMapsToUser")({})).map(Nt("tas:GetCnMapsToUserResponse"))},t.AddCertPathValidationPolicyAssignment=function(){return Ut(It("tas:AddCertPathValidationPolicyAssignment")({})).map(Nt("tas:AddCertPathValidationPolicyAssignmentResponse"))},t.RemoveCertPathValidationPolicyAssignment=function(){return Ut(It("tas:RemoveCertPathValidationPolicyAssignment")({})).map(Nt("tas:RemoveCertPathValidationPolicyAssignmentResponse"))},t.ReplaceCertPathValidationPolicyAssignment=function(){return Ut(It("tas:ReplaceCertPathValidationPolicyAssignment")({})).map(Nt("tas:ReplaceCertPathValidationPolicyAssignmentResponse"))},t.GetAssignedCertPathValidationPolicies=function(){return Ut(It("tas:GetAssignedCertPathValidationPolicies")({})).map(Nt("tas:GetAssignedCertPathValidationPoliciesResponse"))},t.AddDot1XConfiguration=function(){return Ut(It("tas:AddDot1XConfiguration")({})).map(Nt("tas:AddDot1XConfigurationResponse"))},t.GetAllDot1XConfigurations=function(){return Ut(It("tas:GetAllDot1XConfigurations")({})).map(Nt("tas:GetAllDot1XConfigurationsResponse"))},t.GetDot1XConfiguration=function(){return Ut(It("tas:GetDot1XConfiguration")({})).map(Nt("tas:GetDot1XConfigurationResponse"))},t.DeleteDot1XConfiguration=function(){return Ut(It("tas:DeleteDot1XConfiguration")({})).map(Nt("tas:DeleteDot1XConfigurationResponse"))},t.SetNetworkInterfaceDot1XConfiguration=function(){return Ut(It("tas:SetNetworkInterfaceDot1XConfiguration")({})).map(Nt("tas:SetNetworkInterfaceDot1XConfigurationResponse"))},t.GetNetworkInterfaceDot1XConfiguration=function(){return Ut(It("tas:GetNetworkInterfaceDot1XConfiguration")({})).map(Nt("tas:GetNetworkInterfaceDot1XConfigurationResponse"))},t.DeleteNetworkInterfaceDot1XConfiguration=function(){return Ut(It("tas:DeleteNetworkInterfaceDot1XConfiguration")({})).map(Nt("tas:DeleteNetworkInterfaceDot1XConfigurationResponse"))},t.prototype.GetServiceCapabilities=function(){return t.GetServiceCapabilities().run(this.config)},t.prototype.CreateRSAKeyPair=function(){return t.CreateRSAKeyPair().run(this.config)},t.prototype.UploadKeyPairInPKCS8=function(){return t.UploadKeyPairInPKCS8().run(this.config)},t.prototype.UploadCertificateWithPrivateKeyInPKCS12=function(){return t.UploadCertificateWithPrivateKeyInPKCS12().run(this.config)},t.prototype.GetKeyStatus=function(){return t.GetKeyStatus().run(this.config)},t.prototype.GetPrivateKeyStatus=function(){return t.GetPrivateKeyStatus().run(this.config)},t.prototype.GetAllKeys=function(){return t.GetAllKeys().run(this.config)},t.prototype.DeleteKey=function(){return t.DeleteKey().run(this.config)},t.prototype.CreatePKCS10CSR=function(){return t.CreatePKCS10CSR().run(this.config)},t.prototype.CreateSelfSignedCertificate=function(){return t.CreateSelfSignedCertificate().run(this.config)},t.prototype.UploadCertificate=function(){return t.UploadCertificate().run(this.config)},t.prototype.GetCertificate=function(){return t.GetCertificate().run(this.config)},t.prototype.GetAllCertificates=function(){return t.GetAllCertificates().run(this.config)},t.prototype.DeleteCertificate=function(){return t.DeleteCertificate().run(this.config)},t.prototype.CreateCertificationPath=function(){return t.CreateCertificationPath().run(this.config)},t.prototype.GetCertificationPath=function(){return t.GetCertificationPath().run(this.config)},t.prototype.GetAllCertificationPaths=function(){return t.GetAllCertificationPaths().run(this.config)},t.prototype.DeleteCertificationPath=function(){return t.DeleteCertificationPath().run(this.config)},t.prototype.UploadPassphrase=function(){return t.UploadPassphrase().run(this.config)},t.prototype.GetAllPassphrases=function(){return t.GetAllPassphrases().run(this.config)},t.prototype.DeletePassphrase=function(){return t.DeletePassphrase().run(this.config)},t.prototype.UploadCRL=function(){return t.UploadCRL().run(this.config)},t.prototype.GetCRL=function(){return t.GetCRL().run(this.config)},t.prototype.GetAllCRLs=function(){return t.GetAllCRLs().run(this.config)},t.prototype.DeleteCRL=function(){return t.DeleteCRL().run(this.config)},t.prototype.CreateCertPathValidationPolicy=function(){return t.CreateCertPathValidationPolicy().run(this.config)},t.prototype.GetCertPathValidationPolicy=function(){return t.GetCertPathValidationPolicy().run(this.config)},t.prototype.GetAllCertPathValidationPolicies=function(){return t.GetAllCertPathValidationPolicies().run(this.config)},t.prototype.DeleteCertPathValidationPolicy=function(){return t.DeleteCertPathValidationPolicy().run(this.config)},t.prototype.AddServerCertificateAssignment=function(){return t.AddServerCertificateAssignment().run(this.config)},t.prototype.RemoveServerCertificateAssignment=function(){return t.RemoveServerCertificateAssignment().run(this.config)},t.prototype.ReplaceServerCertificateAssignment=function(){return t.ReplaceServerCertificateAssignment().run(this.config)},t.prototype.SetEnabledTLSVersions=function(){return t.SetEnabledTLSVersions().run(this.config)},t.prototype.GetEnabledTLSVersions=function(){return t.GetEnabledTLSVersions().run(this.config)},t.prototype.GetAssignedServerCertificates=function(){return t.GetAssignedServerCertificates().run(this.config)},t.prototype.SetClientAuthenticationRequired=function(){return t.SetClientAuthenticationRequired().run(this.config)},t.prototype.GetClientAuthenticationRequired=function(){return t.GetClientAuthenticationRequired().run(this.config)},t.prototype.SetCnMapsToUser=function(){return t.SetCnMapsToUser().run(this.config)},t.prototype.GetCnMapsToUser=function(){return t.GetCnMapsToUser().run(this.config)},t.prototype.AddCertPathValidationPolicyAssignment=function(){return t.AddCertPathValidationPolicyAssignment().run(this.config)},t.prototype.RemoveCertPathValidationPolicyAssignment=function(){return t.RemoveCertPathValidationPolicyAssignment().run(this.config)},t.prototype.ReplaceCertPathValidationPolicyAssignment=function(){return t.ReplaceCertPathValidationPolicyAssignment().run(this.config)},t.prototype.GetAssignedCertPathValidationPolicies=function(){return t.GetAssignedCertPathValidationPolicies().run(this.config)},t.prototype.AddDot1XConfiguration=function(){return t.AddDot1XConfiguration().run(this.config)},t.prototype.GetAllDot1XConfigurations=function(){return t.GetAllDot1XConfigurations().run(this.config)},t.prototype.GetDot1XConfiguration=function(){return t.GetDot1XConfiguration().run(this.config)},t.prototype.DeleteDot1XConfiguration=function(){return t.DeleteDot1XConfiguration().run(this.config)},t.prototype.SetNetworkInterfaceDot1XConfiguration=function(){return t.SetNetworkInterfaceDot1XConfiguration().run(this.config)},t.prototype.GetNetworkInterfaceDot1XConfiguration=function(){return t.GetNetworkInterfaceDot1XConfiguration().run(this.config)},t.prototype.DeleteNetworkInterfaceDot1XConfiguration=function(){return t.DeleteNetworkInterfaceDot1XConfiguration().run(this.config)},t}(),Qt=function(t){this.config=t,this.Event=new Ft(this.config),this.Device=new xt(this.config),this.Media=new zt(this.config),this.Analytics=new Lt(this.config),this.Display=new Ht(this.config),this.Imaging=new Bt(this.config),this.Provisioning=new Xt(this.config),this.PTZ=new Kt(this.config),this.Receiver=new Zt(this.config),this.Recording=new Jt(this.config),this.Replay=new Wt(this.config),this.Search=new jt(this.config),this.AdvancedSecurity=new qt(this.config)},Yt=function(t){return e.reader((function(n){var o={system:n,deviceUrl:t.deviceUrl,user:t.username&&t.password?e.maybe({username:t.username,password:t.password}):e.maybe()};return{api:new Qt(o)}}))},$t={"Content-Type":"application/soap+xml; charset=utf-8;"},te={parser:"undefined"!=typeof DOMParser?new DOMParser:{},nonce:function(t){return void 0===t&&(t=30),Array.from(function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var o=Array(t),r=0;for(e=0;e<n;e++)for(var i=arguments[e],s=0,u=i.length;s<u;s++,r++)o[r]=i[s];return o}(Array(t))).map((function(){return Math.random().toString(36)[3]})).join("")},digestSha1:function(t){return crypto.subtle.digest("SHA-1",(new TextEncoder).encode(t)).then((function(t){return Array.from(new Uint8Array(t)).map((function(t){return t.toString(16).padStart(2,"0")})).join("")}))},transport:function(t){return function(e){return r=fetch(e,function(t){return{method:"POST",body:t,headers:$t}}(t)),n.from(r).pipe(o.flatMap((function(t){return t.text().then((function(e){return{body:e,status:t.status,statusMessage:t.statusText}}))})));var r}},buffer:i.Buffer};t.DEFAULT_BROWSER_ENV=te,t.ManagedONVIFApi=Qt,t.ONVIFAdvancedSecurity=qt,t.ONVIFAnalytics=Lt,t.ONVIFDevice=xt,t.ONVIFDisplay=Ht,t.ONVIFEvent=Ft,t.ONVIFImaging=Bt,t.ONVIFMedia=zt,t.ONVIFPTZ=Kt,t.ONVIFProvisioning=Xt,t.ONVIFReceiver=Zt,t.ONVIFRecording=Jt,t.ONVIFReplay=Wt,t.ONVIFSearch=jt,t.createManagedDevice=Yt,t.createManagedDeviceInBrowser=function(t){return Yt(t).run(te)},Object.defineProperty(t,"__esModule",{value:!0})}));