@wandelbots/nova-api 25.8.0-dev.17 → 25.8.0-dev.19

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wandelbots/nova-api",
3
- "version": "25.8.0-dev.17",
3
+ "version": "25.8.0-dev.19",
4
4
  "description": "API Client to interact with Wandelbots Public API.",
5
5
  "files": [
6
6
  "*",
package/v2/api.d.ts CHANGED
@@ -1708,9 +1708,22 @@ export interface GetTrajectoryResponse {
1708
1708
  export interface HTTPValidationError {
1709
1709
  /**
1710
1710
  *
1711
- * @type {Array<ValidationError>}
1711
+ * @type {Array<ValidationError2>}
1712
1712
  * @memberof HTTPValidationError
1713
1713
  */
1714
+ 'detail'?: Array<ValidationError2>;
1715
+ }
1716
+ /**
1717
+ *
1718
+ * @export
1719
+ * @interface HTTPValidationError2
1720
+ */
1721
+ export interface HTTPValidationError2 {
1722
+ /**
1723
+ *
1724
+ * @type {Array<ValidationError>}
1725
+ * @memberof HTTPValidationError2
1726
+ */
1714
1727
  'detail'?: Array<ValidationError>;
1715
1728
  }
1716
1729
  /**
@@ -4166,6 +4179,148 @@ export interface ProfinetSubSlotDescription {
4166
4179
  */
4167
4180
  'output_length': number;
4168
4181
  }
4182
+ /**
4183
+ * A program is a collection of instructions that are executed in the robot cell.
4184
+ * @export
4185
+ * @interface Program
4186
+ */
4187
+ export interface Program {
4188
+ /**
4189
+ *
4190
+ * @type {string}
4191
+ * @memberof Program
4192
+ */
4193
+ 'program': string;
4194
+ /**
4195
+ *
4196
+ * @type {string}
4197
+ * @memberof Program
4198
+ */
4199
+ 'name'?: string;
4200
+ /**
4201
+ *
4202
+ * @type {string}
4203
+ * @memberof Program
4204
+ */
4205
+ 'description'?: string;
4206
+ /**
4207
+ *
4208
+ * @type {string}
4209
+ * @memberof Program
4210
+ */
4211
+ 'app': string;
4212
+ /**
4213
+ *
4214
+ * @type {object}
4215
+ * @memberof Program
4216
+ */
4217
+ 'input_schema'?: object;
4218
+ /**
4219
+ *
4220
+ * @type {object}
4221
+ * @memberof Program
4222
+ */
4223
+ 'preconditions'?: object;
4224
+ }
4225
+ /**
4226
+ * Holds the state of a program run.
4227
+ * @export
4228
+ * @interface ProgramRun
4229
+ */
4230
+ export interface ProgramRun {
4231
+ /**
4232
+ * Unique identifier of the program run
4233
+ * @type {string}
4234
+ * @memberof ProgramRun
4235
+ */
4236
+ 'run': string;
4237
+ /**
4238
+ * Unique identifier of the program
4239
+ * @type {string}
4240
+ * @memberof ProgramRun
4241
+ */
4242
+ 'program': string;
4243
+ /**
4244
+ * State of the program run
4245
+ * @type {ProgramRunState}
4246
+ * @memberof ProgramRun
4247
+ */
4248
+ 'state': ProgramRunState;
4249
+ /**
4250
+ * Logs of the program run
4251
+ * @type {string}
4252
+ * @memberof ProgramRun
4253
+ */
4254
+ 'logs'?: string;
4255
+ /**
4256
+ * Stdout of the program run
4257
+ * @type {string}
4258
+ * @memberof ProgramRun
4259
+ */
4260
+ 'stdout'?: string;
4261
+ /**
4262
+ * Stderr of the program run
4263
+ * @type {string}
4264
+ * @memberof ProgramRun
4265
+ */
4266
+ 'stderr'?: string;
4267
+ /**
4268
+ * Error message of the program run, if any
4269
+ * @type {string}
4270
+ * @memberof ProgramRun
4271
+ */
4272
+ 'error'?: string;
4273
+ /**
4274
+ * Traceback of the program run, if any
4275
+ * @type {string}
4276
+ * @memberof ProgramRun
4277
+ */
4278
+ 'traceback'?: string;
4279
+ /**
4280
+ * Start time of the program run
4281
+ * @type {string}
4282
+ * @memberof ProgramRun
4283
+ */
4284
+ 'start_time'?: string;
4285
+ /**
4286
+ * End time of the program run
4287
+ * @type {string}
4288
+ * @memberof ProgramRun
4289
+ */
4290
+ 'end_time'?: string;
4291
+ /**
4292
+ * Input data of the program run
4293
+ * @type {object}
4294
+ * @memberof ProgramRun
4295
+ */
4296
+ 'input_data'?: object;
4297
+ }
4298
+ /**
4299
+ * The state of a program run.
4300
+ * @export
4301
+ * @enum {string}
4302
+ */
4303
+ export declare const ProgramRunState: {
4304
+ readonly Preparing: "PREPARING";
4305
+ readonly Running: "RUNNING";
4306
+ readonly Completed: "COMPLETED";
4307
+ readonly Failed: "FAILED";
4308
+ readonly Stopped: "STOPPED";
4309
+ };
4310
+ export type ProgramRunState = typeof ProgramRunState[keyof typeof ProgramRunState];
4311
+ /**
4312
+ * The state of a program run.
4313
+ * @export
4314
+ * @interface ProgramStartRequest
4315
+ */
4316
+ export interface ProgramStartRequest {
4317
+ /**
4318
+ * The arguments to pass to the program.
4319
+ * @type {object}
4320
+ * @memberof ProgramStartRequest
4321
+ */
4322
+ 'arguments': object;
4323
+ }
4169
4324
  /**
4170
4325
  * <!-- theme: danger --> > **Experimental** RRT Connect algorithm configuration for collision-free path planning. Rapidly-exploring Random Trees (RRT) builds trees of valid configurations by randomly sampling the joint space and connecting feasible points. RRT Connect grows two trees simultaneously from start and target positions until they meet. This is a custom implementation optimized for manipulator kinematics and collision checking in industrial contexts.
4171
4326
  * @export
@@ -5127,6 +5282,31 @@ export interface ValidationError {
5127
5282
  [key: string]: any;
5128
5283
  };
5129
5284
  }
5285
+ /**
5286
+ * A validation error of a program.
5287
+ * @export
5288
+ * @interface ValidationError2
5289
+ */
5290
+ export interface ValidationError2 {
5291
+ /**
5292
+ *
5293
+ * @type {Array<number>}
5294
+ * @memberof ValidationError2
5295
+ */
5296
+ 'loc': Array<number>;
5297
+ /**
5298
+ *
5299
+ * @type {string}
5300
+ * @memberof ValidationError2
5301
+ */
5302
+ 'msg': string;
5303
+ /**
5304
+ *
5305
+ * @type {string}
5306
+ * @memberof ValidationError2
5307
+ */
5308
+ 'type': string;
5309
+ }
5130
5310
  /**
5131
5311
  * @type ValidationErrorLocInner
5132
5312
  * @export
@@ -7786,6 +7966,180 @@ export declare class MotionGroupModelsApi extends BaseAPI {
7786
7966
  */
7787
7967
  getMotionGroupModels(cell: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any>>;
7788
7968
  }
7969
+ /**
7970
+ * ProgramApi - axios parameter creator
7971
+ * @export
7972
+ */
7973
+ export declare const ProgramApiAxiosParamCreator: (configuration?: Configuration) => {
7974
+ /**
7975
+ * Get details of a program.
7976
+ * @summary Get program
7977
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
7978
+ * @param {string} program
7979
+ * @param {*} [options] Override http request option.
7980
+ * @throws {RequiredError}
7981
+ */
7982
+ getProgram: (cell: string, program: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7983
+ /**
7984
+ * List details of all existing programs.
7985
+ * @summary List programs
7986
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
7987
+ * @param {*} [options] Override http request option.
7988
+ * @throws {RequiredError}
7989
+ */
7990
+ listPrograms: (cell: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7991
+ /**
7992
+ * This endpoint starts a new program execution. The program will be executed asynchronously.
7993
+ * @summary Start the program
7994
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
7995
+ * @param {string} program
7996
+ * @param {ProgramStartRequest} programStartRequest
7997
+ * @param {*} [options] Override http request option.
7998
+ * @throws {RequiredError}
7999
+ */
8000
+ startProgram: (cell: string, program: string, programStartRequest: ProgramStartRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8001
+ /**
8002
+ * Stop a specific program run.
8003
+ * @summary Stop program run
8004
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
8005
+ * @param {string} program
8006
+ * @param {*} [options] Override http request option.
8007
+ * @throws {RequiredError}
8008
+ */
8009
+ stopProgram: (cell: string, program: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8010
+ };
8011
+ /**
8012
+ * ProgramApi - functional programming interface
8013
+ * @export
8014
+ */
8015
+ export declare const ProgramApiFp: (configuration?: Configuration) => {
8016
+ /**
8017
+ * Get details of a program.
8018
+ * @summary Get program
8019
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
8020
+ * @param {string} program
8021
+ * @param {*} [options] Override http request option.
8022
+ * @throws {RequiredError}
8023
+ */
8024
+ getProgram(cell: string, program: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Program>>;
8025
+ /**
8026
+ * List details of all existing programs.
8027
+ * @summary List programs
8028
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
8029
+ * @param {*} [options] Override http request option.
8030
+ * @throws {RequiredError}
8031
+ */
8032
+ listPrograms(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Program>>>;
8033
+ /**
8034
+ * This endpoint starts a new program execution. The program will be executed asynchronously.
8035
+ * @summary Start the program
8036
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
8037
+ * @param {string} program
8038
+ * @param {ProgramStartRequest} programStartRequest
8039
+ * @param {*} [options] Override http request option.
8040
+ * @throws {RequiredError}
8041
+ */
8042
+ startProgram(cell: string, program: string, programStartRequest: ProgramStartRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgramRun>>;
8043
+ /**
8044
+ * Stop a specific program run.
8045
+ * @summary Stop program run
8046
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
8047
+ * @param {string} program
8048
+ * @param {*} [options] Override http request option.
8049
+ * @throws {RequiredError}
8050
+ */
8051
+ stopProgram(cell: string, program: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8052
+ };
8053
+ /**
8054
+ * ProgramApi - factory interface
8055
+ * @export
8056
+ */
8057
+ export declare const ProgramApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
8058
+ /**
8059
+ * Get details of a program.
8060
+ * @summary Get program
8061
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
8062
+ * @param {string} program
8063
+ * @param {*} [options] Override http request option.
8064
+ * @throws {RequiredError}
8065
+ */
8066
+ getProgram(cell: string, program: string, options?: RawAxiosRequestConfig): AxiosPromise<Program>;
8067
+ /**
8068
+ * List details of all existing programs.
8069
+ * @summary List programs
8070
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
8071
+ * @param {*} [options] Override http request option.
8072
+ * @throws {RequiredError}
8073
+ */
8074
+ listPrograms(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Program>>;
8075
+ /**
8076
+ * This endpoint starts a new program execution. The program will be executed asynchronously.
8077
+ * @summary Start the program
8078
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
8079
+ * @param {string} program
8080
+ * @param {ProgramStartRequest} programStartRequest
8081
+ * @param {*} [options] Override http request option.
8082
+ * @throws {RequiredError}
8083
+ */
8084
+ startProgram(cell: string, program: string, programStartRequest: ProgramStartRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProgramRun>;
8085
+ /**
8086
+ * Stop a specific program run.
8087
+ * @summary Stop program run
8088
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
8089
+ * @param {string} program
8090
+ * @param {*} [options] Override http request option.
8091
+ * @throws {RequiredError}
8092
+ */
8093
+ stopProgram(cell: string, program: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8094
+ };
8095
+ /**
8096
+ * ProgramApi - object-oriented interface
8097
+ * @export
8098
+ * @class ProgramApi
8099
+ * @extends {BaseAPI}
8100
+ */
8101
+ export declare class ProgramApi extends BaseAPI {
8102
+ /**
8103
+ * Get details of a program.
8104
+ * @summary Get program
8105
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
8106
+ * @param {string} program
8107
+ * @param {*} [options] Override http request option.
8108
+ * @throws {RequiredError}
8109
+ * @memberof ProgramApi
8110
+ */
8111
+ getProgram(cell: string, program: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Program, any>>;
8112
+ /**
8113
+ * List details of all existing programs.
8114
+ * @summary List programs
8115
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
8116
+ * @param {*} [options] Override http request option.
8117
+ * @throws {RequiredError}
8118
+ * @memberof ProgramApi
8119
+ */
8120
+ listPrograms(cell: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Program[], any>>;
8121
+ /**
8122
+ * This endpoint starts a new program execution. The program will be executed asynchronously.
8123
+ * @summary Start the program
8124
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
8125
+ * @param {string} program
8126
+ * @param {ProgramStartRequest} programStartRequest
8127
+ * @param {*} [options] Override http request option.
8128
+ * @throws {RequiredError}
8129
+ * @memberof ProgramApi
8130
+ */
8131
+ startProgram(cell: string, program: string, programStartRequest: ProgramStartRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProgramRun, any>>;
8132
+ /**
8133
+ * Stop a specific program run.
8134
+ * @summary Stop program run
8135
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
8136
+ * @param {string} program
8137
+ * @param {*} [options] Override http request option.
8138
+ * @throws {RequiredError}
8139
+ * @memberof ProgramApi
8140
+ */
8141
+ stopProgram(cell: string, program: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
8142
+ }
7789
8143
  /**
7790
8144
  * StoreCollisionComponentsApi - axios parameter creator
7791
8145
  * @export