@wandelbots/nova-api 25.6.0-dev.41 → 25.6.0-dev.42
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/package.json +1 -1
- package/v2/api.d.ts +39 -775
- package/v2/api.js +933 -1929
- package/v2/api.js.map +1 -1
- package/v2/api.ts +879 -2223
package/v2/api.ts
CHANGED
|
@@ -695,7 +695,7 @@ export type Comparator = typeof Comparator[keyof typeof Comparator];
|
|
|
695
695
|
* Result of a backup operation.
|
|
696
696
|
* @export
|
|
697
697
|
*/
|
|
698
|
-
export type ConfigurationArchiveStatus = ConfigurationArchiveStatusCreating | ConfigurationArchiveStatusError | ConfigurationArchiveStatusSuccess;
|
|
698
|
+
export type ConfigurationArchiveStatus = { status: 'creating' } & ConfigurationArchiveStatusCreating | { status: 'error' } & ConfigurationArchiveStatusError | { status: 'success' } & ConfigurationArchiveStatusSuccess;
|
|
699
699
|
|
|
700
700
|
/**
|
|
701
701
|
*
|
|
@@ -1447,19 +1447,6 @@ export interface HTTPValidationError {
|
|
|
1447
1447
|
*/
|
|
1448
1448
|
'detail'?: Array<ValidationError>;
|
|
1449
1449
|
}
|
|
1450
|
-
/**
|
|
1451
|
-
*
|
|
1452
|
-
* @export
|
|
1453
|
-
* @interface HTTPValidationError2
|
|
1454
|
-
*/
|
|
1455
|
-
export interface HTTPValidationError2 {
|
|
1456
|
-
/**
|
|
1457
|
-
*
|
|
1458
|
-
* @type {Array<ValidationError2>}
|
|
1459
|
-
* @memberof HTTPValidationError2
|
|
1460
|
-
*/
|
|
1461
|
-
'detail'?: Array<ValidationError2>;
|
|
1462
|
-
}
|
|
1463
1450
|
/**
|
|
1464
1451
|
* Input/Output boolean value representation.
|
|
1465
1452
|
* @export
|
|
@@ -2791,31 +2778,6 @@ export interface MotionGroupStateJointLimitReached {
|
|
|
2791
2778
|
*/
|
|
2792
2779
|
'limit_reached': Array<boolean>;
|
|
2793
2780
|
}
|
|
2794
|
-
/**
|
|
2795
|
-
* Collection of information on the current state of the robot.
|
|
2796
|
-
* @export
|
|
2797
|
-
* @interface MotionState
|
|
2798
|
-
*/
|
|
2799
|
-
export interface MotionState {
|
|
2800
|
-
/**
|
|
2801
|
-
* Unique identifier of the motion group that executed the program
|
|
2802
|
-
* @type {string}
|
|
2803
|
-
* @memberof MotionState
|
|
2804
|
-
*/
|
|
2805
|
-
'motion_group_id'?: string;
|
|
2806
|
-
/**
|
|
2807
|
-
* Parameters of the path that was executed
|
|
2808
|
-
* @type {number}
|
|
2809
|
-
* @memberof MotionState
|
|
2810
|
-
*/
|
|
2811
|
-
'path_parameters'?: number;
|
|
2812
|
-
/**
|
|
2813
|
-
*
|
|
2814
|
-
* @type {RobotState}
|
|
2815
|
-
* @memberof MotionState
|
|
2816
|
-
*/
|
|
2817
|
-
'state': RobotState;
|
|
2818
|
-
}
|
|
2819
2781
|
/**
|
|
2820
2782
|
* Error message in case an error occurs during movement execution.
|
|
2821
2783
|
* @export
|
|
@@ -3546,177 +3508,6 @@ export interface Pose {
|
|
|
3546
3508
|
*/
|
|
3547
3509
|
'orientation'?: Array<number>;
|
|
3548
3510
|
}
|
|
3549
|
-
/**
|
|
3550
|
-
* A program is a collection of instructions that are executed in the robot cell.
|
|
3551
|
-
* @export
|
|
3552
|
-
* @interface Program
|
|
3553
|
-
*/
|
|
3554
|
-
export interface Program {
|
|
3555
|
-
/**
|
|
3556
|
-
*
|
|
3557
|
-
* @type {string}
|
|
3558
|
-
* @memberof Program
|
|
3559
|
-
*/
|
|
3560
|
-
'content': string;
|
|
3561
|
-
/**
|
|
3562
|
-
* Defines the program type, e.g. Python and Wandelscript.
|
|
3563
|
-
* @type {string}
|
|
3564
|
-
* @memberof Program
|
|
3565
|
-
*/
|
|
3566
|
-
'program_type': ProgramProgramTypeEnum;
|
|
3567
|
-
}
|
|
3568
|
-
|
|
3569
|
-
export const ProgramProgramTypeEnum = {
|
|
3570
|
-
Python: 'PYTHON',
|
|
3571
|
-
Wandelscript: 'WANDELSCRIPT'
|
|
3572
|
-
} as const;
|
|
3573
|
-
|
|
3574
|
-
export type ProgramProgramTypeEnum = typeof ProgramProgramTypeEnum[keyof typeof ProgramProgramTypeEnum];
|
|
3575
|
-
|
|
3576
|
-
/**
|
|
3577
|
-
* Holds the state of a program run.
|
|
3578
|
-
* @export
|
|
3579
|
-
* @interface ProgramRun
|
|
3580
|
-
*/
|
|
3581
|
-
export interface ProgramRun {
|
|
3582
|
-
/**
|
|
3583
|
-
* Unique identifier of the program run
|
|
3584
|
-
* @type {string}
|
|
3585
|
-
* @memberof ProgramRun
|
|
3586
|
-
*/
|
|
3587
|
-
'id': string;
|
|
3588
|
-
/**
|
|
3589
|
-
* State of the program run
|
|
3590
|
-
* @type {ProgramRunState}
|
|
3591
|
-
* @memberof ProgramRun
|
|
3592
|
-
*/
|
|
3593
|
-
'state': ProgramRunState;
|
|
3594
|
-
/**
|
|
3595
|
-
* Logs of the program run
|
|
3596
|
-
* @type {string}
|
|
3597
|
-
* @memberof ProgramRun
|
|
3598
|
-
*/
|
|
3599
|
-
'logs'?: string;
|
|
3600
|
-
/**
|
|
3601
|
-
* Stdout of the program run
|
|
3602
|
-
* @type {string}
|
|
3603
|
-
* @memberof ProgramRun
|
|
3604
|
-
*/
|
|
3605
|
-
'stdout'?: string;
|
|
3606
|
-
/**
|
|
3607
|
-
* Stderr of the program run
|
|
3608
|
-
* @type {string}
|
|
3609
|
-
* @memberof ProgramRun
|
|
3610
|
-
*/
|
|
3611
|
-
'stderr'?: string;
|
|
3612
|
-
/**
|
|
3613
|
-
* Error message of the program run, if any
|
|
3614
|
-
* @type {string}
|
|
3615
|
-
* @memberof ProgramRun
|
|
3616
|
-
*/
|
|
3617
|
-
'error'?: string;
|
|
3618
|
-
/**
|
|
3619
|
-
* Traceback of the program run, if any
|
|
3620
|
-
* @type {string}
|
|
3621
|
-
* @memberof ProgramRun
|
|
3622
|
-
*/
|
|
3623
|
-
'traceback'?: string;
|
|
3624
|
-
/**
|
|
3625
|
-
* Start time of the program run
|
|
3626
|
-
* @type {string}
|
|
3627
|
-
* @memberof ProgramRun
|
|
3628
|
-
*/
|
|
3629
|
-
'start_time'?: string;
|
|
3630
|
-
/**
|
|
3631
|
-
* End time of the program run
|
|
3632
|
-
* @type {string}
|
|
3633
|
-
* @memberof ProgramRun
|
|
3634
|
-
*/
|
|
3635
|
-
'end_time'?: string;
|
|
3636
|
-
/**
|
|
3637
|
-
* Paths executed by the motion group
|
|
3638
|
-
* @type {Array<Array<MotionState>>}
|
|
3639
|
-
* @memberof ProgramRun
|
|
3640
|
-
*/
|
|
3641
|
-
'execution_results'?: Array<Array<MotionState>>;
|
|
3642
|
-
/**
|
|
3643
|
-
* Result of the executed program. Content depends on the program type.
|
|
3644
|
-
* @type {object}
|
|
3645
|
-
* @memberof ProgramRun
|
|
3646
|
-
*/
|
|
3647
|
-
'result'?: object;
|
|
3648
|
-
}
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
/**
|
|
3652
|
-
* Reference to an executed program.
|
|
3653
|
-
* @export
|
|
3654
|
-
* @interface ProgramRunReference
|
|
3655
|
-
*/
|
|
3656
|
-
export interface ProgramRunReference {
|
|
3657
|
-
/**
|
|
3658
|
-
*
|
|
3659
|
-
* @type {string}
|
|
3660
|
-
* @memberof ProgramRunReference
|
|
3661
|
-
*/
|
|
3662
|
-
'id': string;
|
|
3663
|
-
/**
|
|
3664
|
-
*
|
|
3665
|
-
* @type {ProgramRunState}
|
|
3666
|
-
* @memberof ProgramRunReference
|
|
3667
|
-
*/
|
|
3668
|
-
'state': ProgramRunState;
|
|
3669
|
-
}
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
/**
|
|
3673
|
-
* Request model for running a program
|
|
3674
|
-
* @export
|
|
3675
|
-
* @interface ProgramRunRequest
|
|
3676
|
-
*/
|
|
3677
|
-
export interface ProgramRunRequest {
|
|
3678
|
-
/**
|
|
3679
|
-
*
|
|
3680
|
-
* @type {Program}
|
|
3681
|
-
* @memberof ProgramRunRequest
|
|
3682
|
-
*/
|
|
3683
|
-
'program': Program;
|
|
3684
|
-
/**
|
|
3685
|
-
* Identifier of default robot to use for execution
|
|
3686
|
-
* @type {string}
|
|
3687
|
-
* @memberof ProgramRunRequest
|
|
3688
|
-
*/
|
|
3689
|
-
'default_robot'?: string;
|
|
3690
|
-
/**
|
|
3691
|
-
* Identifier of default TCP to use for execution
|
|
3692
|
-
* @type {string}
|
|
3693
|
-
* @memberof ProgramRunRequest
|
|
3694
|
-
*/
|
|
3695
|
-
'default_tcp'?: string;
|
|
3696
|
-
/**
|
|
3697
|
-
* Initial arguments that are available within the program
|
|
3698
|
-
* @type {object}
|
|
3699
|
-
* @memberof ProgramRunRequest
|
|
3700
|
-
*/
|
|
3701
|
-
'run_args'?: object;
|
|
3702
|
-
}
|
|
3703
|
-
/**
|
|
3704
|
-
* The state of a program run.
|
|
3705
|
-
* @export
|
|
3706
|
-
* @enum {string}
|
|
3707
|
-
*/
|
|
3708
|
-
|
|
3709
|
-
export const ProgramRunState = {
|
|
3710
|
-
NotStarted: 'NOT_STARTED',
|
|
3711
|
-
Running: 'RUNNING',
|
|
3712
|
-
Completed: 'COMPLETED',
|
|
3713
|
-
Failed: 'FAILED',
|
|
3714
|
-
Stopped: 'STOPPED'
|
|
3715
|
-
} as const;
|
|
3716
|
-
|
|
3717
|
-
export type ProgramRunState = typeof ProgramRunState[keyof typeof ProgramRunState];
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
3511
|
/**
|
|
3721
3512
|
* Defines an x/y-plane with finite size. Centred around the z-axis.
|
|
3722
3513
|
* @export
|
|
@@ -3926,25 +3717,6 @@ export interface RobotSetup {
|
|
|
3926
3717
|
*/
|
|
3927
3718
|
'collision_scenes'?: { [key: string]: SingleMotionGroupCollisionScene; };
|
|
3928
3719
|
}
|
|
3929
|
-
/**
|
|
3930
|
-
* Collection of information on the current state of the robot.
|
|
3931
|
-
* @export
|
|
3932
|
-
* @interface RobotState
|
|
3933
|
-
*/
|
|
3934
|
-
export interface RobotState {
|
|
3935
|
-
/**
|
|
3936
|
-
*
|
|
3937
|
-
* @type {Pose}
|
|
3938
|
-
* @memberof RobotState
|
|
3939
|
-
*/
|
|
3940
|
-
'pose': Pose;
|
|
3941
|
-
/**
|
|
3942
|
-
*
|
|
3943
|
-
* @type {Array<number>}
|
|
3944
|
-
* @memberof RobotState
|
|
3945
|
-
*/
|
|
3946
|
-
'joints'?: Array<number>;
|
|
3947
|
-
}
|
|
3948
3720
|
/**
|
|
3949
3721
|
* The system mode of the robot system. ### ROBOT_SYSTEM_MODE_UNDEFINED Indicates that the robot controller is currently performing a mode transition. ### ROBOT_SYSTEM_MODE_DISCONNECT There is no communication with the robot controller at all. All connections are closed. No command is sent to the robot controller while in this mode. No input/output interaction is possible in this mode! All move requests will be rejected in this mode! ### ROBOT_SYSTEM_MODE_MONITOR A connection to the robot controller is established to only read the robot controller state. No command is sent to the robot controller while in this mode. It is possible to receive input/output information. All move requests will be rejected in this mode! ### ROBOT_SYSTEM_MODE_CONTROL An active connection is established with the robot controller and the robot system is cyclic commanded to stay in its actual position. The robot controller state is received in the cycle time of the robot controller. Requests via the MotionService and JoggingService will be processed and executed in this mode. Input/Output interaction is possible in this mode! **In this mode the robot system can be commanded to move.** ### ROBOT_SYSTEM_MODE_FREE_DRIVE Like ROBOT_SYSTEM_MODE_MONITOR a connection to the robot controller is established to only read the robot controller state. The difference is that the motion groups can be moved by the user (Free Drive). Thus, the servo motors are turned on. All move requests will be rejected in this mode! **This mode is not supported by every robot!** Use [getSupportedModes](getSupportedModes) to evaluate if the device support free drive.
|
|
3950
3722
|
* @export
|
|
@@ -4746,31 +4518,6 @@ export interface ValidationError {
|
|
|
4746
4518
|
*/
|
|
4747
4519
|
'type': string;
|
|
4748
4520
|
}
|
|
4749
|
-
/**
|
|
4750
|
-
* A validation error of a program.
|
|
4751
|
-
* @export
|
|
4752
|
-
* @interface ValidationError2
|
|
4753
|
-
*/
|
|
4754
|
-
export interface ValidationError2 {
|
|
4755
|
-
/**
|
|
4756
|
-
*
|
|
4757
|
-
* @type {Array<number>}
|
|
4758
|
-
* @memberof ValidationError2
|
|
4759
|
-
*/
|
|
4760
|
-
'loc': Array<number>;
|
|
4761
|
-
/**
|
|
4762
|
-
*
|
|
4763
|
-
* @type {string}
|
|
4764
|
-
* @memberof ValidationError2
|
|
4765
|
-
*/
|
|
4766
|
-
'msg': string;
|
|
4767
|
-
/**
|
|
4768
|
-
*
|
|
4769
|
-
* @type {string}
|
|
4770
|
-
* @memberof ValidationError2
|
|
4771
|
-
*/
|
|
4772
|
-
'type': string;
|
|
4773
|
-
}
|
|
4774
4521
|
/**
|
|
4775
4522
|
* @type ValidationErrorLocInner
|
|
4776
4523
|
* @export
|
|
@@ -9125,26 +8872,27 @@ export class MotionGroupModelsApi extends BaseAPI {
|
|
|
9125
8872
|
|
|
9126
8873
|
|
|
9127
8874
|
/**
|
|
9128
|
-
*
|
|
8875
|
+
* StoreCollisionComponentsApi - axios parameter creator
|
|
9129
8876
|
* @export
|
|
9130
8877
|
*/
|
|
9131
|
-
export const
|
|
8878
|
+
export const StoreCollisionComponentsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
9132
8879
|
return {
|
|
9133
8880
|
/**
|
|
9134
|
-
*
|
|
9135
|
-
* @summary
|
|
8881
|
+
* Deletes the stored collider. <!-- theme: danger --> > This will delete persistently stored data.
|
|
8882
|
+
* @summary Delete Collider
|
|
9136
8883
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9137
|
-
* @param {
|
|
8884
|
+
* @param {string} collider Unique identifier addressing a collider.
|
|
9138
8885
|
* @param {*} [options] Override http request option.
|
|
9139
8886
|
* @throws {RequiredError}
|
|
9140
8887
|
*/
|
|
9141
|
-
|
|
8888
|
+
deleteStoredCollider: async (cell: string, collider: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9142
8889
|
// verify required parameter 'cell' is not null or undefined
|
|
9143
|
-
assertParamExists('
|
|
9144
|
-
// verify required parameter '
|
|
9145
|
-
assertParamExists('
|
|
9146
|
-
const localVarPath = `/cells/{cell}/
|
|
9147
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
8890
|
+
assertParamExists('deleteStoredCollider', 'cell', cell)
|
|
8891
|
+
// verify required parameter 'collider' is not null or undefined
|
|
8892
|
+
assertParamExists('deleteStoredCollider', 'collider', collider)
|
|
8893
|
+
const localVarPath = `/cells/{cell}/store/collision/colliders/{collider}`
|
|
8894
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
8895
|
+
.replace(`{${"collider"}}`, encodeURIComponent(String(collider)));
|
|
9148
8896
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9149
8897
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9150
8898
|
let baseOptions;
|
|
@@ -9152,7 +8900,7 @@ export const ProgramApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9152
8900
|
baseOptions = configuration.baseOptions;
|
|
9153
8901
|
}
|
|
9154
8902
|
|
|
9155
|
-
const localVarRequestOptions = { method: '
|
|
8903
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
9156
8904
|
const localVarHeaderParameter = {} as any;
|
|
9157
8905
|
const localVarQueryParameter = {} as any;
|
|
9158
8906
|
|
|
@@ -9166,12 +8914,9 @@ export const ProgramApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9166
8914
|
|
|
9167
8915
|
|
|
9168
8916
|
|
|
9169
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9170
|
-
|
|
9171
8917
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9172
8918
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9173
8919
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9174
|
-
localVarRequestOptions.data = serializeDataIfNeeded(programRunRequest, localVarRequestOptions, configuration)
|
|
9175
8920
|
|
|
9176
8921
|
return {
|
|
9177
8922
|
url: toPathString(localVarUrlObj),
|
|
@@ -9179,20 +8924,21 @@ export const ProgramApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9179
8924
|
};
|
|
9180
8925
|
},
|
|
9181
8926
|
/**
|
|
9182
|
-
*
|
|
9183
|
-
* @summary
|
|
8927
|
+
* Deletes the stored link chain. <!-- theme: danger --> > This will delete persistently stored data.
|
|
8928
|
+
* @summary Delete Link Chain
|
|
9184
8929
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9185
|
-
* @param {
|
|
8930
|
+
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
9186
8931
|
* @param {*} [options] Override http request option.
|
|
9187
8932
|
* @throws {RequiredError}
|
|
9188
8933
|
*/
|
|
9189
|
-
|
|
8934
|
+
deleteStoredCollisionLinkChain: async (cell: string, linkChain: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9190
8935
|
// verify required parameter 'cell' is not null or undefined
|
|
9191
|
-
assertParamExists('
|
|
9192
|
-
// verify required parameter '
|
|
9193
|
-
assertParamExists('
|
|
9194
|
-
const localVarPath = `/cells/{cell}/
|
|
9195
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
8936
|
+
assertParamExists('deleteStoredCollisionLinkChain', 'cell', cell)
|
|
8937
|
+
// verify required parameter 'linkChain' is not null or undefined
|
|
8938
|
+
assertParamExists('deleteStoredCollisionLinkChain', 'linkChain', linkChain)
|
|
8939
|
+
const localVarPath = `/cells/{cell}/store/collision/link-chains/{link-chain}`
|
|
8940
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
8941
|
+
.replace(`{${"link-chain"}}`, encodeURIComponent(String(linkChain)));
|
|
9196
8942
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9197
8943
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9198
8944
|
let baseOptions;
|
|
@@ -9200,7 +8946,7 @@ export const ProgramApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9200
8946
|
baseOptions = configuration.baseOptions;
|
|
9201
8947
|
}
|
|
9202
8948
|
|
|
9203
|
-
const localVarRequestOptions = { method: '
|
|
8949
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
9204
8950
|
const localVarHeaderParameter = {} as any;
|
|
9205
8951
|
const localVarQueryParameter = {} as any;
|
|
9206
8952
|
|
|
@@ -9214,12 +8960,9 @@ export const ProgramApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9214
8960
|
|
|
9215
8961
|
|
|
9216
8962
|
|
|
9217
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9218
|
-
|
|
9219
8963
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9220
8964
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9221
8965
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9222
|
-
localVarRequestOptions.data = serializeDataIfNeeded(programRunRequest, localVarRequestOptions, configuration)
|
|
9223
8966
|
|
|
9224
8967
|
return {
|
|
9225
8968
|
url: toPathString(localVarUrlObj),
|
|
@@ -9227,21 +8970,21 @@ export const ProgramApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9227
8970
|
};
|
|
9228
8971
|
},
|
|
9229
8972
|
/**
|
|
9230
|
-
*
|
|
9231
|
-
* @summary
|
|
8973
|
+
* Deletes the stored tool. <!-- theme: danger --> > This will delete persistently stored data.
|
|
8974
|
+
* @summary Delete Tool
|
|
9232
8975
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9233
|
-
* @param {string}
|
|
8976
|
+
* @param {string} tool Unique identifier addressing a collision tool.
|
|
9234
8977
|
* @param {*} [options] Override http request option.
|
|
9235
8978
|
* @throws {RequiredError}
|
|
9236
8979
|
*/
|
|
9237
|
-
|
|
8980
|
+
deleteStoredCollisionTool: async (cell: string, tool: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9238
8981
|
// verify required parameter 'cell' is not null or undefined
|
|
9239
|
-
assertParamExists('
|
|
9240
|
-
// verify required parameter '
|
|
9241
|
-
assertParamExists('
|
|
9242
|
-
const localVarPath = `/cells/{cell}/
|
|
8982
|
+
assertParamExists('deleteStoredCollisionTool', 'cell', cell)
|
|
8983
|
+
// verify required parameter 'tool' is not null or undefined
|
|
8984
|
+
assertParamExists('deleteStoredCollisionTool', 'tool', tool)
|
|
8985
|
+
const localVarPath = `/cells/{cell}/store/collision/tools/{tool}`
|
|
9243
8986
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
9244
|
-
.replace(`{${"
|
|
8987
|
+
.replace(`{${"tool"}}`, encodeURIComponent(String(tool)));
|
|
9245
8988
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9246
8989
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9247
8990
|
let baseOptions;
|
|
@@ -9249,7 +8992,7 @@ export const ProgramApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9249
8992
|
baseOptions = configuration.baseOptions;
|
|
9250
8993
|
}
|
|
9251
8994
|
|
|
9252
|
-
const localVarRequestOptions = { method: '
|
|
8995
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
9253
8996
|
const localVarHeaderParameter = {} as any;
|
|
9254
8997
|
const localVarQueryParameter = {} as any;
|
|
9255
8998
|
|
|
@@ -9273,17 +9016,21 @@ export const ProgramApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9273
9016
|
};
|
|
9274
9017
|
},
|
|
9275
9018
|
/**
|
|
9276
|
-
*
|
|
9277
|
-
* @summary
|
|
9019
|
+
* Returns the collider.
|
|
9020
|
+
* @summary Get Collider
|
|
9278
9021
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9022
|
+
* @param {string} collider Unique identifier addressing a collider.
|
|
9279
9023
|
* @param {*} [options] Override http request option.
|
|
9280
9024
|
* @throws {RequiredError}
|
|
9281
9025
|
*/
|
|
9282
|
-
|
|
9026
|
+
getStoredCollider: async (cell: string, collider: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9283
9027
|
// verify required parameter 'cell' is not null or undefined
|
|
9284
|
-
assertParamExists('
|
|
9285
|
-
|
|
9286
|
-
|
|
9028
|
+
assertParamExists('getStoredCollider', 'cell', cell)
|
|
9029
|
+
// verify required parameter 'collider' is not null or undefined
|
|
9030
|
+
assertParamExists('getStoredCollider', 'collider', collider)
|
|
9031
|
+
const localVarPath = `/cells/{cell}/store/collision/colliders/{collider}`
|
|
9032
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
9033
|
+
.replace(`{${"collider"}}`, encodeURIComponent(String(collider)));
|
|
9287
9034
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9288
9035
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9289
9036
|
let baseOptions;
|
|
@@ -9315,20 +9062,21 @@ export const ProgramApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9315
9062
|
};
|
|
9316
9063
|
},
|
|
9317
9064
|
/**
|
|
9318
|
-
*
|
|
9319
|
-
* @summary
|
|
9065
|
+
* Returns the collision link chain.
|
|
9066
|
+
* @summary Get Link Chain
|
|
9320
9067
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9321
|
-
* @param {
|
|
9068
|
+
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
9322
9069
|
* @param {*} [options] Override http request option.
|
|
9323
9070
|
* @throws {RequiredError}
|
|
9324
9071
|
*/
|
|
9325
|
-
|
|
9072
|
+
getStoredCollisionLinkChain: async (cell: string, linkChain: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9326
9073
|
// verify required parameter 'cell' is not null or undefined
|
|
9327
|
-
assertParamExists('
|
|
9328
|
-
// verify required parameter '
|
|
9329
|
-
assertParamExists('
|
|
9330
|
-
const localVarPath = `/cells/{cell}/
|
|
9331
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
9074
|
+
assertParamExists('getStoredCollisionLinkChain', 'cell', cell)
|
|
9075
|
+
// verify required parameter 'linkChain' is not null or undefined
|
|
9076
|
+
assertParamExists('getStoredCollisionLinkChain', 'linkChain', linkChain)
|
|
9077
|
+
const localVarPath = `/cells/{cell}/store/collision/link-chains/{link-chain}`
|
|
9078
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
9079
|
+
.replace(`{${"link-chain"}}`, encodeURIComponent(String(linkChain)));
|
|
9332
9080
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9333
9081
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9334
9082
|
let baseOptions;
|
|
@@ -9336,7 +9084,7 @@ export const ProgramApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9336
9084
|
baseOptions = configuration.baseOptions;
|
|
9337
9085
|
}
|
|
9338
9086
|
|
|
9339
|
-
const localVarRequestOptions = { method: '
|
|
9087
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9340
9088
|
const localVarHeaderParameter = {} as any;
|
|
9341
9089
|
const localVarQueryParameter = {} as any;
|
|
9342
9090
|
|
|
@@ -9350,12 +9098,9 @@ export const ProgramApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9350
9098
|
|
|
9351
9099
|
|
|
9352
9100
|
|
|
9353
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9354
|
-
|
|
9355
9101
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9356
9102
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9357
9103
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9358
|
-
localVarRequestOptions.data = serializeDataIfNeeded(programRunRequest, localVarRequestOptions, configuration)
|
|
9359
9104
|
|
|
9360
9105
|
return {
|
|
9361
9106
|
url: toPathString(localVarUrlObj),
|
|
@@ -9363,17 +9108,21 @@ export const ProgramApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9363
9108
|
};
|
|
9364
9109
|
},
|
|
9365
9110
|
/**
|
|
9366
|
-
*
|
|
9367
|
-
* @summary
|
|
9111
|
+
* Returns the stored tool.
|
|
9112
|
+
* @summary Get Tool
|
|
9368
9113
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9114
|
+
* @param {string} tool Unique identifier addressing a collision tool.
|
|
9369
9115
|
* @param {*} [options] Override http request option.
|
|
9370
9116
|
* @throws {RequiredError}
|
|
9371
9117
|
*/
|
|
9372
|
-
|
|
9118
|
+
getStoredCollisionTool: async (cell: string, tool: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9373
9119
|
// verify required parameter 'cell' is not null or undefined
|
|
9374
|
-
assertParamExists('
|
|
9375
|
-
|
|
9376
|
-
|
|
9120
|
+
assertParamExists('getStoredCollisionTool', 'cell', cell)
|
|
9121
|
+
// verify required parameter 'tool' is not null or undefined
|
|
9122
|
+
assertParamExists('getStoredCollisionTool', 'tool', tool)
|
|
9123
|
+
const localVarPath = `/cells/{cell}/store/collision/tools/{tool}`
|
|
9124
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
9125
|
+
.replace(`{${"tool"}}`, encodeURIComponent(String(tool)));
|
|
9377
9126
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9378
9127
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9379
9128
|
let baseOptions;
|
|
@@ -9381,7 +9130,7 @@ export const ProgramApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9381
9130
|
baseOptions = configuration.baseOptions;
|
|
9382
9131
|
}
|
|
9383
9132
|
|
|
9384
|
-
const localVarRequestOptions = { method: '
|
|
9133
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9385
9134
|
const localVarHeaderParameter = {} as any;
|
|
9386
9135
|
const localVarQueryParameter = {} as any;
|
|
9387
9136
|
|
|
@@ -9405,21 +9154,17 @@ export const ProgramApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9405
9154
|
};
|
|
9406
9155
|
},
|
|
9407
9156
|
/**
|
|
9408
|
-
*
|
|
9409
|
-
* @summary
|
|
9157
|
+
* Returns the stored link chains.
|
|
9158
|
+
* @summary List Link Chains
|
|
9410
9159
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9411
|
-
* @param {string} run
|
|
9412
9160
|
* @param {*} [options] Override http request option.
|
|
9413
9161
|
* @throws {RequiredError}
|
|
9414
9162
|
*/
|
|
9415
|
-
|
|
9163
|
+
listCollisionLinkChains: async (cell: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9416
9164
|
// verify required parameter 'cell' is not null or undefined
|
|
9417
|
-
assertParamExists('
|
|
9418
|
-
|
|
9419
|
-
|
|
9420
|
-
const localVarPath = `/cells/{cell}/programs/runs/{run}/stop`
|
|
9421
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
9422
|
-
.replace(`{${"run"}}`, encodeURIComponent(String(run)));
|
|
9165
|
+
assertParamExists('listCollisionLinkChains', 'cell', cell)
|
|
9166
|
+
const localVarPath = `/cells/{cell}/store/collision/link-chains`
|
|
9167
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
9423
9168
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9424
9169
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9425
9170
|
let baseOptions;
|
|
@@ -9427,7 +9172,7 @@ export const ProgramApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9427
9172
|
baseOptions = configuration.baseOptions;
|
|
9428
9173
|
}
|
|
9429
9174
|
|
|
9430
|
-
const localVarRequestOptions = { method: '
|
|
9175
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9431
9176
|
const localVarHeaderParameter = {} as any;
|
|
9432
9177
|
const localVarQueryParameter = {} as any;
|
|
9433
9178
|
|
|
@@ -9451,19 +9196,16 @@ export const ProgramApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9451
9196
|
};
|
|
9452
9197
|
},
|
|
9453
9198
|
/**
|
|
9454
|
-
*
|
|
9455
|
-
* @summary
|
|
9199
|
+
* Returns a list of colliders in a scene. This excludes colliders that are part of a motion group.
|
|
9200
|
+
* @summary List Colliders
|
|
9456
9201
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9457
|
-
* @param {ProgramRunRequest} programRunRequest
|
|
9458
9202
|
* @param {*} [options] Override http request option.
|
|
9459
9203
|
* @throws {RequiredError}
|
|
9460
9204
|
*/
|
|
9461
|
-
|
|
9205
|
+
listStoredColliders: async (cell: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9462
9206
|
// verify required parameter 'cell' is not null or undefined
|
|
9463
|
-
assertParamExists('
|
|
9464
|
-
|
|
9465
|
-
assertParamExists('validateProgram', 'programRunRequest', programRunRequest)
|
|
9466
|
-
const localVarPath = `/cells/{cell}/programs/validate`
|
|
9207
|
+
assertParamExists('listStoredColliders', 'cell', cell)
|
|
9208
|
+
const localVarPath = `/cells/{cell}/store/collision/colliders`
|
|
9467
9209
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
9468
9210
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9469
9211
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -9472,7 +9214,7 @@ export const ProgramApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9472
9214
|
baseOptions = configuration.baseOptions;
|
|
9473
9215
|
}
|
|
9474
9216
|
|
|
9475
|
-
const localVarRequestOptions = { method: '
|
|
9217
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9476
9218
|
const localVarHeaderParameter = {} as any;
|
|
9477
9219
|
const localVarQueryParameter = {} as any;
|
|
9478
9220
|
|
|
@@ -9486,368 +9228,73 @@ export const ProgramApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9486
9228
|
|
|
9487
9229
|
|
|
9488
9230
|
|
|
9489
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9490
|
-
|
|
9491
9231
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9492
9232
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9493
9233
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9494
|
-
localVarRequestOptions.data = serializeDataIfNeeded(programRunRequest, localVarRequestOptions, configuration)
|
|
9495
9234
|
|
|
9496
9235
|
return {
|
|
9497
9236
|
url: toPathString(localVarUrlObj),
|
|
9498
9237
|
options: localVarRequestOptions,
|
|
9499
9238
|
};
|
|
9500
9239
|
},
|
|
9501
|
-
}
|
|
9502
|
-
};
|
|
9503
|
-
|
|
9504
|
-
/**
|
|
9505
|
-
* ProgramApi - functional programming interface
|
|
9506
|
-
* @export
|
|
9507
|
-
*/
|
|
9508
|
-
export const ProgramApiFp = function(configuration?: Configuration) {
|
|
9509
|
-
const localVarAxiosParamCreator = ProgramApiAxiosParamCreator(configuration)
|
|
9510
|
-
return {
|
|
9511
9240
|
/**
|
|
9512
|
-
*
|
|
9513
|
-
* @summary
|
|
9241
|
+
* Returns the list of stored tools.
|
|
9242
|
+
* @summary List Tools
|
|
9514
9243
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9515
|
-
* @param {ProgramRunRequest} programRunRequest
|
|
9516
9244
|
* @param {*} [options] Override http request option.
|
|
9517
9245
|
* @throws {RequiredError}
|
|
9518
9246
|
*/
|
|
9519
|
-
async
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
const
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
* @param {*} [options] Override http request option.
|
|
9531
|
-
* @throws {RequiredError}
|
|
9532
|
-
*/
|
|
9533
|
-
async executeProgram(cell: string, programRunRequest: ProgramRunRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgramRun>> {
|
|
9534
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.executeProgram(cell, programRunRequest, options);
|
|
9535
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9536
|
-
const localVarOperationServerBasePath = operationServerMap['ProgramApi.executeProgram']?.[localVarOperationServerIndex]?.url;
|
|
9537
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9538
|
-
},
|
|
9539
|
-
/**
|
|
9540
|
-
* Returns information about a program currently executed. When a program is finished: Program response, result, collected logs, .. When a program is running: Running status, current executed line, ...
|
|
9541
|
-
* @summary Get program run
|
|
9542
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9543
|
-
* @param {string} run
|
|
9544
|
-
* @param {*} [options] Override http request option.
|
|
9545
|
-
* @throws {RequiredError}
|
|
9546
|
-
*/
|
|
9547
|
-
async getProgramRun(cell: string, run: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgramRun>> {
|
|
9548
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getProgramRun(cell, run, options);
|
|
9549
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9550
|
-
const localVarOperationServerBasePath = operationServerMap['ProgramApi.getProgramRun']?.[localVarOperationServerIndex]?.url;
|
|
9551
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9552
|
-
},
|
|
9553
|
-
/**
|
|
9554
|
-
* Get details about all existing runs
|
|
9555
|
-
* @summary List programs
|
|
9556
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9557
|
-
* @param {*} [options] Override http request option.
|
|
9558
|
-
* @throws {RequiredError}
|
|
9559
|
-
*/
|
|
9560
|
-
async getProgramRuns(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProgramRunReference>>> {
|
|
9561
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getProgramRuns(cell, options);
|
|
9562
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9563
|
-
const localVarOperationServerBasePath = operationServerMap['ProgramApi.getProgramRuns']?.[localVarOperationServerIndex]?.url;
|
|
9564
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9565
|
-
},
|
|
9566
|
-
/**
|
|
9567
|
-
* Simulate a program given as text/plain
|
|
9568
|
-
* @summary Simulate program
|
|
9569
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9570
|
-
* @param {ProgramRunRequest} programRunRequest
|
|
9571
|
-
* @param {*} [options] Override http request option.
|
|
9572
|
-
* @throws {RequiredError}
|
|
9573
|
-
*/
|
|
9574
|
-
async simulateProgram(cell: string, programRunRequest: ProgramRunRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgramRun>> {
|
|
9575
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.simulateProgram(cell, programRunRequest, options);
|
|
9576
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9577
|
-
const localVarOperationServerBasePath = operationServerMap['ProgramApi.simulateProgram']?.[localVarOperationServerIndex]?.url;
|
|
9578
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9579
|
-
},
|
|
9580
|
-
/**
|
|
9581
|
-
* Stop all runs
|
|
9582
|
-
* @summary Stop all programs
|
|
9583
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9584
|
-
* @param {*} [options] Override http request option.
|
|
9585
|
-
* @throws {RequiredError}
|
|
9586
|
-
*/
|
|
9587
|
-
async stopAllPrograms(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9588
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.stopAllPrograms(cell, options);
|
|
9589
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9590
|
-
const localVarOperationServerBasePath = operationServerMap['ProgramApi.stopAllPrograms']?.[localVarOperationServerIndex]?.url;
|
|
9591
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9592
|
-
},
|
|
9593
|
-
/**
|
|
9594
|
-
* Stop a specific program run.
|
|
9595
|
-
* @summary Stop program run
|
|
9596
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9597
|
-
* @param {string} run
|
|
9598
|
-
* @param {*} [options] Override http request option.
|
|
9599
|
-
* @throws {RequiredError}
|
|
9600
|
-
*/
|
|
9601
|
-
async stopProgramRun(cell: string, run: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9602
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.stopProgramRun(cell, run, options);
|
|
9603
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9604
|
-
const localVarOperationServerBasePath = operationServerMap['ProgramApi.stopProgramRun']?.[localVarOperationServerIndex]?.url;
|
|
9605
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9606
|
-
},
|
|
9607
|
-
/**
|
|
9608
|
-
* Validate a program
|
|
9609
|
-
* @summary Validate program
|
|
9610
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9611
|
-
* @param {ProgramRunRequest} programRunRequest
|
|
9612
|
-
* @param {*} [options] Override http request option.
|
|
9613
|
-
* @throws {RequiredError}
|
|
9614
|
-
*/
|
|
9615
|
-
async validateProgram(cell: string, programRunRequest: ProgramRunRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9616
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.validateProgram(cell, programRunRequest, options);
|
|
9617
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9618
|
-
const localVarOperationServerBasePath = operationServerMap['ProgramApi.validateProgram']?.[localVarOperationServerIndex]?.url;
|
|
9619
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9620
|
-
},
|
|
9621
|
-
}
|
|
9622
|
-
};
|
|
9623
|
-
|
|
9624
|
-
/**
|
|
9625
|
-
* ProgramApi - factory interface
|
|
9626
|
-
* @export
|
|
9627
|
-
*/
|
|
9628
|
-
export const ProgramApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
9629
|
-
const localVarFp = ProgramApiFp(configuration)
|
|
9630
|
-
return {
|
|
9631
|
-
/**
|
|
9632
|
-
* This endpoint accepts a program and if desired, initial arguments (in the form of a dict). The program will be executed asynchronously. It returns a program run reference which can be used to query the state of the program run. ## Receiving state updates Receive state updates of the program run via polling the `/programs/runs/{run_id}/` ### Via polling You can receive updates about the state of the program run by polling the `/programs/runs/{run_id}/` endpoint.
|
|
9633
|
-
* @summary Create program run
|
|
9634
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9635
|
-
* @param {ProgramRunRequest} programRunRequest
|
|
9636
|
-
* @param {*} [options] Override http request option.
|
|
9637
|
-
* @throws {RequiredError}
|
|
9638
|
-
*/
|
|
9639
|
-
createProgramRun(cell: string, programRunRequest: ProgramRunRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProgramRunReference> {
|
|
9640
|
-
return localVarFp.createProgramRun(cell, programRunRequest, options).then((request) => request(axios, basePath));
|
|
9641
|
-
},
|
|
9642
|
-
/**
|
|
9643
|
-
* Execute a program synchronously. The execute operation will be started from the current joint configuration of any addressed robot(s). Addressed robots have to be in control mode for the execute operation to succeed. A request to this endpoint will block this endpoint until the program has been executed, or until an error occurs. The executed movement is returned in case of a successful execution. Otherwise an error (e.g. out of reach, singularity), is returned.
|
|
9644
|
-
* @summary Execute program
|
|
9645
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9646
|
-
* @param {ProgramRunRequest} programRunRequest
|
|
9647
|
-
* @param {*} [options] Override http request option.
|
|
9648
|
-
* @throws {RequiredError}
|
|
9649
|
-
*/
|
|
9650
|
-
executeProgram(cell: string, programRunRequest: ProgramRunRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProgramRun> {
|
|
9651
|
-
return localVarFp.executeProgram(cell, programRunRequest, options).then((request) => request(axios, basePath));
|
|
9652
|
-
},
|
|
9653
|
-
/**
|
|
9654
|
-
* Returns information about a program currently executed. When a program is finished: Program response, result, collected logs, .. When a program is running: Running status, current executed line, ...
|
|
9655
|
-
* @summary Get program run
|
|
9656
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9657
|
-
* @param {string} run
|
|
9658
|
-
* @param {*} [options] Override http request option.
|
|
9659
|
-
* @throws {RequiredError}
|
|
9660
|
-
*/
|
|
9661
|
-
getProgramRun(cell: string, run: string, options?: RawAxiosRequestConfig): AxiosPromise<ProgramRun> {
|
|
9662
|
-
return localVarFp.getProgramRun(cell, run, options).then((request) => request(axios, basePath));
|
|
9663
|
-
},
|
|
9664
|
-
/**
|
|
9665
|
-
* Get details about all existing runs
|
|
9666
|
-
* @summary List programs
|
|
9667
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9668
|
-
* @param {*} [options] Override http request option.
|
|
9669
|
-
* @throws {RequiredError}
|
|
9670
|
-
*/
|
|
9671
|
-
getProgramRuns(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProgramRunReference>> {
|
|
9672
|
-
return localVarFp.getProgramRuns(cell, options).then((request) => request(axios, basePath));
|
|
9673
|
-
},
|
|
9674
|
-
/**
|
|
9675
|
-
* Simulate a program given as text/plain
|
|
9676
|
-
* @summary Simulate program
|
|
9677
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9678
|
-
* @param {ProgramRunRequest} programRunRequest
|
|
9679
|
-
* @param {*} [options] Override http request option.
|
|
9680
|
-
* @throws {RequiredError}
|
|
9681
|
-
*/
|
|
9682
|
-
simulateProgram(cell: string, programRunRequest: ProgramRunRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProgramRun> {
|
|
9683
|
-
return localVarFp.simulateProgram(cell, programRunRequest, options).then((request) => request(axios, basePath));
|
|
9684
|
-
},
|
|
9685
|
-
/**
|
|
9686
|
-
* Stop all runs
|
|
9687
|
-
* @summary Stop all programs
|
|
9688
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9689
|
-
* @param {*} [options] Override http request option.
|
|
9690
|
-
* @throws {RequiredError}
|
|
9691
|
-
*/
|
|
9692
|
-
stopAllPrograms(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
9693
|
-
return localVarFp.stopAllPrograms(cell, options).then((request) => request(axios, basePath));
|
|
9694
|
-
},
|
|
9695
|
-
/**
|
|
9696
|
-
* Stop a specific program run.
|
|
9697
|
-
* @summary Stop program run
|
|
9698
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9699
|
-
* @param {string} run
|
|
9700
|
-
* @param {*} [options] Override http request option.
|
|
9701
|
-
* @throws {RequiredError}
|
|
9702
|
-
*/
|
|
9703
|
-
stopProgramRun(cell: string, run: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
9704
|
-
return localVarFp.stopProgramRun(cell, run, options).then((request) => request(axios, basePath));
|
|
9705
|
-
},
|
|
9706
|
-
/**
|
|
9707
|
-
* Validate a program
|
|
9708
|
-
* @summary Validate program
|
|
9709
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9710
|
-
* @param {ProgramRunRequest} programRunRequest
|
|
9711
|
-
* @param {*} [options] Override http request option.
|
|
9712
|
-
* @throws {RequiredError}
|
|
9713
|
-
*/
|
|
9714
|
-
validateProgram(cell: string, programRunRequest: ProgramRunRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
9715
|
-
return localVarFp.validateProgram(cell, programRunRequest, options).then((request) => request(axios, basePath));
|
|
9716
|
-
},
|
|
9717
|
-
};
|
|
9718
|
-
};
|
|
9719
|
-
|
|
9720
|
-
/**
|
|
9721
|
-
* ProgramApi - object-oriented interface
|
|
9722
|
-
* @export
|
|
9723
|
-
* @class ProgramApi
|
|
9724
|
-
* @extends {BaseAPI}
|
|
9725
|
-
*/
|
|
9726
|
-
export class ProgramApi extends BaseAPI {
|
|
9727
|
-
/**
|
|
9728
|
-
* This endpoint accepts a program and if desired, initial arguments (in the form of a dict). The program will be executed asynchronously. It returns a program run reference which can be used to query the state of the program run. ## Receiving state updates Receive state updates of the program run via polling the `/programs/runs/{run_id}/` ### Via polling You can receive updates about the state of the program run by polling the `/programs/runs/{run_id}/` endpoint.
|
|
9729
|
-
* @summary Create program run
|
|
9730
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9731
|
-
* @param {ProgramRunRequest} programRunRequest
|
|
9732
|
-
* @param {*} [options] Override http request option.
|
|
9733
|
-
* @throws {RequiredError}
|
|
9734
|
-
* @memberof ProgramApi
|
|
9735
|
-
*/
|
|
9736
|
-
public createProgramRun(cell: string, programRunRequest: ProgramRunRequest, options?: RawAxiosRequestConfig) {
|
|
9737
|
-
return ProgramApiFp(this.configuration).createProgramRun(cell, programRunRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9738
|
-
}
|
|
9739
|
-
|
|
9740
|
-
/**
|
|
9741
|
-
* Execute a program synchronously. The execute operation will be started from the current joint configuration of any addressed robot(s). Addressed robots have to be in control mode for the execute operation to succeed. A request to this endpoint will block this endpoint until the program has been executed, or until an error occurs. The executed movement is returned in case of a successful execution. Otherwise an error (e.g. out of reach, singularity), is returned.
|
|
9742
|
-
* @summary Execute program
|
|
9743
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9744
|
-
* @param {ProgramRunRequest} programRunRequest
|
|
9745
|
-
* @param {*} [options] Override http request option.
|
|
9746
|
-
* @throws {RequiredError}
|
|
9747
|
-
* @memberof ProgramApi
|
|
9748
|
-
*/
|
|
9749
|
-
public executeProgram(cell: string, programRunRequest: ProgramRunRequest, options?: RawAxiosRequestConfig) {
|
|
9750
|
-
return ProgramApiFp(this.configuration).executeProgram(cell, programRunRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9751
|
-
}
|
|
9752
|
-
|
|
9753
|
-
/**
|
|
9754
|
-
* Returns information about a program currently executed. When a program is finished: Program response, result, collected logs, .. When a program is running: Running status, current executed line, ...
|
|
9755
|
-
* @summary Get program run
|
|
9756
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9757
|
-
* @param {string} run
|
|
9758
|
-
* @param {*} [options] Override http request option.
|
|
9759
|
-
* @throws {RequiredError}
|
|
9760
|
-
* @memberof ProgramApi
|
|
9761
|
-
*/
|
|
9762
|
-
public getProgramRun(cell: string, run: string, options?: RawAxiosRequestConfig) {
|
|
9763
|
-
return ProgramApiFp(this.configuration).getProgramRun(cell, run, options).then((request) => request(this.axios, this.basePath));
|
|
9764
|
-
}
|
|
9765
|
-
|
|
9766
|
-
/**
|
|
9767
|
-
* Get details about all existing runs
|
|
9768
|
-
* @summary List programs
|
|
9769
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9770
|
-
* @param {*} [options] Override http request option.
|
|
9771
|
-
* @throws {RequiredError}
|
|
9772
|
-
* @memberof ProgramApi
|
|
9773
|
-
*/
|
|
9774
|
-
public getProgramRuns(cell: string, options?: RawAxiosRequestConfig) {
|
|
9775
|
-
return ProgramApiFp(this.configuration).getProgramRuns(cell, options).then((request) => request(this.axios, this.basePath));
|
|
9776
|
-
}
|
|
9777
|
-
|
|
9778
|
-
/**
|
|
9779
|
-
* Simulate a program given as text/plain
|
|
9780
|
-
* @summary Simulate program
|
|
9781
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9782
|
-
* @param {ProgramRunRequest} programRunRequest
|
|
9783
|
-
* @param {*} [options] Override http request option.
|
|
9784
|
-
* @throws {RequiredError}
|
|
9785
|
-
* @memberof ProgramApi
|
|
9786
|
-
*/
|
|
9787
|
-
public simulateProgram(cell: string, programRunRequest: ProgramRunRequest, options?: RawAxiosRequestConfig) {
|
|
9788
|
-
return ProgramApiFp(this.configuration).simulateProgram(cell, programRunRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9789
|
-
}
|
|
9247
|
+
listStoredCollisionTools: async (cell: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9248
|
+
// verify required parameter 'cell' is not null or undefined
|
|
9249
|
+
assertParamExists('listStoredCollisionTools', 'cell', cell)
|
|
9250
|
+
const localVarPath = `/cells/{cell}/store/collision/tools`
|
|
9251
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
9252
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9253
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9254
|
+
let baseOptions;
|
|
9255
|
+
if (configuration) {
|
|
9256
|
+
baseOptions = configuration.baseOptions;
|
|
9257
|
+
}
|
|
9790
9258
|
|
|
9791
|
-
|
|
9792
|
-
|
|
9793
|
-
|
|
9794
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9795
|
-
* @param {*} [options] Override http request option.
|
|
9796
|
-
* @throws {RequiredError}
|
|
9797
|
-
* @memberof ProgramApi
|
|
9798
|
-
*/
|
|
9799
|
-
public stopAllPrograms(cell: string, options?: RawAxiosRequestConfig) {
|
|
9800
|
-
return ProgramApiFp(this.configuration).stopAllPrograms(cell, options).then((request) => request(this.axios, this.basePath));
|
|
9801
|
-
}
|
|
9259
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9260
|
+
const localVarHeaderParameter = {} as any;
|
|
9261
|
+
const localVarQueryParameter = {} as any;
|
|
9802
9262
|
|
|
9803
|
-
|
|
9804
|
-
|
|
9805
|
-
|
|
9806
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9807
|
-
* @param {string} run
|
|
9808
|
-
* @param {*} [options] Override http request option.
|
|
9809
|
-
* @throws {RequiredError}
|
|
9810
|
-
* @memberof ProgramApi
|
|
9811
|
-
*/
|
|
9812
|
-
public stopProgramRun(cell: string, run: string, options?: RawAxiosRequestConfig) {
|
|
9813
|
-
return ProgramApiFp(this.configuration).stopProgramRun(cell, run, options).then((request) => request(this.axios, this.basePath));
|
|
9814
|
-
}
|
|
9263
|
+
// authentication BasicAuth required
|
|
9264
|
+
// http basic authentication required
|
|
9265
|
+
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
9815
9266
|
|
|
9816
|
-
|
|
9817
|
-
|
|
9818
|
-
|
|
9819
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9820
|
-
* @param {ProgramRunRequest} programRunRequest
|
|
9821
|
-
* @param {*} [options] Override http request option.
|
|
9822
|
-
* @throws {RequiredError}
|
|
9823
|
-
* @memberof ProgramApi
|
|
9824
|
-
*/
|
|
9825
|
-
public validateProgram(cell: string, programRunRequest: ProgramRunRequest, options?: RawAxiosRequestConfig) {
|
|
9826
|
-
return ProgramApiFp(this.configuration).validateProgram(cell, programRunRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9827
|
-
}
|
|
9828
|
-
}
|
|
9267
|
+
// authentication BearerAuth required
|
|
9268
|
+
// http bearer authentication required
|
|
9269
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9829
9270
|
|
|
9830
9271
|
|
|
9272
|
+
|
|
9273
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9274
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9275
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9831
9276
|
|
|
9832
|
-
|
|
9833
|
-
|
|
9834
|
-
|
|
9835
|
-
|
|
9836
|
-
|
|
9837
|
-
return {
|
|
9277
|
+
return {
|
|
9278
|
+
url: toPathString(localVarUrlObj),
|
|
9279
|
+
options: localVarRequestOptions,
|
|
9280
|
+
};
|
|
9281
|
+
},
|
|
9838
9282
|
/**
|
|
9839
|
-
*
|
|
9840
|
-
* @summary
|
|
9283
|
+
* Stores collider. If the collider does not exist, it will be created. If the collider exists, it will be updated.
|
|
9284
|
+
* @summary Store Collider
|
|
9841
9285
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9842
9286
|
* @param {string} collider Unique identifier addressing a collider.
|
|
9287
|
+
* @param {Collider} collider2
|
|
9843
9288
|
* @param {*} [options] Override http request option.
|
|
9844
9289
|
* @throws {RequiredError}
|
|
9845
9290
|
*/
|
|
9846
|
-
|
|
9291
|
+
storeCollider: async (cell: string, collider: string, collider2: Collider, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9847
9292
|
// verify required parameter 'cell' is not null or undefined
|
|
9848
|
-
assertParamExists('
|
|
9293
|
+
assertParamExists('storeCollider', 'cell', cell)
|
|
9849
9294
|
// verify required parameter 'collider' is not null or undefined
|
|
9850
|
-
assertParamExists('
|
|
9295
|
+
assertParamExists('storeCollider', 'collider', collider)
|
|
9296
|
+
// verify required parameter 'collider2' is not null or undefined
|
|
9297
|
+
assertParamExists('storeCollider', 'collider2', collider2)
|
|
9851
9298
|
const localVarPath = `/cells/{cell}/store/collision/colliders/{collider}`
|
|
9852
9299
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
9853
9300
|
.replace(`{${"collider"}}`, encodeURIComponent(String(collider)));
|
|
@@ -9858,7 +9305,7 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
9858
9305
|
baseOptions = configuration.baseOptions;
|
|
9859
9306
|
}
|
|
9860
9307
|
|
|
9861
|
-
const localVarRequestOptions = { method: '
|
|
9308
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
9862
9309
|
const localVarHeaderParameter = {} as any;
|
|
9863
9310
|
const localVarQueryParameter = {} as any;
|
|
9864
9311
|
|
|
@@ -9872,9 +9319,12 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
9872
9319
|
|
|
9873
9320
|
|
|
9874
9321
|
|
|
9322
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9323
|
+
|
|
9875
9324
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9876
9325
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9877
9326
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9327
|
+
localVarRequestOptions.data = serializeDataIfNeeded(collider2, localVarRequestOptions, configuration)
|
|
9878
9328
|
|
|
9879
9329
|
return {
|
|
9880
9330
|
url: toPathString(localVarUrlObj),
|
|
@@ -9882,18 +9332,21 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
9882
9332
|
};
|
|
9883
9333
|
},
|
|
9884
9334
|
/**
|
|
9885
|
-
*
|
|
9886
|
-
* @summary
|
|
9335
|
+
* Stores link chain. If the link chain does not exist, it will be created. If the link chain exists, it will be updated.
|
|
9336
|
+
* @summary Store Link Chain
|
|
9887
9337
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9888
9338
|
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
9339
|
+
* @param {Array<{ [key: string]: Collider; }>} collider
|
|
9889
9340
|
* @param {*} [options] Override http request option.
|
|
9890
9341
|
* @throws {RequiredError}
|
|
9891
9342
|
*/
|
|
9892
|
-
|
|
9343
|
+
storeCollisionLinkChain: async (cell: string, linkChain: string, collider: Array<{ [key: string]: Collider; }>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9893
9344
|
// verify required parameter 'cell' is not null or undefined
|
|
9894
|
-
assertParamExists('
|
|
9345
|
+
assertParamExists('storeCollisionLinkChain', 'cell', cell)
|
|
9895
9346
|
// verify required parameter 'linkChain' is not null or undefined
|
|
9896
|
-
assertParamExists('
|
|
9347
|
+
assertParamExists('storeCollisionLinkChain', 'linkChain', linkChain)
|
|
9348
|
+
// verify required parameter 'collider' is not null or undefined
|
|
9349
|
+
assertParamExists('storeCollisionLinkChain', 'collider', collider)
|
|
9897
9350
|
const localVarPath = `/cells/{cell}/store/collision/link-chains/{link-chain}`
|
|
9898
9351
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
9899
9352
|
.replace(`{${"link-chain"}}`, encodeURIComponent(String(linkChain)));
|
|
@@ -9904,7 +9357,7 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
9904
9357
|
baseOptions = configuration.baseOptions;
|
|
9905
9358
|
}
|
|
9906
9359
|
|
|
9907
|
-
const localVarRequestOptions = { method: '
|
|
9360
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
9908
9361
|
const localVarHeaderParameter = {} as any;
|
|
9909
9362
|
const localVarQueryParameter = {} as any;
|
|
9910
9363
|
|
|
@@ -9918,9 +9371,12 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
9918
9371
|
|
|
9919
9372
|
|
|
9920
9373
|
|
|
9374
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9375
|
+
|
|
9921
9376
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9922
9377
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9923
9378
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9379
|
+
localVarRequestOptions.data = serializeDataIfNeeded(collider, localVarRequestOptions, configuration)
|
|
9924
9380
|
|
|
9925
9381
|
return {
|
|
9926
9382
|
url: toPathString(localVarUrlObj),
|
|
@@ -9928,18 +9384,21 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
9928
9384
|
};
|
|
9929
9385
|
},
|
|
9930
9386
|
/**
|
|
9931
|
-
*
|
|
9932
|
-
* @summary
|
|
9387
|
+
* Stores the tool. If the tool does not exist, it will be created. If the tool exists, it will be updated.
|
|
9388
|
+
* @summary Store Tool
|
|
9933
9389
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9934
9390
|
* @param {string} tool Unique identifier addressing a collision tool.
|
|
9391
|
+
* @param {{ [key: string]: Collider; }} requestBody
|
|
9935
9392
|
* @param {*} [options] Override http request option.
|
|
9936
9393
|
* @throws {RequiredError}
|
|
9937
9394
|
*/
|
|
9938
|
-
|
|
9395
|
+
storeCollisionTool: async (cell: string, tool: string, requestBody: { [key: string]: Collider; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9939
9396
|
// verify required parameter 'cell' is not null or undefined
|
|
9940
|
-
assertParamExists('
|
|
9397
|
+
assertParamExists('storeCollisionTool', 'cell', cell)
|
|
9941
9398
|
// verify required parameter 'tool' is not null or undefined
|
|
9942
|
-
assertParamExists('
|
|
9399
|
+
assertParamExists('storeCollisionTool', 'tool', tool)
|
|
9400
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
9401
|
+
assertParamExists('storeCollisionTool', 'requestBody', requestBody)
|
|
9943
9402
|
const localVarPath = `/cells/{cell}/store/collision/tools/{tool}`
|
|
9944
9403
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
9945
9404
|
.replace(`{${"tool"}}`, encodeURIComponent(String(tool)));
|
|
@@ -9950,7 +9409,7 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
9950
9409
|
baseOptions = configuration.baseOptions;
|
|
9951
9410
|
}
|
|
9952
9411
|
|
|
9953
|
-
const localVarRequestOptions = { method: '
|
|
9412
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
9954
9413
|
const localVarHeaderParameter = {} as any;
|
|
9955
9414
|
const localVarQueryParameter = {} as any;
|
|
9956
9415
|
|
|
@@ -9964,15 +9423,70 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
9964
9423
|
|
|
9965
9424
|
|
|
9966
9425
|
|
|
9426
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9427
|
+
|
|
9967
9428
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9968
9429
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9969
9430
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9431
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
9970
9432
|
|
|
9971
9433
|
return {
|
|
9972
9434
|
url: toPathString(localVarUrlObj),
|
|
9973
9435
|
options: localVarRequestOptions,
|
|
9974
9436
|
};
|
|
9975
9437
|
},
|
|
9438
|
+
}
|
|
9439
|
+
};
|
|
9440
|
+
|
|
9441
|
+
/**
|
|
9442
|
+
* StoreCollisionComponentsApi - functional programming interface
|
|
9443
|
+
* @export
|
|
9444
|
+
*/
|
|
9445
|
+
export const StoreCollisionComponentsApiFp = function(configuration?: Configuration) {
|
|
9446
|
+
const localVarAxiosParamCreator = StoreCollisionComponentsApiAxiosParamCreator(configuration)
|
|
9447
|
+
return {
|
|
9448
|
+
/**
|
|
9449
|
+
* Deletes the stored collider. <!-- theme: danger --> > This will delete persistently stored data.
|
|
9450
|
+
* @summary Delete Collider
|
|
9451
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9452
|
+
* @param {string} collider Unique identifier addressing a collider.
|
|
9453
|
+
* @param {*} [options] Override http request option.
|
|
9454
|
+
* @throws {RequiredError}
|
|
9455
|
+
*/
|
|
9456
|
+
async deleteStoredCollider(cell: string, collider: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9457
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteStoredCollider(cell, collider, options);
|
|
9458
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9459
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.deleteStoredCollider']?.[localVarOperationServerIndex]?.url;
|
|
9460
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9461
|
+
},
|
|
9462
|
+
/**
|
|
9463
|
+
* Deletes the stored link chain. <!-- theme: danger --> > This will delete persistently stored data.
|
|
9464
|
+
* @summary Delete Link Chain
|
|
9465
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9466
|
+
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
9467
|
+
* @param {*} [options] Override http request option.
|
|
9468
|
+
* @throws {RequiredError}
|
|
9469
|
+
*/
|
|
9470
|
+
async deleteStoredCollisionLinkChain(cell: string, linkChain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9471
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteStoredCollisionLinkChain(cell, linkChain, options);
|
|
9472
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9473
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.deleteStoredCollisionLinkChain']?.[localVarOperationServerIndex]?.url;
|
|
9474
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9475
|
+
},
|
|
9476
|
+
/**
|
|
9477
|
+
* Deletes the stored tool. <!-- theme: danger --> > This will delete persistently stored data.
|
|
9478
|
+
* @summary Delete Tool
|
|
9479
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9480
|
+
* @param {string} tool Unique identifier addressing a collision tool.
|
|
9481
|
+
* @param {*} [options] Override http request option.
|
|
9482
|
+
* @throws {RequiredError}
|
|
9483
|
+
*/
|
|
9484
|
+
async deleteStoredCollisionTool(cell: string, tool: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9485
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteStoredCollisionTool(cell, tool, options);
|
|
9486
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9487
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.deleteStoredCollisionTool']?.[localVarOperationServerIndex]?.url;
|
|
9488
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9489
|
+
},
|
|
9976
9490
|
/**
|
|
9977
9491
|
* Returns the collider.
|
|
9978
9492
|
* @summary Get Collider
|
|
@@ -9981,43 +9495,11 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
9981
9495
|
* @param {*} [options] Override http request option.
|
|
9982
9496
|
* @throws {RequiredError}
|
|
9983
9497
|
*/
|
|
9984
|
-
|
|
9985
|
-
|
|
9986
|
-
|
|
9987
|
-
|
|
9988
|
-
|
|
9989
|
-
const localVarPath = `/cells/{cell}/store/collision/colliders/{collider}`
|
|
9990
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
9991
|
-
.replace(`{${"collider"}}`, encodeURIComponent(String(collider)));
|
|
9992
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9993
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9994
|
-
let baseOptions;
|
|
9995
|
-
if (configuration) {
|
|
9996
|
-
baseOptions = configuration.baseOptions;
|
|
9997
|
-
}
|
|
9998
|
-
|
|
9999
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10000
|
-
const localVarHeaderParameter = {} as any;
|
|
10001
|
-
const localVarQueryParameter = {} as any;
|
|
10002
|
-
|
|
10003
|
-
// authentication BasicAuth required
|
|
10004
|
-
// http basic authentication required
|
|
10005
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
10006
|
-
|
|
10007
|
-
// authentication BearerAuth required
|
|
10008
|
-
// http bearer authentication required
|
|
10009
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10010
|
-
|
|
10011
|
-
|
|
10012
|
-
|
|
10013
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10014
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10015
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10016
|
-
|
|
10017
|
-
return {
|
|
10018
|
-
url: toPathString(localVarUrlObj),
|
|
10019
|
-
options: localVarRequestOptions,
|
|
10020
|
-
};
|
|
9498
|
+
async getStoredCollider(cell: string, collider: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Collider>> {
|
|
9499
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getStoredCollider(cell, collider, options);
|
|
9500
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9501
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.getStoredCollider']?.[localVarOperationServerIndex]?.url;
|
|
9502
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10021
9503
|
},
|
|
10022
9504
|
/**
|
|
10023
9505
|
* Returns the collision link chain.
|
|
@@ -10027,43 +9509,11 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
10027
9509
|
* @param {*} [options] Override http request option.
|
|
10028
9510
|
* @throws {RequiredError}
|
|
10029
9511
|
*/
|
|
10030
|
-
|
|
10031
|
-
|
|
10032
|
-
|
|
10033
|
-
|
|
10034
|
-
|
|
10035
|
-
const localVarPath = `/cells/{cell}/store/collision/link-chains/{link-chain}`
|
|
10036
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
10037
|
-
.replace(`{${"link-chain"}}`, encodeURIComponent(String(linkChain)));
|
|
10038
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10039
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10040
|
-
let baseOptions;
|
|
10041
|
-
if (configuration) {
|
|
10042
|
-
baseOptions = configuration.baseOptions;
|
|
10043
|
-
}
|
|
10044
|
-
|
|
10045
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10046
|
-
const localVarHeaderParameter = {} as any;
|
|
10047
|
-
const localVarQueryParameter = {} as any;
|
|
10048
|
-
|
|
10049
|
-
// authentication BasicAuth required
|
|
10050
|
-
// http basic authentication required
|
|
10051
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
10052
|
-
|
|
10053
|
-
// authentication BearerAuth required
|
|
10054
|
-
// http bearer authentication required
|
|
10055
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10056
|
-
|
|
10057
|
-
|
|
10058
|
-
|
|
10059
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10060
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10061
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10062
|
-
|
|
10063
|
-
return {
|
|
10064
|
-
url: toPathString(localVarUrlObj),
|
|
10065
|
-
options: localVarRequestOptions,
|
|
10066
|
-
};
|
|
9512
|
+
async getStoredCollisionLinkChain(cell: string, linkChain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<{ [key: string]: Collider; }>>> {
|
|
9513
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getStoredCollisionLinkChain(cell, linkChain, options);
|
|
9514
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9515
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.getStoredCollisionLinkChain']?.[localVarOperationServerIndex]?.url;
|
|
9516
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10067
9517
|
},
|
|
10068
9518
|
/**
|
|
10069
9519
|
* Returns the stored tool.
|
|
@@ -10073,43 +9523,11 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
10073
9523
|
* @param {*} [options] Override http request option.
|
|
10074
9524
|
* @throws {RequiredError}
|
|
10075
9525
|
*/
|
|
10076
|
-
|
|
10077
|
-
|
|
10078
|
-
|
|
10079
|
-
|
|
10080
|
-
|
|
10081
|
-
const localVarPath = `/cells/{cell}/store/collision/tools/{tool}`
|
|
10082
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
10083
|
-
.replace(`{${"tool"}}`, encodeURIComponent(String(tool)));
|
|
10084
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10085
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10086
|
-
let baseOptions;
|
|
10087
|
-
if (configuration) {
|
|
10088
|
-
baseOptions = configuration.baseOptions;
|
|
10089
|
-
}
|
|
10090
|
-
|
|
10091
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10092
|
-
const localVarHeaderParameter = {} as any;
|
|
10093
|
-
const localVarQueryParameter = {} as any;
|
|
10094
|
-
|
|
10095
|
-
// authentication BasicAuth required
|
|
10096
|
-
// http basic authentication required
|
|
10097
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
10098
|
-
|
|
10099
|
-
// authentication BearerAuth required
|
|
10100
|
-
// http bearer authentication required
|
|
10101
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10102
|
-
|
|
10103
|
-
|
|
10104
|
-
|
|
10105
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10106
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10107
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10108
|
-
|
|
10109
|
-
return {
|
|
10110
|
-
url: toPathString(localVarUrlObj),
|
|
10111
|
-
options: localVarRequestOptions,
|
|
10112
|
-
};
|
|
9526
|
+
async getStoredCollisionTool(cell: string, tool: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: Collider; }>> {
|
|
9527
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getStoredCollisionTool(cell, tool, options);
|
|
9528
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9529
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.getStoredCollisionTool']?.[localVarOperationServerIndex]?.url;
|
|
9530
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10113
9531
|
},
|
|
10114
9532
|
/**
|
|
10115
9533
|
* Returns the stored link chains.
|
|
@@ -10118,40 +9536,11 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
10118
9536
|
* @param {*} [options] Override http request option.
|
|
10119
9537
|
* @throws {RequiredError}
|
|
10120
9538
|
*/
|
|
10121
|
-
|
|
10122
|
-
|
|
10123
|
-
|
|
10124
|
-
const
|
|
10125
|
-
|
|
10126
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10127
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10128
|
-
let baseOptions;
|
|
10129
|
-
if (configuration) {
|
|
10130
|
-
baseOptions = configuration.baseOptions;
|
|
10131
|
-
}
|
|
10132
|
-
|
|
10133
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10134
|
-
const localVarHeaderParameter = {} as any;
|
|
10135
|
-
const localVarQueryParameter = {} as any;
|
|
10136
|
-
|
|
10137
|
-
// authentication BasicAuth required
|
|
10138
|
-
// http basic authentication required
|
|
10139
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
10140
|
-
|
|
10141
|
-
// authentication BearerAuth required
|
|
10142
|
-
// http bearer authentication required
|
|
10143
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10144
|
-
|
|
10145
|
-
|
|
10146
|
-
|
|
10147
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10148
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10149
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10150
|
-
|
|
10151
|
-
return {
|
|
10152
|
-
url: toPathString(localVarUrlObj),
|
|
10153
|
-
options: localVarRequestOptions,
|
|
10154
|
-
};
|
|
9539
|
+
async listCollisionLinkChains(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: Array<{ [key: string]: Collider; }>; }>> {
|
|
9540
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listCollisionLinkChains(cell, options);
|
|
9541
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9542
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.listCollisionLinkChains']?.[localVarOperationServerIndex]?.url;
|
|
9543
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10155
9544
|
},
|
|
10156
9545
|
/**
|
|
10157
9546
|
* Returns a list of colliders in a scene. This excludes colliders that are part of a motion group.
|
|
@@ -10160,82 +9549,24 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
10160
9549
|
* @param {*} [options] Override http request option.
|
|
10161
9550
|
* @throws {RequiredError}
|
|
10162
9551
|
*/
|
|
10163
|
-
|
|
10164
|
-
|
|
10165
|
-
|
|
10166
|
-
const
|
|
10167
|
-
|
|
10168
|
-
|
|
10169
|
-
|
|
10170
|
-
let baseOptions;
|
|
10171
|
-
if (configuration) {
|
|
10172
|
-
baseOptions = configuration.baseOptions;
|
|
10173
|
-
}
|
|
10174
|
-
|
|
10175
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10176
|
-
const localVarHeaderParameter = {} as any;
|
|
10177
|
-
const localVarQueryParameter = {} as any;
|
|
10178
|
-
|
|
10179
|
-
// authentication BasicAuth required
|
|
10180
|
-
// http basic authentication required
|
|
10181
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
10182
|
-
|
|
10183
|
-
// authentication BearerAuth required
|
|
10184
|
-
// http bearer authentication required
|
|
10185
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10186
|
-
|
|
10187
|
-
|
|
10188
|
-
|
|
10189
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10190
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10191
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10192
|
-
|
|
10193
|
-
return {
|
|
10194
|
-
url: toPathString(localVarUrlObj),
|
|
10195
|
-
options: localVarRequestOptions,
|
|
10196
|
-
};
|
|
10197
|
-
},
|
|
10198
|
-
/**
|
|
9552
|
+
async listStoredColliders(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: Collider; }>> {
|
|
9553
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listStoredColliders(cell, options);
|
|
9554
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9555
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.listStoredColliders']?.[localVarOperationServerIndex]?.url;
|
|
9556
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9557
|
+
},
|
|
9558
|
+
/**
|
|
10199
9559
|
* Returns the list of stored tools.
|
|
10200
9560
|
* @summary List Tools
|
|
10201
9561
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10202
9562
|
* @param {*} [options] Override http request option.
|
|
10203
9563
|
* @throws {RequiredError}
|
|
10204
9564
|
*/
|
|
10205
|
-
|
|
10206
|
-
|
|
10207
|
-
|
|
10208
|
-
const
|
|
10209
|
-
|
|
10210
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10211
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10212
|
-
let baseOptions;
|
|
10213
|
-
if (configuration) {
|
|
10214
|
-
baseOptions = configuration.baseOptions;
|
|
10215
|
-
}
|
|
10216
|
-
|
|
10217
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10218
|
-
const localVarHeaderParameter = {} as any;
|
|
10219
|
-
const localVarQueryParameter = {} as any;
|
|
10220
|
-
|
|
10221
|
-
// authentication BasicAuth required
|
|
10222
|
-
// http basic authentication required
|
|
10223
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
10224
|
-
|
|
10225
|
-
// authentication BearerAuth required
|
|
10226
|
-
// http bearer authentication required
|
|
10227
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10228
|
-
|
|
10229
|
-
|
|
10230
|
-
|
|
10231
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10232
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10233
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10234
|
-
|
|
10235
|
-
return {
|
|
10236
|
-
url: toPathString(localVarUrlObj),
|
|
10237
|
-
options: localVarRequestOptions,
|
|
10238
|
-
};
|
|
9565
|
+
async listStoredCollisionTools(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: { [key: string]: Collider; }; }>> {
|
|
9566
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listStoredCollisionTools(cell, options);
|
|
9567
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9568
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.listStoredCollisionTools']?.[localVarOperationServerIndex]?.url;
|
|
9569
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10239
9570
|
},
|
|
10240
9571
|
/**
|
|
10241
9572
|
* Stores collider. If the collider does not exist, it will be created. If the collider exists, it will be updated.
|
|
@@ -10246,48 +9577,11 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
10246
9577
|
* @param {*} [options] Override http request option.
|
|
10247
9578
|
* @throws {RequiredError}
|
|
10248
9579
|
*/
|
|
10249
|
-
|
|
10250
|
-
|
|
10251
|
-
|
|
10252
|
-
|
|
10253
|
-
|
|
10254
|
-
// verify required parameter 'collider2' is not null or undefined
|
|
10255
|
-
assertParamExists('storeCollider', 'collider2', collider2)
|
|
10256
|
-
const localVarPath = `/cells/{cell}/store/collision/colliders/{collider}`
|
|
10257
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
10258
|
-
.replace(`{${"collider"}}`, encodeURIComponent(String(collider)));
|
|
10259
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10260
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10261
|
-
let baseOptions;
|
|
10262
|
-
if (configuration) {
|
|
10263
|
-
baseOptions = configuration.baseOptions;
|
|
10264
|
-
}
|
|
10265
|
-
|
|
10266
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
10267
|
-
const localVarHeaderParameter = {} as any;
|
|
10268
|
-
const localVarQueryParameter = {} as any;
|
|
10269
|
-
|
|
10270
|
-
// authentication BasicAuth required
|
|
10271
|
-
// http basic authentication required
|
|
10272
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
10273
|
-
|
|
10274
|
-
// authentication BearerAuth required
|
|
10275
|
-
// http bearer authentication required
|
|
10276
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10277
|
-
|
|
10278
|
-
|
|
10279
|
-
|
|
10280
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10281
|
-
|
|
10282
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10283
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10284
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10285
|
-
localVarRequestOptions.data = serializeDataIfNeeded(collider2, localVarRequestOptions, configuration)
|
|
10286
|
-
|
|
10287
|
-
return {
|
|
10288
|
-
url: toPathString(localVarUrlObj),
|
|
10289
|
-
options: localVarRequestOptions,
|
|
10290
|
-
};
|
|
9580
|
+
async storeCollider(cell: string, collider: string, collider2: Collider, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Collider>> {
|
|
9581
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storeCollider(cell, collider, collider2, options);
|
|
9582
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9583
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.storeCollider']?.[localVarOperationServerIndex]?.url;
|
|
9584
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10291
9585
|
},
|
|
10292
9586
|
/**
|
|
10293
9587
|
* Stores link chain. If the link chain does not exist, it will be created. If the link chain exists, it will be updated.
|
|
@@ -10298,48 +9592,11 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
10298
9592
|
* @param {*} [options] Override http request option.
|
|
10299
9593
|
* @throws {RequiredError}
|
|
10300
9594
|
*/
|
|
10301
|
-
|
|
10302
|
-
|
|
10303
|
-
|
|
10304
|
-
|
|
10305
|
-
|
|
10306
|
-
// verify required parameter 'collider' is not null or undefined
|
|
10307
|
-
assertParamExists('storeCollisionLinkChain', 'collider', collider)
|
|
10308
|
-
const localVarPath = `/cells/{cell}/store/collision/link-chains/{link-chain}`
|
|
10309
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
10310
|
-
.replace(`{${"link-chain"}}`, encodeURIComponent(String(linkChain)));
|
|
10311
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10312
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10313
|
-
let baseOptions;
|
|
10314
|
-
if (configuration) {
|
|
10315
|
-
baseOptions = configuration.baseOptions;
|
|
10316
|
-
}
|
|
10317
|
-
|
|
10318
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
10319
|
-
const localVarHeaderParameter = {} as any;
|
|
10320
|
-
const localVarQueryParameter = {} as any;
|
|
10321
|
-
|
|
10322
|
-
// authentication BasicAuth required
|
|
10323
|
-
// http basic authentication required
|
|
10324
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
10325
|
-
|
|
10326
|
-
// authentication BearerAuth required
|
|
10327
|
-
// http bearer authentication required
|
|
10328
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10329
|
-
|
|
10330
|
-
|
|
10331
|
-
|
|
10332
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10333
|
-
|
|
10334
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10335
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10336
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10337
|
-
localVarRequestOptions.data = serializeDataIfNeeded(collider, localVarRequestOptions, configuration)
|
|
10338
|
-
|
|
10339
|
-
return {
|
|
10340
|
-
url: toPathString(localVarUrlObj),
|
|
10341
|
-
options: localVarRequestOptions,
|
|
10342
|
-
};
|
|
9595
|
+
async storeCollisionLinkChain(cell: string, linkChain: string, collider: Array<{ [key: string]: Collider; }>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<{ [key: string]: Collider; }>>> {
|
|
9596
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storeCollisionLinkChain(cell, linkChain, collider, options);
|
|
9597
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9598
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.storeCollisionLinkChain']?.[localVarOperationServerIndex]?.url;
|
|
9599
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10343
9600
|
},
|
|
10344
9601
|
/**
|
|
10345
9602
|
* Stores the tool. If the tool does not exist, it will be created. If the tool exists, it will be updated.
|
|
@@ -10350,58 +9607,21 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
10350
9607
|
* @param {*} [options] Override http request option.
|
|
10351
9608
|
* @throws {RequiredError}
|
|
10352
9609
|
*/
|
|
10353
|
-
|
|
10354
|
-
|
|
10355
|
-
|
|
10356
|
-
|
|
10357
|
-
|
|
10358
|
-
// verify required parameter 'requestBody' is not null or undefined
|
|
10359
|
-
assertParamExists('storeCollisionTool', 'requestBody', requestBody)
|
|
10360
|
-
const localVarPath = `/cells/{cell}/store/collision/tools/{tool}`
|
|
10361
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
10362
|
-
.replace(`{${"tool"}}`, encodeURIComponent(String(tool)));
|
|
10363
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10364
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10365
|
-
let baseOptions;
|
|
10366
|
-
if (configuration) {
|
|
10367
|
-
baseOptions = configuration.baseOptions;
|
|
10368
|
-
}
|
|
10369
|
-
|
|
10370
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
10371
|
-
const localVarHeaderParameter = {} as any;
|
|
10372
|
-
const localVarQueryParameter = {} as any;
|
|
10373
|
-
|
|
10374
|
-
// authentication BasicAuth required
|
|
10375
|
-
// http basic authentication required
|
|
10376
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
10377
|
-
|
|
10378
|
-
// authentication BearerAuth required
|
|
10379
|
-
// http bearer authentication required
|
|
10380
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10381
|
-
|
|
10382
|
-
|
|
10383
|
-
|
|
10384
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10385
|
-
|
|
10386
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10387
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10388
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10389
|
-
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
10390
|
-
|
|
10391
|
-
return {
|
|
10392
|
-
url: toPathString(localVarUrlObj),
|
|
10393
|
-
options: localVarRequestOptions,
|
|
10394
|
-
};
|
|
9610
|
+
async storeCollisionTool(cell: string, tool: string, requestBody: { [key: string]: Collider; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: Collider; }>> {
|
|
9611
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storeCollisionTool(cell, tool, requestBody, options);
|
|
9612
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9613
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.storeCollisionTool']?.[localVarOperationServerIndex]?.url;
|
|
9614
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10395
9615
|
},
|
|
10396
9616
|
}
|
|
10397
9617
|
};
|
|
10398
9618
|
|
|
10399
9619
|
/**
|
|
10400
|
-
* StoreCollisionComponentsApi -
|
|
9620
|
+
* StoreCollisionComponentsApi - factory interface
|
|
10401
9621
|
* @export
|
|
10402
9622
|
*/
|
|
10403
|
-
export const
|
|
10404
|
-
const
|
|
9623
|
+
export const StoreCollisionComponentsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
9624
|
+
const localVarFp = StoreCollisionComponentsApiFp(configuration)
|
|
10405
9625
|
return {
|
|
10406
9626
|
/**
|
|
10407
9627
|
* Deletes the stored collider. <!-- theme: danger --> > This will delete persistently stored data.
|
|
@@ -10411,11 +9631,8 @@ export const StoreCollisionComponentsApiFp = function(configuration?: Configurat
|
|
|
10411
9631
|
* @param {*} [options] Override http request option.
|
|
10412
9632
|
* @throws {RequiredError}
|
|
10413
9633
|
*/
|
|
10414
|
-
|
|
10415
|
-
|
|
10416
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10417
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.deleteStoredCollider']?.[localVarOperationServerIndex]?.url;
|
|
10418
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9634
|
+
deleteStoredCollider(cell: string, collider: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
9635
|
+
return localVarFp.deleteStoredCollider(cell, collider, options).then((request) => request(axios, basePath));
|
|
10419
9636
|
},
|
|
10420
9637
|
/**
|
|
10421
9638
|
* Deletes the stored link chain. <!-- theme: danger --> > This will delete persistently stored data.
|
|
@@ -10425,11 +9642,8 @@ export const StoreCollisionComponentsApiFp = function(configuration?: Configurat
|
|
|
10425
9642
|
* @param {*} [options] Override http request option.
|
|
10426
9643
|
* @throws {RequiredError}
|
|
10427
9644
|
*/
|
|
10428
|
-
|
|
10429
|
-
|
|
10430
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10431
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.deleteStoredCollisionLinkChain']?.[localVarOperationServerIndex]?.url;
|
|
10432
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9645
|
+
deleteStoredCollisionLinkChain(cell: string, linkChain: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
9646
|
+
return localVarFp.deleteStoredCollisionLinkChain(cell, linkChain, options).then((request) => request(axios, basePath));
|
|
10433
9647
|
},
|
|
10434
9648
|
/**
|
|
10435
9649
|
* Deletes the stored tool. <!-- theme: danger --> > This will delete persistently stored data.
|
|
@@ -10439,11 +9653,8 @@ export const StoreCollisionComponentsApiFp = function(configuration?: Configurat
|
|
|
10439
9653
|
* @param {*} [options] Override http request option.
|
|
10440
9654
|
* @throws {RequiredError}
|
|
10441
9655
|
*/
|
|
10442
|
-
|
|
10443
|
-
|
|
10444
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10445
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.deleteStoredCollisionTool']?.[localVarOperationServerIndex]?.url;
|
|
10446
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9656
|
+
deleteStoredCollisionTool(cell: string, tool: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
9657
|
+
return localVarFp.deleteStoredCollisionTool(cell, tool, options).then((request) => request(axios, basePath));
|
|
10447
9658
|
},
|
|
10448
9659
|
/**
|
|
10449
9660
|
* Returns the collider.
|
|
@@ -10453,11 +9664,8 @@ export const StoreCollisionComponentsApiFp = function(configuration?: Configurat
|
|
|
10453
9664
|
* @param {*} [options] Override http request option.
|
|
10454
9665
|
* @throws {RequiredError}
|
|
10455
9666
|
*/
|
|
10456
|
-
|
|
10457
|
-
|
|
10458
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10459
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.getStoredCollider']?.[localVarOperationServerIndex]?.url;
|
|
10460
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9667
|
+
getStoredCollider(cell: string, collider: string, options?: RawAxiosRequestConfig): AxiosPromise<Collider> {
|
|
9668
|
+
return localVarFp.getStoredCollider(cell, collider, options).then((request) => request(axios, basePath));
|
|
10461
9669
|
},
|
|
10462
9670
|
/**
|
|
10463
9671
|
* Returns the collision link chain.
|
|
@@ -10467,11 +9675,8 @@ export const StoreCollisionComponentsApiFp = function(configuration?: Configurat
|
|
|
10467
9675
|
* @param {*} [options] Override http request option.
|
|
10468
9676
|
* @throws {RequiredError}
|
|
10469
9677
|
*/
|
|
10470
|
-
|
|
10471
|
-
|
|
10472
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10473
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.getStoredCollisionLinkChain']?.[localVarOperationServerIndex]?.url;
|
|
10474
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9678
|
+
getStoredCollisionLinkChain(cell: string, linkChain: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<{ [key: string]: Collider; }>> {
|
|
9679
|
+
return localVarFp.getStoredCollisionLinkChain(cell, linkChain, options).then((request) => request(axios, basePath));
|
|
10475
9680
|
},
|
|
10476
9681
|
/**
|
|
10477
9682
|
* Returns the stored tool.
|
|
@@ -10481,894 +9686,266 @@ export const StoreCollisionComponentsApiFp = function(configuration?: Configurat
|
|
|
10481
9686
|
* @param {*} [options] Override http request option.
|
|
10482
9687
|
* @throws {RequiredError}
|
|
10483
9688
|
*/
|
|
10484
|
-
|
|
10485
|
-
|
|
10486
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10487
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.getStoredCollisionTool']?.[localVarOperationServerIndex]?.url;
|
|
10488
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9689
|
+
getStoredCollisionTool(cell: string, tool: string, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: Collider; }> {
|
|
9690
|
+
return localVarFp.getStoredCollisionTool(cell, tool, options).then((request) => request(axios, basePath));
|
|
10489
9691
|
},
|
|
10490
9692
|
/**
|
|
10491
9693
|
* Returns the stored link chains.
|
|
10492
|
-
* @summary List Link Chains
|
|
10493
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10494
|
-
* @param {*} [options] Override http request option.
|
|
10495
|
-
* @throws {RequiredError}
|
|
10496
|
-
*/
|
|
10497
|
-
async listCollisionLinkChains(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: Array<{ [key: string]: Collider; }>; }>> {
|
|
10498
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listCollisionLinkChains(cell, options);
|
|
10499
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10500
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.listCollisionLinkChains']?.[localVarOperationServerIndex]?.url;
|
|
10501
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10502
|
-
},
|
|
10503
|
-
/**
|
|
10504
|
-
* Returns a list of colliders in a scene. This excludes colliders that are part of a motion group.
|
|
10505
|
-
* @summary List Colliders
|
|
10506
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10507
|
-
* @param {*} [options] Override http request option.
|
|
10508
|
-
* @throws {RequiredError}
|
|
10509
|
-
*/
|
|
10510
|
-
async listStoredColliders(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: Collider; }>> {
|
|
10511
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listStoredColliders(cell, options);
|
|
10512
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10513
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.listStoredColliders']?.[localVarOperationServerIndex]?.url;
|
|
10514
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10515
|
-
},
|
|
10516
|
-
/**
|
|
10517
|
-
* Returns the list of stored tools.
|
|
10518
|
-
* @summary List Tools
|
|
10519
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10520
|
-
* @param {*} [options] Override http request option.
|
|
10521
|
-
* @throws {RequiredError}
|
|
10522
|
-
*/
|
|
10523
|
-
async listStoredCollisionTools(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: { [key: string]: Collider; }; }>> {
|
|
10524
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listStoredCollisionTools(cell, options);
|
|
10525
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10526
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.listStoredCollisionTools']?.[localVarOperationServerIndex]?.url;
|
|
10527
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10528
|
-
},
|
|
10529
|
-
/**
|
|
10530
|
-
* Stores collider. If the collider does not exist, it will be created. If the collider exists, it will be updated.
|
|
10531
|
-
* @summary Store Collider
|
|
10532
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10533
|
-
* @param {string} collider Unique identifier addressing a collider.
|
|
10534
|
-
* @param {Collider} collider2
|
|
10535
|
-
* @param {*} [options] Override http request option.
|
|
10536
|
-
* @throws {RequiredError}
|
|
10537
|
-
*/
|
|
10538
|
-
async storeCollider(cell: string, collider: string, collider2: Collider, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Collider>> {
|
|
10539
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.storeCollider(cell, collider, collider2, options);
|
|
10540
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10541
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.storeCollider']?.[localVarOperationServerIndex]?.url;
|
|
10542
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10543
|
-
},
|
|
10544
|
-
/**
|
|
10545
|
-
* Stores link chain. If the link chain does not exist, it will be created. If the link chain exists, it will be updated.
|
|
10546
|
-
* @summary Store Link Chain
|
|
10547
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10548
|
-
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
10549
|
-
* @param {Array<{ [key: string]: Collider; }>} collider
|
|
10550
|
-
* @param {*} [options] Override http request option.
|
|
10551
|
-
* @throws {RequiredError}
|
|
10552
|
-
*/
|
|
10553
|
-
async storeCollisionLinkChain(cell: string, linkChain: string, collider: Array<{ [key: string]: Collider; }>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<{ [key: string]: Collider; }>>> {
|
|
10554
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.storeCollisionLinkChain(cell, linkChain, collider, options);
|
|
10555
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10556
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.storeCollisionLinkChain']?.[localVarOperationServerIndex]?.url;
|
|
10557
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10558
|
-
},
|
|
10559
|
-
/**
|
|
10560
|
-
* Stores the tool. If the tool does not exist, it will be created. If the tool exists, it will be updated.
|
|
10561
|
-
* @summary Store Tool
|
|
10562
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10563
|
-
* @param {string} tool Unique identifier addressing a collision tool.
|
|
10564
|
-
* @param {{ [key: string]: Collider; }} requestBody
|
|
10565
|
-
* @param {*} [options] Override http request option.
|
|
10566
|
-
* @throws {RequiredError}
|
|
10567
|
-
*/
|
|
10568
|
-
async storeCollisionTool(cell: string, tool: string, requestBody: { [key: string]: Collider; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: Collider; }>> {
|
|
10569
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.storeCollisionTool(cell, tool, requestBody, options);
|
|
10570
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10571
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.storeCollisionTool']?.[localVarOperationServerIndex]?.url;
|
|
10572
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10573
|
-
},
|
|
10574
|
-
}
|
|
10575
|
-
};
|
|
10576
|
-
|
|
10577
|
-
/**
|
|
10578
|
-
* StoreCollisionComponentsApi - factory interface
|
|
10579
|
-
* @export
|
|
10580
|
-
*/
|
|
10581
|
-
export const StoreCollisionComponentsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
10582
|
-
const localVarFp = StoreCollisionComponentsApiFp(configuration)
|
|
10583
|
-
return {
|
|
10584
|
-
/**
|
|
10585
|
-
* Deletes the stored collider. <!-- theme: danger --> > This will delete persistently stored data.
|
|
10586
|
-
* @summary Delete Collider
|
|
10587
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10588
|
-
* @param {string} collider Unique identifier addressing a collider.
|
|
10589
|
-
* @param {*} [options] Override http request option.
|
|
10590
|
-
* @throws {RequiredError}
|
|
10591
|
-
*/
|
|
10592
|
-
deleteStoredCollider(cell: string, collider: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
10593
|
-
return localVarFp.deleteStoredCollider(cell, collider, options).then((request) => request(axios, basePath));
|
|
10594
|
-
},
|
|
10595
|
-
/**
|
|
10596
|
-
* Deletes the stored link chain. <!-- theme: danger --> > This will delete persistently stored data.
|
|
10597
|
-
* @summary Delete Link Chain
|
|
10598
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10599
|
-
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
10600
|
-
* @param {*} [options] Override http request option.
|
|
10601
|
-
* @throws {RequiredError}
|
|
10602
|
-
*/
|
|
10603
|
-
deleteStoredCollisionLinkChain(cell: string, linkChain: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
10604
|
-
return localVarFp.deleteStoredCollisionLinkChain(cell, linkChain, options).then((request) => request(axios, basePath));
|
|
10605
|
-
},
|
|
10606
|
-
/**
|
|
10607
|
-
* Deletes the stored tool. <!-- theme: danger --> > This will delete persistently stored data.
|
|
10608
|
-
* @summary Delete Tool
|
|
10609
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10610
|
-
* @param {string} tool Unique identifier addressing a collision tool.
|
|
10611
|
-
* @param {*} [options] Override http request option.
|
|
10612
|
-
* @throws {RequiredError}
|
|
10613
|
-
*/
|
|
10614
|
-
deleteStoredCollisionTool(cell: string, tool: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
10615
|
-
return localVarFp.deleteStoredCollisionTool(cell, tool, options).then((request) => request(axios, basePath));
|
|
10616
|
-
},
|
|
10617
|
-
/**
|
|
10618
|
-
* Returns the collider.
|
|
10619
|
-
* @summary Get Collider
|
|
10620
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10621
|
-
* @param {string} collider Unique identifier addressing a collider.
|
|
10622
|
-
* @param {*} [options] Override http request option.
|
|
10623
|
-
* @throws {RequiredError}
|
|
10624
|
-
*/
|
|
10625
|
-
getStoredCollider(cell: string, collider: string, options?: RawAxiosRequestConfig): AxiosPromise<Collider> {
|
|
10626
|
-
return localVarFp.getStoredCollider(cell, collider, options).then((request) => request(axios, basePath));
|
|
10627
|
-
},
|
|
10628
|
-
/**
|
|
10629
|
-
* Returns the collision link chain.
|
|
10630
|
-
* @summary Get Link Chain
|
|
10631
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10632
|
-
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
10633
|
-
* @param {*} [options] Override http request option.
|
|
10634
|
-
* @throws {RequiredError}
|
|
10635
|
-
*/
|
|
10636
|
-
getStoredCollisionLinkChain(cell: string, linkChain: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<{ [key: string]: Collider; }>> {
|
|
10637
|
-
return localVarFp.getStoredCollisionLinkChain(cell, linkChain, options).then((request) => request(axios, basePath));
|
|
10638
|
-
},
|
|
10639
|
-
/**
|
|
10640
|
-
* Returns the stored tool.
|
|
10641
|
-
* @summary Get Tool
|
|
10642
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10643
|
-
* @param {string} tool Unique identifier addressing a collision tool.
|
|
10644
|
-
* @param {*} [options] Override http request option.
|
|
10645
|
-
* @throws {RequiredError}
|
|
10646
|
-
*/
|
|
10647
|
-
getStoredCollisionTool(cell: string, tool: string, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: Collider; }> {
|
|
10648
|
-
return localVarFp.getStoredCollisionTool(cell, tool, options).then((request) => request(axios, basePath));
|
|
10649
|
-
},
|
|
10650
|
-
/**
|
|
10651
|
-
* Returns the stored link chains.
|
|
10652
|
-
* @summary List Link Chains
|
|
10653
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10654
|
-
* @param {*} [options] Override http request option.
|
|
10655
|
-
* @throws {RequiredError}
|
|
10656
|
-
*/
|
|
10657
|
-
listCollisionLinkChains(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: Array<{ [key: string]: Collider; }>; }> {
|
|
10658
|
-
return localVarFp.listCollisionLinkChains(cell, options).then((request) => request(axios, basePath));
|
|
10659
|
-
},
|
|
10660
|
-
/**
|
|
10661
|
-
* Returns a list of colliders in a scene. This excludes colliders that are part of a motion group.
|
|
10662
|
-
* @summary List Colliders
|
|
10663
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10664
|
-
* @param {*} [options] Override http request option.
|
|
10665
|
-
* @throws {RequiredError}
|
|
10666
|
-
*/
|
|
10667
|
-
listStoredColliders(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: Collider; }> {
|
|
10668
|
-
return localVarFp.listStoredColliders(cell, options).then((request) => request(axios, basePath));
|
|
10669
|
-
},
|
|
10670
|
-
/**
|
|
10671
|
-
* Returns the list of stored tools.
|
|
10672
|
-
* @summary List Tools
|
|
10673
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10674
|
-
* @param {*} [options] Override http request option.
|
|
10675
|
-
* @throws {RequiredError}
|
|
10676
|
-
*/
|
|
10677
|
-
listStoredCollisionTools(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: { [key: string]: Collider; }; }> {
|
|
10678
|
-
return localVarFp.listStoredCollisionTools(cell, options).then((request) => request(axios, basePath));
|
|
10679
|
-
},
|
|
10680
|
-
/**
|
|
10681
|
-
* Stores collider. If the collider does not exist, it will be created. If the collider exists, it will be updated.
|
|
10682
|
-
* @summary Store Collider
|
|
10683
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10684
|
-
* @param {string} collider Unique identifier addressing a collider.
|
|
10685
|
-
* @param {Collider} collider2
|
|
10686
|
-
* @param {*} [options] Override http request option.
|
|
10687
|
-
* @throws {RequiredError}
|
|
10688
|
-
*/
|
|
10689
|
-
storeCollider(cell: string, collider: string, collider2: Collider, options?: RawAxiosRequestConfig): AxiosPromise<Collider> {
|
|
10690
|
-
return localVarFp.storeCollider(cell, collider, collider2, options).then((request) => request(axios, basePath));
|
|
10691
|
-
},
|
|
10692
|
-
/**
|
|
10693
|
-
* Stores link chain. If the link chain does not exist, it will be created. If the link chain exists, it will be updated.
|
|
10694
|
-
* @summary Store Link Chain
|
|
10695
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10696
|
-
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
10697
|
-
* @param {Array<{ [key: string]: Collider; }>} collider
|
|
10698
|
-
* @param {*} [options] Override http request option.
|
|
10699
|
-
* @throws {RequiredError}
|
|
10700
|
-
*/
|
|
10701
|
-
storeCollisionLinkChain(cell: string, linkChain: string, collider: Array<{ [key: string]: Collider; }>, options?: RawAxiosRequestConfig): AxiosPromise<Array<{ [key: string]: Collider; }>> {
|
|
10702
|
-
return localVarFp.storeCollisionLinkChain(cell, linkChain, collider, options).then((request) => request(axios, basePath));
|
|
10703
|
-
},
|
|
10704
|
-
/**
|
|
10705
|
-
* Stores the tool. If the tool does not exist, it will be created. If the tool exists, it will be updated.
|
|
10706
|
-
* @summary Store Tool
|
|
10707
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10708
|
-
* @param {string} tool Unique identifier addressing a collision tool.
|
|
10709
|
-
* @param {{ [key: string]: Collider; }} requestBody
|
|
10710
|
-
* @param {*} [options] Override http request option.
|
|
10711
|
-
* @throws {RequiredError}
|
|
10712
|
-
*/
|
|
10713
|
-
storeCollisionTool(cell: string, tool: string, requestBody: { [key: string]: Collider; }, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: Collider; }> {
|
|
10714
|
-
return localVarFp.storeCollisionTool(cell, tool, requestBody, options).then((request) => request(axios, basePath));
|
|
10715
|
-
},
|
|
10716
|
-
};
|
|
10717
|
-
};
|
|
10718
|
-
|
|
10719
|
-
/**
|
|
10720
|
-
* StoreCollisionComponentsApi - object-oriented interface
|
|
10721
|
-
* @export
|
|
10722
|
-
* @class StoreCollisionComponentsApi
|
|
10723
|
-
* @extends {BaseAPI}
|
|
10724
|
-
*/
|
|
10725
|
-
export class StoreCollisionComponentsApi extends BaseAPI {
|
|
10726
|
-
/**
|
|
10727
|
-
* Deletes the stored collider. <!-- theme: danger --> > This will delete persistently stored data.
|
|
10728
|
-
* @summary Delete Collider
|
|
10729
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10730
|
-
* @param {string} collider Unique identifier addressing a collider.
|
|
10731
|
-
* @param {*} [options] Override http request option.
|
|
10732
|
-
* @throws {RequiredError}
|
|
10733
|
-
* @memberof StoreCollisionComponentsApi
|
|
10734
|
-
*/
|
|
10735
|
-
public deleteStoredCollider(cell: string, collider: string, options?: RawAxiosRequestConfig) {
|
|
10736
|
-
return StoreCollisionComponentsApiFp(this.configuration).deleteStoredCollider(cell, collider, options).then((request) => request(this.axios, this.basePath));
|
|
10737
|
-
}
|
|
10738
|
-
|
|
10739
|
-
/**
|
|
10740
|
-
* Deletes the stored link chain. <!-- theme: danger --> > This will delete persistently stored data.
|
|
10741
|
-
* @summary Delete Link Chain
|
|
10742
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10743
|
-
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
10744
|
-
* @param {*} [options] Override http request option.
|
|
10745
|
-
* @throws {RequiredError}
|
|
10746
|
-
* @memberof StoreCollisionComponentsApi
|
|
10747
|
-
*/
|
|
10748
|
-
public deleteStoredCollisionLinkChain(cell: string, linkChain: string, options?: RawAxiosRequestConfig) {
|
|
10749
|
-
return StoreCollisionComponentsApiFp(this.configuration).deleteStoredCollisionLinkChain(cell, linkChain, options).then((request) => request(this.axios, this.basePath));
|
|
10750
|
-
}
|
|
10751
|
-
|
|
10752
|
-
/**
|
|
10753
|
-
* Deletes the stored tool. <!-- theme: danger --> > This will delete persistently stored data.
|
|
10754
|
-
* @summary Delete Tool
|
|
10755
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10756
|
-
* @param {string} tool Unique identifier addressing a collision tool.
|
|
10757
|
-
* @param {*} [options] Override http request option.
|
|
10758
|
-
* @throws {RequiredError}
|
|
10759
|
-
* @memberof StoreCollisionComponentsApi
|
|
10760
|
-
*/
|
|
10761
|
-
public deleteStoredCollisionTool(cell: string, tool: string, options?: RawAxiosRequestConfig) {
|
|
10762
|
-
return StoreCollisionComponentsApiFp(this.configuration).deleteStoredCollisionTool(cell, tool, options).then((request) => request(this.axios, this.basePath));
|
|
10763
|
-
}
|
|
10764
|
-
|
|
10765
|
-
/**
|
|
10766
|
-
* Returns the collider.
|
|
10767
|
-
* @summary Get Collider
|
|
10768
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10769
|
-
* @param {string} collider Unique identifier addressing a collider.
|
|
10770
|
-
* @param {*} [options] Override http request option.
|
|
10771
|
-
* @throws {RequiredError}
|
|
10772
|
-
* @memberof StoreCollisionComponentsApi
|
|
10773
|
-
*/
|
|
10774
|
-
public getStoredCollider(cell: string, collider: string, options?: RawAxiosRequestConfig) {
|
|
10775
|
-
return StoreCollisionComponentsApiFp(this.configuration).getStoredCollider(cell, collider, options).then((request) => request(this.axios, this.basePath));
|
|
10776
|
-
}
|
|
10777
|
-
|
|
10778
|
-
/**
|
|
10779
|
-
* Returns the collision link chain.
|
|
10780
|
-
* @summary Get Link Chain
|
|
10781
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10782
|
-
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
10783
|
-
* @param {*} [options] Override http request option.
|
|
10784
|
-
* @throws {RequiredError}
|
|
10785
|
-
* @memberof StoreCollisionComponentsApi
|
|
10786
|
-
*/
|
|
10787
|
-
public getStoredCollisionLinkChain(cell: string, linkChain: string, options?: RawAxiosRequestConfig) {
|
|
10788
|
-
return StoreCollisionComponentsApiFp(this.configuration).getStoredCollisionLinkChain(cell, linkChain, options).then((request) => request(this.axios, this.basePath));
|
|
10789
|
-
}
|
|
10790
|
-
|
|
10791
|
-
/**
|
|
10792
|
-
* Returns the stored tool.
|
|
10793
|
-
* @summary Get Tool
|
|
10794
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10795
|
-
* @param {string} tool Unique identifier addressing a collision tool.
|
|
10796
|
-
* @param {*} [options] Override http request option.
|
|
10797
|
-
* @throws {RequiredError}
|
|
10798
|
-
* @memberof StoreCollisionComponentsApi
|
|
10799
|
-
*/
|
|
10800
|
-
public getStoredCollisionTool(cell: string, tool: string, options?: RawAxiosRequestConfig) {
|
|
10801
|
-
return StoreCollisionComponentsApiFp(this.configuration).getStoredCollisionTool(cell, tool, options).then((request) => request(this.axios, this.basePath));
|
|
10802
|
-
}
|
|
10803
|
-
|
|
10804
|
-
/**
|
|
10805
|
-
* Returns the stored link chains.
|
|
10806
|
-
* @summary List Link Chains
|
|
10807
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10808
|
-
* @param {*} [options] Override http request option.
|
|
10809
|
-
* @throws {RequiredError}
|
|
10810
|
-
* @memberof StoreCollisionComponentsApi
|
|
10811
|
-
*/
|
|
10812
|
-
public listCollisionLinkChains(cell: string, options?: RawAxiosRequestConfig) {
|
|
10813
|
-
return StoreCollisionComponentsApiFp(this.configuration).listCollisionLinkChains(cell, options).then((request) => request(this.axios, this.basePath));
|
|
10814
|
-
}
|
|
10815
|
-
|
|
10816
|
-
/**
|
|
10817
|
-
* Returns a list of colliders in a scene. This excludes colliders that are part of a motion group.
|
|
10818
|
-
* @summary List Colliders
|
|
10819
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10820
|
-
* @param {*} [options] Override http request option.
|
|
10821
|
-
* @throws {RequiredError}
|
|
10822
|
-
* @memberof StoreCollisionComponentsApi
|
|
10823
|
-
*/
|
|
10824
|
-
public listStoredColliders(cell: string, options?: RawAxiosRequestConfig) {
|
|
10825
|
-
return StoreCollisionComponentsApiFp(this.configuration).listStoredColliders(cell, options).then((request) => request(this.axios, this.basePath));
|
|
10826
|
-
}
|
|
10827
|
-
|
|
10828
|
-
/**
|
|
10829
|
-
* Returns the list of stored tools.
|
|
10830
|
-
* @summary List Tools
|
|
10831
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10832
|
-
* @param {*} [options] Override http request option.
|
|
10833
|
-
* @throws {RequiredError}
|
|
10834
|
-
* @memberof StoreCollisionComponentsApi
|
|
10835
|
-
*/
|
|
10836
|
-
public listStoredCollisionTools(cell: string, options?: RawAxiosRequestConfig) {
|
|
10837
|
-
return StoreCollisionComponentsApiFp(this.configuration).listStoredCollisionTools(cell, options).then((request) => request(this.axios, this.basePath));
|
|
10838
|
-
}
|
|
10839
|
-
|
|
10840
|
-
/**
|
|
10841
|
-
* Stores collider. If the collider does not exist, it will be created. If the collider exists, it will be updated.
|
|
10842
|
-
* @summary Store Collider
|
|
10843
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10844
|
-
* @param {string} collider Unique identifier addressing a collider.
|
|
10845
|
-
* @param {Collider} collider2
|
|
10846
|
-
* @param {*} [options] Override http request option.
|
|
10847
|
-
* @throws {RequiredError}
|
|
10848
|
-
* @memberof StoreCollisionComponentsApi
|
|
10849
|
-
*/
|
|
10850
|
-
public storeCollider(cell: string, collider: string, collider2: Collider, options?: RawAxiosRequestConfig) {
|
|
10851
|
-
return StoreCollisionComponentsApiFp(this.configuration).storeCollider(cell, collider, collider2, options).then((request) => request(this.axios, this.basePath));
|
|
10852
|
-
}
|
|
10853
|
-
|
|
10854
|
-
/**
|
|
10855
|
-
* Stores link chain. If the link chain does not exist, it will be created. If the link chain exists, it will be updated.
|
|
10856
|
-
* @summary Store Link Chain
|
|
10857
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10858
|
-
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
10859
|
-
* @param {Array<{ [key: string]: Collider; }>} collider
|
|
10860
|
-
* @param {*} [options] Override http request option.
|
|
10861
|
-
* @throws {RequiredError}
|
|
10862
|
-
* @memberof StoreCollisionComponentsApi
|
|
10863
|
-
*/
|
|
10864
|
-
public storeCollisionLinkChain(cell: string, linkChain: string, collider: Array<{ [key: string]: Collider; }>, options?: RawAxiosRequestConfig) {
|
|
10865
|
-
return StoreCollisionComponentsApiFp(this.configuration).storeCollisionLinkChain(cell, linkChain, collider, options).then((request) => request(this.axios, this.basePath));
|
|
10866
|
-
}
|
|
10867
|
-
|
|
10868
|
-
/**
|
|
10869
|
-
* Stores the tool. If the tool does not exist, it will be created. If the tool exists, it will be updated.
|
|
10870
|
-
* @summary Store Tool
|
|
10871
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10872
|
-
* @param {string} tool Unique identifier addressing a collision tool.
|
|
10873
|
-
* @param {{ [key: string]: Collider; }} requestBody
|
|
10874
|
-
* @param {*} [options] Override http request option.
|
|
10875
|
-
* @throws {RequiredError}
|
|
10876
|
-
* @memberof StoreCollisionComponentsApi
|
|
10877
|
-
*/
|
|
10878
|
-
public storeCollisionTool(cell: string, tool: string, requestBody: { [key: string]: Collider; }, options?: RawAxiosRequestConfig) {
|
|
10879
|
-
return StoreCollisionComponentsApiFp(this.configuration).storeCollisionTool(cell, tool, requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
10880
|
-
}
|
|
10881
|
-
}
|
|
10882
|
-
|
|
10883
|
-
|
|
10884
|
-
|
|
10885
|
-
/**
|
|
10886
|
-
* StoreCollisionScenesApi - axios parameter creator
|
|
10887
|
-
* @export
|
|
10888
|
-
*/
|
|
10889
|
-
export const StoreCollisionScenesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
10890
|
-
return {
|
|
10891
|
-
/**
|
|
10892
|
-
* Deletes the stored scene. <!-- theme: danger --> > This will delete persistently stored data.
|
|
10893
|
-
* @summary Delete Scene
|
|
10894
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10895
|
-
* @param {string} scene Unique identifier addressing a collision scene.
|
|
10896
|
-
* @param {*} [options] Override http request option.
|
|
10897
|
-
* @throws {RequiredError}
|
|
10898
|
-
*/
|
|
10899
|
-
deleteStoredCollisionScene: async (cell: string, scene: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10900
|
-
// verify required parameter 'cell' is not null or undefined
|
|
10901
|
-
assertParamExists('deleteStoredCollisionScene', 'cell', cell)
|
|
10902
|
-
// verify required parameter 'scene' is not null or undefined
|
|
10903
|
-
assertParamExists('deleteStoredCollisionScene', 'scene', scene)
|
|
10904
|
-
const localVarPath = `/cells/{cell}/store/collision/scenes/{scene}`
|
|
10905
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
10906
|
-
.replace(`{${"scene"}}`, encodeURIComponent(String(scene)));
|
|
10907
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10908
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10909
|
-
let baseOptions;
|
|
10910
|
-
if (configuration) {
|
|
10911
|
-
baseOptions = configuration.baseOptions;
|
|
10912
|
-
}
|
|
10913
|
-
|
|
10914
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
10915
|
-
const localVarHeaderParameter = {} as any;
|
|
10916
|
-
const localVarQueryParameter = {} as any;
|
|
10917
|
-
|
|
10918
|
-
// authentication BasicAuth required
|
|
10919
|
-
// http basic authentication required
|
|
10920
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
10921
|
-
|
|
10922
|
-
// authentication BearerAuth required
|
|
10923
|
-
// http bearer authentication required
|
|
10924
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10925
|
-
|
|
10926
|
-
|
|
10927
|
-
|
|
10928
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10929
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10930
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10931
|
-
|
|
10932
|
-
return {
|
|
10933
|
-
url: toPathString(localVarUrlObj),
|
|
10934
|
-
options: localVarRequestOptions,
|
|
10935
|
-
};
|
|
10936
|
-
},
|
|
10937
|
-
/**
|
|
10938
|
-
* Returns the stored scene.
|
|
10939
|
-
* @summary Get Scene
|
|
10940
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10941
|
-
* @param {string} scene Unique identifier addressing a collision scene.
|
|
10942
|
-
* @param {*} [options] Override http request option.
|
|
10943
|
-
* @throws {RequiredError}
|
|
10944
|
-
*/
|
|
10945
|
-
getStoredCollisionScene: async (cell: string, scene: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10946
|
-
// verify required parameter 'cell' is not null or undefined
|
|
10947
|
-
assertParamExists('getStoredCollisionScene', 'cell', cell)
|
|
10948
|
-
// verify required parameter 'scene' is not null or undefined
|
|
10949
|
-
assertParamExists('getStoredCollisionScene', 'scene', scene)
|
|
10950
|
-
const localVarPath = `/cells/{cell}/store/collision/scenes/{scene}`
|
|
10951
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
10952
|
-
.replace(`{${"scene"}}`, encodeURIComponent(String(scene)));
|
|
10953
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10954
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10955
|
-
let baseOptions;
|
|
10956
|
-
if (configuration) {
|
|
10957
|
-
baseOptions = configuration.baseOptions;
|
|
10958
|
-
}
|
|
10959
|
-
|
|
10960
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10961
|
-
const localVarHeaderParameter = {} as any;
|
|
10962
|
-
const localVarQueryParameter = {} as any;
|
|
10963
|
-
|
|
10964
|
-
// authentication BasicAuth required
|
|
10965
|
-
// http basic authentication required
|
|
10966
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
10967
|
-
|
|
10968
|
-
// authentication BearerAuth required
|
|
10969
|
-
// http bearer authentication required
|
|
10970
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10971
|
-
|
|
10972
|
-
|
|
10973
|
-
|
|
10974
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10975
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10976
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10977
|
-
|
|
10978
|
-
return {
|
|
10979
|
-
url: toPathString(localVarUrlObj),
|
|
10980
|
-
options: localVarRequestOptions,
|
|
10981
|
-
};
|
|
10982
|
-
},
|
|
10983
|
-
/**
|
|
10984
|
-
* Returns a list of stored scenes.
|
|
10985
|
-
* @summary List Scenes
|
|
10986
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10987
|
-
* @param {*} [options] Override http request option.
|
|
10988
|
-
* @throws {RequiredError}
|
|
10989
|
-
*/
|
|
10990
|
-
listStoredCollisionScenes: async (cell: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10991
|
-
// verify required parameter 'cell' is not null or undefined
|
|
10992
|
-
assertParamExists('listStoredCollisionScenes', 'cell', cell)
|
|
10993
|
-
const localVarPath = `/cells/{cell}/store/collision/scenes`
|
|
10994
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
10995
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10996
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10997
|
-
let baseOptions;
|
|
10998
|
-
if (configuration) {
|
|
10999
|
-
baseOptions = configuration.baseOptions;
|
|
11000
|
-
}
|
|
11001
|
-
|
|
11002
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11003
|
-
const localVarHeaderParameter = {} as any;
|
|
11004
|
-
const localVarQueryParameter = {} as any;
|
|
11005
|
-
|
|
11006
|
-
// authentication BasicAuth required
|
|
11007
|
-
// http basic authentication required
|
|
11008
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
11009
|
-
|
|
11010
|
-
// authentication BearerAuth required
|
|
11011
|
-
// http bearer authentication required
|
|
11012
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11013
|
-
|
|
11014
|
-
|
|
11015
|
-
|
|
11016
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11017
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11018
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11019
|
-
|
|
11020
|
-
return {
|
|
11021
|
-
url: toPathString(localVarUrlObj),
|
|
11022
|
-
options: localVarRequestOptions,
|
|
11023
|
-
};
|
|
11024
|
-
},
|
|
11025
|
-
/**
|
|
11026
|
-
* Creates or replaces the stored collision scene. The scene is assembled from components as defined in the request body. <!-- theme: info --> > This endpoint allows indicating previously stored components. > Components used within the request will be copied into the new or updated scene. An error is returned if an indicated component does not exist.
|
|
11027
|
-
* @summary Store Scene
|
|
11028
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11029
|
-
* @param {string} scene Unique identifier addressing a collision scene.
|
|
11030
|
-
* @param {CollisionSceneAssembly} collisionSceneAssembly
|
|
11031
|
-
* @param {*} [options] Override http request option.
|
|
11032
|
-
* @throws {RequiredError}
|
|
11033
|
-
*/
|
|
11034
|
-
storeCollisionScene: async (cell: string, scene: string, collisionSceneAssembly: CollisionSceneAssembly, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11035
|
-
// verify required parameter 'cell' is not null or undefined
|
|
11036
|
-
assertParamExists('storeCollisionScene', 'cell', cell)
|
|
11037
|
-
// verify required parameter 'scene' is not null or undefined
|
|
11038
|
-
assertParamExists('storeCollisionScene', 'scene', scene)
|
|
11039
|
-
// verify required parameter 'collisionSceneAssembly' is not null or undefined
|
|
11040
|
-
assertParamExists('storeCollisionScene', 'collisionSceneAssembly', collisionSceneAssembly)
|
|
11041
|
-
const localVarPath = `/cells/{cell}/store/collision/scenes/{scene}`
|
|
11042
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
11043
|
-
.replace(`{${"scene"}}`, encodeURIComponent(String(scene)));
|
|
11044
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11045
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11046
|
-
let baseOptions;
|
|
11047
|
-
if (configuration) {
|
|
11048
|
-
baseOptions = configuration.baseOptions;
|
|
11049
|
-
}
|
|
11050
|
-
|
|
11051
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
11052
|
-
const localVarHeaderParameter = {} as any;
|
|
11053
|
-
const localVarQueryParameter = {} as any;
|
|
11054
|
-
|
|
11055
|
-
// authentication BasicAuth required
|
|
11056
|
-
// http basic authentication required
|
|
11057
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
11058
|
-
|
|
11059
|
-
// authentication BearerAuth required
|
|
11060
|
-
// http bearer authentication required
|
|
11061
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11062
|
-
|
|
11063
|
-
|
|
11064
|
-
|
|
11065
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11066
|
-
|
|
11067
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11068
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11069
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11070
|
-
localVarRequestOptions.data = serializeDataIfNeeded(collisionSceneAssembly, localVarRequestOptions, configuration)
|
|
11071
|
-
|
|
11072
|
-
return {
|
|
11073
|
-
url: toPathString(localVarUrlObj),
|
|
11074
|
-
options: localVarRequestOptions,
|
|
11075
|
-
};
|
|
11076
|
-
},
|
|
11077
|
-
}
|
|
11078
|
-
};
|
|
11079
|
-
|
|
11080
|
-
/**
|
|
11081
|
-
* StoreCollisionScenesApi - functional programming interface
|
|
11082
|
-
* @export
|
|
11083
|
-
*/
|
|
11084
|
-
export const StoreCollisionScenesApiFp = function(configuration?: Configuration) {
|
|
11085
|
-
const localVarAxiosParamCreator = StoreCollisionScenesApiAxiosParamCreator(configuration)
|
|
11086
|
-
return {
|
|
11087
|
-
/**
|
|
11088
|
-
* Deletes the stored scene. <!-- theme: danger --> > This will delete persistently stored data.
|
|
11089
|
-
* @summary Delete Scene
|
|
11090
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11091
|
-
* @param {string} scene Unique identifier addressing a collision scene.
|
|
11092
|
-
* @param {*} [options] Override http request option.
|
|
11093
|
-
* @throws {RequiredError}
|
|
11094
|
-
*/
|
|
11095
|
-
async deleteStoredCollisionScene(cell: string, scene: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
11096
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteStoredCollisionScene(cell, scene, options);
|
|
11097
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11098
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionScenesApi.deleteStoredCollisionScene']?.[localVarOperationServerIndex]?.url;
|
|
11099
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11100
|
-
},
|
|
11101
|
-
/**
|
|
11102
|
-
* Returns the stored scene.
|
|
11103
|
-
* @summary Get Scene
|
|
11104
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11105
|
-
* @param {string} scene Unique identifier addressing a collision scene.
|
|
11106
|
-
* @param {*} [options] Override http request option.
|
|
11107
|
-
* @throws {RequiredError}
|
|
11108
|
-
*/
|
|
11109
|
-
async getStoredCollisionScene(cell: string, scene: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CollisionScene>> {
|
|
11110
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getStoredCollisionScene(cell, scene, options);
|
|
11111
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11112
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionScenesApi.getStoredCollisionScene']?.[localVarOperationServerIndex]?.url;
|
|
11113
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11114
|
-
},
|
|
11115
|
-
/**
|
|
11116
|
-
* Returns a list of stored scenes.
|
|
11117
|
-
* @summary List Scenes
|
|
9694
|
+
* @summary List Link Chains
|
|
11118
9695
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11119
9696
|
* @param {*} [options] Override http request option.
|
|
11120
9697
|
* @throws {RequiredError}
|
|
11121
9698
|
*/
|
|
11122
|
-
|
|
11123
|
-
|
|
11124
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11125
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionScenesApi.listStoredCollisionScenes']?.[localVarOperationServerIndex]?.url;
|
|
11126
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9699
|
+
listCollisionLinkChains(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: Array<{ [key: string]: Collider; }>; }> {
|
|
9700
|
+
return localVarFp.listCollisionLinkChains(cell, options).then((request) => request(axios, basePath));
|
|
11127
9701
|
},
|
|
11128
9702
|
/**
|
|
11129
|
-
*
|
|
11130
|
-
* @summary
|
|
9703
|
+
* Returns a list of colliders in a scene. This excludes colliders that are part of a motion group.
|
|
9704
|
+
* @summary List Colliders
|
|
11131
9705
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11132
|
-
* @param {string} scene Unique identifier addressing a collision scene.
|
|
11133
|
-
* @param {CollisionSceneAssembly} collisionSceneAssembly
|
|
11134
9706
|
* @param {*} [options] Override http request option.
|
|
11135
9707
|
* @throws {RequiredError}
|
|
11136
9708
|
*/
|
|
11137
|
-
|
|
11138
|
-
|
|
11139
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11140
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionScenesApi.storeCollisionScene']?.[localVarOperationServerIndex]?.url;
|
|
11141
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9709
|
+
listStoredColliders(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: Collider; }> {
|
|
9710
|
+
return localVarFp.listStoredColliders(cell, options).then((request) => request(axios, basePath));
|
|
11142
9711
|
},
|
|
11143
|
-
}
|
|
11144
|
-
};
|
|
11145
|
-
|
|
11146
|
-
/**
|
|
11147
|
-
* StoreCollisionScenesApi - factory interface
|
|
11148
|
-
* @export
|
|
11149
|
-
*/
|
|
11150
|
-
export const StoreCollisionScenesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
11151
|
-
const localVarFp = StoreCollisionScenesApiFp(configuration)
|
|
11152
|
-
return {
|
|
11153
9712
|
/**
|
|
11154
|
-
*
|
|
11155
|
-
* @summary
|
|
9713
|
+
* Returns the list of stored tools.
|
|
9714
|
+
* @summary List Tools
|
|
11156
9715
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11157
|
-
* @param {string} scene Unique identifier addressing a collision scene.
|
|
11158
9716
|
* @param {*} [options] Override http request option.
|
|
11159
9717
|
* @throws {RequiredError}
|
|
11160
9718
|
*/
|
|
11161
|
-
|
|
11162
|
-
return localVarFp.
|
|
9719
|
+
listStoredCollisionTools(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: { [key: string]: Collider; }; }> {
|
|
9720
|
+
return localVarFp.listStoredCollisionTools(cell, options).then((request) => request(axios, basePath));
|
|
11163
9721
|
},
|
|
11164
9722
|
/**
|
|
11165
|
-
*
|
|
11166
|
-
* @summary
|
|
9723
|
+
* Stores collider. If the collider does not exist, it will be created. If the collider exists, it will be updated.
|
|
9724
|
+
* @summary Store Collider
|
|
11167
9725
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11168
|
-
* @param {string}
|
|
9726
|
+
* @param {string} collider Unique identifier addressing a collider.
|
|
9727
|
+
* @param {Collider} collider2
|
|
11169
9728
|
* @param {*} [options] Override http request option.
|
|
11170
9729
|
* @throws {RequiredError}
|
|
11171
9730
|
*/
|
|
11172
|
-
|
|
11173
|
-
return localVarFp.
|
|
9731
|
+
storeCollider(cell: string, collider: string, collider2: Collider, options?: RawAxiosRequestConfig): AxiosPromise<Collider> {
|
|
9732
|
+
return localVarFp.storeCollider(cell, collider, collider2, options).then((request) => request(axios, basePath));
|
|
11174
9733
|
},
|
|
11175
9734
|
/**
|
|
11176
|
-
*
|
|
11177
|
-
* @summary
|
|
9735
|
+
* Stores link chain. If the link chain does not exist, it will be created. If the link chain exists, it will be updated.
|
|
9736
|
+
* @summary Store Link Chain
|
|
11178
9737
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9738
|
+
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
9739
|
+
* @param {Array<{ [key: string]: Collider; }>} collider
|
|
11179
9740
|
* @param {*} [options] Override http request option.
|
|
11180
9741
|
* @throws {RequiredError}
|
|
11181
9742
|
*/
|
|
11182
|
-
|
|
11183
|
-
return localVarFp.
|
|
9743
|
+
storeCollisionLinkChain(cell: string, linkChain: string, collider: Array<{ [key: string]: Collider; }>, options?: RawAxiosRequestConfig): AxiosPromise<Array<{ [key: string]: Collider; }>> {
|
|
9744
|
+
return localVarFp.storeCollisionLinkChain(cell, linkChain, collider, options).then((request) => request(axios, basePath));
|
|
11184
9745
|
},
|
|
11185
9746
|
/**
|
|
11186
|
-
*
|
|
11187
|
-
* @summary Store
|
|
9747
|
+
* Stores the tool. If the tool does not exist, it will be created. If the tool exists, it will be updated.
|
|
9748
|
+
* @summary Store Tool
|
|
11188
9749
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11189
|
-
* @param {string}
|
|
11190
|
-
* @param {
|
|
9750
|
+
* @param {string} tool Unique identifier addressing a collision tool.
|
|
9751
|
+
* @param {{ [key: string]: Collider; }} requestBody
|
|
11191
9752
|
* @param {*} [options] Override http request option.
|
|
11192
9753
|
* @throws {RequiredError}
|
|
11193
9754
|
*/
|
|
11194
|
-
|
|
11195
|
-
return localVarFp.
|
|
9755
|
+
storeCollisionTool(cell: string, tool: string, requestBody: { [key: string]: Collider; }, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: Collider; }> {
|
|
9756
|
+
return localVarFp.storeCollisionTool(cell, tool, requestBody, options).then((request) => request(axios, basePath));
|
|
11196
9757
|
},
|
|
11197
9758
|
};
|
|
11198
9759
|
};
|
|
11199
9760
|
|
|
11200
9761
|
/**
|
|
11201
|
-
*
|
|
9762
|
+
* StoreCollisionComponentsApi - object-oriented interface
|
|
11202
9763
|
* @export
|
|
11203
|
-
* @class
|
|
9764
|
+
* @class StoreCollisionComponentsApi
|
|
11204
9765
|
* @extends {BaseAPI}
|
|
11205
9766
|
*/
|
|
11206
|
-
export class
|
|
9767
|
+
export class StoreCollisionComponentsApi extends BaseAPI {
|
|
11207
9768
|
/**
|
|
11208
|
-
* Deletes the stored
|
|
11209
|
-
* @summary Delete
|
|
9769
|
+
* Deletes the stored collider. <!-- theme: danger --> > This will delete persistently stored data.
|
|
9770
|
+
* @summary Delete Collider
|
|
11210
9771
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11211
|
-
* @param {string}
|
|
9772
|
+
* @param {string} collider Unique identifier addressing a collider.
|
|
11212
9773
|
* @param {*} [options] Override http request option.
|
|
11213
9774
|
* @throws {RequiredError}
|
|
11214
|
-
* @memberof
|
|
9775
|
+
* @memberof StoreCollisionComponentsApi
|
|
11215
9776
|
*/
|
|
11216
|
-
public
|
|
11217
|
-
return
|
|
9777
|
+
public deleteStoredCollider(cell: string, collider: string, options?: RawAxiosRequestConfig) {
|
|
9778
|
+
return StoreCollisionComponentsApiFp(this.configuration).deleteStoredCollider(cell, collider, options).then((request) => request(this.axios, this.basePath));
|
|
11218
9779
|
}
|
|
11219
9780
|
|
|
11220
9781
|
/**
|
|
11221
|
-
*
|
|
11222
|
-
* @summary
|
|
9782
|
+
* Deletes the stored link chain. <!-- theme: danger --> > This will delete persistently stored data.
|
|
9783
|
+
* @summary Delete Link Chain
|
|
11223
9784
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11224
|
-
* @param {string}
|
|
9785
|
+
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
11225
9786
|
* @param {*} [options] Override http request option.
|
|
11226
9787
|
* @throws {RequiredError}
|
|
11227
|
-
* @memberof
|
|
9788
|
+
* @memberof StoreCollisionComponentsApi
|
|
11228
9789
|
*/
|
|
11229
|
-
public
|
|
11230
|
-
return
|
|
9790
|
+
public deleteStoredCollisionLinkChain(cell: string, linkChain: string, options?: RawAxiosRequestConfig) {
|
|
9791
|
+
return StoreCollisionComponentsApiFp(this.configuration).deleteStoredCollisionLinkChain(cell, linkChain, options).then((request) => request(this.axios, this.basePath));
|
|
11231
9792
|
}
|
|
11232
9793
|
|
|
11233
9794
|
/**
|
|
11234
|
-
*
|
|
11235
|
-
* @summary
|
|
9795
|
+
* Deletes the stored tool. <!-- theme: danger --> > This will delete persistently stored data.
|
|
9796
|
+
* @summary Delete Tool
|
|
11236
9797
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9798
|
+
* @param {string} tool Unique identifier addressing a collision tool.
|
|
11237
9799
|
* @param {*} [options] Override http request option.
|
|
11238
9800
|
* @throws {RequiredError}
|
|
11239
|
-
* @memberof
|
|
9801
|
+
* @memberof StoreCollisionComponentsApi
|
|
11240
9802
|
*/
|
|
11241
|
-
public
|
|
11242
|
-
return
|
|
9803
|
+
public deleteStoredCollisionTool(cell: string, tool: string, options?: RawAxiosRequestConfig) {
|
|
9804
|
+
return StoreCollisionComponentsApiFp(this.configuration).deleteStoredCollisionTool(cell, tool, options).then((request) => request(this.axios, this.basePath));
|
|
11243
9805
|
}
|
|
11244
9806
|
|
|
11245
9807
|
/**
|
|
11246
|
-
*
|
|
11247
|
-
* @summary
|
|
9808
|
+
* Returns the collider.
|
|
9809
|
+
* @summary Get Collider
|
|
11248
9810
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11249
|
-
* @param {string}
|
|
11250
|
-
* @param {CollisionSceneAssembly} collisionSceneAssembly
|
|
9811
|
+
* @param {string} collider Unique identifier addressing a collider.
|
|
11251
9812
|
* @param {*} [options] Override http request option.
|
|
11252
9813
|
* @throws {RequiredError}
|
|
11253
|
-
* @memberof
|
|
9814
|
+
* @memberof StoreCollisionComponentsApi
|
|
11254
9815
|
*/
|
|
11255
|
-
public
|
|
11256
|
-
return
|
|
9816
|
+
public getStoredCollider(cell: string, collider: string, options?: RawAxiosRequestConfig) {
|
|
9817
|
+
return StoreCollisionComponentsApiFp(this.configuration).getStoredCollider(cell, collider, options).then((request) => request(this.axios, this.basePath));
|
|
11257
9818
|
}
|
|
11258
|
-
}
|
|
11259
9819
|
|
|
9820
|
+
/**
|
|
9821
|
+
* Returns the collision link chain.
|
|
9822
|
+
* @summary Get Link Chain
|
|
9823
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9824
|
+
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
9825
|
+
* @param {*} [options] Override http request option.
|
|
9826
|
+
* @throws {RequiredError}
|
|
9827
|
+
* @memberof StoreCollisionComponentsApi
|
|
9828
|
+
*/
|
|
9829
|
+
public getStoredCollisionLinkChain(cell: string, linkChain: string, options?: RawAxiosRequestConfig) {
|
|
9830
|
+
return StoreCollisionComponentsApiFp(this.configuration).getStoredCollisionLinkChain(cell, linkChain, options).then((request) => request(this.axios, this.basePath));
|
|
9831
|
+
}
|
|
11260
9832
|
|
|
9833
|
+
/**
|
|
9834
|
+
* Returns the stored tool.
|
|
9835
|
+
* @summary Get Tool
|
|
9836
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9837
|
+
* @param {string} tool Unique identifier addressing a collision tool.
|
|
9838
|
+
* @param {*} [options] Override http request option.
|
|
9839
|
+
* @throws {RequiredError}
|
|
9840
|
+
* @memberof StoreCollisionComponentsApi
|
|
9841
|
+
*/
|
|
9842
|
+
public getStoredCollisionTool(cell: string, tool: string, options?: RawAxiosRequestConfig) {
|
|
9843
|
+
return StoreCollisionComponentsApiFp(this.configuration).getStoredCollisionTool(cell, tool, options).then((request) => request(this.axios, this.basePath));
|
|
9844
|
+
}
|
|
11261
9845
|
|
|
11262
|
-
/**
|
|
11263
|
-
|
|
11264
|
-
|
|
11265
|
-
|
|
11266
|
-
|
|
11267
|
-
|
|
11268
|
-
|
|
11269
|
-
|
|
11270
|
-
|
|
11271
|
-
|
|
11272
|
-
|
|
11273
|
-
* @throws {RequiredError}
|
|
11274
|
-
*/
|
|
11275
|
-
clearAllObjects: async (cell: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11276
|
-
// verify required parameter 'cell' is not null or undefined
|
|
11277
|
-
assertParamExists('clearAllObjects', 'cell', cell)
|
|
11278
|
-
const localVarPath = `/cells/{cell}/store/objects`
|
|
11279
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
11280
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11281
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11282
|
-
let baseOptions;
|
|
11283
|
-
if (configuration) {
|
|
11284
|
-
baseOptions = configuration.baseOptions;
|
|
11285
|
-
}
|
|
11286
|
-
|
|
11287
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
11288
|
-
const localVarHeaderParameter = {} as any;
|
|
11289
|
-
const localVarQueryParameter = {} as any;
|
|
11290
|
-
|
|
11291
|
-
// authentication BasicAuth required
|
|
11292
|
-
// http basic authentication required
|
|
11293
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
11294
|
-
|
|
11295
|
-
// authentication BearerAuth required
|
|
11296
|
-
// http bearer authentication required
|
|
11297
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11298
|
-
|
|
11299
|
-
|
|
11300
|
-
|
|
11301
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11302
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11303
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9846
|
+
/**
|
|
9847
|
+
* Returns the stored link chains.
|
|
9848
|
+
* @summary List Link Chains
|
|
9849
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9850
|
+
* @param {*} [options] Override http request option.
|
|
9851
|
+
* @throws {RequiredError}
|
|
9852
|
+
* @memberof StoreCollisionComponentsApi
|
|
9853
|
+
*/
|
|
9854
|
+
public listCollisionLinkChains(cell: string, options?: RawAxiosRequestConfig) {
|
|
9855
|
+
return StoreCollisionComponentsApiFp(this.configuration).listCollisionLinkChains(cell, options).then((request) => request(this.axios, this.basePath));
|
|
9856
|
+
}
|
|
11304
9857
|
|
|
11305
|
-
|
|
11306
|
-
|
|
11307
|
-
|
|
11308
|
-
|
|
11309
|
-
|
|
11310
|
-
|
|
11311
|
-
|
|
11312
|
-
|
|
11313
|
-
|
|
11314
|
-
|
|
11315
|
-
|
|
11316
|
-
* @throws {RequiredError}
|
|
11317
|
-
*/
|
|
11318
|
-
deleteObject: async (cell: string, key: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11319
|
-
// verify required parameter 'cell' is not null or undefined
|
|
11320
|
-
assertParamExists('deleteObject', 'cell', cell)
|
|
11321
|
-
// verify required parameter 'key' is not null or undefined
|
|
11322
|
-
assertParamExists('deleteObject', 'key', key)
|
|
11323
|
-
const localVarPath = `/cells/{cell}/store/objects/{key}`
|
|
11324
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
11325
|
-
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
11326
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11327
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11328
|
-
let baseOptions;
|
|
11329
|
-
if (configuration) {
|
|
11330
|
-
baseOptions = configuration.baseOptions;
|
|
11331
|
-
}
|
|
9858
|
+
/**
|
|
9859
|
+
* Returns a list of colliders in a scene. This excludes colliders that are part of a motion group.
|
|
9860
|
+
* @summary List Colliders
|
|
9861
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9862
|
+
* @param {*} [options] Override http request option.
|
|
9863
|
+
* @throws {RequiredError}
|
|
9864
|
+
* @memberof StoreCollisionComponentsApi
|
|
9865
|
+
*/
|
|
9866
|
+
public listStoredColliders(cell: string, options?: RawAxiosRequestConfig) {
|
|
9867
|
+
return StoreCollisionComponentsApiFp(this.configuration).listStoredColliders(cell, options).then((request) => request(this.axios, this.basePath));
|
|
9868
|
+
}
|
|
11332
9869
|
|
|
11333
|
-
|
|
11334
|
-
|
|
11335
|
-
|
|
9870
|
+
/**
|
|
9871
|
+
* Returns the list of stored tools.
|
|
9872
|
+
* @summary List Tools
|
|
9873
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9874
|
+
* @param {*} [options] Override http request option.
|
|
9875
|
+
* @throws {RequiredError}
|
|
9876
|
+
* @memberof StoreCollisionComponentsApi
|
|
9877
|
+
*/
|
|
9878
|
+
public listStoredCollisionTools(cell: string, options?: RawAxiosRequestConfig) {
|
|
9879
|
+
return StoreCollisionComponentsApiFp(this.configuration).listStoredCollisionTools(cell, options).then((request) => request(this.axios, this.basePath));
|
|
9880
|
+
}
|
|
11336
9881
|
|
|
11337
|
-
|
|
11338
|
-
|
|
11339
|
-
|
|
9882
|
+
/**
|
|
9883
|
+
* Stores collider. If the collider does not exist, it will be created. If the collider exists, it will be updated.
|
|
9884
|
+
* @summary Store Collider
|
|
9885
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9886
|
+
* @param {string} collider Unique identifier addressing a collider.
|
|
9887
|
+
* @param {Collider} collider2
|
|
9888
|
+
* @param {*} [options] Override http request option.
|
|
9889
|
+
* @throws {RequiredError}
|
|
9890
|
+
* @memberof StoreCollisionComponentsApi
|
|
9891
|
+
*/
|
|
9892
|
+
public storeCollider(cell: string, collider: string, collider2: Collider, options?: RawAxiosRequestConfig) {
|
|
9893
|
+
return StoreCollisionComponentsApiFp(this.configuration).storeCollider(cell, collider, collider2, options).then((request) => request(this.axios, this.basePath));
|
|
9894
|
+
}
|
|
11340
9895
|
|
|
11341
|
-
|
|
11342
|
-
|
|
11343
|
-
|
|
9896
|
+
/**
|
|
9897
|
+
* Stores link chain. If the link chain does not exist, it will be created. If the link chain exists, it will be updated.
|
|
9898
|
+
* @summary Store Link Chain
|
|
9899
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9900
|
+
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
9901
|
+
* @param {Array<{ [key: string]: Collider; }>} collider
|
|
9902
|
+
* @param {*} [options] Override http request option.
|
|
9903
|
+
* @throws {RequiredError}
|
|
9904
|
+
* @memberof StoreCollisionComponentsApi
|
|
9905
|
+
*/
|
|
9906
|
+
public storeCollisionLinkChain(cell: string, linkChain: string, collider: Array<{ [key: string]: Collider; }>, options?: RawAxiosRequestConfig) {
|
|
9907
|
+
return StoreCollisionComponentsApiFp(this.configuration).storeCollisionLinkChain(cell, linkChain, collider, options).then((request) => request(this.axios, this.basePath));
|
|
9908
|
+
}
|
|
11344
9909
|
|
|
9910
|
+
/**
|
|
9911
|
+
* Stores the tool. If the tool does not exist, it will be created. If the tool exists, it will be updated.
|
|
9912
|
+
* @summary Store Tool
|
|
9913
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9914
|
+
* @param {string} tool Unique identifier addressing a collision tool.
|
|
9915
|
+
* @param {{ [key: string]: Collider; }} requestBody
|
|
9916
|
+
* @param {*} [options] Override http request option.
|
|
9917
|
+
* @throws {RequiredError}
|
|
9918
|
+
* @memberof StoreCollisionComponentsApi
|
|
9919
|
+
*/
|
|
9920
|
+
public storeCollisionTool(cell: string, tool: string, requestBody: { [key: string]: Collider; }, options?: RawAxiosRequestConfig) {
|
|
9921
|
+
return StoreCollisionComponentsApiFp(this.configuration).storeCollisionTool(cell, tool, requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
9922
|
+
}
|
|
9923
|
+
}
|
|
11345
9924
|
|
|
11346
|
-
|
|
11347
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11348
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11349
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11350
9925
|
|
|
11351
|
-
|
|
11352
|
-
|
|
11353
|
-
|
|
11354
|
-
|
|
11355
|
-
|
|
9926
|
+
|
|
9927
|
+
/**
|
|
9928
|
+
* StoreCollisionScenesApi - axios parameter creator
|
|
9929
|
+
* @export
|
|
9930
|
+
*/
|
|
9931
|
+
export const StoreCollisionScenesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
9932
|
+
return {
|
|
11356
9933
|
/**
|
|
11357
|
-
*
|
|
11358
|
-
* @summary
|
|
9934
|
+
* Deletes the stored scene. <!-- theme: danger --> > This will delete persistently stored data.
|
|
9935
|
+
* @summary Delete Scene
|
|
11359
9936
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11360
|
-
* @param {string}
|
|
9937
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
11361
9938
|
* @param {*} [options] Override http request option.
|
|
11362
9939
|
* @throws {RequiredError}
|
|
11363
9940
|
*/
|
|
11364
|
-
|
|
9941
|
+
deleteStoredCollisionScene: async (cell: string, scene: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11365
9942
|
// verify required parameter 'cell' is not null or undefined
|
|
11366
|
-
assertParamExists('
|
|
11367
|
-
// verify required parameter '
|
|
11368
|
-
assertParamExists('
|
|
11369
|
-
const localVarPath = `/cells/{cell}/store/
|
|
9943
|
+
assertParamExists('deleteStoredCollisionScene', 'cell', cell)
|
|
9944
|
+
// verify required parameter 'scene' is not null or undefined
|
|
9945
|
+
assertParamExists('deleteStoredCollisionScene', 'scene', scene)
|
|
9946
|
+
const localVarPath = `/cells/{cell}/store/collision/scenes/{scene}`
|
|
11370
9947
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
11371
|
-
.replace(`{${"
|
|
9948
|
+
.replace(`{${"scene"}}`, encodeURIComponent(String(scene)));
|
|
11372
9949
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11373
9950
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11374
9951
|
let baseOptions;
|
|
@@ -11376,7 +9953,7 @@ export const StoreObjectApiAxiosParamCreator = function (configuration?: Configu
|
|
|
11376
9953
|
baseOptions = configuration.baseOptions;
|
|
11377
9954
|
}
|
|
11378
9955
|
|
|
11379
|
-
const localVarRequestOptions = { method: '
|
|
9956
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
11380
9957
|
const localVarHeaderParameter = {} as any;
|
|
11381
9958
|
const localVarQueryParameter = {} as any;
|
|
11382
9959
|
|
|
@@ -11400,21 +9977,21 @@ export const StoreObjectApiAxiosParamCreator = function (configuration?: Configu
|
|
|
11400
9977
|
};
|
|
11401
9978
|
},
|
|
11402
9979
|
/**
|
|
11403
|
-
*
|
|
11404
|
-
* @summary Get
|
|
9980
|
+
* Returns the stored scene.
|
|
9981
|
+
* @summary Get Scene
|
|
11405
9982
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11406
|
-
* @param {string}
|
|
9983
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
11407
9984
|
* @param {*} [options] Override http request option.
|
|
11408
9985
|
* @throws {RequiredError}
|
|
11409
9986
|
*/
|
|
11410
|
-
|
|
9987
|
+
getStoredCollisionScene: async (cell: string, scene: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11411
9988
|
// verify required parameter 'cell' is not null or undefined
|
|
11412
|
-
assertParamExists('
|
|
11413
|
-
// verify required parameter '
|
|
11414
|
-
assertParamExists('
|
|
11415
|
-
const localVarPath = `/cells/{cell}/store/
|
|
9989
|
+
assertParamExists('getStoredCollisionScene', 'cell', cell)
|
|
9990
|
+
// verify required parameter 'scene' is not null or undefined
|
|
9991
|
+
assertParamExists('getStoredCollisionScene', 'scene', scene)
|
|
9992
|
+
const localVarPath = `/cells/{cell}/store/collision/scenes/{scene}`
|
|
11416
9993
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
11417
|
-
.replace(`{${"
|
|
9994
|
+
.replace(`{${"scene"}}`, encodeURIComponent(String(scene)));
|
|
11418
9995
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11419
9996
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11420
9997
|
let baseOptions;
|
|
@@ -11422,7 +9999,7 @@ export const StoreObjectApiAxiosParamCreator = function (configuration?: Configu
|
|
|
11422
9999
|
baseOptions = configuration.baseOptions;
|
|
11423
10000
|
}
|
|
11424
10001
|
|
|
11425
|
-
const localVarRequestOptions = { method: '
|
|
10002
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11426
10003
|
const localVarHeaderParameter = {} as any;
|
|
11427
10004
|
const localVarQueryParameter = {} as any;
|
|
11428
10005
|
|
|
@@ -11446,16 +10023,16 @@ export const StoreObjectApiAxiosParamCreator = function (configuration?: Configu
|
|
|
11446
10023
|
};
|
|
11447
10024
|
},
|
|
11448
10025
|
/**
|
|
11449
|
-
*
|
|
11450
|
-
* @summary List
|
|
10026
|
+
* Returns a list of stored scenes.
|
|
10027
|
+
* @summary List Scenes
|
|
11451
10028
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11452
10029
|
* @param {*} [options] Override http request option.
|
|
11453
10030
|
* @throws {RequiredError}
|
|
11454
10031
|
*/
|
|
11455
|
-
|
|
10032
|
+
listStoredCollisionScenes: async (cell: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11456
10033
|
// verify required parameter 'cell' is not null or undefined
|
|
11457
|
-
assertParamExists('
|
|
11458
|
-
const localVarPath = `/cells/{cell}/store/
|
|
10034
|
+
assertParamExists('listStoredCollisionScenes', 'cell', cell)
|
|
10035
|
+
const localVarPath = `/cells/{cell}/store/collision/scenes`
|
|
11459
10036
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
11460
10037
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11461
10038
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -11488,23 +10065,24 @@ export const StoreObjectApiAxiosParamCreator = function (configuration?: Configu
|
|
|
11488
10065
|
};
|
|
11489
10066
|
},
|
|
11490
10067
|
/**
|
|
11491
|
-
*
|
|
11492
|
-
* @summary Store
|
|
10068
|
+
* Creates or replaces the stored collision scene. The scene is assembled from components as defined in the request body. <!-- theme: info --> > This endpoint allows indicating previously stored components. > Components used within the request will be copied into the new or updated scene. An error is returned if an indicated component does not exist.
|
|
10069
|
+
* @summary Store Scene
|
|
11493
10070
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11494
|
-
* @param {string}
|
|
11495
|
-
* @param {
|
|
11496
|
-
* @param {any} [anyValue]
|
|
10071
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
10072
|
+
* @param {CollisionSceneAssembly} collisionSceneAssembly
|
|
11497
10073
|
* @param {*} [options] Override http request option.
|
|
11498
10074
|
* @throws {RequiredError}
|
|
11499
10075
|
*/
|
|
11500
|
-
|
|
10076
|
+
storeCollisionScene: async (cell: string, scene: string, collisionSceneAssembly: CollisionSceneAssembly, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11501
10077
|
// verify required parameter 'cell' is not null or undefined
|
|
11502
|
-
assertParamExists('
|
|
11503
|
-
// verify required parameter '
|
|
11504
|
-
assertParamExists('
|
|
11505
|
-
|
|
10078
|
+
assertParamExists('storeCollisionScene', 'cell', cell)
|
|
10079
|
+
// verify required parameter 'scene' is not null or undefined
|
|
10080
|
+
assertParamExists('storeCollisionScene', 'scene', scene)
|
|
10081
|
+
// verify required parameter 'collisionSceneAssembly' is not null or undefined
|
|
10082
|
+
assertParamExists('storeCollisionScene', 'collisionSceneAssembly', collisionSceneAssembly)
|
|
10083
|
+
const localVarPath = `/cells/{cell}/store/collision/scenes/{scene}`
|
|
11506
10084
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
11507
|
-
.replace(`{${"
|
|
10085
|
+
.replace(`{${"scene"}}`, encodeURIComponent(String(scene)));
|
|
11508
10086
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11509
10087
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11510
10088
|
let baseOptions;
|
|
@@ -11515,7 +10093,6 @@ export const StoreObjectApiAxiosParamCreator = function (configuration?: Configu
|
|
|
11515
10093
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
11516
10094
|
const localVarHeaderParameter = {} as any;
|
|
11517
10095
|
const localVarQueryParameter = {} as any;
|
|
11518
|
-
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
11519
10096
|
|
|
11520
10097
|
// authentication BasicAuth required
|
|
11521
10098
|
// http basic authentication required
|
|
@@ -11526,22 +10103,13 @@ export const StoreObjectApiAxiosParamCreator = function (configuration?: Configu
|
|
|
11526
10103
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11527
10104
|
|
|
11528
10105
|
|
|
11529
|
-
if (anyValue !== undefined) {
|
|
11530
|
-
localVarFormParams.append('any_value', new Blob([JSON.stringify(anyValue)], { type: "application/json", }));
|
|
11531
|
-
}
|
|
11532
10106
|
|
|
11533
|
-
|
|
11534
|
-
|
|
11535
|
-
|
|
11536
|
-
if (xMetadata != null) {
|
|
11537
|
-
localVarHeaderParameter['X-Metadata'] = typeof xMetadata === 'string'
|
|
11538
|
-
? xMetadata
|
|
11539
|
-
: JSON.stringify(xMetadata);
|
|
11540
|
-
}
|
|
10107
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10108
|
+
|
|
11541
10109
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11542
10110
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11543
10111
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11544
|
-
localVarRequestOptions.data =
|
|
10112
|
+
localVarRequestOptions.data = serializeDataIfNeeded(collisionSceneAssembly, localVarRequestOptions, configuration)
|
|
11545
10113
|
|
|
11546
10114
|
return {
|
|
11547
10115
|
url: toPathString(localVarUrlObj),
|
|
@@ -11552,285 +10120,251 @@ export const StoreObjectApiAxiosParamCreator = function (configuration?: Configu
|
|
|
11552
10120
|
};
|
|
11553
10121
|
|
|
11554
10122
|
/**
|
|
11555
|
-
*
|
|
10123
|
+
* StoreCollisionScenesApi - functional programming interface
|
|
11556
10124
|
* @export
|
|
11557
10125
|
*/
|
|
11558
|
-
export const
|
|
11559
|
-
const localVarAxiosParamCreator =
|
|
10126
|
+
export const StoreCollisionScenesApiFp = function(configuration?: Configuration) {
|
|
10127
|
+
const localVarAxiosParamCreator = StoreCollisionScenesApiAxiosParamCreator(configuration)
|
|
11560
10128
|
return {
|
|
11561
10129
|
/**
|
|
11562
|
-
*
|
|
11563
|
-
* @summary
|
|
11564
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11565
|
-
* @param {*} [options] Override http request option.
|
|
11566
|
-
* @throws {RequiredError}
|
|
11567
|
-
*/
|
|
11568
|
-
async clearAllObjects(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
11569
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.clearAllObjects(cell, options);
|
|
11570
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11571
|
-
const localVarOperationServerBasePath = operationServerMap['StoreObjectApi.clearAllObjects']?.[localVarOperationServerIndex]?.url;
|
|
11572
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11573
|
-
},
|
|
11574
|
-
/**
|
|
11575
|
-
* Delete an object <!-- theme: danger --> > This will delete persistently stored data.
|
|
11576
|
-
* @summary Delete Object
|
|
11577
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11578
|
-
* @param {string} key
|
|
11579
|
-
* @param {*} [options] Override http request option.
|
|
11580
|
-
* @throws {RequiredError}
|
|
11581
|
-
*/
|
|
11582
|
-
async deleteObject(cell: string, key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
11583
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteObject(cell, key, options);
|
|
11584
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11585
|
-
const localVarOperationServerBasePath = operationServerMap['StoreObjectApi.deleteObject']?.[localVarOperationServerIndex]?.url;
|
|
11586
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11587
|
-
},
|
|
11588
|
-
/**
|
|
11589
|
-
* Get the object. This request returns the object and any metadata attached to it.
|
|
11590
|
-
* @summary Get Object
|
|
11591
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11592
|
-
* @param {string} key
|
|
11593
|
-
* @param {*} [options] Override http request option.
|
|
11594
|
-
* @throws {RequiredError}
|
|
11595
|
-
*/
|
|
11596
|
-
async getObject(cell: string, key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
11597
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getObject(cell, key, options);
|
|
11598
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11599
|
-
const localVarOperationServerBasePath = operationServerMap['StoreObjectApi.getObject']?.[localVarOperationServerIndex]?.url;
|
|
11600
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11601
|
-
},
|
|
11602
|
-
/**
|
|
11603
|
-
* Get object metadata. Objects can be large. Therefore this request only returns metadata without fetching the object\'s content.
|
|
11604
|
-
* @summary Get Object Metadata
|
|
10130
|
+
* Deletes the stored scene. <!-- theme: danger --> > This will delete persistently stored data.
|
|
10131
|
+
* @summary Delete Scene
|
|
11605
10132
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11606
|
-
* @param {string}
|
|
10133
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
11607
10134
|
* @param {*} [options] Override http request option.
|
|
11608
10135
|
* @throws {RequiredError}
|
|
11609
10136
|
*/
|
|
11610
|
-
async
|
|
11611
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10137
|
+
async deleteStoredCollisionScene(cell: string, scene: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
10138
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteStoredCollisionScene(cell, scene, options);
|
|
11612
10139
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11613
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
10140
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionScenesApi.deleteStoredCollisionScene']?.[localVarOperationServerIndex]?.url;
|
|
11614
10141
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11615
10142
|
},
|
|
11616
10143
|
/**
|
|
11617
|
-
*
|
|
11618
|
-
* @summary
|
|
10144
|
+
* Returns the stored scene.
|
|
10145
|
+
* @summary Get Scene
|
|
11619
10146
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10147
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
11620
10148
|
* @param {*} [options] Override http request option.
|
|
11621
10149
|
* @throws {RequiredError}
|
|
11622
10150
|
*/
|
|
11623
|
-
async
|
|
11624
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10151
|
+
async getStoredCollisionScene(cell: string, scene: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CollisionScene>> {
|
|
10152
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getStoredCollisionScene(cell, scene, options);
|
|
11625
10153
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11626
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
10154
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionScenesApi.getStoredCollisionScene']?.[localVarOperationServerIndex]?.url;
|
|
11627
10155
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11628
10156
|
},
|
|
11629
10157
|
/**
|
|
11630
|
-
*
|
|
11631
|
-
* @summary
|
|
10158
|
+
* Returns a list of stored scenes.
|
|
10159
|
+
* @summary List Scenes
|
|
11632
10160
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11633
|
-
* @param {string} key
|
|
11634
|
-
* @param {{ [key: string]: string; }} [xMetadata]
|
|
11635
|
-
* @param {any} [anyValue]
|
|
11636
10161
|
* @param {*} [options] Override http request option.
|
|
11637
10162
|
* @throws {RequiredError}
|
|
11638
10163
|
*/
|
|
11639
|
-
async
|
|
11640
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10164
|
+
async listStoredCollisionScenes(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: CollisionScene; }>> {
|
|
10165
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listStoredCollisionScenes(cell, options);
|
|
11641
10166
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11642
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
11643
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11644
|
-
},
|
|
11645
|
-
}
|
|
11646
|
-
};
|
|
11647
|
-
|
|
11648
|
-
/**
|
|
11649
|
-
* StoreObjectApi - factory interface
|
|
11650
|
-
* @export
|
|
11651
|
-
*/
|
|
11652
|
-
export const StoreObjectApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
11653
|
-
const localVarFp = StoreObjectApiFp(configuration)
|
|
11654
|
-
return {
|
|
11655
|
-
/**
|
|
11656
|
-
* Delete all objects. <!-- theme: danger --> > This will delete ALL your persistently stored data.
|
|
11657
|
-
* @summary Clear all Objects
|
|
11658
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11659
|
-
* @param {*} [options] Override http request option.
|
|
11660
|
-
* @throws {RequiredError}
|
|
11661
|
-
*/
|
|
11662
|
-
clearAllObjects(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
11663
|
-
return localVarFp.clearAllObjects(cell, options).then((request) => request(axios, basePath));
|
|
10167
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionScenesApi.listStoredCollisionScenes']?.[localVarOperationServerIndex]?.url;
|
|
10168
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11664
10169
|
},
|
|
11665
10170
|
/**
|
|
11666
|
-
*
|
|
11667
|
-
* @summary
|
|
10171
|
+
* Creates or replaces the stored collision scene. The scene is assembled from components as defined in the request body. <!-- theme: info --> > This endpoint allows indicating previously stored components. > Components used within the request will be copied into the new or updated scene. An error is returned if an indicated component does not exist.
|
|
10172
|
+
* @summary Store Scene
|
|
11668
10173
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11669
|
-
* @param {string}
|
|
10174
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
10175
|
+
* @param {CollisionSceneAssembly} collisionSceneAssembly
|
|
11670
10176
|
* @param {*} [options] Override http request option.
|
|
11671
10177
|
* @throws {RequiredError}
|
|
11672
10178
|
*/
|
|
11673
|
-
|
|
11674
|
-
|
|
10179
|
+
async storeCollisionScene(cell: string, scene: string, collisionSceneAssembly: CollisionSceneAssembly, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CollisionScene>> {
|
|
10180
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storeCollisionScene(cell, scene, collisionSceneAssembly, options);
|
|
10181
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10182
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionScenesApi.storeCollisionScene']?.[localVarOperationServerIndex]?.url;
|
|
10183
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11675
10184
|
},
|
|
10185
|
+
}
|
|
10186
|
+
};
|
|
10187
|
+
|
|
10188
|
+
/**
|
|
10189
|
+
* StoreCollisionScenesApi - factory interface
|
|
10190
|
+
* @export
|
|
10191
|
+
*/
|
|
10192
|
+
export const StoreCollisionScenesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
10193
|
+
const localVarFp = StoreCollisionScenesApiFp(configuration)
|
|
10194
|
+
return {
|
|
11676
10195
|
/**
|
|
11677
|
-
*
|
|
11678
|
-
* @summary
|
|
10196
|
+
* Deletes the stored scene. <!-- theme: danger --> > This will delete persistently stored data.
|
|
10197
|
+
* @summary Delete Scene
|
|
11679
10198
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11680
|
-
* @param {string}
|
|
10199
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
11681
10200
|
* @param {*} [options] Override http request option.
|
|
11682
10201
|
* @throws {RequiredError}
|
|
11683
10202
|
*/
|
|
11684
|
-
|
|
11685
|
-
return localVarFp.
|
|
10203
|
+
deleteStoredCollisionScene(cell: string, scene: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
10204
|
+
return localVarFp.deleteStoredCollisionScene(cell, scene, options).then((request) => request(axios, basePath));
|
|
11686
10205
|
},
|
|
11687
10206
|
/**
|
|
11688
|
-
*
|
|
11689
|
-
* @summary Get
|
|
10207
|
+
* Returns the stored scene.
|
|
10208
|
+
* @summary Get Scene
|
|
11690
10209
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11691
|
-
* @param {string}
|
|
10210
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
11692
10211
|
* @param {*} [options] Override http request option.
|
|
11693
10212
|
* @throws {RequiredError}
|
|
11694
10213
|
*/
|
|
11695
|
-
|
|
11696
|
-
return localVarFp.
|
|
10214
|
+
getStoredCollisionScene(cell: string, scene: string, options?: RawAxiosRequestConfig): AxiosPromise<CollisionScene> {
|
|
10215
|
+
return localVarFp.getStoredCollisionScene(cell, scene, options).then((request) => request(axios, basePath));
|
|
11697
10216
|
},
|
|
11698
10217
|
/**
|
|
11699
|
-
*
|
|
11700
|
-
* @summary List
|
|
10218
|
+
* Returns a list of stored scenes.
|
|
10219
|
+
* @summary List Scenes
|
|
11701
10220
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11702
10221
|
* @param {*} [options] Override http request option.
|
|
11703
10222
|
* @throws {RequiredError}
|
|
11704
10223
|
*/
|
|
11705
|
-
|
|
11706
|
-
return localVarFp.
|
|
10224
|
+
listStoredCollisionScenes(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: CollisionScene; }> {
|
|
10225
|
+
return localVarFp.listStoredCollisionScenes(cell, options).then((request) => request(axios, basePath));
|
|
11707
10226
|
},
|
|
11708
10227
|
/**
|
|
11709
|
-
*
|
|
11710
|
-
* @summary Store
|
|
10228
|
+
* Creates or replaces the stored collision scene. The scene is assembled from components as defined in the request body. <!-- theme: info --> > This endpoint allows indicating previously stored components. > Components used within the request will be copied into the new or updated scene. An error is returned if an indicated component does not exist.
|
|
10229
|
+
* @summary Store Scene
|
|
11711
10230
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11712
|
-
* @param {string}
|
|
11713
|
-
* @param {
|
|
11714
|
-
* @param {any} [anyValue]
|
|
10231
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
10232
|
+
* @param {CollisionSceneAssembly} collisionSceneAssembly
|
|
11715
10233
|
* @param {*} [options] Override http request option.
|
|
11716
10234
|
* @throws {RequiredError}
|
|
11717
10235
|
*/
|
|
11718
|
-
|
|
11719
|
-
return localVarFp.
|
|
10236
|
+
storeCollisionScene(cell: string, scene: string, collisionSceneAssembly: CollisionSceneAssembly, options?: RawAxiosRequestConfig): AxiosPromise<CollisionScene> {
|
|
10237
|
+
return localVarFp.storeCollisionScene(cell, scene, collisionSceneAssembly, options).then((request) => request(axios, basePath));
|
|
11720
10238
|
},
|
|
11721
10239
|
};
|
|
11722
10240
|
};
|
|
11723
10241
|
|
|
11724
10242
|
/**
|
|
11725
|
-
*
|
|
10243
|
+
* StoreCollisionScenesApi - object-oriented interface
|
|
11726
10244
|
* @export
|
|
11727
|
-
* @class
|
|
10245
|
+
* @class StoreCollisionScenesApi
|
|
11728
10246
|
* @extends {BaseAPI}
|
|
11729
10247
|
*/
|
|
11730
|
-
export class
|
|
11731
|
-
/**
|
|
11732
|
-
* Delete all objects. <!-- theme: danger --> > This will delete ALL your persistently stored data.
|
|
11733
|
-
* @summary Clear all Objects
|
|
11734
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11735
|
-
* @param {*} [options] Override http request option.
|
|
11736
|
-
* @throws {RequiredError}
|
|
11737
|
-
* @memberof StoreObjectApi
|
|
11738
|
-
*/
|
|
11739
|
-
public clearAllObjects(cell: string, options?: RawAxiosRequestConfig) {
|
|
11740
|
-
return StoreObjectApiFp(this.configuration).clearAllObjects(cell, options).then((request) => request(this.axios, this.basePath));
|
|
11741
|
-
}
|
|
11742
|
-
|
|
11743
|
-
/**
|
|
11744
|
-
* Delete an object <!-- theme: danger --> > This will delete persistently stored data.
|
|
11745
|
-
* @summary Delete Object
|
|
11746
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11747
|
-
* @param {string} key
|
|
11748
|
-
* @param {*} [options] Override http request option.
|
|
11749
|
-
* @throws {RequiredError}
|
|
11750
|
-
* @memberof StoreObjectApi
|
|
11751
|
-
*/
|
|
11752
|
-
public deleteObject(cell: string, key: string, options?: RawAxiosRequestConfig) {
|
|
11753
|
-
return StoreObjectApiFp(this.configuration).deleteObject(cell, key, options).then((request) => request(this.axios, this.basePath));
|
|
11754
|
-
}
|
|
11755
|
-
|
|
10248
|
+
export class StoreCollisionScenesApi extends BaseAPI {
|
|
11756
10249
|
/**
|
|
11757
|
-
*
|
|
11758
|
-
* @summary
|
|
10250
|
+
* Deletes the stored scene. <!-- theme: danger --> > This will delete persistently stored data.
|
|
10251
|
+
* @summary Delete Scene
|
|
11759
10252
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11760
|
-
* @param {string}
|
|
10253
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
11761
10254
|
* @param {*} [options] Override http request option.
|
|
11762
10255
|
* @throws {RequiredError}
|
|
11763
|
-
* @memberof
|
|
10256
|
+
* @memberof StoreCollisionScenesApi
|
|
11764
10257
|
*/
|
|
11765
|
-
public
|
|
11766
|
-
return
|
|
10258
|
+
public deleteStoredCollisionScene(cell: string, scene: string, options?: RawAxiosRequestConfig) {
|
|
10259
|
+
return StoreCollisionScenesApiFp(this.configuration).deleteStoredCollisionScene(cell, scene, options).then((request) => request(this.axios, this.basePath));
|
|
11767
10260
|
}
|
|
11768
10261
|
|
|
11769
10262
|
/**
|
|
11770
|
-
*
|
|
11771
|
-
* @summary Get
|
|
10263
|
+
* Returns the stored scene.
|
|
10264
|
+
* @summary Get Scene
|
|
11772
10265
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11773
|
-
* @param {string}
|
|
10266
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
11774
10267
|
* @param {*} [options] Override http request option.
|
|
11775
10268
|
* @throws {RequiredError}
|
|
11776
|
-
* @memberof
|
|
10269
|
+
* @memberof StoreCollisionScenesApi
|
|
11777
10270
|
*/
|
|
11778
|
-
public
|
|
11779
|
-
return
|
|
10271
|
+
public getStoredCollisionScene(cell: string, scene: string, options?: RawAxiosRequestConfig) {
|
|
10272
|
+
return StoreCollisionScenesApiFp(this.configuration).getStoredCollisionScene(cell, scene, options).then((request) => request(this.axios, this.basePath));
|
|
11780
10273
|
}
|
|
11781
10274
|
|
|
11782
10275
|
/**
|
|
11783
|
-
*
|
|
11784
|
-
* @summary List
|
|
10276
|
+
* Returns a list of stored scenes.
|
|
10277
|
+
* @summary List Scenes
|
|
11785
10278
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11786
10279
|
* @param {*} [options] Override http request option.
|
|
11787
10280
|
* @throws {RequiredError}
|
|
11788
|
-
* @memberof
|
|
10281
|
+
* @memberof StoreCollisionScenesApi
|
|
11789
10282
|
*/
|
|
11790
|
-
public
|
|
11791
|
-
return
|
|
10283
|
+
public listStoredCollisionScenes(cell: string, options?: RawAxiosRequestConfig) {
|
|
10284
|
+
return StoreCollisionScenesApiFp(this.configuration).listStoredCollisionScenes(cell, options).then((request) => request(this.axios, this.basePath));
|
|
11792
10285
|
}
|
|
11793
10286
|
|
|
11794
10287
|
/**
|
|
11795
|
-
*
|
|
11796
|
-
* @summary Store
|
|
10288
|
+
* Creates or replaces the stored collision scene. The scene is assembled from components as defined in the request body. <!-- theme: info --> > This endpoint allows indicating previously stored components. > Components used within the request will be copied into the new or updated scene. An error is returned if an indicated component does not exist.
|
|
10289
|
+
* @summary Store Scene
|
|
11797
10290
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11798
|
-
* @param {string}
|
|
11799
|
-
* @param {
|
|
11800
|
-
* @param {any} [anyValue]
|
|
10291
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
10292
|
+
* @param {CollisionSceneAssembly} collisionSceneAssembly
|
|
11801
10293
|
* @param {*} [options] Override http request option.
|
|
11802
10294
|
* @throws {RequiredError}
|
|
11803
|
-
* @memberof
|
|
10295
|
+
* @memberof StoreCollisionScenesApi
|
|
11804
10296
|
*/
|
|
11805
|
-
public
|
|
11806
|
-
return
|
|
10297
|
+
public storeCollisionScene(cell: string, scene: string, collisionSceneAssembly: CollisionSceneAssembly, options?: RawAxiosRequestConfig) {
|
|
10298
|
+
return StoreCollisionScenesApiFp(this.configuration).storeCollisionScene(cell, scene, collisionSceneAssembly, options).then((request) => request(this.axios, this.basePath));
|
|
11807
10299
|
}
|
|
11808
10300
|
}
|
|
11809
10301
|
|
|
11810
10302
|
|
|
11811
10303
|
|
|
11812
10304
|
/**
|
|
11813
|
-
*
|
|
10305
|
+
* StoreObjectApi - axios parameter creator
|
|
11814
10306
|
* @export
|
|
11815
10307
|
*/
|
|
11816
|
-
export const
|
|
10308
|
+
export const StoreObjectApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
11817
10309
|
return {
|
|
11818
10310
|
/**
|
|
11819
|
-
*
|
|
11820
|
-
* @summary
|
|
10311
|
+
* Delete all objects. <!-- theme: danger --> > This will delete ALL your persistently stored data.
|
|
10312
|
+
* @summary Clear all Objects
|
|
10313
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10314
|
+
* @param {*} [options] Override http request option.
|
|
10315
|
+
* @throws {RequiredError}
|
|
10316
|
+
*/
|
|
10317
|
+
clearAllObjects: async (cell: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10318
|
+
// verify required parameter 'cell' is not null or undefined
|
|
10319
|
+
assertParamExists('clearAllObjects', 'cell', cell)
|
|
10320
|
+
const localVarPath = `/cells/{cell}/store/objects`
|
|
10321
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
10322
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10323
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10324
|
+
let baseOptions;
|
|
10325
|
+
if (configuration) {
|
|
10326
|
+
baseOptions = configuration.baseOptions;
|
|
10327
|
+
}
|
|
10328
|
+
|
|
10329
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
10330
|
+
const localVarHeaderParameter = {} as any;
|
|
10331
|
+
const localVarQueryParameter = {} as any;
|
|
10332
|
+
|
|
10333
|
+
// authentication BasicAuth required
|
|
10334
|
+
// http basic authentication required
|
|
10335
|
+
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
10336
|
+
|
|
10337
|
+
// authentication BearerAuth required
|
|
10338
|
+
// http bearer authentication required
|
|
10339
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10340
|
+
|
|
10341
|
+
|
|
10342
|
+
|
|
10343
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10344
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10345
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10346
|
+
|
|
10347
|
+
return {
|
|
10348
|
+
url: toPathString(localVarUrlObj),
|
|
10349
|
+
options: localVarRequestOptions,
|
|
10350
|
+
};
|
|
10351
|
+
},
|
|
10352
|
+
/**
|
|
10353
|
+
* Delete an object <!-- theme: danger --> > This will delete persistently stored data.
|
|
10354
|
+
* @summary Delete Object
|
|
11821
10355
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11822
|
-
* @param {string}
|
|
10356
|
+
* @param {string} key
|
|
11823
10357
|
* @param {*} [options] Override http request option.
|
|
11824
10358
|
* @throws {RequiredError}
|
|
11825
10359
|
*/
|
|
11826
|
-
|
|
10360
|
+
deleteObject: async (cell: string, key: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11827
10361
|
// verify required parameter 'cell' is not null or undefined
|
|
11828
|
-
assertParamExists('
|
|
11829
|
-
// verify required parameter '
|
|
11830
|
-
assertParamExists('
|
|
11831
|
-
const localVarPath = `/cells/{cell}/store/
|
|
10362
|
+
assertParamExists('deleteObject', 'cell', cell)
|
|
10363
|
+
// verify required parameter 'key' is not null or undefined
|
|
10364
|
+
assertParamExists('deleteObject', 'key', key)
|
|
10365
|
+
const localVarPath = `/cells/{cell}/store/objects/{key}`
|
|
11832
10366
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
11833
|
-
.replace(`{${"
|
|
10367
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
11834
10368
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11835
10369
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11836
10370
|
let baseOptions;
|
|
@@ -11862,21 +10396,21 @@ export const StoreProgramApiAxiosParamCreator = function (configuration?: Config
|
|
|
11862
10396
|
};
|
|
11863
10397
|
},
|
|
11864
10398
|
/**
|
|
11865
|
-
*
|
|
11866
|
-
* @summary Get
|
|
10399
|
+
* Get the object. This request returns the object and any metadata attached to it.
|
|
10400
|
+
* @summary Get Object
|
|
11867
10401
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11868
|
-
* @param {string}
|
|
10402
|
+
* @param {string} key
|
|
11869
10403
|
* @param {*} [options] Override http request option.
|
|
11870
10404
|
* @throws {RequiredError}
|
|
11871
10405
|
*/
|
|
11872
|
-
|
|
10406
|
+
getObject: async (cell: string, key: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11873
10407
|
// verify required parameter 'cell' is not null or undefined
|
|
11874
|
-
assertParamExists('
|
|
11875
|
-
// verify required parameter '
|
|
11876
|
-
assertParamExists('
|
|
11877
|
-
const localVarPath = `/cells/{cell}/store/
|
|
10408
|
+
assertParamExists('getObject', 'cell', cell)
|
|
10409
|
+
// verify required parameter 'key' is not null or undefined
|
|
10410
|
+
assertParamExists('getObject', 'key', key)
|
|
10411
|
+
const localVarPath = `/cells/{cell}/store/objects/{key}`
|
|
11878
10412
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
11879
|
-
.replace(`{${"
|
|
10413
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
11880
10414
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11881
10415
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11882
10416
|
let baseOptions;
|
|
@@ -11908,16 +10442,62 @@ export const StoreProgramApiAxiosParamCreator = function (configuration?: Config
|
|
|
11908
10442
|
};
|
|
11909
10443
|
},
|
|
11910
10444
|
/**
|
|
11911
|
-
*
|
|
11912
|
-
* @summary
|
|
10445
|
+
* Get object metadata. Objects can be large. Therefore this request only returns metadata without fetching the object\'s content.
|
|
10446
|
+
* @summary Get Object Metadata
|
|
10447
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10448
|
+
* @param {string} key
|
|
10449
|
+
* @param {*} [options] Override http request option.
|
|
10450
|
+
* @throws {RequiredError}
|
|
10451
|
+
*/
|
|
10452
|
+
getObjectMetadata: async (cell: string, key: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10453
|
+
// verify required parameter 'cell' is not null or undefined
|
|
10454
|
+
assertParamExists('getObjectMetadata', 'cell', cell)
|
|
10455
|
+
// verify required parameter 'key' is not null or undefined
|
|
10456
|
+
assertParamExists('getObjectMetadata', 'key', key)
|
|
10457
|
+
const localVarPath = `/cells/{cell}/store/objects/{key}`
|
|
10458
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
10459
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
10460
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10461
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10462
|
+
let baseOptions;
|
|
10463
|
+
if (configuration) {
|
|
10464
|
+
baseOptions = configuration.baseOptions;
|
|
10465
|
+
}
|
|
10466
|
+
|
|
10467
|
+
const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options};
|
|
10468
|
+
const localVarHeaderParameter = {} as any;
|
|
10469
|
+
const localVarQueryParameter = {} as any;
|
|
10470
|
+
|
|
10471
|
+
// authentication BasicAuth required
|
|
10472
|
+
// http basic authentication required
|
|
10473
|
+
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
10474
|
+
|
|
10475
|
+
// authentication BearerAuth required
|
|
10476
|
+
// http bearer authentication required
|
|
10477
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10478
|
+
|
|
10479
|
+
|
|
10480
|
+
|
|
10481
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10482
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10483
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10484
|
+
|
|
10485
|
+
return {
|
|
10486
|
+
url: toPathString(localVarUrlObj),
|
|
10487
|
+
options: localVarRequestOptions,
|
|
10488
|
+
};
|
|
10489
|
+
},
|
|
10490
|
+
/**
|
|
10491
|
+
* List the keys for all objects.
|
|
10492
|
+
* @summary List all Object Keys
|
|
11913
10493
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11914
10494
|
* @param {*} [options] Override http request option.
|
|
11915
10495
|
* @throws {RequiredError}
|
|
11916
10496
|
*/
|
|
11917
|
-
|
|
10497
|
+
listAllObjectKeys: async (cell: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11918
10498
|
// verify required parameter 'cell' is not null or undefined
|
|
11919
|
-
assertParamExists('
|
|
11920
|
-
const localVarPath = `/cells/{cell}/store/
|
|
10499
|
+
assertParamExists('listAllObjectKeys', 'cell', cell)
|
|
10500
|
+
const localVarPath = `/cells/{cell}/store/objects`
|
|
11921
10501
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
11922
10502
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11923
10503
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -11950,25 +10530,23 @@ export const StoreProgramApiAxiosParamCreator = function (configuration?: Config
|
|
|
11950
10530
|
};
|
|
11951
10531
|
},
|
|
11952
10532
|
/**
|
|
11953
|
-
*
|
|
11954
|
-
* @summary Store
|
|
10533
|
+
* Store any data as an object. Using a key which already contains an object will override the previously stored object. Use [getObjectMetadata](getObjectMetadata) to verify that the key does not contain objects. Optional: Specify metadata as a dictionary with names and values.
|
|
10534
|
+
* @summary Store Object
|
|
11955
10535
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11956
|
-
* @param {string}
|
|
11957
|
-
* @param {string} body
|
|
10536
|
+
* @param {string} key
|
|
11958
10537
|
* @param {{ [key: string]: string; }} [xMetadata]
|
|
10538
|
+
* @param {any} [anyValue]
|
|
11959
10539
|
* @param {*} [options] Override http request option.
|
|
11960
10540
|
* @throws {RequiredError}
|
|
11961
10541
|
*/
|
|
11962
|
-
|
|
10542
|
+
storeObject: async (cell: string, key: string, xMetadata?: { [key: string]: string; }, anyValue?: any, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11963
10543
|
// verify required parameter 'cell' is not null or undefined
|
|
11964
|
-
assertParamExists('
|
|
11965
|
-
// verify required parameter '
|
|
11966
|
-
assertParamExists('
|
|
11967
|
-
|
|
11968
|
-
assertParamExists('storeProgram', 'body', body)
|
|
11969
|
-
const localVarPath = `/cells/{cell}/store/programs/{program}`
|
|
10544
|
+
assertParamExists('storeObject', 'cell', cell)
|
|
10545
|
+
// verify required parameter 'key' is not null or undefined
|
|
10546
|
+
assertParamExists('storeObject', 'key', key)
|
|
10547
|
+
const localVarPath = `/cells/{cell}/store/objects/{key}`
|
|
11970
10548
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
11971
|
-
.replace(`{${"
|
|
10549
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
11972
10550
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11973
10551
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11974
10552
|
let baseOptions;
|
|
@@ -11979,6 +10557,7 @@ export const StoreProgramApiAxiosParamCreator = function (configuration?: Config
|
|
|
11979
10557
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
11980
10558
|
const localVarHeaderParameter = {} as any;
|
|
11981
10559
|
const localVarQueryParameter = {} as any;
|
|
10560
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
11982
10561
|
|
|
11983
10562
|
// authentication BasicAuth required
|
|
11984
10563
|
// http basic authentication required
|
|
@@ -11989,9 +10568,13 @@ export const StoreProgramApiAxiosParamCreator = function (configuration?: Config
|
|
|
11989
10568
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11990
10569
|
|
|
11991
10570
|
|
|
10571
|
+
if (anyValue !== undefined) {
|
|
10572
|
+
localVarFormParams.append('any_value', new Blob([JSON.stringify(anyValue)], { type: "application/json", }));
|
|
10573
|
+
}
|
|
10574
|
+
|
|
10575
|
+
|
|
10576
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
11992
10577
|
|
|
11993
|
-
localVarHeaderParameter['Content-Type'] = 'text/*';
|
|
11994
|
-
|
|
11995
10578
|
if (xMetadata != null) {
|
|
11996
10579
|
localVarHeaderParameter['X-Metadata'] = typeof xMetadata === 'string'
|
|
11997
10580
|
? xMetadata
|
|
@@ -12000,7 +10583,7 @@ export const StoreProgramApiAxiosParamCreator = function (configuration?: Config
|
|
|
12000
10583
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12001
10584
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12002
10585
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12003
|
-
localVarRequestOptions.data =
|
|
10586
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
12004
10587
|
|
|
12005
10588
|
return {
|
|
12006
10589
|
url: toPathString(localVarUrlObj),
|
|
@@ -12011,185 +10594,258 @@ export const StoreProgramApiAxiosParamCreator = function (configuration?: Config
|
|
|
12011
10594
|
};
|
|
12012
10595
|
|
|
12013
10596
|
/**
|
|
12014
|
-
*
|
|
10597
|
+
* StoreObjectApi - functional programming interface
|
|
12015
10598
|
* @export
|
|
12016
10599
|
*/
|
|
12017
|
-
export const
|
|
12018
|
-
const localVarAxiosParamCreator =
|
|
10600
|
+
export const StoreObjectApiFp = function(configuration?: Configuration) {
|
|
10601
|
+
const localVarAxiosParamCreator = StoreObjectApiAxiosParamCreator(configuration)
|
|
12019
10602
|
return {
|
|
12020
10603
|
/**
|
|
12021
|
-
*
|
|
12022
|
-
* @summary
|
|
10604
|
+
* Delete all objects. <!-- theme: danger --> > This will delete ALL your persistently stored data.
|
|
10605
|
+
* @summary Clear all Objects
|
|
10606
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10607
|
+
* @param {*} [options] Override http request option.
|
|
10608
|
+
* @throws {RequiredError}
|
|
10609
|
+
*/
|
|
10610
|
+
async clearAllObjects(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
10611
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.clearAllObjects(cell, options);
|
|
10612
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10613
|
+
const localVarOperationServerBasePath = operationServerMap['StoreObjectApi.clearAllObjects']?.[localVarOperationServerIndex]?.url;
|
|
10614
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10615
|
+
},
|
|
10616
|
+
/**
|
|
10617
|
+
* Delete an object <!-- theme: danger --> > This will delete persistently stored data.
|
|
10618
|
+
* @summary Delete Object
|
|
10619
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10620
|
+
* @param {string} key
|
|
10621
|
+
* @param {*} [options] Override http request option.
|
|
10622
|
+
* @throws {RequiredError}
|
|
10623
|
+
*/
|
|
10624
|
+
async deleteObject(cell: string, key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
10625
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteObject(cell, key, options);
|
|
10626
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10627
|
+
const localVarOperationServerBasePath = operationServerMap['StoreObjectApi.deleteObject']?.[localVarOperationServerIndex]?.url;
|
|
10628
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10629
|
+
},
|
|
10630
|
+
/**
|
|
10631
|
+
* Get the object. This request returns the object and any metadata attached to it.
|
|
10632
|
+
* @summary Get Object
|
|
12023
10633
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
12024
|
-
* @param {string}
|
|
10634
|
+
* @param {string} key
|
|
12025
10635
|
* @param {*} [options] Override http request option.
|
|
12026
10636
|
* @throws {RequiredError}
|
|
12027
10637
|
*/
|
|
12028
|
-
async
|
|
12029
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10638
|
+
async getObject(cell: string, key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
10639
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getObject(cell, key, options);
|
|
12030
10640
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12031
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
10641
|
+
const localVarOperationServerBasePath = operationServerMap['StoreObjectApi.getObject']?.[localVarOperationServerIndex]?.url;
|
|
12032
10642
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12033
10643
|
},
|
|
12034
10644
|
/**
|
|
12035
|
-
*
|
|
12036
|
-
* @summary Get
|
|
10645
|
+
* Get object metadata. Objects can be large. Therefore this request only returns metadata without fetching the object\'s content.
|
|
10646
|
+
* @summary Get Object Metadata
|
|
12037
10647
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
12038
|
-
* @param {string}
|
|
10648
|
+
* @param {string} key
|
|
12039
10649
|
* @param {*} [options] Override http request option.
|
|
12040
10650
|
* @throws {RequiredError}
|
|
12041
10651
|
*/
|
|
12042
|
-
async
|
|
12043
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10652
|
+
async getObjectMetadata(cell: string, key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
10653
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getObjectMetadata(cell, key, options);
|
|
12044
10654
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12045
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
10655
|
+
const localVarOperationServerBasePath = operationServerMap['StoreObjectApi.getObjectMetadata']?.[localVarOperationServerIndex]?.url;
|
|
12046
10656
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12047
10657
|
},
|
|
12048
10658
|
/**
|
|
12049
|
-
*
|
|
12050
|
-
* @summary List all
|
|
10659
|
+
* List the keys for all objects.
|
|
10660
|
+
* @summary List all Object Keys
|
|
12051
10661
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
12052
10662
|
* @param {*} [options] Override http request option.
|
|
12053
10663
|
* @throws {RequiredError}
|
|
12054
10664
|
*/
|
|
12055
|
-
async
|
|
12056
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10665
|
+
async listAllObjectKeys(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>> {
|
|
10666
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAllObjectKeys(cell, options);
|
|
12057
10667
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12058
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
10668
|
+
const localVarOperationServerBasePath = operationServerMap['StoreObjectApi.listAllObjectKeys']?.[localVarOperationServerIndex]?.url;
|
|
12059
10669
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12060
10670
|
},
|
|
12061
10671
|
/**
|
|
12062
|
-
*
|
|
12063
|
-
* @summary Store
|
|
10672
|
+
* Store any data as an object. Using a key which already contains an object will override the previously stored object. Use [getObjectMetadata](getObjectMetadata) to verify that the key does not contain objects. Optional: Specify metadata as a dictionary with names and values.
|
|
10673
|
+
* @summary Store Object
|
|
12064
10674
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
12065
|
-
* @param {string}
|
|
12066
|
-
* @param {string} body
|
|
10675
|
+
* @param {string} key
|
|
12067
10676
|
* @param {{ [key: string]: string; }} [xMetadata]
|
|
10677
|
+
* @param {any} [anyValue]
|
|
12068
10678
|
* @param {*} [options] Override http request option.
|
|
12069
10679
|
* @throws {RequiredError}
|
|
12070
10680
|
*/
|
|
12071
|
-
async
|
|
12072
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10681
|
+
async storeObject(cell: string, key: string, xMetadata?: { [key: string]: string; }, anyValue?: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
10682
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storeObject(cell, key, xMetadata, anyValue, options);
|
|
12073
10683
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12074
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
10684
|
+
const localVarOperationServerBasePath = operationServerMap['StoreObjectApi.storeObject']?.[localVarOperationServerIndex]?.url;
|
|
12075
10685
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12076
10686
|
},
|
|
12077
10687
|
}
|
|
12078
10688
|
};
|
|
12079
10689
|
|
|
12080
10690
|
/**
|
|
12081
|
-
*
|
|
10691
|
+
* StoreObjectApi - factory interface
|
|
12082
10692
|
* @export
|
|
12083
10693
|
*/
|
|
12084
|
-
export const
|
|
12085
|
-
const localVarFp =
|
|
10694
|
+
export const StoreObjectApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
10695
|
+
const localVarFp = StoreObjectApiFp(configuration)
|
|
12086
10696
|
return {
|
|
12087
10697
|
/**
|
|
12088
|
-
*
|
|
12089
|
-
* @summary
|
|
10698
|
+
* Delete all objects. <!-- theme: danger --> > This will delete ALL your persistently stored data.
|
|
10699
|
+
* @summary Clear all Objects
|
|
10700
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10701
|
+
* @param {*} [options] Override http request option.
|
|
10702
|
+
* @throws {RequiredError}
|
|
10703
|
+
*/
|
|
10704
|
+
clearAllObjects(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
10705
|
+
return localVarFp.clearAllObjects(cell, options).then((request) => request(axios, basePath));
|
|
10706
|
+
},
|
|
10707
|
+
/**
|
|
10708
|
+
* Delete an object <!-- theme: danger --> > This will delete persistently stored data.
|
|
10709
|
+
* @summary Delete Object
|
|
10710
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10711
|
+
* @param {string} key
|
|
10712
|
+
* @param {*} [options] Override http request option.
|
|
10713
|
+
* @throws {RequiredError}
|
|
10714
|
+
*/
|
|
10715
|
+
deleteObject(cell: string, key: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
10716
|
+
return localVarFp.deleteObject(cell, key, options).then((request) => request(axios, basePath));
|
|
10717
|
+
},
|
|
10718
|
+
/**
|
|
10719
|
+
* Get the object. This request returns the object and any metadata attached to it.
|
|
10720
|
+
* @summary Get Object
|
|
12090
10721
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
12091
|
-
* @param {string}
|
|
10722
|
+
* @param {string} key
|
|
12092
10723
|
* @param {*} [options] Override http request option.
|
|
12093
10724
|
* @throws {RequiredError}
|
|
12094
10725
|
*/
|
|
12095
|
-
|
|
12096
|
-
return localVarFp.
|
|
10726
|
+
getObject(cell: string, key: string, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
10727
|
+
return localVarFp.getObject(cell, key, options).then((request) => request(axios, basePath));
|
|
12097
10728
|
},
|
|
12098
10729
|
/**
|
|
12099
|
-
*
|
|
12100
|
-
* @summary Get
|
|
10730
|
+
* Get object metadata. Objects can be large. Therefore this request only returns metadata without fetching the object\'s content.
|
|
10731
|
+
* @summary Get Object Metadata
|
|
12101
10732
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
12102
|
-
* @param {string}
|
|
10733
|
+
* @param {string} key
|
|
12103
10734
|
* @param {*} [options] Override http request option.
|
|
12104
10735
|
* @throws {RequiredError}
|
|
12105
10736
|
*/
|
|
12106
|
-
|
|
12107
|
-
return localVarFp.
|
|
10737
|
+
getObjectMetadata(cell: string, key: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
10738
|
+
return localVarFp.getObjectMetadata(cell, key, options).then((request) => request(axios, basePath));
|
|
12108
10739
|
},
|
|
12109
10740
|
/**
|
|
12110
|
-
*
|
|
12111
|
-
* @summary List all
|
|
10741
|
+
* List the keys for all objects.
|
|
10742
|
+
* @summary List all Object Keys
|
|
12112
10743
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
12113
10744
|
* @param {*} [options] Override http request option.
|
|
12114
10745
|
* @throws {RequiredError}
|
|
12115
10746
|
*/
|
|
12116
|
-
|
|
12117
|
-
return localVarFp.
|
|
10747
|
+
listAllObjectKeys(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
|
|
10748
|
+
return localVarFp.listAllObjectKeys(cell, options).then((request) => request(axios, basePath));
|
|
12118
10749
|
},
|
|
12119
10750
|
/**
|
|
12120
|
-
*
|
|
12121
|
-
* @summary Store
|
|
10751
|
+
* Store any data as an object. Using a key which already contains an object will override the previously stored object. Use [getObjectMetadata](getObjectMetadata) to verify that the key does not contain objects. Optional: Specify metadata as a dictionary with names and values.
|
|
10752
|
+
* @summary Store Object
|
|
12122
10753
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
12123
|
-
* @param {string}
|
|
12124
|
-
* @param {string} body
|
|
10754
|
+
* @param {string} key
|
|
12125
10755
|
* @param {{ [key: string]: string; }} [xMetadata]
|
|
10756
|
+
* @param {any} [anyValue]
|
|
12126
10757
|
* @param {*} [options] Override http request option.
|
|
12127
10758
|
* @throws {RequiredError}
|
|
12128
10759
|
*/
|
|
12129
|
-
|
|
12130
|
-
return localVarFp.
|
|
10760
|
+
storeObject(cell: string, key: string, xMetadata?: { [key: string]: string; }, anyValue?: any, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
10761
|
+
return localVarFp.storeObject(cell, key, xMetadata, anyValue, options).then((request) => request(axios, basePath));
|
|
12131
10762
|
},
|
|
12132
10763
|
};
|
|
12133
10764
|
};
|
|
12134
10765
|
|
|
12135
10766
|
/**
|
|
12136
|
-
*
|
|
10767
|
+
* StoreObjectApi - object-oriented interface
|
|
12137
10768
|
* @export
|
|
12138
|
-
* @class
|
|
10769
|
+
* @class StoreObjectApi
|
|
12139
10770
|
* @extends {BaseAPI}
|
|
12140
10771
|
*/
|
|
12141
|
-
export class
|
|
10772
|
+
export class StoreObjectApi extends BaseAPI {
|
|
10773
|
+
/**
|
|
10774
|
+
* Delete all objects. <!-- theme: danger --> > This will delete ALL your persistently stored data.
|
|
10775
|
+
* @summary Clear all Objects
|
|
10776
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10777
|
+
* @param {*} [options] Override http request option.
|
|
10778
|
+
* @throws {RequiredError}
|
|
10779
|
+
* @memberof StoreObjectApi
|
|
10780
|
+
*/
|
|
10781
|
+
public clearAllObjects(cell: string, options?: RawAxiosRequestConfig) {
|
|
10782
|
+
return StoreObjectApiFp(this.configuration).clearAllObjects(cell, options).then((request) => request(this.axios, this.basePath));
|
|
10783
|
+
}
|
|
10784
|
+
|
|
10785
|
+
/**
|
|
10786
|
+
* Delete an object <!-- theme: danger --> > This will delete persistently stored data.
|
|
10787
|
+
* @summary Delete Object
|
|
10788
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10789
|
+
* @param {string} key
|
|
10790
|
+
* @param {*} [options] Override http request option.
|
|
10791
|
+
* @throws {RequiredError}
|
|
10792
|
+
* @memberof StoreObjectApi
|
|
10793
|
+
*/
|
|
10794
|
+
public deleteObject(cell: string, key: string, options?: RawAxiosRequestConfig) {
|
|
10795
|
+
return StoreObjectApiFp(this.configuration).deleteObject(cell, key, options).then((request) => request(this.axios, this.basePath));
|
|
10796
|
+
}
|
|
10797
|
+
|
|
12142
10798
|
/**
|
|
12143
|
-
*
|
|
12144
|
-
* @summary
|
|
10799
|
+
* Get the object. This request returns the object and any metadata attached to it.
|
|
10800
|
+
* @summary Get Object
|
|
12145
10801
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
12146
|
-
* @param {string}
|
|
10802
|
+
* @param {string} key
|
|
12147
10803
|
* @param {*} [options] Override http request option.
|
|
12148
10804
|
* @throws {RequiredError}
|
|
12149
|
-
* @memberof
|
|
10805
|
+
* @memberof StoreObjectApi
|
|
12150
10806
|
*/
|
|
12151
|
-
public
|
|
12152
|
-
return
|
|
10807
|
+
public getObject(cell: string, key: string, options?: RawAxiosRequestConfig) {
|
|
10808
|
+
return StoreObjectApiFp(this.configuration).getObject(cell, key, options).then((request) => request(this.axios, this.basePath));
|
|
12153
10809
|
}
|
|
12154
10810
|
|
|
12155
10811
|
/**
|
|
12156
|
-
*
|
|
12157
|
-
* @summary Get
|
|
10812
|
+
* Get object metadata. Objects can be large. Therefore this request only returns metadata without fetching the object\'s content.
|
|
10813
|
+
* @summary Get Object Metadata
|
|
12158
10814
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
12159
|
-
* @param {string}
|
|
10815
|
+
* @param {string} key
|
|
12160
10816
|
* @param {*} [options] Override http request option.
|
|
12161
10817
|
* @throws {RequiredError}
|
|
12162
|
-
* @memberof
|
|
10818
|
+
* @memberof StoreObjectApi
|
|
12163
10819
|
*/
|
|
12164
|
-
public
|
|
12165
|
-
return
|
|
10820
|
+
public getObjectMetadata(cell: string, key: string, options?: RawAxiosRequestConfig) {
|
|
10821
|
+
return StoreObjectApiFp(this.configuration).getObjectMetadata(cell, key, options).then((request) => request(this.axios, this.basePath));
|
|
12166
10822
|
}
|
|
12167
10823
|
|
|
12168
10824
|
/**
|
|
12169
|
-
*
|
|
12170
|
-
* @summary List all
|
|
10825
|
+
* List the keys for all objects.
|
|
10826
|
+
* @summary List all Object Keys
|
|
12171
10827
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
12172
10828
|
* @param {*} [options] Override http request option.
|
|
12173
10829
|
* @throws {RequiredError}
|
|
12174
|
-
* @memberof
|
|
10830
|
+
* @memberof StoreObjectApi
|
|
12175
10831
|
*/
|
|
12176
|
-
public
|
|
12177
|
-
return
|
|
10832
|
+
public listAllObjectKeys(cell: string, options?: RawAxiosRequestConfig) {
|
|
10833
|
+
return StoreObjectApiFp(this.configuration).listAllObjectKeys(cell, options).then((request) => request(this.axios, this.basePath));
|
|
12178
10834
|
}
|
|
12179
10835
|
|
|
12180
10836
|
/**
|
|
12181
|
-
*
|
|
12182
|
-
* @summary Store
|
|
10837
|
+
* Store any data as an object. Using a key which already contains an object will override the previously stored object. Use [getObjectMetadata](getObjectMetadata) to verify that the key does not contain objects. Optional: Specify metadata as a dictionary with names and values.
|
|
10838
|
+
* @summary Store Object
|
|
12183
10839
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
12184
|
-
* @param {string}
|
|
12185
|
-
* @param {string} body
|
|
10840
|
+
* @param {string} key
|
|
12186
10841
|
* @param {{ [key: string]: string; }} [xMetadata]
|
|
10842
|
+
* @param {any} [anyValue]
|
|
12187
10843
|
* @param {*} [options] Override http request option.
|
|
12188
10844
|
* @throws {RequiredError}
|
|
12189
|
-
* @memberof
|
|
10845
|
+
* @memberof StoreObjectApi
|
|
12190
10846
|
*/
|
|
12191
|
-
public
|
|
12192
|
-
return
|
|
10847
|
+
public storeObject(cell: string, key: string, xMetadata?: { [key: string]: string; }, anyValue?: any, options?: RawAxiosRequestConfig) {
|
|
10848
|
+
return StoreObjectApiFp(this.configuration).storeObject(cell, key, xMetadata, anyValue, options).then((request) => request(this.axios, this.basePath));
|
|
12193
10849
|
}
|
|
12194
10850
|
}
|
|
12195
10851
|
|
|
@@ -12252,16 +10908,16 @@ export const SystemApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12252
10908
|
};
|
|
12253
10909
|
},
|
|
12254
10910
|
/**
|
|
12255
|
-
*
|
|
12256
|
-
* @summary
|
|
12257
|
-
* @param {
|
|
10911
|
+
* Check if a more recent Wandelbots NOVA Version is available.
|
|
10912
|
+
* @summary Check update
|
|
10913
|
+
* @param {ReleaseChannel} channel
|
|
12258
10914
|
* @param {*} [options] Override http request option.
|
|
12259
10915
|
* @throws {RequiredError}
|
|
12260
10916
|
*/
|
|
12261
|
-
|
|
12262
|
-
// verify required parameter '
|
|
12263
|
-
assertParamExists('
|
|
12264
|
-
const localVarPath = `/system/
|
|
10917
|
+
checkNovaVersionUpdate: async (channel: ReleaseChannel, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10918
|
+
// verify required parameter 'channel' is not null or undefined
|
|
10919
|
+
assertParamExists('checkNovaVersionUpdate', 'channel', channel)
|
|
10920
|
+
const localVarPath = `/system/update`;
|
|
12265
10921
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12266
10922
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12267
10923
|
let baseOptions;
|
|
@@ -12281,8 +10937,8 @@ export const SystemApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12281
10937
|
// http bearer authentication required
|
|
12282
10938
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12283
10939
|
|
|
12284
|
-
if (
|
|
12285
|
-
localVarQueryParameter['
|
|
10940
|
+
if (channel !== undefined) {
|
|
10941
|
+
localVarQueryParameter['channel'] = channel;
|
|
12286
10942
|
}
|
|
12287
10943
|
|
|
12288
10944
|
|
|
@@ -12297,16 +10953,16 @@ export const SystemApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12297
10953
|
};
|
|
12298
10954
|
},
|
|
12299
10955
|
/**
|
|
12300
|
-
*
|
|
12301
|
-
* @summary
|
|
12302
|
-
* @param {
|
|
10956
|
+
* Retrieves the status of a configuration backup. The status can only be requested for 5 minutes after backup creation. After 5 minutes, 404 is returned.
|
|
10957
|
+
* @summary Retrieve Backup Status
|
|
10958
|
+
* @param {string} operationId
|
|
12303
10959
|
* @param {*} [options] Override http request option.
|
|
12304
10960
|
* @throws {RequiredError}
|
|
12305
10961
|
*/
|
|
12306
|
-
|
|
12307
|
-
// verify required parameter '
|
|
12308
|
-
assertParamExists('
|
|
12309
|
-
const localVarPath = `/system/
|
|
10962
|
+
getConfigurationBackupStatus: async (operationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10963
|
+
// verify required parameter 'operationId' is not null or undefined
|
|
10964
|
+
assertParamExists('getConfigurationBackupStatus', 'operationId', operationId)
|
|
10965
|
+
const localVarPath = `/system/configuration/status`;
|
|
12310
10966
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12311
10967
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12312
10968
|
let baseOptions;
|
|
@@ -12326,8 +10982,8 @@ export const SystemApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12326
10982
|
// http bearer authentication required
|
|
12327
10983
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12328
10984
|
|
|
12329
|
-
if (
|
|
12330
|
-
localVarQueryParameter['
|
|
10985
|
+
if (operationId !== undefined) {
|
|
10986
|
+
localVarQueryParameter['operation_id'] = operationId;
|
|
12331
10987
|
}
|
|
12332
10988
|
|
|
12333
10989
|
|
|
@@ -12613,29 +11269,29 @@ export const SystemApiFp = function(configuration?: Configuration) {
|
|
|
12613
11269
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12614
11270
|
},
|
|
12615
11271
|
/**
|
|
12616
|
-
*
|
|
12617
|
-
* @summary
|
|
12618
|
-
* @param {
|
|
11272
|
+
* Check if a more recent Wandelbots NOVA Version is available.
|
|
11273
|
+
* @summary Check update
|
|
11274
|
+
* @param {ReleaseChannel} channel
|
|
12619
11275
|
* @param {*} [options] Override http request option.
|
|
12620
11276
|
* @throws {RequiredError}
|
|
12621
11277
|
*/
|
|
12622
|
-
async
|
|
12623
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
11278
|
+
async checkNovaVersionUpdate(channel: ReleaseChannel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
11279
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkNovaVersionUpdate(channel, options);
|
|
12624
11280
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12625
|
-
const localVarOperationServerBasePath = operationServerMap['SystemApi.
|
|
11281
|
+
const localVarOperationServerBasePath = operationServerMap['SystemApi.checkNovaVersionUpdate']?.[localVarOperationServerIndex]?.url;
|
|
12626
11282
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12627
11283
|
},
|
|
12628
11284
|
/**
|
|
12629
|
-
*
|
|
12630
|
-
* @summary
|
|
12631
|
-
* @param {
|
|
11285
|
+
* Retrieves the status of a configuration backup. The status can only be requested for 5 minutes after backup creation. After 5 minutes, 404 is returned.
|
|
11286
|
+
* @summary Retrieve Backup Status
|
|
11287
|
+
* @param {string} operationId
|
|
12632
11288
|
* @param {*} [options] Override http request option.
|
|
12633
11289
|
* @throws {RequiredError}
|
|
12634
11290
|
*/
|
|
12635
|
-
async
|
|
12636
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
11291
|
+
async getConfigurationBackupStatus(operationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigurationArchiveStatus>> {
|
|
11292
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getConfigurationBackupStatus(operationId, options);
|
|
12637
11293
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12638
|
-
const localVarOperationServerBasePath = operationServerMap['SystemApi.
|
|
11294
|
+
const localVarOperationServerBasePath = operationServerMap['SystemApi.getConfigurationBackupStatus']?.[localVarOperationServerIndex]?.url;
|
|
12639
11295
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12640
11296
|
},
|
|
12641
11297
|
/**
|
|
@@ -12734,16 +11390,6 @@ export const SystemApiFactory = function (configuration?: Configuration, basePat
|
|
|
12734
11390
|
backupConfiguration(resources: Array<string>, metadata?: { [key: string]: string; }, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
12735
11391
|
return localVarFp.backupConfiguration(resources, metadata, options).then((request) => request(axios, basePath));
|
|
12736
11392
|
},
|
|
12737
|
-
/**
|
|
12738
|
-
* Retrieves the status of a configuration backup. The status can only be requested for 5 minutes after backup creation. After 5 minutes, 404 is returned.
|
|
12739
|
-
* @summary Retrieve Backup Status
|
|
12740
|
-
* @param {string} operationId
|
|
12741
|
-
* @param {*} [options] Override http request option.
|
|
12742
|
-
* @throws {RequiredError}
|
|
12743
|
-
*/
|
|
12744
|
-
backupConfigurationStatus(operationId: string, options?: RawAxiosRequestConfig): AxiosPromise<ConfigurationArchiveStatus> {
|
|
12745
|
-
return localVarFp.backupConfigurationStatus(operationId, options).then((request) => request(axios, basePath));
|
|
12746
|
-
},
|
|
12747
11393
|
/**
|
|
12748
11394
|
* Check if a more recent Wandelbots NOVA Version is available.
|
|
12749
11395
|
* @summary Check update
|
|
@@ -12754,6 +11400,16 @@ export const SystemApiFactory = function (configuration?: Configuration, basePat
|
|
|
12754
11400
|
checkNovaVersionUpdate(channel: ReleaseChannel, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
12755
11401
|
return localVarFp.checkNovaVersionUpdate(channel, options).then((request) => request(axios, basePath));
|
|
12756
11402
|
},
|
|
11403
|
+
/**
|
|
11404
|
+
* Retrieves the status of a configuration backup. The status can only be requested for 5 minutes after backup creation. After 5 minutes, 404 is returned.
|
|
11405
|
+
* @summary Retrieve Backup Status
|
|
11406
|
+
* @param {string} operationId
|
|
11407
|
+
* @param {*} [options] Override http request option.
|
|
11408
|
+
* @throws {RequiredError}
|
|
11409
|
+
*/
|
|
11410
|
+
getConfigurationBackupStatus(operationId: string, options?: RawAxiosRequestConfig): AxiosPromise<ConfigurationArchiveStatus> {
|
|
11411
|
+
return localVarFp.getConfigurationBackupStatus(operationId, options).then((request) => request(axios, basePath));
|
|
11412
|
+
},
|
|
12757
11413
|
/**
|
|
12758
11414
|
* Collects information on the current status of all NOVA services and exports them as a .zip file. Includes information on all cells on the instance such as the service logs and virtual robot controllers. From each cell the logs of all services are included, as well as the configuration of each connected controller to start virtual robots.
|
|
12759
11415
|
* @summary Download Diagnosis Package
|
|
@@ -12835,27 +11491,27 @@ export class SystemApi extends BaseAPI {
|
|
|
12835
11491
|
}
|
|
12836
11492
|
|
|
12837
11493
|
/**
|
|
12838
|
-
*
|
|
12839
|
-
* @summary
|
|
12840
|
-
* @param {
|
|
11494
|
+
* Check if a more recent Wandelbots NOVA Version is available.
|
|
11495
|
+
* @summary Check update
|
|
11496
|
+
* @param {ReleaseChannel} channel
|
|
12841
11497
|
* @param {*} [options] Override http request option.
|
|
12842
11498
|
* @throws {RequiredError}
|
|
12843
11499
|
* @memberof SystemApi
|
|
12844
11500
|
*/
|
|
12845
|
-
public
|
|
12846
|
-
return SystemApiFp(this.configuration).
|
|
11501
|
+
public checkNovaVersionUpdate(channel: ReleaseChannel, options?: RawAxiosRequestConfig) {
|
|
11502
|
+
return SystemApiFp(this.configuration).checkNovaVersionUpdate(channel, options).then((request) => request(this.axios, this.basePath));
|
|
12847
11503
|
}
|
|
12848
11504
|
|
|
12849
11505
|
/**
|
|
12850
|
-
*
|
|
12851
|
-
* @summary
|
|
12852
|
-
* @param {
|
|
11506
|
+
* Retrieves the status of a configuration backup. The status can only be requested for 5 minutes after backup creation. After 5 minutes, 404 is returned.
|
|
11507
|
+
* @summary Retrieve Backup Status
|
|
11508
|
+
* @param {string} operationId
|
|
12853
11509
|
* @param {*} [options] Override http request option.
|
|
12854
11510
|
* @throws {RequiredError}
|
|
12855
11511
|
* @memberof SystemApi
|
|
12856
11512
|
*/
|
|
12857
|
-
public
|
|
12858
|
-
return SystemApiFp(this.configuration).
|
|
11513
|
+
public getConfigurationBackupStatus(operationId: string, options?: RawAxiosRequestConfig) {
|
|
11514
|
+
return SystemApiFp(this.configuration).getConfigurationBackupStatus(operationId, options).then((request) => request(this.axios, this.basePath));
|
|
12859
11515
|
}
|
|
12860
11516
|
|
|
12861
11517
|
/**
|