@wandelbots/wandelbots-js-react-components 3.4.0-pr.feat-yaskawa-gp200s.437.5d50e5b → 3.4.0-pr.feat-add-yaskawa-gp200s.438.0503e4b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -61
- package/dist/auth0-spa-js.production.esm-1QXzndwB.js +950 -0
- package/dist/auth0-spa-js.production.esm-1QXzndwB.js.map +1 -0
- package/dist/auth0-spa-js.production.esm-BLRAk7Yh.cjs +5 -0
- package/dist/auth0-spa-js.production.esm-BLRAk7Yh.cjs.map +1 -0
- package/dist/components/3d-viewport/CoordinateSystemTransform.d.ts +1 -1
- package/dist/components/3d-viewport/CoordinateSystemTransform.d.ts.map +1 -1
- package/dist/components/3d-viewport/SafetyZonesRenderer.d.ts.map +1 -1
- package/dist/components/3d-viewport/collider/ColliderCollection.d.ts +1 -1
- package/dist/components/3d-viewport/collider/ColliderCollection.d.ts.map +1 -1
- package/dist/components/3d-viewport/collider/ColliderElement.d.ts +1 -1
- package/dist/components/3d-viewport/collider/ColliderElement.d.ts.map +1 -1
- package/dist/components/3d-viewport/collider/CollisionSceneRenderer.d.ts +1 -1
- package/dist/components/3d-viewport/collider/CollisionSceneRenderer.d.ts.map +1 -1
- package/dist/components/3d-viewport/collider/colliderShapeToBufferGeometry.d.ts +1 -1
- package/dist/components/3d-viewport/collider/colliderShapeToBufferGeometry.d.ts.map +1 -1
- package/dist/components/ProgramStateIndicator.d.ts +3 -3
- package/dist/components/ProgramStateIndicator.d.ts.map +1 -1
- package/dist/components/RobotCard.d.ts +3 -4
- package/dist/components/RobotCard.d.ts.map +1 -1
- package/dist/components/jogging/JoggingCartesianTab.d.ts.map +1 -1
- package/dist/components/jogging/JoggingOptions.d.ts.map +1 -1
- package/dist/components/jogging/JoggingPanel.d.ts +1 -1
- package/dist/components/jogging/JoggingPanel.d.ts.map +1 -1
- package/dist/components/jogging/JoggingStore.d.ts +5 -10
- package/dist/components/jogging/JoggingStore.d.ts.map +1 -1
- package/dist/components/jogging/PoseCartesianValues.d.ts +2 -2
- package/dist/components/jogging/PoseCartesianValues.d.ts.map +1 -1
- package/dist/components/jogging/PoseJointValues.d.ts +2 -1
- package/dist/components/jogging/PoseJointValues.d.ts.map +1 -1
- package/dist/components/robots/DHRobot.d.ts.map +1 -1
- package/dist/components/robots/Robot.d.ts +1 -1
- package/dist/components/robots/Robot.d.ts.map +1 -1
- package/dist/components/robots/RobotAnimator.d.ts +2 -2
- package/dist/components/robots/RobotAnimator.d.ts.map +1 -1
- package/dist/components/robots/SupportedRobot.d.ts +3 -3
- package/dist/components/robots/SupportedRobot.d.ts.map +1 -1
- package/dist/components/robots/manufacturerHomePositions.d.ts +1 -1
- package/dist/components/robots/manufacturerHomePositions.d.ts.map +1 -1
- package/dist/components/safetyBar/ControllerTypeIndicator.d.ts.map +1 -1
- package/dist/components/safetyBar/OperationModeIndicator.d.ts +2 -2
- package/dist/components/safetyBar/OperationModeIndicator.d.ts.map +1 -1
- package/dist/components/safetyBar/SafetyBar.d.ts +3 -3
- package/dist/components/safetyBar/SafetyBar.d.ts.map +1 -1
- package/dist/components/safetyBar/SafetyStateIndicator.d.ts +2 -2
- package/dist/components/safetyBar/SafetyStateIndicator.d.ts.map +1 -1
- package/dist/components/utils/errorHandling.d.ts.map +1 -1
- package/dist/index.cjs +155 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +39 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +34927 -0
- package/dist/index.js.map +1 -0
- package/package.json +21 -49
- package/src/components/3d-viewport/CoordinateSystemTransform.tsx +1 -1
- package/src/components/3d-viewport/SafetyZonesRenderer.tsx +2 -1
- package/src/components/3d-viewport/collider/ColliderCollection.tsx +1 -1
- package/src/components/3d-viewport/collider/ColliderElement.tsx +1 -1
- package/src/components/3d-viewport/collider/CollisionSceneRenderer.tsx +1 -1
- package/src/components/3d-viewport/collider/colliderShapeToBufferGeometry.ts +1 -1
- package/src/components/AppHeader.md +1 -1
- package/src/components/ProgramStateIndicator.tsx +6 -3
- package/src/components/RobotCard.tsx +7 -4
- package/src/components/jogging/JoggingCartesianTab.tsx +11 -13
- package/src/components/jogging/JoggingJointLimitDetector.tsx +2 -2
- package/src/components/jogging/JoggingJointTab.tsx +4 -4
- package/src/components/jogging/JoggingOptions.tsx +5 -6
- package/src/components/jogging/JoggingPanel.tsx +3 -6
- package/src/components/jogging/JoggingStore.ts +39 -66
- package/src/components/jogging/PoseCartesianValues.tsx +4 -3
- package/src/components/jogging/PoseJointValues.tsx +4 -3
- package/src/components/robots/DHRobot.tsx +3 -2
- package/src/components/robots/Robot.tsx +1 -1
- package/src/components/robots/RobotAnimator.test.tsx +22 -7
- package/src/components/robots/RobotAnimator.tsx +13 -8
- package/src/components/robots/SupportedRobot.tsx +6 -3
- package/src/components/robots/manufacturerHomePositions.ts +1 -1
- package/src/components/safetyBar/ControllerTypeIndicator.tsx +2 -4
- package/src/components/safetyBar/OperationModeIndicator.tsx +5 -7
- package/src/components/safetyBar/SafetyBar.tsx +6 -3
- package/src/components/safetyBar/SafetyStateIndicator.tsx +7 -9
- package/src/components/utils/errorHandling.ts +0 -4
- package/src/i18n/locales/de/translations.json +0 -3
- package/src/i18n/locales/en/translations.json +0 -3
- package/src/index.ts +43 -4
- package/dist/3d.cjs.js +0 -2
- package/dist/3d.cjs.js.map +0 -1
- package/dist/3d.d.ts +0 -11
- package/dist/3d.d.ts.map +0 -1
- package/dist/3d.es.js +0 -16
- package/dist/3d.es.js.map +0 -1
- package/dist/LoadingCover-Dr9hDTku.js +0 -87
- package/dist/LoadingCover-Dr9hDTku.js.map +0 -1
- package/dist/LoadingCover-r2yhJZF9.cjs +0 -2
- package/dist/LoadingCover-r2yhJZF9.cjs.map +0 -1
- package/dist/WandelscriptEditor-Dj7TBCkF.cjs +0 -2
- package/dist/WandelscriptEditor-Dj7TBCkF.cjs.map +0 -1
- package/dist/WandelscriptEditor-DnJvITTA.js +0 -140
- package/dist/WandelscriptEditor-DnJvITTA.js.map +0 -1
- package/dist/auth0-spa-js.production.esm-9WdmjTxR.js +0 -1429
- package/dist/auth0-spa-js.production.esm-9WdmjTxR.js.map +0 -1
- package/dist/auth0-spa-js.production.esm-BcLLh1tx.cjs +0 -5
- package/dist/auth0-spa-js.production.esm-BcLLh1tx.cjs.map +0 -1
- package/dist/components/jogging/JoggingBlocked.d.ts +0 -7
- package/dist/components/jogging/JoggingBlocked.d.ts.map +0 -1
- package/dist/components/utils/errorHandling.test.d.ts +0 -2
- package/dist/components/utils/errorHandling.test.d.ts.map +0 -1
- package/dist/core.cjs.js +0 -2
- package/dist/core.cjs.js.map +0 -1
- package/dist/core.d.ts +0 -33
- package/dist/core.d.ts.map +0 -1
- package/dist/core.es.js +0 -54
- package/dist/core.es.js.map +0 -1
- package/dist/index-CAib4NKw.js +0 -2261
- package/dist/index-CAib4NKw.js.map +0 -1
- package/dist/index-CqMZL0FV.cjs +0 -2
- package/dist/index-CqMZL0FV.cjs.map +0 -1
- package/dist/index-CxasuX80.js +0 -5212
- package/dist/index-CxasuX80.js.map +0 -1
- package/dist/index-DxwppshT.cjs +0 -29
- package/dist/index-DxwppshT.cjs.map +0 -1
- package/dist/index.cjs.js +0 -2
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.es.js +0 -69
- package/dist/index.es.js.map +0 -1
- package/dist/lib/ConnectedMotionGroup.d.ts +0 -90
- package/dist/lib/ConnectedMotionGroup.d.ts.map +0 -1
- package/dist/lib/JoggerConnection.d.ts +0 -113
- package/dist/lib/JoggerConnection.d.ts.map +0 -1
- package/dist/lib/JoggerConnection.test.d.ts +0 -2
- package/dist/lib/JoggerConnection.test.d.ts.map +0 -1
- package/dist/lib/MotionStreamConnection.d.ts +0 -24
- package/dist/lib/MotionStreamConnection.d.ts.map +0 -1
- package/dist/lib/MotionStreamConnection.test.d.ts +0 -2
- package/dist/lib/MotionStreamConnection.test.d.ts.map +0 -1
- package/dist/lib/motionStateUpdate.d.ts +0 -7
- package/dist/lib/motionStateUpdate.d.ts.map +0 -1
- package/dist/lib/motionStateUpdate.test.d.ts +0 -2
- package/dist/lib/motionStateUpdate.test.d.ts.map +0 -1
- package/dist/manufacturerHomePositions-Ca80ycLi.cjs +0 -2
- package/dist/manufacturerHomePositions-Ca80ycLi.cjs.map +0 -1
- package/dist/manufacturerHomePositions-CgaG5vaK.js +0 -976
- package/dist/manufacturerHomePositions-CgaG5vaK.js.map +0 -1
- package/dist/theming-BQcKj8Gp.cjs +0 -133
- package/dist/theming-BQcKj8Gp.cjs.map +0 -1
- package/dist/theming-Bafjg0Wg.js +0 -23460
- package/dist/theming-Bafjg0Wg.js.map +0 -1
- package/dist/wandelscript.cjs.js +0 -2
- package/dist/wandelscript.cjs.js.map +0 -1
- package/dist/wandelscript.d.ts +0 -2
- package/dist/wandelscript.d.ts.map +0 -1
- package/dist/wandelscript.es.js +0 -5
- package/dist/wandelscript.es.js.map +0 -1
- package/src/3d.ts +0 -15
- package/src/components/jogging/JoggingBlocked.tsx +0 -37
- package/src/components/utils/errorHandling.test.ts +0 -41
- package/src/core.ts +0 -33
- package/src/lib/ConnectedMotionGroup.ts +0 -444
- package/src/lib/JoggerConnection.test.ts +0 -120
- package/src/lib/JoggerConnection.ts +0 -674
- package/src/lib/MotionStreamConnection.test.ts +0 -23
- package/src/lib/MotionStreamConnection.ts +0 -189
- package/src/lib/motionStateUpdate.test.ts +0 -28
- package/src/lib/motionStateUpdate.ts +0 -117
- package/src/wandelscript.ts +0 -2
package/dist/index-CqMZL0FV.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const O=require("./index-DxwppshT.cjs"),F=require("@mui/material"),f=require("mobx-react-lite"),ee=require("react-i18next"),H=require("@mui/icons-material"),te=require("mobx"),N=require("react");var j=(e=>(e.IDLE="idle",e.PREPARING="preparing",e.STARTING="starting",e.RUNNING="running",e.PAUSING="pausing",e.PAUSED="paused",e.STOPPING="stopping",e.COMPLETED="completed",e.FAILED="failed",e.STOPPED="stopped",e.ERROR="error",e))(j||{});const se=O.externalizeComponent(f.observer(({state:e,onRun:r,onPause:t,onStop:s,onReset:c,requiresManualReset:n=!1,variant:l="with_pause",className:a})=>{const o=F.useTheme(),{t:i}=ee.useTranslation(),p=()=>{const y={run:{enabled:e==="idle"||e==="stopped"||e==="paused"||e==="completed"||e==="failed"||e==="error",label:i(e==="paused"?"ProgramControl.Resume.bt":e==="error"||e==="failed"?"ProgramControl.Retry.bt":"ProgramControl.Start.bt"),color:o.palette.success.main,onClick:r},pause:{enabled:e==="running",label:i("ProgramControl.Pause.bt"),color:"#FFFFFF33",onClick:t||(()=>{})},stop:{enabled:e==="preparing"||e==="starting"||e==="running"||e==="pausing"||e==="paused",label:i("ProgramControl.Stop.bt"),color:o.palette.error.main,onClick:s}};return l==="without_pause"?[y.run,y.stop]:[y.run,y.pause,y.stop]},d=y=>{const v={sx:{fontSize:"55px"}};if(l==="without_pause")return y===0?O.jsxRuntimeExports.jsx(H.PlayArrow,{...v}):O.jsxRuntimeExports.jsx(H.Stop,{...v});switch(y){case 0:return O.jsxRuntimeExports.jsx(H.PlayArrow,{...v});case 1:return O.jsxRuntimeExports.jsx(H.Pause,{...v});case 2:return O.jsxRuntimeExports.jsx(H.Stop,{...v});default:return null}},V=p();return O.jsxRuntimeExports.jsx(F.Box,{className:a,sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:2},children:O.jsxRuntimeExports.jsx(F.Box,{sx:{display:"flex",gap:"40px",flexWrap:"wrap",justifyContent:"center",alignItems:"center"},children:V.map((y,v)=>O.jsxRuntimeExports.jsxs(F.Box,{sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:1},children:[O.jsxRuntimeExports.jsx(F.Button,{variant:"contained",disabled:!y.enabled||e==="preparing"||e==="starting"||e==="pausing"||e==="stopping"&&!n,onClick:y.onClick,sx:{width:"88px",height:"88px",borderRadius:"88px",backgroundColor:y.color,opacity:y.enabled&&e!=="preparing"&&e!=="starting"&&e!=="pausing"&&!(e==="stopping"&&!n)?1:.3,"&:hover":{backgroundColor:y.color,opacity:y.enabled&&e!=="preparing"&&e!=="starting"&&e!=="pausing"&&!(e==="stopping"&&!n)?.8:.3},"&:disabled":{backgroundColor:y.color,opacity:.3},minWidth:"88px",flexShrink:0},children:d(v)}),O.jsxRuntimeExports.jsx(F.Typography,{variant:"body1",sx:{color:y.enabled&&e!=="preparing"&&e!=="starting"&&e!=="pausing"&&!(e==="stopping"&&!n)?y.color:o.palette.text.disabled,textAlign:"center",opacity:y.enabled&&e!=="preparing"&&e!=="starting"&&e!=="pausing"&&!(e==="stopping"&&!n)?1:.3},children:y.label})]},y.label))})})})),ae=O.externalizeComponent(f.observer(({programState:e,safetyState:r,operationMode:t,className:s})=>{const c=F.useTheme(),{t:n}=ee.useTranslation(),l=()=>{if(r==="SAFETY_STATE_DEVICE_EMERGENCY_STOP"||r==="SAFETY_STATE_ROBOT_EMERGENCY_STOP"||r==="SAFETY_STATE_STOP_0"||r==="SAFETY_STATE_STOP_1"||r==="SAFETY_STATE_STOP_2"||r==="SAFETY_STATE_PROTECTIVE_STOP"||r==="SAFETY_STATE_STOP"||r==="SAFETY_STATE_REDUCED"||r==="SAFETY_STATE_MASTERING"||r==="SAFETY_STATE_CONFIRM_SAFETY"||r==="SAFETY_STATE_OPERATOR_SAFETY"||r==="SAFETY_STATE_RECOVERY"||r==="SAFETY_STATE_VIOLATION")return{label:n("ProgramStateIndicator.EStop.lb"),color:c.palette.error.main};if(r==="SAFETY_STATE_UNKNOWN"||r==="SAFETY_STATE_FAULT")return{label:n("ProgramStateIndicator.Error.lb"),color:c.palette.error.main};if(r==="SAFETY_STATE_NORMAL")switch(e){case j.PREPARING:return{label:n("ProgramStateIndicator.Preparing.lb"),color:c.palette.warning.main};case j.STARTING:return{label:n("ProgramStateIndicator.Starting.lb"),color:c.palette.warning.main};case j.RUNNING:return{label:n("ProgramStateIndicator.Running.lb"),color:c.palette.success.main};case j.PAUSING:return{label:n("ProgramStateIndicator.Pausing.lb"),color:c.palette.warning.main};case j.PAUSED:return{label:n("ProgramStateIndicator.Paused.lb"),color:c.palette.grey[600]};case j.STOPPING:return{label:n("ProgramStateIndicator.Stopping.lb"),color:c.palette.warning.main};case j.COMPLETED:return{label:n("ProgramStateIndicator.Completed.lb"),color:c.palette.success.main};case j.FAILED:return{label:n("ProgramStateIndicator.Failed.lb"),color:c.palette.error.main};case j.STOPPED:return{label:n("ProgramStateIndicator.Stopped.lb"),color:c.palette.warning.main};case j.ERROR:return{label:n("ProgramStateIndicator.Error.lb"),color:c.palette.error.main};case j.IDLE:default:return{label:n("ProgramStateIndicator.Ready.lb"),color:c.palette.success.main}}return{label:n("ProgramStateIndicator.Idle.lb"),color:c.palette.grey[600]}},{label:a,color:o}=l(),p=`${a} / ${(()=>{switch(t){case"OPERATION_MODE_AUTO":return n("ProgramStateIndicator.Auto.lb");case"OPERATION_MODE_MANUAL":return n("ProgramStateIndicator.Manual.lb");case"OPERATION_MODE_MANUAL_T1":return n("ProgramStateIndicator.ManualT1.lb");case"OPERATION_MODE_MANUAL_T2":return n("ProgramStateIndicator.ManualT2.lb");default:return n("ProgramStateIndicator.Auto.lb")}})()}`;return O.jsxRuntimeExports.jsx(F.Chip,{className:s,label:O.jsxRuntimeExports.jsx(F.Typography,{variant:"body2",sx:{fontSize:"0.75rem",lineHeight:1.2},children:p}),variant:"filled",sx:{backgroundColor:o,color:c.palette.getContrastText(o),fontWeight:500,height:"auto","& .MuiChip-label":{paddingX:1.5,paddingY:.5}}})}));function J(e){N.useEffect(e,[])}function le(e){J(()=>te.autorun(e))}function oe(e,r,t){J(()=>te.reaction(e,r,t))}function ne(e){return J(()=>{let r;function t(){e(),r=requestAnimationFrame(t)}return r=requestAnimationFrame(t),()=>{cancelAnimationFrame(r)}})}class re{constructor(r=[],t={}){this.currentValues=[],this.targetValues=[],this.previousTargetValues=[],this.targetUpdateTime=0,this.animationId=null,this.updateCount=0,this.velocities=[],this.animate=()=>{this.update(.016666666666666666)?this.animationId=null:this.animationId=requestAnimationFrame(this.animate)},this.options={tension:120,friction:20,threshold:.001,onChange:()=>{},onComplete:()=>{},...t},this.currentValues=[...r],this.targetValues=[...r],this.previousTargetValues=[...r],this.velocities=new Array(r.length).fill(0),this.targetUpdateTime=performance.now(),this.updateCount=0}update(r=1/60){let t=!1,s=!0;this.updateCount++;const c=Math.min(r,1/15),n=this.updateCount===1?.7:1;for(let l=0;l<this.currentValues.length;l++){const a=this.currentValues[l],o=this.targetValues[l],i=this.velocities[l],p=o-a,d=p*this.options.tension*n,V=i*this.options.friction,y=d-V,v=i+y*c,q=a+v*c;Math.abs(p)<this.options.threshold&&Math.abs(v)<this.options.threshold*10?this.currentValues[l]!==o&&(this.currentValues[l]=o,this.velocities[l]=0,t=!0):(s=!1,this.currentValues[l]=q,this.velocities[l]=v,t=!0)}return t&&this.options.onChange(this.currentValues),s&&this.options.onComplete(this.currentValues),s}setTarget(r){const t=performance.now(),s=t-this.targetUpdateTime;this.previousTargetValues=[...this.targetValues],this.targetValues=[...r],this.targetUpdateTime=t,this.updateCount=0;const c=this.previousTargetValues.every((n,l)=>n===this.currentValues[l]);if(s<8&&s>0&&this.previousTargetValues.length>0&&!c){const n=Math.min(s/8,1);for(let l=0;l<this.targetValues.length;l++){const a=this.previousTargetValues[l]||0,o=r[l]||0;Math.abs(o-a)>.1&&(this.targetValues[l]=a+(o-a)*n)}}for(;this.currentValues.length<r.length;)this.currentValues.push(r[this.currentValues.length]),this.velocities.push(0);this.currentValues.length>r.length&&(this.currentValues=this.currentValues.slice(0,r.length),this.velocities=this.velocities.slice(0,r.length))}getCurrentValues(){return[...this.currentValues]}getValue(r){return this.currentValues[r]??0}isInterpolating(){return this.animationId!==null}stop(){this.animationId!==null&&(cancelAnimationFrame(this.animationId),this.animationId=null)}setImmediate(r){this.stop(),this.currentValues=[...r],this.targetValues=[...r],this.previousTargetValues=[...r],this.velocities=new Array(r.length).fill(0),this.targetUpdateTime=performance.now(),this.updateCount=0,this.options.onChange(this.currentValues)}updateOptions(r){this.options={...this.options,...r}}startAutoInterpolation(){this.startInterpolation()}destroy(){this.stop()}startInterpolation(){this.animationId===null&&this.animate()}}function ce(e=[],r={}){const t=N.useRef(null);return t.current||(t.current=new re(e,r)),N.useEffect(()=>{var s;(s=t.current)==null||s.updateOptions(r)},[r]),N.useEffect(()=>()=>{var s;(s=t.current)==null||s.destroy()},[]),[t.current]}function _(e){"@babel/helpers - typeof";return _=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_(e)}function ie(e,r){if(_(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var s=t.call(e,r);if(_(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function pe(e){var r=ie(e,"string");return _(r)=="symbol"?r:r+""}function de(e,r,t){return(r=pe(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}const m="/api/v2".replace(/\/+$/,""),$={csv:","};var R=class{constructor(e,r=m,t=O.axios){this.basePath=r,this.axios=t,de(this,"configuration",void 0),e&&(this.configuration=e,this.basePath=e.basePath??r)}},he=class extends Error{constructor(e,r){super(r),this.field=e,this.name="RequiredError"}};const C={},S="https://example.com",h=function(e,r,t){if(t==null)throw new he(r,`Required parameter ${r} was null or undefined when calling ${e}.`)},u=function(e,r){r&&(r.username||r.password)&&(e.auth={username:r.username,password:r.password})},P=async function(e,r){r&&r.accessToken&&(e.Authorization="Bearer "+(typeof r.accessToken=="function"?await r.accessToken():await r.accessToken))};function W(e,r,t=""){r!=null&&(typeof r=="object"?Array.isArray(r)?r.forEach(s=>W(e,s,t)):Object.keys(r).forEach(s=>W(e,r[s],`${t}${t!==""?".":""}${s}`)):e.has(t)?e.append(t,r):e.set(t,r))}const b=function(e,...r){const t=new URLSearchParams(e.search);W(t,r),e.search=t.toString()},A=function(e,r,t){const s=typeof e!="string";return(s&&t&&t.isJsonMime?t.isJsonMime(r.headers["Content-Type"]):s)?JSON.stringify(e!==void 0?e:{}):e||""},x=function(e){return e.pathname+e.search+e.hash},I=function(e,r,t,s){return(c=r,n=t)=>{const l={...e.options,url:(c.defaults.baseURL?"":(s==null?void 0:s.basePath)??n)+e.url};return c.request(l)}},Ve={Abb:"abb",Fanuc:"fanuc",Kuka:"kuka",Universalrobots:"universalrobots",Yaskawa:"yaskawa"},Oe=function(e){return{addApp:async(r,t,s,c={})=>{h("addApp","cell",r),h("addApp","app",t);const n="/cells/{cell}/apps".replace("{cell}",encodeURIComponent(String(r))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"POST",...a,...c},i={},p={};u(o,e),await P(i,e),s!==void 0&&(p.completion_timeout=s),i["Content-Type"]="application/json",b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},o.data=A(t,o,e),{url:x(l),options:o}},clearApps:async(r,t,s={})=>{h("clearApps","cell",r);const c="/cells/{cell}/apps".replace("{cell}",encodeURIComponent(String(r))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"DELETE",...l,...s},o={},i={};u(a,e),await P(o,e),t!==void 0&&(i.completion_timeout=t),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},deleteApp:async(r,t,s,c={})=>{h("deleteApp","cell",r),h("deleteApp","app",t);const n="/cells/{cell}/apps/{app}".replace("{cell}",encodeURIComponent(String(r))).replace("{app}",encodeURIComponent(String(t))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"DELETE",...a,...c},i={},p={};u(o,e),await P(i,e),s!==void 0&&(p.completion_timeout=s),b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},{url:x(l),options:o}},getApp:async(r,t,s={})=>{h("getApp","cell",r),h("getApp","app",t);const c="/cells/{cell}/apps/{app}".replace("{cell}",encodeURIComponent(String(r))).replace("{app}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"GET",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},listApps:async(r,t={})=>{h("listApps","cell",r);const s="/cells/{cell}/apps".replace("{cell}",encodeURIComponent(String(r))),c=new URL(s,S);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...t},a={},o={};u(l,e),await P(a,e),b(c,o);let i=n&&n.headers?n.headers:{};return l.headers={...a,...i,...t.headers},{url:x(c),options:l}},updateApp:async(r,t,s,c,n={})=>{h("updateApp","cell",r),h("updateApp","app",t),h("updateApp","app2",s);const l="/cells/{cell}/apps/{app}".replace("{cell}",encodeURIComponent(String(r))).replace("{app}",encodeURIComponent(String(t))),a=new URL(l,S);let o;e&&(o=e.baseOptions);const i={method:"PUT",...o,...n},p={},d={};u(i,e),await P(p,e),c!==void 0&&(d.completion_timeout=c),p["Content-Type"]="application/json",b(a,d);let V=o&&o.headers?o.headers:{};return i.headers={...p,...V,...n.headers},i.data=A(s,i,e),{url:x(a),options:i}}}},L=function(e){const r=Oe(e);return{async addApp(t,s,c,n){var i,p;const l=await r.addApp(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["ApplicationApi.addApp"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async clearApps(t,s,c){var o,i;const n=await r.clearApps(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["ApplicationApi.clearApps"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async deleteApp(t,s,c,n){var i,p;const l=await r.deleteApp(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["ApplicationApi.deleteApp"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async getApp(t,s,c){var o,i;const n=await r.getApp(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["ApplicationApi.getApp"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async listApps(t,s){var a,o;const c=await r.listApps(t,s),n=(e==null?void 0:e.serverIndex)??0,l=(o=(a=C["ApplicationApi.listApps"])==null?void 0:a[n])==null?void 0:o.url;return(i,p)=>I(c,O.axios,m,e)(i,l||p)},async updateApp(t,s,c,n,l){var p,d;const a=await r.updateApp(t,s,c,n,l),o=(e==null?void 0:e.serverIndex)??0,i=(d=(p=C["ApplicationApi.updateApp"])==null?void 0:p[o])==null?void 0:d.url;return(V,y)=>I(a,O.axios,m,e)(V,i||y)}}};var me=class extends R{addApp(e,r,t,s){return L(this.configuration).addApp(e,r,t,s).then(c=>c(this.axios,this.basePath))}clearApps(e,r,t){return L(this.configuration).clearApps(e,r,t).then(s=>s(this.axios,this.basePath))}deleteApp(e,r,t,s){return L(this.configuration).deleteApp(e,r,t,s).then(c=>c(this.axios,this.basePath))}getApp(e,r,t){return L(this.configuration).getApp(e,r,t).then(s=>s(this.axios,this.basePath))}listApps(e,r){return L(this.configuration).listApps(e,r).then(t=>t(this.axios,this.basePath))}updateApp(e,r,t,s,c){return L(this.configuration).updateApp(e,r,t,s,c).then(n=>n(this.axios,this.basePath))}};const Ce=function(e){return{addBusIOService:async(r,t,s,c={})=>{h("addBusIOService","cell",r),h("addBusIOService","busIOType",t);const n="/cells/{cell}/bus-ios".replace("{cell}",encodeURIComponent(String(r))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"POST",...a,...c},i={},p={};u(o,e),await P(i,e),s!==void 0&&(p.completion_timeout=s),i["Content-Type"]="application/json",b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},o.data=A(t,o,e),{url:x(l),options:o}},addModbusIO:async(r,t,s,c={})=>{h("addModbusIO","cell",r),h("addModbusIO","io",t),h("addModbusIO","modbusIOData",s);const n="/cells/{cell}/bus-ios/modbus/ios/{io}".replace("{cell}",encodeURIComponent(String(r))).replace("{io}",encodeURIComponent(String(t))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"PUT",...a,...c},i={},p={};u(o,e),await P(i,e),i["Content-Type"]="application/json",b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},o.data=A(s,o,e),{url:x(l),options:o}},addProfinetIO:async(r,t,s,c={})=>{h("addProfinetIO","cell",r),h("addProfinetIO","io",t),h("addProfinetIO","profinetIOData",s);const n="/cells/{cell}/bus-ios/profinet/ios/{io}".replace("{cell}",encodeURIComponent(String(r))).replace("{io}",encodeURIComponent(String(t))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"PUT",...a,...c},i={},p={};u(o,e),await P(i,e),i["Content-Type"]="application/json",b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},o.data=A(s,o,e),{url:x(l),options:o}},clearBusIOService:async(r,t,s={})=>{h("clearBusIOService","cell",r);const c="/cells/{cell}/bus-ios".replace("{cell}",encodeURIComponent(String(r))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"DELETE",...l,...s},o={},i={};u(a,e),await P(o,e),t!==void 0&&(i.completion_timeout=t),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},deleteModbusIO:async(r,t,s={})=>{h("deleteModbusIO","cell",r),h("deleteModbusIO","io",t);const c="/cells/{cell}/bus-ios/modbus/ios/{io}".replace("{cell}",encodeURIComponent(String(r))).replace("{io}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"DELETE",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},deleteProfinetIO:async(r,t,s={})=>{h("deleteProfinetIO","cell",r),h("deleteProfinetIO","io",t);const c="/cells/{cell}/bus-ios/profinet/ios/{io}".replace("{cell}",encodeURIComponent(String(r))).replace("{io}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"DELETE",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},getBusIOService:async(r,t={})=>{h("getBusIOService","cell",r);const s="/cells/{cell}/bus-ios".replace("{cell}",encodeURIComponent(String(r))),c=new URL(s,S);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...t},a={},o={};u(l,e),await P(a,e),b(c,o);let i=n&&n.headers?n.headers:{};return l.headers={...a,...i,...t.headers},{url:x(c),options:l}},getBusIOState:async(r,t={})=>{h("getBusIOState","cell",r);const s="/cells/{cell}/bus-ios/state".replace("{cell}",encodeURIComponent(String(r))),c=new URL(s,S);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...t},a={},o={};u(l,e),await P(a,e),b(c,o);let i=n&&n.headers?n.headers:{};return l.headers={...a,...i,...t.headers},{url:x(c),options:l}},getBusIOValues:async(r,t,s={})=>{h("getBusIOValues","cell",r);const c="/cells/{cell}/bus-ios/ios/values".replace("{cell}",encodeURIComponent(String(r))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"GET",...l,...s},o={},i={};u(a,e),await P(o,e),t&&(i.ios=t),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},getProfinetDescription:async(r,t={})=>{h("getProfinetDescription","cell",r);const s="/cells/{cell}/bus-ios/profinet/description".replace("{cell}",encodeURIComponent(String(r))),c=new URL(s,S);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...t},a={},o={};u(l,e),await P(a,e),b(c,o);let i=n&&n.headers?n.headers:{};return l.headers={...a,...i,...t.headers},{url:x(c),options:l}},getProfinetIOsFromFile:async(r,t,s,c={})=>{h("getProfinetIOsFromFile","cell",r);const n="/cells/{cell}/bus-ios/profinet/iofile".replace("{cell}",encodeURIComponent(String(r))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"GET",...a,...c},i={},p={};u(o,e),await P(i,e),t!==void 0&&(p.input_offset=t),s!==void 0&&(p.output_offset=s),b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},{url:x(l),options:o}},listBusIODescriptions:async(r,t={})=>{h("listBusIODescriptions","cell",r);const s="/cells/{cell}/bus-ios/ios/description".replace("{cell}",encodeURIComponent(String(r))),c=new URL(s,S);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...t},a={},o={};u(l,e),await P(a,e),b(c,o);let i=n&&n.headers?n.headers:{};return l.headers={...a,...i,...t.headers},{url:x(c),options:l}},listModbusIOs:async(r,t={})=>{h("listModbusIOs","cell",r);const s="/cells/{cell}/bus-ios/modbus/ios".replace("{cell}",encodeURIComponent(String(r))),c=new URL(s,S);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...t},a={},o={};u(l,e),await P(a,e),b(c,o);let i=n&&n.headers?n.headers:{};return l.headers={...a,...i,...t.headers},{url:x(c),options:l}},listProfinetIOs:async(r,t={})=>{h("listProfinetIOs","cell",r);const s="/cells/{cell}/bus-ios/profinet/ios".replace("{cell}",encodeURIComponent(String(r))),c=new URL(s,S);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...t},a={},o={};u(l,e),await P(a,e),b(c,o);let i=n&&n.headers?n.headers:{};return l.headers={...a,...i,...t.headers},{url:x(c),options:l}},setBusIOValues:async(r,t,s={})=>{h("setBusIOValues","cell",r),h("setBusIOValues","iOValue",t);const c="/cells/{cell}/bus-ios/ios/values".replace("{cell}",encodeURIComponent(String(r))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"PUT",...l,...s},o={},i={};u(a,e),await P(o,e),o["Content-Type"]="application/json",b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},a.data=A(t,a,e),{url:x(n),options:a}},setProfinetIOsFromFile:async(r,t,s={})=>{h("setProfinetIOsFromFile","cell",r),h("setProfinetIOsFromFile","profinetInputOutputConfig",t);const c="/cells/{cell}/bus-ios/profinet/iofile".replace("{cell}",encodeURIComponent(String(r))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"PUT",...l,...s},o={},i={};u(a,e),await P(o,e),o["Content-Type"]="application/json",b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},a.data=A(t,a,e),{url:x(n),options:a}}}},U=function(e){const r=Ce(e);return{async addBusIOService(t,s,c,n){var i,p;const l=await r.addBusIOService(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["BUSInputsOutputsApi.addBusIOService"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async addModbusIO(t,s,c,n){var i,p;const l=await r.addModbusIO(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["BUSInputsOutputsApi.addModbusIO"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async addProfinetIO(t,s,c,n){var i,p;const l=await r.addProfinetIO(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["BUSInputsOutputsApi.addProfinetIO"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async clearBusIOService(t,s,c){var o,i;const n=await r.clearBusIOService(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["BUSInputsOutputsApi.clearBusIOService"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async deleteModbusIO(t,s,c){var o,i;const n=await r.deleteModbusIO(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["BUSInputsOutputsApi.deleteModbusIO"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async deleteProfinetIO(t,s,c){var o,i;const n=await r.deleteProfinetIO(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["BUSInputsOutputsApi.deleteProfinetIO"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async getBusIOService(t,s){var a,o;const c=await r.getBusIOService(t,s),n=(e==null?void 0:e.serverIndex)??0,l=(o=(a=C["BUSInputsOutputsApi.getBusIOService"])==null?void 0:a[n])==null?void 0:o.url;return(i,p)=>I(c,O.axios,m,e)(i,l||p)},async getBusIOState(t,s){var a,o;const c=await r.getBusIOState(t,s),n=(e==null?void 0:e.serverIndex)??0,l=(o=(a=C["BUSInputsOutputsApi.getBusIOState"])==null?void 0:a[n])==null?void 0:o.url;return(i,p)=>I(c,O.axios,m,e)(i,l||p)},async getBusIOValues(t,s,c){var o,i;const n=await r.getBusIOValues(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["BUSInputsOutputsApi.getBusIOValues"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async getProfinetDescription(t,s){var a,o;const c=await r.getProfinetDescription(t,s),n=(e==null?void 0:e.serverIndex)??0,l=(o=(a=C["BUSInputsOutputsApi.getProfinetDescription"])==null?void 0:a[n])==null?void 0:o.url;return(i,p)=>I(c,O.axios,m,e)(i,l||p)},async getProfinetIOsFromFile(t,s,c,n){var i,p;const l=await r.getProfinetIOsFromFile(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["BUSInputsOutputsApi.getProfinetIOsFromFile"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async listBusIODescriptions(t,s){var a,o;const c=await r.listBusIODescriptions(t,s),n=(e==null?void 0:e.serverIndex)??0,l=(o=(a=C["BUSInputsOutputsApi.listBusIODescriptions"])==null?void 0:a[n])==null?void 0:o.url;return(i,p)=>I(c,O.axios,m,e)(i,l||p)},async listModbusIOs(t,s){var a,o;const c=await r.listModbusIOs(t,s),n=(e==null?void 0:e.serverIndex)??0,l=(o=(a=C["BUSInputsOutputsApi.listModbusIOs"])==null?void 0:a[n])==null?void 0:o.url;return(i,p)=>I(c,O.axios,m,e)(i,l||p)},async listProfinetIOs(t,s){var a,o;const c=await r.listProfinetIOs(t,s),n=(e==null?void 0:e.serverIndex)??0,l=(o=(a=C["BUSInputsOutputsApi.listProfinetIOs"])==null?void 0:a[n])==null?void 0:o.url;return(i,p)=>I(c,O.axios,m,e)(i,l||p)},async setBusIOValues(t,s,c){var o,i;const n=await r.setBusIOValues(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["BUSInputsOutputsApi.setBusIOValues"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async setProfinetIOsFromFile(t,s,c){var o,i;const n=await r.setProfinetIOsFromFile(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["BUSInputsOutputsApi.setProfinetIOsFromFile"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)}}};var Se=class extends R{addBusIOService(e,r,t,s){return U(this.configuration).addBusIOService(e,r,t,s).then(c=>c(this.axios,this.basePath))}addModbusIO(e,r,t,s){return U(this.configuration).addModbusIO(e,r,t,s).then(c=>c(this.axios,this.basePath))}addProfinetIO(e,r,t,s){return U(this.configuration).addProfinetIO(e,r,t,s).then(c=>c(this.axios,this.basePath))}clearBusIOService(e,r,t){return U(this.configuration).clearBusIOService(e,r,t).then(s=>s(this.axios,this.basePath))}deleteModbusIO(e,r,t){return U(this.configuration).deleteModbusIO(e,r,t).then(s=>s(this.axios,this.basePath))}deleteProfinetIO(e,r,t){return U(this.configuration).deleteProfinetIO(e,r,t).then(s=>s(this.axios,this.basePath))}getBusIOService(e,r){return U(this.configuration).getBusIOService(e,r).then(t=>t(this.axios,this.basePath))}getBusIOState(e,r){return U(this.configuration).getBusIOState(e,r).then(t=>t(this.axios,this.basePath))}getBusIOValues(e,r,t){return U(this.configuration).getBusIOValues(e,r,t).then(s=>s(this.axios,this.basePath))}getProfinetDescription(e,r){return U(this.configuration).getProfinetDescription(e,r).then(t=>t(this.axios,this.basePath))}getProfinetIOsFromFile(e,r,t,s){return U(this.configuration).getProfinetIOsFromFile(e,r,t,s).then(c=>c(this.axios,this.basePath))}listBusIODescriptions(e,r){return U(this.configuration).listBusIODescriptions(e,r).then(t=>t(this.axios,this.basePath))}listModbusIOs(e,r){return U(this.configuration).listModbusIOs(e,r).then(t=>t(this.axios,this.basePath))}listProfinetIOs(e,r){return U(this.configuration).listProfinetIOs(e,r).then(t=>t(this.axios,this.basePath))}setBusIOValues(e,r,t){return U(this.configuration).setBusIOValues(e,r,t).then(s=>s(this.axios,this.basePath))}setProfinetIOsFromFile(e,r,t){return U(this.configuration).setProfinetIOsFromFile(e,r,t).then(s=>s(this.axios,this.basePath))}};const ue=function(e){return{deleteCell:async(r,t,s={})=>{h("deleteCell","cell",r);const c="/cells/{cell}".replace("{cell}",encodeURIComponent(String(r))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"DELETE",...l,...s},o={},i={};u(a,e),await P(o,e),t!==void 0&&(i.completion_timeout=t),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},deployCell:async(r,t,s={})=>{h("deployCell","cell",r);const c=new URL("/cells",S);let n;e&&(n=e.baseOptions);const l={method:"POST",...n,...s},a={},o={};u(l,e),await P(a,e),t!==void 0&&(o.completion_timeout=t),a["Content-Type"]="application/json",b(c,o);let i=n&&n.headers?n.headers:{};return l.headers={...a,...i,...s.headers},l.data=A(r,l,e),{url:x(c),options:l}},getCell:async(r,t={})=>{h("getCell","cell",r);const s="/cells/{cell}".replace("{cell}",encodeURIComponent(String(r))),c=new URL(s,S);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...t},a={},o={};u(l,e),await P(a,e),b(c,o);let i=n&&n.headers?n.headers:{};return l.headers={...a,...i,...t.headers},{url:x(c),options:l}},getCellStatus:async(r,t={})=>{h("getCellStatus","cell",r);const s="/cells/{cell}/status".replace("{cell}",encodeURIComponent(String(r))),c=new URL(s,S);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...t},a={},o={};u(l,e),await P(a,e),b(c,o);let i=n&&n.headers?n.headers:{};return l.headers={...a,...i,...t.headers},{url:x(c),options:l}},listCells:async(r={})=>{const t=new URL("/cells",S);let s;e&&(s=e.baseOptions);const c={method:"GET",...s,...r},n={},l={};u(c,e),await P(n,e),b(t,l);let a=s&&s.headers?s.headers:{};return c.headers={...n,...a,...r.headers},{url:x(t),options:c}},setCellStatus:async(r,t,s={})=>{h("setCellStatus","cell",r),h("setCellStatus","operatingState",t);const c="/cells/{cell}/status".replace("{cell}",encodeURIComponent(String(r))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"PUT",...l,...s},o={},i={};u(a,e),await P(o,e),t!==void 0&&(i.operating_state=t),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},updateCell:async(r,t,s,c={})=>{h("updateCell","cell",r),h("updateCell","cell2",t);const n="/cells/{cell}".replace("{cell}",encodeURIComponent(String(r))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"PUT",...a,...c},i={},p={};u(o,e),await P(i,e),s!==void 0&&(p.completion_timeout=s),i["Content-Type"]="application/json",b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},o.data=A(t,o,e),{url:x(l),options:o}}}},M=function(e){const r=ue(e);return{async deleteCell(t,s,c){var o,i;const n=await r.deleteCell(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["CellApi.deleteCell"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async deployCell(t,s,c){var o,i;const n=await r.deployCell(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["CellApi.deployCell"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async getCell(t,s){var a,o;const c=await r.getCell(t,s),n=(e==null?void 0:e.serverIndex)??0,l=(o=(a=C["CellApi.getCell"])==null?void 0:a[n])==null?void 0:o.url;return(i,p)=>I(c,O.axios,m,e)(i,l||p)},async getCellStatus(t,s){var a,o;const c=await r.getCellStatus(t,s),n=(e==null?void 0:e.serverIndex)??0,l=(o=(a=C["CellApi.getCellStatus"])==null?void 0:a[n])==null?void 0:o.url;return(i,p)=>I(c,O.axios,m,e)(i,l||p)},async listCells(t){var l,a;const s=await r.listCells(t),c=(e==null?void 0:e.serverIndex)??0,n=(a=(l=C["CellApi.listCells"])==null?void 0:l[c])==null?void 0:a.url;return(o,i)=>I(s,O.axios,m,e)(o,n||i)},async setCellStatus(t,s,c){var o,i;const n=await r.setCellStatus(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["CellApi.setCellStatus"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async updateCell(t,s,c,n){var i,p;const l=await r.updateCell(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["CellApi.updateCell"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)}}};var Pe=class extends R{deleteCell(e,r,t){return M(this.configuration).deleteCell(e,r,t).then(s=>s(this.axios,this.basePath))}deployCell(e,r,t){return M(this.configuration).deployCell(e,r,t).then(s=>s(this.axios,this.basePath))}getCell(e,r){return M(this.configuration).getCell(e,r).then(t=>t(this.axios,this.basePath))}getCellStatus(e,r){return M(this.configuration).getCellStatus(e,r).then(t=>t(this.axios,this.basePath))}listCells(e){return M(this.configuration).listCells(e).then(r=>r(this.axios,this.basePath))}setCellStatus(e,r,t){return M(this.configuration).setCellStatus(e,r,t).then(s=>s(this.axios,this.basePath))}updateCell(e,r,t,s){return M(this.configuration).updateCell(e,r,t,s).then(c=>c(this.axios,this.basePath))}};const be=function(e){return{addRobotController:async(r,t,s,c={})=>{h("addRobotController","cell",r),h("addRobotController","robotController",t);const n="/cells/{cell}/controllers".replace("{cell}",encodeURIComponent(String(r))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"POST",...a,...c},i={},p={};u(o,e),await P(i,e),s!==void 0&&(p.completion_timeout=s),i["Content-Type"]="application/json",b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},o.data=A(t,o,e),{url:x(l),options:o}},clearRobotControllers:async(r,t,s={})=>{h("clearRobotControllers","cell",r);const c="/cells/{cell}/controllers".replace("{cell}",encodeURIComponent(String(r))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"DELETE",...l,...s},o={},i={};u(a,e),await P(o,e),t!==void 0&&(i.completion_timeout=t),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},deleteRobotController:async(r,t,s,c={})=>{h("deleteRobotController","cell",r),h("deleteRobotController","controller",t);const n="/cells/{cell}/controllers/{controller}".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"DELETE",...a,...c},i={},p={};u(o,e),await P(i,e),s!==void 0&&(p.completion_timeout=s),b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},{url:x(l),options:o}},getControllerDescription:async(r,t,s={})=>{h("getControllerDescription","cell",r),h("getControllerDescription","controller",t);const c="/cells/{cell}/controllers/{controller}/description".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"GET",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},getCoordinateSystem:async(r,t,s,c,n={})=>{h("getCoordinateSystem","cell",r),h("getCoordinateSystem","controller",t),h("getCoordinateSystem","coordinateSystem",s);const l="/cells/{cell}/controllers/{controller}/coordinate-systems/{coordinate-system}".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))).replace("{coordinate-system}",encodeURIComponent(String(s))),a=new URL(l,S);let o;e&&(o=e.baseOptions);const i={method:"GET",...o,...n},p={},d={};u(i,e),await P(p,e),c!==void 0&&(d.orientation_type=c),b(a,d);let V=o&&o.headers?o.headers:{};return i.headers={...p,...V,...n.headers},{url:x(a),options:i}},getCurrentRobotControllerState:async(r,t,s={})=>{h("getCurrentRobotControllerState","cell",r),h("getCurrentRobotControllerState","controller",t);const c="/cells/{cell}/controllers/{controller}/state".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"GET",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},getRobotController:async(r,t,s={})=>{h("getRobotController","cell",r),h("getRobotController","controller",t);const c="/cells/{cell}/controllers/{controller}".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"GET",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},getVirtualControllerConfiguration:async(r,t,s={})=>{h("getVirtualControllerConfiguration","cell",r),h("getVirtualControllerConfiguration","controller",t);const c="/cells/{cell}/controllers/{controller}/virtual-robot-configuration".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"GET",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},listCoordinateSystems:async(r,t,s,c={})=>{h("listCoordinateSystems","cell",r),h("listCoordinateSystems","controller",t);const n="/cells/{cell}/controllers/{controller}/coordinate-systems".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"GET",...a,...c},i={},p={};u(o,e),await P(i,e),s!==void 0&&(p.orientation_type=s),b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},{url:x(l),options:o}},listRobotControllers:async(r,t={})=>{h("listRobotControllers","cell",r);const s="/cells/{cell}/controllers".replace("{cell}",encodeURIComponent(String(r))),c=new URL(s,S);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...t},a={},o={};u(l,e),await P(a,e),b(c,o);let i=n&&n.headers?n.headers:{};return l.headers={...a,...i,...t.headers},{url:x(c),options:l}},setDefaultMode:async(r,t,s,c={})=>{h("setDefaultMode","cell",r),h("setDefaultMode","controller",t),h("setDefaultMode","mode",s);const n="/cells/{cell}/controllers/{controller}/mode".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"PUT",...a,...c},i={},p={};u(o,e),await P(i,e),s!==void 0&&(p.mode=s),b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},{url:x(l),options:o}},streamFreeDrive:async(r,t,s,c={})=>{h("streamFreeDrive","cell",r),h("streamFreeDrive","controller",t);const n="/cells/{cell}/controllers/{controller}/free-drive-stream".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"GET",...a,...c},i={},p={};u(o,e),await P(i,e),s!==void 0&&(p.response_rate=s),b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},{url:x(l),options:o}},streamRobotControllerState:async(r,t,s,c,n={})=>{h("streamRobotControllerState","cell",r),h("streamRobotControllerState","controller",t);const l="/cells/{cell}/controllers/{controller}/state-stream".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),a=new URL(l,S);let o;e&&(o=e.baseOptions);const i={method:"GET",...o,...n},p={},d={};u(i,e),await P(p,e),s!==void 0&&(d.response_rate=s),c!==void 0&&(d.add_controller_timeout=c),b(a,d);let V=o&&o.headers?o.headers:{};return i.headers={...p,...V,...n.headers},{url:x(a),options:i}},updateRobotController:async(r,t,s,c,n={})=>{h("updateRobotController","cell",r),h("updateRobotController","controller",t),h("updateRobotController","robotController",s);const l="/cells/{cell}/controllers/{controller}".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),a=new URL(l,S);let o;e&&(o=e.baseOptions);const i={method:"PUT",...o,...n},p={},d={};u(i,e),await P(p,e),c!==void 0&&(d.completion_timeout=c),p["Content-Type"]="application/json",b(a,d);let V=o&&o.headers?o.headers:{};return i.headers={...p,...V,...n.headers},i.data=A(s,i,e),{url:x(a),options:i}}}},B=function(e){const r=be(e);return{async addRobotController(t,s,c,n){var i,p;const l=await r.addRobotController(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["ControllerApi.addRobotController"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async clearRobotControllers(t,s,c){var o,i;const n=await r.clearRobotControllers(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["ControllerApi.clearRobotControllers"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async deleteRobotController(t,s,c,n){var i,p;const l=await r.deleteRobotController(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["ControllerApi.deleteRobotController"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async getControllerDescription(t,s,c){var o,i;const n=await r.getControllerDescription(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["ControllerApi.getControllerDescription"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async getCoordinateSystem(t,s,c,n,l){var p,d;const a=await r.getCoordinateSystem(t,s,c,n,l),o=(e==null?void 0:e.serverIndex)??0,i=(d=(p=C["ControllerApi.getCoordinateSystem"])==null?void 0:p[o])==null?void 0:d.url;return(V,y)=>I(a,O.axios,m,e)(V,i||y)},async getCurrentRobotControllerState(t,s,c){var o,i;const n=await r.getCurrentRobotControllerState(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["ControllerApi.getCurrentRobotControllerState"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async getRobotController(t,s,c){var o,i;const n=await r.getRobotController(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["ControllerApi.getRobotController"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async getVirtualControllerConfiguration(t,s,c){var o,i;const n=await r.getVirtualControllerConfiguration(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["ControllerApi.getVirtualControllerConfiguration"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async listCoordinateSystems(t,s,c,n){var i,p;const l=await r.listCoordinateSystems(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["ControllerApi.listCoordinateSystems"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async listRobotControllers(t,s){var a,o;const c=await r.listRobotControllers(t,s),n=(e==null?void 0:e.serverIndex)??0,l=(o=(a=C["ControllerApi.listRobotControllers"])==null?void 0:a[n])==null?void 0:o.url;return(i,p)=>I(c,O.axios,m,e)(i,l||p)},async setDefaultMode(t,s,c,n){var i,p;const l=await r.setDefaultMode(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["ControllerApi.setDefaultMode"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async streamFreeDrive(t,s,c,n){var i,p;const l=await r.streamFreeDrive(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["ControllerApi.streamFreeDrive"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async streamRobotControllerState(t,s,c,n,l){var p,d;const a=await r.streamRobotControllerState(t,s,c,n,l),o=(e==null?void 0:e.serverIndex)??0,i=(d=(p=C["ControllerApi.streamRobotControllerState"])==null?void 0:p[o])==null?void 0:d.url;return(V,y)=>I(a,O.axios,m,e)(V,i||y)},async updateRobotController(t,s,c,n,l){var p,d;const a=await r.updateRobotController(t,s,c,n,l),o=(e==null?void 0:e.serverIndex)??0,i=(d=(p=C["ControllerApi.updateRobotController"])==null?void 0:p[o])==null?void 0:d.url;return(V,y)=>I(a,O.axios,m,e)(V,i||y)}}};var xe=class extends R{addRobotController(e,r,t,s){return B(this.configuration).addRobotController(e,r,t,s).then(c=>c(this.axios,this.basePath))}clearRobotControllers(e,r,t){return B(this.configuration).clearRobotControllers(e,r,t).then(s=>s(this.axios,this.basePath))}deleteRobotController(e,r,t,s){return B(this.configuration).deleteRobotController(e,r,t,s).then(c=>c(this.axios,this.basePath))}getControllerDescription(e,r,t){return B(this.configuration).getControllerDescription(e,r,t).then(s=>s(this.axios,this.basePath))}getCoordinateSystem(e,r,t,s,c){return B(this.configuration).getCoordinateSystem(e,r,t,s,c).then(n=>n(this.axios,this.basePath))}getCurrentRobotControllerState(e,r,t){return B(this.configuration).getCurrentRobotControllerState(e,r,t).then(s=>s(this.axios,this.basePath))}getRobotController(e,r,t){return B(this.configuration).getRobotController(e,r,t).then(s=>s(this.axios,this.basePath))}getVirtualControllerConfiguration(e,r,t){return B(this.configuration).getVirtualControllerConfiguration(e,r,t).then(s=>s(this.axios,this.basePath))}listCoordinateSystems(e,r,t,s){return B(this.configuration).listCoordinateSystems(e,r,t,s).then(c=>c(this.axios,this.basePath))}listRobotControllers(e,r){return B(this.configuration).listRobotControllers(e,r).then(t=>t(this.axios,this.basePath))}setDefaultMode(e,r,t,s){return B(this.configuration).setDefaultMode(e,r,t,s).then(c=>c(this.axios,this.basePath))}streamFreeDrive(e,r,t,s){return B(this.configuration).streamFreeDrive(e,r,t,s).then(c=>c(this.axios,this.basePath))}streamRobotControllerState(e,r,t,s,c){return B(this.configuration).streamRobotControllerState(e,r,t,s,c).then(n=>n(this.axios,this.basePath))}updateRobotController(e,r,t,s,c){return B(this.configuration).updateRobotController(e,r,t,s,c).then(n=>n(this.axios,this.basePath))}};const Ie=function(e){return{listIODescriptions:async(r,t,s,c,n,l,a={})=>{h("listIODescriptions","cell",r),h("listIODescriptions","controller",t);const o="/cells/{cell}/controllers/{controller}/ios/description".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),i=new URL(o,S);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...a},V={},y={};u(d,e),await P(V,e),s&&(y.ios=s),c!==void 0&&(y.direction=c),n!==void 0&&(y.value_type=n),l!==void 0&&(y.group=l),b(i,y);let v=p&&p.headers?p.headers:{};return d.headers={...V,...v,...a.headers},{url:x(i),options:d}},listIOValues:async(r,t,s,c={})=>{h("listIOValues","cell",r),h("listIOValues","controller",t);const n="/cells/{cell}/controllers/{controller}/ios/values".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"GET",...a,...c},i={},p={};u(o,e),await P(i,e),s&&(p.ios=s),b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},{url:x(l),options:o}},setOutputValues:async(r,t,s,c={})=>{h("setOutputValues","cell",r),h("setOutputValues","controller",t),h("setOutputValues","iOValue",s);const n="/cells/{cell}/controllers/{controller}/ios/values".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"PUT",...a,...c},i={},p={};u(o,e),await P(i,e),i["Content-Type"]="application/json",b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},o.data=A(s,o,e),{url:x(l),options:o}},streamIOValues:async(r,t,s,c={})=>{h("streamIOValues","cell",r),h("streamIOValues","controller",t);const n="/cells/{cell}/controllers/{controller}/ios/stream".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"GET",...a,...c},i={},p={};u(o,e),await P(i,e),s&&(p.ios=s),b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},{url:x(l),options:o}},waitForIOEvent:async(r,t,s,c={})=>{h("waitForIOEvent","cell",r),h("waitForIOEvent","controller",t),h("waitForIOEvent","waitForIOEventRequest",s);const n="/cells/{cell}/controllers/{controller}/ios/wait-for".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"POST",...a,...c},i={},p={};u(o,e),await P(i,e),i["Content-Type"]="application/json",b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},o.data=A(s,o,e),{url:x(l),options:o}}}},Q=function(e){const r=Ie(e);return{async listIODescriptions(t,s,c,n,l,a,o){var V,y;const i=await r.listIODescriptions(t,s,c,n,l,a,o),p=(e==null?void 0:e.serverIndex)??0,d=(y=(V=C["ControllerInputsOutputsApi.listIODescriptions"])==null?void 0:V[p])==null?void 0:y.url;return(v,q)=>I(i,O.axios,m,e)(v,d||q)},async listIOValues(t,s,c,n){var i,p;const l=await r.listIOValues(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["ControllerInputsOutputsApi.listIOValues"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async setOutputValues(t,s,c,n){var i,p;const l=await r.setOutputValues(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["ControllerInputsOutputsApi.setOutputValues"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async streamIOValues(t,s,c,n){var i,p;const l=await r.streamIOValues(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["ControllerInputsOutputsApi.streamIOValues"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async waitForIOEvent(t,s,c,n){var i,p;const l=await r.waitForIOEvent(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["ControllerInputsOutputsApi.waitForIOEvent"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)}}};var ye=class extends R{listIODescriptions(e,r,t,s,c,n,l){return Q(this.configuration).listIODescriptions(e,r,t,s,c,n,l).then(a=>a(this.axios,this.basePath))}listIOValues(e,r,t,s){return Q(this.configuration).listIOValues(e,r,t,s).then(c=>c(this.axios,this.basePath))}setOutputValues(e,r,t,s){return Q(this.configuration).setOutputValues(e,r,t,s).then(c=>c(this.axios,this.basePath))}streamIOValues(e,r,t,s){return Q(this.configuration).streamIOValues(e,r,t,s).then(c=>c(this.axios,this.basePath))}waitForIOEvent(e,r,t,s){return Q(this.configuration).waitForIOEvent(e,r,t,s).then(c=>c(this.axios,this.basePath))}};const Ae=function(e){return{executeJogging:async(r,t,s,c={})=>{h("executeJogging","cell",r),h("executeJogging","controller",t),h("executeJogging","executeJoggingRequest",s);const n="/cells/{cell}/controllers/{controller}/execution/jogging".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"GET",...a,...c},i={},p={};u(o,e),await P(i,e),i["Content-Type"]="application/json",b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},o.data=A(s,o,e),{url:x(l),options:o}}}},ve=function(e){const r=Ae(e);return{async executeJogging(t,s,c,n){var i,p;const l=await r.executeJogging(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["JoggingApi.executeJogging"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)}}};var Re=class extends R{executeJogging(e,r,t,s){return ve(this.configuration).executeJogging(e,r,t,s).then(c=>c(this.axios,this.basePath))}};const Ue=function(e){return{forwardKinematics:async(r,t,s={})=>{h("forwardKinematics","cell",r),h("forwardKinematics","forwardKinematicsRequest",t);const c="/cells/{cell}/kinematic/forward".replace("{cell}",encodeURIComponent(String(r))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"POST",...l,...s},o={},i={};u(a,e),await P(o,e),o["Content-Type"]="application/json",b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},a.data=A(t,a,e),{url:x(n),options:a}},inverseKinematics:async(r,t,s={})=>{h("inverseKinematics","cell",r),h("inverseKinematics","inverseKinematicsRequest",t);const c="/cells/{cell}/kinematic/inverse".replace("{cell}",encodeURIComponent(String(r))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"POST",...l,...s},o={},i={};u(a,e),await P(o,e),o["Content-Type"]="application/json",b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},a.data=A(t,a,e),{url:x(n),options:a}}}},X=function(e){const r=Ue(e);return{async forwardKinematics(t,s,c){var o,i;const n=await r.forwardKinematics(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["KinematicsApi.forwardKinematics"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async inverseKinematics(t,s,c){var o,i;const n=await r.inverseKinematics(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["KinematicsApi.inverseKinematics"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)}}};var we=class extends R{forwardKinematics(e,r,t){return X(this.configuration).forwardKinematics(e,r,t).then(s=>s(this.axios,this.basePath))}inverseKinematics(e,r,t){return X(this.configuration).inverseKinematics(e,r,t).then(s=>s(this.axios,this.basePath))}};const Te=function(e){return{getCurrentMotionGroupState:async(r,t,s,c,n={})=>{h("getCurrentMotionGroupState","cell",r),h("getCurrentMotionGroupState","controller",t),h("getCurrentMotionGroupState","motionGroup",s);const l="/cells/{cell}/controllers/{controller}/motion-groups/{motion-group}/state".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))).replace("{motion-group}",encodeURIComponent(String(s))),a=new URL(l,S);let o;e&&(o=e.baseOptions);const i={method:"GET",...o,...n},p={},d={};u(i,e),await P(p,e),c!==void 0&&(d.response_coordinate_system=c),b(a,d);let V=o&&o.headers?o.headers:{};return i.headers={...p,...V,...n.headers},{url:x(a),options:i}},getMotionGroupDescription:async(r,t,s,c={})=>{h("getMotionGroupDescription","cell",r),h("getMotionGroupDescription","controller",t),h("getMotionGroupDescription","motionGroup",s);const n="/cells/{cell}/controllers/{controller}/motion-groups/{motion-group}/description".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))).replace("{motion-group}",encodeURIComponent(String(s))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"GET",...a,...c},i={},p={};u(o,e),await P(i,e),b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},{url:x(l),options:o}},streamMotionGroupState:async(r,t,s,c,n,l={})=>{h("streamMotionGroupState","cell",r),h("streamMotionGroupState","controller",t),h("streamMotionGroupState","motionGroup",s);const a="/cells/{cell}/controllers/{controller}/motion-groups/{motion-group}/state-stream".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))).replace("{motion-group}",encodeURIComponent(String(s))),o=new URL(a,S);let i;e&&(i=e.baseOptions);const p={method:"GET",...i,...l},d={},V={};u(p,e),await P(d,e),c!==void 0&&(V.response_rate=c),n!==void 0&&(V.response_coordinate_system=n),b(o,V);let y=i&&i.headers?i.headers:{};return p.headers={...d,...y,...l.headers},{url:x(o),options:p}}}},Y=function(e){const r=Te(e);return{async getCurrentMotionGroupState(t,s,c,n,l){var p,d;const a=await r.getCurrentMotionGroupState(t,s,c,n,l),o=(e==null?void 0:e.serverIndex)??0,i=(d=(p=C["MotionGroupApi.getCurrentMotionGroupState"])==null?void 0:p[o])==null?void 0:d.url;return(V,y)=>I(a,O.axios,m,e)(V,i||y)},async getMotionGroupDescription(t,s,c,n){var i,p;const l=await r.getMotionGroupDescription(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["MotionGroupApi.getMotionGroupDescription"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async streamMotionGroupState(t,s,c,n,l,a){var d,V;const o=await r.streamMotionGroupState(t,s,c,n,l,a),i=(e==null?void 0:e.serverIndex)??0,p=(V=(d=C["MotionGroupApi.streamMotionGroupState"])==null?void 0:d[i])==null?void 0:V.url;return(y,v)=>I(o,O.axios,m,e)(y,p||v)}}};var Be=class extends R{getCurrentMotionGroupState(e,r,t,s,c){return Y(this.configuration).getCurrentMotionGroupState(e,r,t,s,c).then(n=>n(this.axios,this.basePath))}getMotionGroupDescription(e,r,t,s){return Y(this.configuration).getMotionGroupDescription(e,r,t,s).then(c=>c(this.axios,this.basePath))}streamMotionGroupState(e,r,t,s,c,n){return Y(this.configuration).streamMotionGroupState(e,r,t,s,c,n).then(l=>l(this.axios,this.basePath))}};const je=function(e){return{getMotionGroupCollisionModel:async(r,t={})=>{h("getMotionGroupCollisionModel","motionGroupModel",r);const s="/motion-group-models/{motion-group-model}/collision".replace("{motion-group-model}",encodeURIComponent(String(r))),c=new URL(s,S);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...t},a={},o={};u(l,e),await P(a,e),b(c,o);let i=n&&n.headers?n.headers:{};return l.headers={...a,...i,...t.headers},{url:x(c),options:l}},getMotionGroupModels:async(r={})=>{const t=new URL("/motion-group-models",S);let s;e&&(s=e.baseOptions);const c={method:"GET",...s,...r},n={},l={};u(c,e),await P(n,e),b(t,l);let a=s&&s.headers?s.headers:{};return c.headers={...n,...a,...r.headers},{url:x(t),options:c}}}},Z=function(e){const r=je(e);return{async getMotionGroupCollisionModel(t,s){var a,o;const c=await r.getMotionGroupCollisionModel(t,s),n=(e==null?void 0:e.serverIndex)??0,l=(o=(a=C["MotionGroupModelsApi.getMotionGroupCollisionModel"])==null?void 0:a[n])==null?void 0:o.url;return(i,p)=>I(c,O.axios,m,e)(i,l||p)},async getMotionGroupModels(t){var l,a;const s=await r.getMotionGroupModels(t),c=(e==null?void 0:e.serverIndex)??0,n=(a=(l=C["MotionGroupModelsApi.getMotionGroupModels"])==null?void 0:l[c])==null?void 0:a.url;return(o,i)=>I(s,O.axios,m,e)(o,n||i)}}};var Ee=class extends R{getMotionGroupCollisionModel(e,r){return Z(this.configuration).getMotionGroupCollisionModel(e,r).then(t=>t(this.axios,this.basePath))}getMotionGroupModels(e){return Z(this.configuration).getMotionGroupModels(e).then(r=>r(this.axios,this.basePath))}};const Fe=function(e){return{deleteStoredCollider:async(r,t,s={})=>{h("deleteStoredCollider","cell",r),h("deleteStoredCollider","collider",t);const c="/cells/{cell}/store/collision/colliders/{collider}".replace("{cell}",encodeURIComponent(String(r))).replace("{collider}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"DELETE",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},deleteStoredCollisionLinkChain:async(r,t,s={})=>{h("deleteStoredCollisionLinkChain","cell",r),h("deleteStoredCollisionLinkChain","linkChain",t);const c="/cells/{cell}/store/collision/link-chains/{link-chain}".replace("{cell}",encodeURIComponent(String(r))).replace("{link-chain}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"DELETE",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},deleteStoredCollisionTool:async(r,t,s={})=>{h("deleteStoredCollisionTool","cell",r),h("deleteStoredCollisionTool","tool",t);const c="/cells/{cell}/store/collision/tools/{tool}".replace("{cell}",encodeURIComponent(String(r))).replace("{tool}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"DELETE",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},getStoredCollider:async(r,t,s={})=>{h("getStoredCollider","cell",r),h("getStoredCollider","collider",t);const c="/cells/{cell}/store/collision/colliders/{collider}".replace("{cell}",encodeURIComponent(String(r))).replace("{collider}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"GET",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},getStoredCollisionLinkChain:async(r,t,s={})=>{h("getStoredCollisionLinkChain","cell",r),h("getStoredCollisionLinkChain","linkChain",t);const c="/cells/{cell}/store/collision/link-chains/{link-chain}".replace("{cell}",encodeURIComponent(String(r))).replace("{link-chain}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"GET",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},getStoredCollisionTool:async(r,t,s={})=>{h("getStoredCollisionTool","cell",r),h("getStoredCollisionTool","tool",t);const c="/cells/{cell}/store/collision/tools/{tool}".replace("{cell}",encodeURIComponent(String(r))).replace("{tool}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"GET",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},listCollisionLinkChains:async(r,t={})=>{h("listCollisionLinkChains","cell",r);const s="/cells/{cell}/store/collision/link-chains".replace("{cell}",encodeURIComponent(String(r))),c=new URL(s,S);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...t},a={},o={};u(l,e),await P(a,e),b(c,o);let i=n&&n.headers?n.headers:{};return l.headers={...a,...i,...t.headers},{url:x(c),options:l}},listCollisionLinkChainsKeys:async(r,t={})=>{h("listCollisionLinkChainsKeys","cell",r);const s="/cells/{cell}/store/collision/link-chains-keys".replace("{cell}",encodeURIComponent(String(r))),c=new URL(s,S);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...t},a={},o={};u(l,e),await P(a,e),b(c,o);let i=n&&n.headers?n.headers:{};return l.headers={...a,...i,...t.headers},{url:x(c),options:l}},listStoredColliders:async(r,t={})=>{h("listStoredColliders","cell",r);const s="/cells/{cell}/store/collision/colliders".replace("{cell}",encodeURIComponent(String(r))),c=new URL(s,S);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...t},a={},o={};u(l,e),await P(a,e),b(c,o);let i=n&&n.headers?n.headers:{};return l.headers={...a,...i,...t.headers},{url:x(c),options:l}},listStoredCollidersKeys:async(r,t={})=>{h("listStoredCollidersKeys","cell",r);const s="/cells/{cell}/store/collision/colliders-keys".replace("{cell}",encodeURIComponent(String(r))),c=new URL(s,S);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...t},a={},o={};u(l,e),await P(a,e),b(c,o);let i=n&&n.headers?n.headers:{};return l.headers={...a,...i,...t.headers},{url:x(c),options:l}},listStoredCollisionTools:async(r,t={})=>{h("listStoredCollisionTools","cell",r);const s="/cells/{cell}/store/collision/tools".replace("{cell}",encodeURIComponent(String(r))),c=new URL(s,S);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...t},a={},o={};u(l,e),await P(a,e),b(c,o);let i=n&&n.headers?n.headers:{};return l.headers={...a,...i,...t.headers},{url:x(c),options:l}},listStoredCollisionToolsKeys:async(r,t={})=>{h("listStoredCollisionToolsKeys","cell",r);const s="/cells/{cell}/store/collision/tools-keys".replace("{cell}",encodeURIComponent(String(r))),c=new URL(s,S);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...t},a={},o={};u(l,e),await P(a,e),b(c,o);let i=n&&n.headers?n.headers:{};return l.headers={...a,...i,...t.headers},{url:x(c),options:l}},storeCollider:async(r,t,s,c={})=>{h("storeCollider","cell",r),h("storeCollider","collider",t),h("storeCollider","collider2",s);const n="/cells/{cell}/store/collision/colliders/{collider}".replace("{cell}",encodeURIComponent(String(r))).replace("{collider}",encodeURIComponent(String(t))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"PUT",...a,...c},i={},p={};u(o,e),await P(i,e),i["Content-Type"]="application/json",b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},o.data=A(s,o,e),{url:x(l),options:o}},storeCollisionLinkChain:async(r,t,s,c={})=>{h("storeCollisionLinkChain","cell",r),h("storeCollisionLinkChain","linkChain",t),h("storeCollisionLinkChain","collider",s);const n="/cells/{cell}/store/collision/link-chains/{link-chain}".replace("{cell}",encodeURIComponent(String(r))).replace("{link-chain}",encodeURIComponent(String(t))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"PUT",...a,...c},i={},p={};u(o,e),await P(i,e),i["Content-Type"]="application/json",b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},o.data=A(s,o,e),{url:x(l),options:o}},storeCollisionTool:async(r,t,s,c={})=>{h("storeCollisionTool","cell",r),h("storeCollisionTool","tool",t),h("storeCollisionTool","requestBody",s);const n="/cells/{cell}/store/collision/tools/{tool}".replace("{cell}",encodeURIComponent(String(r))).replace("{tool}",encodeURIComponent(String(t))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"PUT",...a,...c},i={},p={};u(o,e),await P(i,e),i["Content-Type"]="application/json",b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},o.data=A(s,o,e),{url:x(l),options:o}}}},w=function(e){const r=Fe(e);return{async deleteStoredCollider(t,s,c){var o,i;const n=await r.deleteStoredCollider(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["StoreCollisionComponentsApi.deleteStoredCollider"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async deleteStoredCollisionLinkChain(t,s,c){var o,i;const n=await r.deleteStoredCollisionLinkChain(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["StoreCollisionComponentsApi.deleteStoredCollisionLinkChain"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async deleteStoredCollisionTool(t,s,c){var o,i;const n=await r.deleteStoredCollisionTool(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["StoreCollisionComponentsApi.deleteStoredCollisionTool"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async getStoredCollider(t,s,c){var o,i;const n=await r.getStoredCollider(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["StoreCollisionComponentsApi.getStoredCollider"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async getStoredCollisionLinkChain(t,s,c){var o,i;const n=await r.getStoredCollisionLinkChain(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["StoreCollisionComponentsApi.getStoredCollisionLinkChain"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async getStoredCollisionTool(t,s,c){var o,i;const n=await r.getStoredCollisionTool(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["StoreCollisionComponentsApi.getStoredCollisionTool"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async listCollisionLinkChains(t,s){var a,o;const c=await r.listCollisionLinkChains(t,s),n=(e==null?void 0:e.serverIndex)??0,l=(o=(a=C["StoreCollisionComponentsApi.listCollisionLinkChains"])==null?void 0:a[n])==null?void 0:o.url;return(i,p)=>I(c,O.axios,m,e)(i,l||p)},async listCollisionLinkChainsKeys(t,s){var a,o;const c=await r.listCollisionLinkChainsKeys(t,s),n=(e==null?void 0:e.serverIndex)??0,l=(o=(a=C["StoreCollisionComponentsApi.listCollisionLinkChainsKeys"])==null?void 0:a[n])==null?void 0:o.url;return(i,p)=>I(c,O.axios,m,e)(i,l||p)},async listStoredColliders(t,s){var a,o;const c=await r.listStoredColliders(t,s),n=(e==null?void 0:e.serverIndex)??0,l=(o=(a=C["StoreCollisionComponentsApi.listStoredColliders"])==null?void 0:a[n])==null?void 0:o.url;return(i,p)=>I(c,O.axios,m,e)(i,l||p)},async listStoredCollidersKeys(t,s){var a,o;const c=await r.listStoredCollidersKeys(t,s),n=(e==null?void 0:e.serverIndex)??0,l=(o=(a=C["StoreCollisionComponentsApi.listStoredCollidersKeys"])==null?void 0:a[n])==null?void 0:o.url;return(i,p)=>I(c,O.axios,m,e)(i,l||p)},async listStoredCollisionTools(t,s){var a,o;const c=await r.listStoredCollisionTools(t,s),n=(e==null?void 0:e.serverIndex)??0,l=(o=(a=C["StoreCollisionComponentsApi.listStoredCollisionTools"])==null?void 0:a[n])==null?void 0:o.url;return(i,p)=>I(c,O.axios,m,e)(i,l||p)},async listStoredCollisionToolsKeys(t,s){var a,o;const c=await r.listStoredCollisionToolsKeys(t,s),n=(e==null?void 0:e.serverIndex)??0,l=(o=(a=C["StoreCollisionComponentsApi.listStoredCollisionToolsKeys"])==null?void 0:a[n])==null?void 0:o.url;return(i,p)=>I(c,O.axios,m,e)(i,l||p)},async storeCollider(t,s,c,n){var i,p;const l=await r.storeCollider(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["StoreCollisionComponentsApi.storeCollider"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async storeCollisionLinkChain(t,s,c,n){var i,p;const l=await r.storeCollisionLinkChain(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["StoreCollisionComponentsApi.storeCollisionLinkChain"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async storeCollisionTool(t,s,c,n){var i,p;const l=await r.storeCollisionTool(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["StoreCollisionComponentsApi.storeCollisionTool"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)}}};var Me=class extends R{deleteStoredCollider(e,r,t){return w(this.configuration).deleteStoredCollider(e,r,t).then(s=>s(this.axios,this.basePath))}deleteStoredCollisionLinkChain(e,r,t){return w(this.configuration).deleteStoredCollisionLinkChain(e,r,t).then(s=>s(this.axios,this.basePath))}deleteStoredCollisionTool(e,r,t){return w(this.configuration).deleteStoredCollisionTool(e,r,t).then(s=>s(this.axios,this.basePath))}getStoredCollider(e,r,t){return w(this.configuration).getStoredCollider(e,r,t).then(s=>s(this.axios,this.basePath))}getStoredCollisionLinkChain(e,r,t){return w(this.configuration).getStoredCollisionLinkChain(e,r,t).then(s=>s(this.axios,this.basePath))}getStoredCollisionTool(e,r,t){return w(this.configuration).getStoredCollisionTool(e,r,t).then(s=>s(this.axios,this.basePath))}listCollisionLinkChains(e,r){return w(this.configuration).listCollisionLinkChains(e,r).then(t=>t(this.axios,this.basePath))}listCollisionLinkChainsKeys(e,r){return w(this.configuration).listCollisionLinkChainsKeys(e,r).then(t=>t(this.axios,this.basePath))}listStoredColliders(e,r){return w(this.configuration).listStoredColliders(e,r).then(t=>t(this.axios,this.basePath))}listStoredCollidersKeys(e,r){return w(this.configuration).listStoredCollidersKeys(e,r).then(t=>t(this.axios,this.basePath))}listStoredCollisionTools(e,r){return w(this.configuration).listStoredCollisionTools(e,r).then(t=>t(this.axios,this.basePath))}listStoredCollisionToolsKeys(e,r){return w(this.configuration).listStoredCollisionToolsKeys(e,r).then(t=>t(this.axios,this.basePath))}storeCollider(e,r,t,s){return w(this.configuration).storeCollider(e,r,t,s).then(c=>c(this.axios,this.basePath))}storeCollisionLinkChain(e,r,t,s){return w(this.configuration).storeCollisionLinkChain(e,r,t,s).then(c=>c(this.axios,this.basePath))}storeCollisionTool(e,r,t,s){return w(this.configuration).storeCollisionTool(e,r,t,s).then(c=>c(this.axios,this.basePath))}};const Le=function(e){return{deleteStoredCollisionSetup:async(r,t,s={})=>{h("deleteStoredCollisionSetup","cell",r),h("deleteStoredCollisionSetup","setup",t);const c="/cells/{cell}/store/collision/setups/{setup}".replace("{cell}",encodeURIComponent(String(r))).replace("{setup}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"DELETE",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},getStoredCollisionSetup:async(r,t,s={})=>{h("getStoredCollisionSetup","cell",r),h("getStoredCollisionSetup","setup",t);const c="/cells/{cell}/store/collision/setups/{setup}".replace("{cell}",encodeURIComponent(String(r))).replace("{setup}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"GET",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},listStoredCollisionSetups:async(r,t={})=>{h("listStoredCollisionSetups","cell",r);const s="/cells/{cell}/store/collision/setups".replace("{cell}",encodeURIComponent(String(r))),c=new URL(s,S);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...t},a={},o={};u(l,e),await P(a,e),b(c,o);let i=n&&n.headers?n.headers:{};return l.headers={...a,...i,...t.headers},{url:x(c),options:l}},listStoredCollisionSetupsKeys:async(r,t={})=>{h("listStoredCollisionSetupsKeys","cell",r);const s="/cells/{cell}/store/collision/setups-keys".replace("{cell}",encodeURIComponent(String(r))),c=new URL(s,S);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...t},a={},o={};u(l,e),await P(a,e),b(c,o);let i=n&&n.headers?n.headers:{};return l.headers={...a,...i,...t.headers},{url:x(c),options:l}},storeCollisionSetup:async(r,t,s,c={})=>{h("storeCollisionSetup","cell",r),h("storeCollisionSetup","setup",t),h("storeCollisionSetup","collisionSetup",s);const n="/cells/{cell}/store/collision/setups/{setup}".replace("{cell}",encodeURIComponent(String(r))).replace("{setup}",encodeURIComponent(String(t))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"PUT",...a,...c},i={},p={};u(o,e),await P(i,e),i["Content-Type"]="application/json",b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},o.data=A(s,o,e),{url:x(l),options:o}}}},D=function(e){const r=Le(e);return{async deleteStoredCollisionSetup(t,s,c){var o,i;const n=await r.deleteStoredCollisionSetup(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["StoreCollisionSetupsApi.deleteStoredCollisionSetup"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async getStoredCollisionSetup(t,s,c){var o,i;const n=await r.getStoredCollisionSetup(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["StoreCollisionSetupsApi.getStoredCollisionSetup"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async listStoredCollisionSetups(t,s){var a,o;const c=await r.listStoredCollisionSetups(t,s),n=(e==null?void 0:e.serverIndex)??0,l=(o=(a=C["StoreCollisionSetupsApi.listStoredCollisionSetups"])==null?void 0:a[n])==null?void 0:o.url;return(i,p)=>I(c,O.axios,m,e)(i,l||p)},async listStoredCollisionSetupsKeys(t,s){var a,o;const c=await r.listStoredCollisionSetupsKeys(t,s),n=(e==null?void 0:e.serverIndex)??0,l=(o=(a=C["StoreCollisionSetupsApi.listStoredCollisionSetupsKeys"])==null?void 0:a[n])==null?void 0:o.url;return(i,p)=>I(c,O.axios,m,e)(i,l||p)},async storeCollisionSetup(t,s,c,n){var i,p;const l=await r.storeCollisionSetup(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["StoreCollisionSetupsApi.storeCollisionSetup"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)}}};var Ge=class extends R{deleteStoredCollisionSetup(e,r,t){return D(this.configuration).deleteStoredCollisionSetup(e,r,t).then(s=>s(this.axios,this.basePath))}getStoredCollisionSetup(e,r,t){return D(this.configuration).getStoredCollisionSetup(e,r,t).then(s=>s(this.axios,this.basePath))}listStoredCollisionSetups(e,r){return D(this.configuration).listStoredCollisionSetups(e,r).then(t=>t(this.axios,this.basePath))}listStoredCollisionSetupsKeys(e,r){return D(this.configuration).listStoredCollisionSetupsKeys(e,r).then(t=>t(this.axios,this.basePath))}storeCollisionSetup(e,r,t,s){return D(this.configuration).storeCollisionSetup(e,r,t,s).then(c=>c(this.axios,this.basePath))}};const qe=function(e){return{clearAllObjects:async(r,t={})=>{h("clearAllObjects","cell",r);const s="/cells/{cell}/store/objects".replace("{cell}",encodeURIComponent(String(r))),c=new URL(s,S);let n;e&&(n=e.baseOptions);const l={method:"DELETE",...n,...t},a={},o={};u(l,e),await P(a,e),b(c,o);let i=n&&n.headers?n.headers:{};return l.headers={...a,...i,...t.headers},{url:x(c),options:l}},deleteObject:async(r,t,s={})=>{h("deleteObject","cell",r),h("deleteObject","key",t);const c="/cells/{cell}/store/objects/{key}".replace("{cell}",encodeURIComponent(String(r))).replace("{key}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"DELETE",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},getObject:async(r,t,s={})=>{h("getObject","cell",r),h("getObject","key",t);const c="/cells/{cell}/store/objects/{key}".replace("{cell}",encodeURIComponent(String(r))).replace("{key}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"GET",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},getObjectMetadata:async(r,t,s={})=>{h("getObjectMetadata","cell",r),h("getObjectMetadata","key",t);const c="/cells/{cell}/store/objects/{key}".replace("{cell}",encodeURIComponent(String(r))).replace("{key}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"HEAD",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},listAllObjectKeys:async(r,t={})=>{h("listAllObjectKeys","cell",r);const s="/cells/{cell}/store/objects".replace("{cell}",encodeURIComponent(String(r))),c=new URL(s,S);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...t},a={},o={};u(l,e),await P(a,e),b(c,o);let i=n&&n.headers?n.headers:{};return l.headers={...a,...i,...t.headers},{url:x(c),options:l}},storeObject:async(r,t,s,c,n={})=>{h("storeObject","cell",r),h("storeObject","key",t);const l="/cells/{cell}/store/objects/{key}".replace("{cell}",encodeURIComponent(String(r))).replace("{key}",encodeURIComponent(String(t))),a=new URL(l,S);let o;e&&(o=e.baseOptions);const i={method:"PUT",...o,...n},p={},d={},V=new(e&&e.formDataCtor||FormData);u(i,e),await P(p,e),c!==void 0&&V.append("any_value",new Blob([JSON.stringify(c)],{type:"application/json"})),p["Content-Type"]="multipart/form-data",s!=null&&(p["X-Metadata"]=typeof s=="string"?s:JSON.stringify(s)),b(a,d);let y=o&&o.headers?o.headers:{};return i.headers={...p,...y,...n.headers},i.data=V,{url:x(a),options:i}}}},G=function(e){const r=qe(e);return{async clearAllObjects(t,s){var a,o;const c=await r.clearAllObjects(t,s),n=(e==null?void 0:e.serverIndex)??0,l=(o=(a=C["StoreObjectApi.clearAllObjects"])==null?void 0:a[n])==null?void 0:o.url;return(i,p)=>I(c,O.axios,m,e)(i,l||p)},async deleteObject(t,s,c){var o,i;const n=await r.deleteObject(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["StoreObjectApi.deleteObject"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async getObject(t,s,c){var o,i;const n=await r.getObject(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["StoreObjectApi.getObject"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async getObjectMetadata(t,s,c){var o,i;const n=await r.getObjectMetadata(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["StoreObjectApi.getObjectMetadata"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async listAllObjectKeys(t,s){var a,o;const c=await r.listAllObjectKeys(t,s),n=(e==null?void 0:e.serverIndex)??0,l=(o=(a=C["StoreObjectApi.listAllObjectKeys"])==null?void 0:a[n])==null?void 0:o.url;return(i,p)=>I(c,O.axios,m,e)(i,l||p)},async storeObject(t,s,c,n,l){var p,d;const a=await r.storeObject(t,s,c,n,l),o=(e==null?void 0:e.serverIndex)??0,i=(d=(p=C["StoreObjectApi.storeObject"])==null?void 0:p[o])==null?void 0:d.url;return(V,y)=>I(a,O.axios,m,e)(V,i||y)}}};var He=class extends R{clearAllObjects(e,r){return G(this.configuration).clearAllObjects(e,r).then(t=>t(this.axios,this.basePath))}deleteObject(e,r,t){return G(this.configuration).deleteObject(e,r,t).then(s=>s(this.axios,this.basePath))}getObject(e,r,t){return G(this.configuration).getObject(e,r,t).then(s=>s(this.axios,this.basePath))}getObjectMetadata(e,r,t){return G(this.configuration).getObjectMetadata(e,r,t).then(s=>s(this.axios,this.basePath))}listAllObjectKeys(e,r){return G(this.configuration).listAllObjectKeys(e,r).then(t=>t(this.axios,this.basePath))}storeObject(e,r,t,s,c){return G(this.configuration).storeObject(e,r,t,s,c).then(n=>n(this.axios,this.basePath))}};const Qe=function(e){return{backupConfiguration:async(r,t,s={})=>{const c=new URL("/system/configuration",S);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...s},a={},o={};u(l,e),await P(a,e),r&&(o.resources=r.join($.csv)),t!==void 0&&(o.metadata=t),b(c,o);let i=n&&n.headers?n.headers:{};return l.headers={...a,...i,...s.headers},{url:x(c),options:l}},checkNovaVersionUpdate:async(r,t={})=>{h("checkNovaVersionUpdate","channel",r);const s=new URL("/system/update",S);let c;e&&(c=e.baseOptions);const n={method:"GET",...c,...t},l={},a={};u(n,e),await P(l,e),r!==void 0&&(a.channel=r),b(s,a);let o=c&&c.headers?c.headers:{};return n.headers={...l,...o,...t.headers},{url:x(s),options:n}},getConfigurationBackupStatus:async(r,t={})=>{h("getConfigurationBackupStatus","operationId",r);const s=new URL("/system/configuration/status",S);let c;e&&(c=e.baseOptions);const n={method:"GET",...c,...t},l={},a={};u(n,e),await P(l,e),r!==void 0&&(a.operation_id=r),b(s,a);let o=c&&c.headers?c.headers:{};return n.headers={...l,...o,...t.headers},{url:x(s),options:n}},getDiagnosePackage:async(r={})=>{const t=new URL("/system/diagnosis-package/zip",S);let s;e&&(s=e.baseOptions);const c={method:"GET",...s,...r},n={},l={};u(c,e),await P(n,e),b(t,l);let a=s&&s.headers?s.headers:{};return c.headers={...n,...a,...r.headers},{url:x(t),options:c}},getSystemStatus:async(r={})=>{const t=new URL("/system/status",S);let s;e&&(s=e.baseOptions);const c={method:"GET",...s,...r},n={},l={};u(c,e),await P(n,e),b(t,l);let a=s&&s.headers?s.headers:{};return c.headers={...n,...a,...r.headers},{url:x(t),options:c}},getSystemVersion:async(r={})=>{const t=new URL("/system/version",S);let s;e&&(s=e.baseOptions);const c={method:"GET",...s,...r},n={},l={};u(c,e),await P(n,e),b(t,l);let a=s&&s.headers?s.headers:{};return c.headers={...n,...a,...r.headers},{url:x(t),options:c}},listConfigurationResources:async(r={})=>{const t=new URL("/system/configuration/resources",S);let s;e&&(s=e.baseOptions);const c={method:"GET",...s,...r},n={},l={};u(c,e),await P(n,e),b(t,l);let a=s&&s.headers?s.headers:{};return c.headers={...n,...a,...r.headers},{url:x(t),options:c}},restoreConfiguration:async(r,t,s={})=>{h("restoreConfiguration","resources",r),h("restoreConfiguration","body",t);const c=new URL("/system/configuration",S);let n;e&&(n=e.baseOptions);const l={method:"POST",...n,...s},a={},o={};u(l,e),await P(a,e),r&&(o.resources=r.join($.csv)),a["Content-Type"]="application/gzip",b(c,o);let i=n&&n.headers?n.headers:{};return l.headers={...a,...i,...s.headers},l.data=A(t,l,e),{url:x(c),options:l}},updateNovaVersion:async(r,t={})=>{h("updateNovaVersion","updateNovaVersionRequest",r);const s=new URL("/system/update",S);let c;e&&(c=e.baseOptions);const n={method:"PUT",...c,...t},l={},a={};u(n,e),await P(l,e),l["Content-Type"]="application/json",b(s,a);let o=c&&c.headers?c.headers:{};return n.headers={...l,...o,...t.headers},n.data=A(r,n,e),{url:x(s),options:n}}}},E=function(e){const r=Qe(e);return{async backupConfiguration(t,s,c){var o,i;const n=await r.backupConfiguration(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["SystemApi.backupConfiguration"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async checkNovaVersionUpdate(t,s){var a,o;const c=await r.checkNovaVersionUpdate(t,s),n=(e==null?void 0:e.serverIndex)??0,l=(o=(a=C["SystemApi.checkNovaVersionUpdate"])==null?void 0:a[n])==null?void 0:o.url;return(i,p)=>I(c,O.axios,m,e)(i,l||p)},async getConfigurationBackupStatus(t,s){var a,o;const c=await r.getConfigurationBackupStatus(t,s),n=(e==null?void 0:e.serverIndex)??0,l=(o=(a=C["SystemApi.getConfigurationBackupStatus"])==null?void 0:a[n])==null?void 0:o.url;return(i,p)=>I(c,O.axios,m,e)(i,l||p)},async getDiagnosePackage(t){var l,a;const s=await r.getDiagnosePackage(t),c=(e==null?void 0:e.serverIndex)??0,n=(a=(l=C["SystemApi.getDiagnosePackage"])==null?void 0:l[c])==null?void 0:a.url;return(o,i)=>I(s,O.axios,m,e)(o,n||i)},async getSystemStatus(t){var l,a;const s=await r.getSystemStatus(t),c=(e==null?void 0:e.serverIndex)??0,n=(a=(l=C["SystemApi.getSystemStatus"])==null?void 0:l[c])==null?void 0:a.url;return(o,i)=>I(s,O.axios,m,e)(o,n||i)},async getSystemVersion(t){var l,a;const s=await r.getSystemVersion(t),c=(e==null?void 0:e.serverIndex)??0,n=(a=(l=C["SystemApi.getSystemVersion"])==null?void 0:l[c])==null?void 0:a.url;return(o,i)=>I(s,O.axios,m,e)(o,n||i)},async listConfigurationResources(t){var l,a;const s=await r.listConfigurationResources(t),c=(e==null?void 0:e.serverIndex)??0,n=(a=(l=C["SystemApi.listConfigurationResources"])==null?void 0:l[c])==null?void 0:a.url;return(o,i)=>I(s,O.axios,m,e)(o,n||i)},async restoreConfiguration(t,s,c){var o,i;const n=await r.restoreConfiguration(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["SystemApi.restoreConfiguration"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async updateNovaVersion(t,s){var a,o;const c=await r.updateNovaVersion(t,s),n=(e==null?void 0:e.serverIndex)??0,l=(o=(a=C["SystemApi.updateNovaVersion"])==null?void 0:a[n])==null?void 0:o.url;return(i,p)=>I(c,O.axios,m,e)(i,l||p)}}};var De=class extends R{backupConfiguration(e,r,t){return E(this.configuration).backupConfiguration(e,r,t).then(s=>s(this.axios,this.basePath))}checkNovaVersionUpdate(e,r){return E(this.configuration).checkNovaVersionUpdate(e,r).then(t=>t(this.axios,this.basePath))}getConfigurationBackupStatus(e,r){return E(this.configuration).getConfigurationBackupStatus(e,r).then(t=>t(this.axios,this.basePath))}getDiagnosePackage(e){return E(this.configuration).getDiagnosePackage(e).then(r=>r(this.axios,this.basePath))}getSystemStatus(e){return E(this.configuration).getSystemStatus(e).then(r=>r(this.axios,this.basePath))}getSystemVersion(e){return E(this.configuration).getSystemVersion(e).then(r=>r(this.axios,this.basePath))}listConfigurationResources(e){return E(this.configuration).listConfigurationResources(e).then(r=>r(this.axios,this.basePath))}restoreConfiguration(e,r,t){return E(this.configuration).restoreConfiguration(e,r,t).then(s=>s(this.axios,this.basePath))}updateNovaVersion(e,r){return E(this.configuration).updateNovaVersion(e,r).then(t=>t(this.axios,this.basePath))}};const ke=function(e){return{addTrajectory:async(r,t,s,c={})=>{h("addTrajectory","cell",r),h("addTrajectory","controller",t),h("addTrajectory","addTrajectoryRequest",s);const n="/cells/{cell}/controllers/{controller}/trajectories".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"POST",...a,...c},i={},p={};u(o,e),await P(i,e),i["Content-Type"]="application/json",b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},o.data=A(s,o,e),{url:x(l),options:o}},clearTrajectories:async(r,t,s={})=>{h("clearTrajectories","cell",r),h("clearTrajectories","controller",t);const c="/cells/{cell}/controllers/{controller}/trajectories".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"DELETE",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},deleteTrajectory:async(r,t,s,c={})=>{h("deleteTrajectory","cell",r),h("deleteTrajectory","controller",t),h("deleteTrajectory","trajectory",s);const n="/cells/{cell}/controllers/{controller}/trajectories/{trajectory}".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))).replace("{trajectory}",encodeURIComponent(String(s))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"DELETE",...a,...c},i={},p={};u(o,e),await P(i,e),b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},{url:x(l),options:o}},getTrajectory:async(r,t,s,c={})=>{h("getTrajectory","cell",r),h("getTrajectory","controller",t),h("getTrajectory","trajectory",s);const n="/cells/{cell}/controllers/{controller}/trajectories/{trajectory}".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))).replace("{trajectory}",encodeURIComponent(String(s))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"GET",...a,...c},i={},p={};u(o,e),await P(i,e),b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},{url:x(l),options:o}},listTrajectories:async(r,t,s={})=>{h("listTrajectories","cell",r),h("listTrajectories","controller",t);const c="/cells/{cell}/controllers/{controller}/trajectories".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"GET",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}}}},k=function(e){const r=ke(e);return{async addTrajectory(t,s,c,n){var i,p;const l=await r.addTrajectory(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["TrajectoryCachingApi.addTrajectory"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async clearTrajectories(t,s,c){var o,i;const n=await r.clearTrajectories(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["TrajectoryCachingApi.clearTrajectories"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async deleteTrajectory(t,s,c,n){var i,p;const l=await r.deleteTrajectory(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["TrajectoryCachingApi.deleteTrajectory"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async getTrajectory(t,s,c,n){var i,p;const l=await r.getTrajectory(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["TrajectoryCachingApi.getTrajectory"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async listTrajectories(t,s,c){var o,i;const n=await r.listTrajectories(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["TrajectoryCachingApi.listTrajectories"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)}}};var _e=class extends R{addTrajectory(e,r,t,s){return k(this.configuration).addTrajectory(e,r,t,s).then(c=>c(this.axios,this.basePath))}clearTrajectories(e,r,t){return k(this.configuration).clearTrajectories(e,r,t).then(s=>s(this.axios,this.basePath))}deleteTrajectory(e,r,t,s){return k(this.configuration).deleteTrajectory(e,r,t,s).then(c=>c(this.axios,this.basePath))}getTrajectory(e,r,t,s){return k(this.configuration).getTrajectory(e,r,t,s).then(c=>c(this.axios,this.basePath))}listTrajectories(e,r,t){return k(this.configuration).listTrajectories(e,r,t).then(s=>s(this.axios,this.basePath))}};const Ke=function(e){return{executeTrajectory:async(r,t,s,c={})=>{h("executeTrajectory","cell",r),h("executeTrajectory","controller",t),h("executeTrajectory","executeTrajectoryRequest",s);const n="/cells/{cell}/controllers/{controller}/execution/trajectory".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"GET",...a,...c},i={},p={};u(o,e),await P(i,e),i["Content-Type"]="application/json",b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},o.data=A(s,o,e),{url:x(l),options:o}}}},Ne=function(e){const r=Ke(e);return{async executeTrajectory(t,s,c,n){var i,p;const l=await r.executeTrajectory(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["TrajectoryExecutionApi.executeTrajectory"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)}}};var Je=class extends R{executeTrajectory(e,r,t,s){return Ne(this.configuration).executeTrajectory(e,r,t,s).then(c=>c(this.axios,this.basePath))}};const Ye=function(e){return{planCollisionFree:async(r,t,s={})=>{h("planCollisionFree","cell",r),h("planCollisionFree","planCollisionFreeRequest",t);const c="/cells/{cell}/trajectory-planning/plan-collision-free".replace("{cell}",encodeURIComponent(String(r))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"POST",...l,...s},o={},i={};u(a,e),await P(o,e),o["Content-Type"]="application/json",b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},a.data=A(t,a,e),{url:x(n),options:a}},planTrajectory:async(r,t,s={})=>{h("planTrajectory","cell",r),h("planTrajectory","planTrajectoryRequest",t);const c="/cells/{cell}/trajectory-planning/plan-trajectory".replace("{cell}",encodeURIComponent(String(r))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"POST",...l,...s},o={},i={};u(a,e),await P(o,e),o["Content-Type"]="application/json",b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},a.data=A(t,a,e),{url:x(n),options:a}}}},g=function(e){const r=Ye(e);return{async planCollisionFree(t,s,c){var o,i;const n=await r.planCollisionFree(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["TrajectoryPlanningApi.planCollisionFree"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async planTrajectory(t,s,c){var o,i;const n=await r.planTrajectory(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["TrajectoryPlanningApi.planTrajectory"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)}}};var ze=class extends R{planCollisionFree(e,r,t){return g(this.configuration).planCollisionFree(e,r,t).then(s=>s(this.axios,this.basePath))}planTrajectory(e,r,t){return g(this.configuration).planTrajectory(e,r,t).then(s=>s(this.axios,this.basePath))}};const We=function(e){return{addVirtualControllerCoordinateSystem:async(r,t,s,c,n={})=>{h("addVirtualControllerCoordinateSystem","cell",r),h("addVirtualControllerCoordinateSystem","controller",t),h("addVirtualControllerCoordinateSystem","coordinateSystem",s),h("addVirtualControllerCoordinateSystem","coordinateSystemData",c);const l="/cells/{cell}/virtual-controllers/{controller}/coordinate-systems/{coordinate-system}".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))).replace("{coordinate-system}",encodeURIComponent(String(s))),a=new URL(l,S);let o;e&&(o=e.baseOptions);const i={method:"PUT",...o,...n},p={},d={};u(i,e),await P(p,e),p["Content-Type"]="application/json",b(a,d);let V=o&&o.headers?o.headers:{};return i.headers={...p,...V,...n.headers},i.data=A(c,i,e),{url:x(a),options:i}},addVirtualControllerTcp:async(r,t,s,c,n,l={})=>{h("addVirtualControllerTcp","cell",r),h("addVirtualControllerTcp","controller",t),h("addVirtualControllerTcp","motionGroup",s),h("addVirtualControllerTcp","tcp",c),h("addVirtualControllerTcp","robotTcpData",n);const a="/cells/{cell}/virtual-controllers/{controller}/motion-groups/{motion-group}/tcps/{tcp}".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))).replace("{motion-group}",encodeURIComponent(String(s))).replace("{tcp}",encodeURIComponent(String(c))),o=new URL(a,S);let i;e&&(i=e.baseOptions);const p={method:"PUT",...i,...l},d={},V={};u(p,e),await P(d,e),d["Content-Type"]="application/json",b(o,V);let y=i&&i.headers?i.headers:{};return p.headers={...d,...y,...l.headers},p.data=A(n,p,e),{url:x(o),options:p}},deleteVirtualControllerCoordinateSystem:async(r,t,s,c,n={})=>{h("deleteVirtualControllerCoordinateSystem","cell",r),h("deleteVirtualControllerCoordinateSystem","controller",t),h("deleteVirtualControllerCoordinateSystem","coordinateSystem",s);const l="/cells/{cell}/virtual-controllers/{controller}/coordinate-systems/{coordinate-system}".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))).replace("{coordinate-system}",encodeURIComponent(String(s))),a=new URL(l,S);let o;e&&(o=e.baseOptions);const i={method:"DELETE",...o,...n},p={},d={};u(i,e),await P(p,e),c!==void 0&&(d.delete_dependent=c),b(a,d);let V=o&&o.headers?o.headers:{};return i.headers={...p,...V,...n.headers},{url:x(a),options:i}},deleteVirtualControllerTcp:async(r,t,s,c,n={})=>{h("deleteVirtualControllerTcp","cell",r),h("deleteVirtualControllerTcp","controller",t),h("deleteVirtualControllerTcp","motionGroup",s),h("deleteVirtualControllerTcp","tcp",c);const l="/cells/{cell}/virtual-controllers/{controller}/motion-groups/{motion-group}/tcps/{tcp}".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))).replace("{motion-group}",encodeURIComponent(String(s))).replace("{tcp}",encodeURIComponent(String(c))),a=new URL(l,S);let o;e&&(o=e.baseOptions);const i={method:"DELETE",...o,...n},p={},d={};u(i,e),await P(p,e),b(a,d);let V=o&&o.headers?o.headers:{};return i.headers={...p,...V,...n.headers},{url:x(a),options:i}},getEmergencyStop:async(r,t,s={})=>{h("getEmergencyStop","cell",r),h("getEmergencyStop","controller",t);const c="/cells/{cell}/virtual-controllers/{controller}/emergency-stop".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"GET",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},getMotionGroupState:async(r,t,s,c={})=>{h("getMotionGroupState","cell",r),h("getMotionGroupState","controller",t),h("getMotionGroupState","motionGroup",s);const n="/cells/{cell}/virtual-controllers/{controller}/motion-groups/{motion-group}/state".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))).replace("{motion-group}",encodeURIComponent(String(s))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"GET",...a,...c},i={},p={};u(o,e),await P(i,e),b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},{url:x(l),options:o}},getMotionGroups:async(r,t,s={})=>{h("getMotionGroups","cell",r),h("getMotionGroups","controller",t);const c="/cells/{cell}/virtual-controllers/{controller}/motion-groups".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"GET",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},getOperationMode:async(r,t,s={})=>{h("getOperationMode","cell",r),h("getOperationMode","controller",t);const c="/cells/{cell}/virtual-controllers/{controller}/operationmode".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"GET",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},getVirtualControllerMounting:async(r,t,s,c={})=>{h("getVirtualControllerMounting","cell",r),h("getVirtualControllerMounting","controller",t),h("getVirtualControllerMounting","motionGroup",s);const n="/cells/{cell}/virtual-controllers/{controller}/motion-groups/{motion-group}/mounting".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))).replace("{motion-group}",encodeURIComponent(String(s))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"GET",...a,...c},i={},p={};u(o,e),await P(i,e),b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},{url:x(l),options:o}},listVirtualControllerCoordinateSystems:async(r,t,s={})=>{h("listVirtualControllerCoordinateSystems","cell",r),h("listVirtualControllerCoordinateSystems","controller",t);const c="/cells/{cell}/virtual-controllers/{controller}/coordinate-systems".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"GET",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},listVirtualControllerTcps:async(r,t,s,c={})=>{h("listVirtualControllerTcps","cell",r),h("listVirtualControllerTcps","controller",t),h("listVirtualControllerTcps","motionGroup",s);const n="/cells/{cell}/virtual-controllers/{controller}/motion-groups/{motion-group}/tcps".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))).replace("{motion-group}",encodeURIComponent(String(s))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"GET",...a,...c},i={},p={};u(o,e),await P(i,e),b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},{url:x(l),options:o}},setEmergencyStop:async(r,t,s,c={})=>{h("setEmergencyStop","cell",r),h("setEmergencyStop","controller",t);const n="/cells/{cell}/virtual-controllers/{controller}/emergency-stop".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"PUT",...a,...c},i={},p={};u(o,e),await P(i,e),s!==void 0&&(p.active=s),b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},{url:x(l),options:o}},setMotionGroupState:async(r,t,s,c,n={})=>{h("setMotionGroupState","cell",r),h("setMotionGroupState","controller",t),h("setMotionGroupState","motionGroup",s),h("setMotionGroupState","motionGroupJoints",c);const l="/cells/{cell}/virtual-controllers/{controller}/motion-groups/{motion-group}/state".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))).replace("{motion-group}",encodeURIComponent(String(s))),a=new URL(l,S);let o;e&&(o=e.baseOptions);const i={method:"PUT",...o,...n},p={},d={};u(i,e),await P(p,e),p["Content-Type"]="application/json",b(a,d);let V=o&&o.headers?o.headers:{};return i.headers={...p,...V,...n.headers},i.data=A(c,i,e),{url:x(a),options:i}},setOperationMode:async(r,t,s,c={})=>{h("setOperationMode","cell",r),h("setOperationMode","controller",t),h("setOperationMode","mode",s);const n="/cells/{cell}/virtual-controllers/{controller}/operationmode".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"PUT",...a,...c},i={},p={};u(o,e),await P(i,e),s!==void 0&&(p.mode=s),b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},{url:x(l),options:o}},setVirtualControllerMounting:async(r,t,s,c,n={})=>{h("setVirtualControllerMounting","cell",r),h("setVirtualControllerMounting","controller",t),h("setVirtualControllerMounting","motionGroup",s),h("setVirtualControllerMounting","coordinateSystem",c);const l="/cells/{cell}/virtual-controllers/{controller}/motion-groups/{motion-group}/mounting".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))).replace("{motion-group}",encodeURIComponent(String(s))),a=new URL(l,S);let o;e&&(o=e.baseOptions);const i={method:"PUT",...o,...n},p={},d={};u(i,e),await P(p,e),p["Content-Type"]="application/json",b(a,d);let V=o&&o.headers?o.headers:{};return i.headers={...p,...V,...n.headers},i.data=A(c,i,e),{url:x(a),options:i}}}},T=function(e){const r=We(e);return{async addVirtualControllerCoordinateSystem(t,s,c,n,l){var p,d;const a=await r.addVirtualControllerCoordinateSystem(t,s,c,n,l),o=(e==null?void 0:e.serverIndex)??0,i=(d=(p=C["VirtualControllerApi.addVirtualControllerCoordinateSystem"])==null?void 0:p[o])==null?void 0:d.url;return(V,y)=>I(a,O.axios,m,e)(V,i||y)},async addVirtualControllerTcp(t,s,c,n,l,a){var d,V;const o=await r.addVirtualControllerTcp(t,s,c,n,l,a),i=(e==null?void 0:e.serverIndex)??0,p=(V=(d=C["VirtualControllerApi.addVirtualControllerTcp"])==null?void 0:d[i])==null?void 0:V.url;return(y,v)=>I(o,O.axios,m,e)(y,p||v)},async deleteVirtualControllerCoordinateSystem(t,s,c,n,l){var p,d;const a=await r.deleteVirtualControllerCoordinateSystem(t,s,c,n,l),o=(e==null?void 0:e.serverIndex)??0,i=(d=(p=C["VirtualControllerApi.deleteVirtualControllerCoordinateSystem"])==null?void 0:p[o])==null?void 0:d.url;return(V,y)=>I(a,O.axios,m,e)(V,i||y)},async deleteVirtualControllerTcp(t,s,c,n,l){var p,d;const a=await r.deleteVirtualControllerTcp(t,s,c,n,l),o=(e==null?void 0:e.serverIndex)??0,i=(d=(p=C["VirtualControllerApi.deleteVirtualControllerTcp"])==null?void 0:p[o])==null?void 0:d.url;return(V,y)=>I(a,O.axios,m,e)(V,i||y)},async getEmergencyStop(t,s,c){var o,i;const n=await r.getEmergencyStop(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["VirtualControllerApi.getEmergencyStop"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async getMotionGroupState(t,s,c,n){var i,p;const l=await r.getMotionGroupState(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["VirtualControllerApi.getMotionGroupState"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async getMotionGroups(t,s,c){var o,i;const n=await r.getMotionGroups(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["VirtualControllerApi.getMotionGroups"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async getOperationMode(t,s,c){var o,i;const n=await r.getOperationMode(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["VirtualControllerApi.getOperationMode"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async getVirtualControllerMounting(t,s,c,n){var i,p;const l=await r.getVirtualControllerMounting(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["VirtualControllerApi.getVirtualControllerMounting"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async listVirtualControllerCoordinateSystems(t,s,c){var o,i;const n=await r.listVirtualControllerCoordinateSystems(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["VirtualControllerApi.listVirtualControllerCoordinateSystems"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async listVirtualControllerTcps(t,s,c,n){var i,p;const l=await r.listVirtualControllerTcps(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["VirtualControllerApi.listVirtualControllerTcps"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async setEmergencyStop(t,s,c,n){var i,p;const l=await r.setEmergencyStop(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["VirtualControllerApi.setEmergencyStop"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async setMotionGroupState(t,s,c,n,l){var p,d;const a=await r.setMotionGroupState(t,s,c,n,l),o=(e==null?void 0:e.serverIndex)??0,i=(d=(p=C["VirtualControllerApi.setMotionGroupState"])==null?void 0:p[o])==null?void 0:d.url;return(V,y)=>I(a,O.axios,m,e)(V,i||y)},async setOperationMode(t,s,c,n){var i,p;const l=await r.setOperationMode(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["VirtualControllerApi.setOperationMode"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async setVirtualControllerMounting(t,s,c,n,l){var p,d;const a=await r.setVirtualControllerMounting(t,s,c,n,l),o=(e==null?void 0:e.serverIndex)??0,i=(d=(p=C["VirtualControllerApi.setVirtualControllerMounting"])==null?void 0:p[o])==null?void 0:d.url;return(V,y)=>I(a,O.axios,m,e)(V,i||y)}}};var $e=class extends R{addVirtualControllerCoordinateSystem(e,r,t,s,c){return T(this.configuration).addVirtualControllerCoordinateSystem(e,r,t,s,c).then(n=>n(this.axios,this.basePath))}addVirtualControllerTcp(e,r,t,s,c,n){return T(this.configuration).addVirtualControllerTcp(e,r,t,s,c,n).then(l=>l(this.axios,this.basePath))}deleteVirtualControllerCoordinateSystem(e,r,t,s,c){return T(this.configuration).deleteVirtualControllerCoordinateSystem(e,r,t,s,c).then(n=>n(this.axios,this.basePath))}deleteVirtualControllerTcp(e,r,t,s,c){return T(this.configuration).deleteVirtualControllerTcp(e,r,t,s,c).then(n=>n(this.axios,this.basePath))}getEmergencyStop(e,r,t){return T(this.configuration).getEmergencyStop(e,r,t).then(s=>s(this.axios,this.basePath))}getMotionGroupState(e,r,t,s){return T(this.configuration).getMotionGroupState(e,r,t,s).then(c=>c(this.axios,this.basePath))}getMotionGroups(e,r,t){return T(this.configuration).getMotionGroups(e,r,t).then(s=>s(this.axios,this.basePath))}getOperationMode(e,r,t){return T(this.configuration).getOperationMode(e,r,t).then(s=>s(this.axios,this.basePath))}getVirtualControllerMounting(e,r,t,s){return T(this.configuration).getVirtualControllerMounting(e,r,t,s).then(c=>c(this.axios,this.basePath))}listVirtualControllerCoordinateSystems(e,r,t){return T(this.configuration).listVirtualControllerCoordinateSystems(e,r,t).then(s=>s(this.axios,this.basePath))}listVirtualControllerTcps(e,r,t,s){return T(this.configuration).listVirtualControllerTcps(e,r,t,s).then(c=>c(this.axios,this.basePath))}setEmergencyStop(e,r,t,s){return T(this.configuration).setEmergencyStop(e,r,t,s).then(c=>c(this.axios,this.basePath))}setMotionGroupState(e,r,t,s,c){return T(this.configuration).setMotionGroupState(e,r,t,s,c).then(n=>n(this.axios,this.basePath))}setOperationMode(e,r,t,s){return T(this.configuration).setOperationMode(e,r,t,s).then(c=>c(this.axios,this.basePath))}setVirtualControllerMounting(e,r,t,s,c){return T(this.configuration).setVirtualControllerMounting(e,r,t,s,c).then(n=>n(this.axios,this.basePath))}};const Xe=function(e){return{externalJointsStream:async(r,t,s,c={})=>{h("externalJointsStream","cell",r),h("externalJointsStream","controller",t),h("externalJointsStream","externalJointStreamRequest",s);const n="/cells/{cell}/virtual-controllers/{controller}/external-joints-stream".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"GET",...a,...c},i={},p={};u(o,e),await P(i,e),i["Content-Type"]="application/json",b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},o.data=A(s,o,e),{url:x(l),options:o}},getCycleTime:async(r,t,s={})=>{h("getCycleTime","cell",r),h("getCycleTime","controller",t);const c="/cells/{cell}/virtual-controllers/{controller}/cycle-time".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"GET",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},getVirtualControllerBehavior:async(r,t,s={})=>{h("getVirtualControllerBehavior","cell",r),h("getVirtualControllerBehavior","controller",t);const c="/cells/{cell}/virtual-controllers/{controller}/behavior".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),n=new URL(c,S);let l;e&&(l=e.baseOptions);const a={method:"GET",...l,...s},o={},i={};u(a,e),await P(o,e),b(n,i);let p=l&&l.headers?l.headers:{};return a.headers={...o,...p,...s.headers},{url:x(n),options:a}},setVirtualControllerBehavior:async(r,t,s,c={})=>{h("setVirtualControllerBehavior","cell",r),h("setVirtualControllerBehavior","controller",t);const n="/cells/{cell}/virtual-controllers/{controller}/behavior".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"PUT",...a,...c},i={},p={};u(o,e),await P(i,e),s!==void 0&&(p.behavior=s),b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},{url:x(l),options:o}}}},K=function(e){const r=Xe(e);return{async externalJointsStream(t,s,c,n){var i,p;const l=await r.externalJointsStream(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["VirtualControllerBehaviorApi.externalJointsStream"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async getCycleTime(t,s,c){var o,i;const n=await r.getCycleTime(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["VirtualControllerBehaviorApi.getCycleTime"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async getVirtualControllerBehavior(t,s,c){var o,i;const n=await r.getVirtualControllerBehavior(t,s,c),l=(e==null?void 0:e.serverIndex)??0,a=(i=(o=C["VirtualControllerBehaviorApi.getVirtualControllerBehavior"])==null?void 0:o[l])==null?void 0:i.url;return(p,d)=>I(n,O.axios,m,e)(p,a||d)},async setVirtualControllerBehavior(t,s,c,n){var i,p;const l=await r.setVirtualControllerBehavior(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["VirtualControllerBehaviorApi.setVirtualControllerBehavior"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)}}};var Ze=class extends R{externalJointsStream(e,r,t,s){return K(this.configuration).externalJointsStream(e,r,t,s).then(c=>c(this.axios,this.basePath))}getCycleTime(e,r,t){return K(this.configuration).getCycleTime(e,r,t).then(s=>s(this.axios,this.basePath))}getVirtualControllerBehavior(e,r,t){return K(this.configuration).getVirtualControllerBehavior(e,r,t).then(s=>s(this.axios,this.basePath))}setVirtualControllerBehavior(e,r,t,s){return K(this.configuration).setVirtualControllerBehavior(e,r,t,s).then(c=>c(this.axios,this.basePath))}};const ge=function(e){return{listIOs:async(r,t,s,c={})=>{h("listIOs","cell",r),h("listIOs","controller",t),h("listIOs","ios",s);const n="/cells/{cell}/virtual-controllers/{controller}/ios/values".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"GET",...a,...c},i={},p={};u(o,e),await P(i,e),s&&(p.ios=s),b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},{url:x(l),options:o}},listVirtualControllerIODescriptions:async(r,t,s,c,n,l,a={})=>{h("listVirtualControllerIODescriptions","cell",r),h("listVirtualControllerIODescriptions","controller",t);const o="/cells/{cell}/virtual-controllers/{controller}/ios/description".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),i=new URL(o,S);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...a},V={},y={};u(d,e),await P(V,e),s&&(y.ios=s),c!==void 0&&(y.direction=c),n!==void 0&&(y.value_type=n),l!==void 0&&(y.group=l),b(i,y);let v=p&&p.headers?p.headers:{};return d.headers={...V,...v,...a.headers},{url:x(i),options:d}},setIOValues:async(r,t,s,c={})=>{h("setIOValues","cell",r),h("setIOValues","controller",t),h("setIOValues","iOValue",s);const n="/cells/{cell}/virtual-controllers/{controller}/ios/values".replace("{cell}",encodeURIComponent(String(r))).replace("{controller}",encodeURIComponent(String(t))),l=new URL(n,S);let a;e&&(a=e.baseOptions);const o={method:"PUT",...a,...c},i={},p={};u(o,e),await P(i,e),i["Content-Type"]="application/json",b(l,p);let d=a&&a.headers?a.headers:{};return o.headers={...i,...d,...c.headers},o.data=A(s,o,e),{url:x(l),options:o}}}},z=function(e){const r=ge(e);return{async listIOs(t,s,c,n){var i,p;const l=await r.listIOs(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["VirtualControllerInputsOutputsApi.listIOs"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)},async listVirtualControllerIODescriptions(t,s,c,n,l,a,o){var V,y;const i=await r.listVirtualControllerIODescriptions(t,s,c,n,l,a,o),p=(e==null?void 0:e.serverIndex)??0,d=(y=(V=C["VirtualControllerInputsOutputsApi.listVirtualControllerIODescriptions"])==null?void 0:V[p])==null?void 0:y.url;return(v,q)=>I(i,O.axios,m,e)(v,d||q)},async setIOValues(t,s,c,n){var i,p;const l=await r.setIOValues(t,s,c,n),a=(e==null?void 0:e.serverIndex)??0,o=(p=(i=C["VirtualControllerInputsOutputsApi.setIOValues"])==null?void 0:i[a])==null?void 0:p.url;return(d,V)=>I(l,O.axios,m,e)(d,o||V)}}};var fe=class extends R{listIOs(e,r,t,s){return z(this.configuration).listIOs(e,r,t,s).then(c=>c(this.axios,this.basePath))}listVirtualControllerIODescriptions(e,r,t,s,c,n,l){return z(this.configuration).listVirtualControllerIODescriptions(e,r,t,s,c,n,l).then(a=>a(this.axios,this.basePath))}setIOValues(e,r,t,s){return z(this.configuration).setIOValues(e,r,t,s).then(c=>c(this.axios,this.basePath))}};exports.ApplicationApi=me;exports.BUSInputsOutputsApi=Se;exports.CellApi=Pe;exports.ControllerApi=xe;exports.ControllerInputsOutputsApi=ye;exports.JoggingApi=Re;exports.KinematicsApi=we;exports.Manufacturer=Ve;exports.MotionGroupApi=Be;exports.MotionGroupModelsApi=Ee;exports.ProgramControl=se;exports.ProgramState=j;exports.ProgramStateIndicator=ae;exports.StoreCollisionComponentsApi=Me;exports.StoreCollisionSetupsApi=Ge;exports.StoreObjectApi=He;exports.SystemApi=De;exports.TrajectoryCachingApi=_e;exports.TrajectoryExecutionApi=Je;exports.TrajectoryPlanningApi=ze;exports.ValueInterpolator=re;exports.VirtualControllerApi=$e;exports.VirtualControllerBehaviorApi=Ze;exports.VirtualControllerInputsOutputsApi=fe;exports.useAnimationFrame=ne;exports.useAutorun=le;exports.useInterpolation=ce;exports.useMounted=J;exports.useReaction=oe;
|
|
2
|
-
//# sourceMappingURL=index-CqMZL0FV.cjs.map
|