@ignos/api-client 20240320.0.9040 → 20240327.0.9055
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/lib/ignosportal-api.d.ts +117 -94
- package/lib/ignosportal-api.js +322 -150
- package/package.json +1 -1
- package/src/ignosportal-api.ts +467 -275
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -970,6 +970,7 @@ export interface ICncSetupClient {
|
|
|
970
970
|
getCncMachineOperation(id: string): Promise<CncMachineOperationDto>;
|
|
971
971
|
deleteCncMachineOperation(id: string): Promise<void>;
|
|
972
972
|
copyCncMachineOperations(request: CopyCncMachineOperations): Promise<CncMachineOperationDto[]>;
|
|
973
|
+
copyToolsCncMachine(request: CopyToolsCncMachine): Promise<CncToolDto[]>;
|
|
973
974
|
createUploadProgramsInfo(id: string, request: UploadFileRequest): Promise<UploadFileDto[]>;
|
|
974
975
|
listCncMachineOperationsPrograms(id: string, filterDeleted: CncFilterDeletedDto | undefined): Promise<ProgramFileDto[]>;
|
|
975
976
|
listCncMachineOperationsProgramsArchive(id: string, filename: string, filterDeleted: CncFilterDeletedDto | undefined): Promise<ProgramFileDto[]>;
|
|
@@ -992,6 +993,8 @@ export interface ICncSetupClient {
|
|
|
992
993
|
listCncToolByCncMachine(id: string): Promise<CncToolDto[]>;
|
|
993
994
|
updateCncMachineTool(cncMachineId: string, id: number, request: UpdateCncMachineToolRequest): Promise<CncToolDto>;
|
|
994
995
|
deleteCncMachineTool(cncMachineId: string, id: number): Promise<void>;
|
|
996
|
+
uploadCncMachineToolImage(machineId: string, id: number, request: UploadCncToolImageRequest): Promise<ImageFileDto>;
|
|
997
|
+
deleteCncMachineToolImage(machineId: string, id: number, filename: string): Promise<void>;
|
|
995
998
|
importOperationWithTools(request: ImportOperationWithTool): Promise<void>;
|
|
996
999
|
}
|
|
997
1000
|
export declare class CncSetupClient extends AuthorizedApiBase implements ICncSetupClient {
|
|
@@ -1051,6 +1054,8 @@ export declare class CncSetupClient extends AuthorizedApiBase implements ICncSet
|
|
|
1051
1054
|
protected processDeleteCncMachineOperation(response: Response): Promise<void>;
|
|
1052
1055
|
copyCncMachineOperations(request: CopyCncMachineOperations): Promise<CncMachineOperationDto[]>;
|
|
1053
1056
|
protected processCopyCncMachineOperations(response: Response): Promise<CncMachineOperationDto[]>;
|
|
1057
|
+
copyToolsCncMachine(request: CopyToolsCncMachine): Promise<CncToolDto[]>;
|
|
1058
|
+
protected processCopyToolsCncMachine(response: Response): Promise<CncToolDto[]>;
|
|
1054
1059
|
createUploadProgramsInfo(id: string, request: UploadFileRequest): Promise<UploadFileDto[]>;
|
|
1055
1060
|
protected processCreateUploadProgramsInfo(response: Response): Promise<UploadFileDto[]>;
|
|
1056
1061
|
listCncMachineOperationsPrograms(id: string, filterDeleted: CncFilterDeletedDto | undefined): Promise<ProgramFileDto[]>;
|
|
@@ -1095,6 +1100,10 @@ export declare class CncSetupClient extends AuthorizedApiBase implements ICncSet
|
|
|
1095
1100
|
protected processUpdateCncMachineTool(response: Response): Promise<CncToolDto>;
|
|
1096
1101
|
deleteCncMachineTool(cncMachineId: string, id: number): Promise<void>;
|
|
1097
1102
|
protected processDeleteCncMachineTool(response: Response): Promise<void>;
|
|
1103
|
+
uploadCncMachineToolImage(machineId: string, id: number, request: UploadCncToolImageRequest): Promise<ImageFileDto>;
|
|
1104
|
+
protected processUploadCncMachineToolImage(response: Response): Promise<ImageFileDto>;
|
|
1105
|
+
deleteCncMachineToolImage(machineId: string, id: number, filename: string): Promise<void>;
|
|
1106
|
+
protected processDeleteCncMachineToolImage(response: Response): Promise<void>;
|
|
1098
1107
|
importOperationWithTools(request: ImportOperationWithTool): Promise<void>;
|
|
1099
1108
|
protected processImportOperationWithTools(response: Response): Promise<void>;
|
|
1100
1109
|
}
|
|
@@ -6262,6 +6271,114 @@ export interface ICopyCncMachineOperationDto {
|
|
|
6262
6271
|
copyTools: boolean;
|
|
6263
6272
|
copyFiles: boolean;
|
|
6264
6273
|
}
|
|
6274
|
+
export declare class CncToolDto implements ICncToolDto {
|
|
6275
|
+
id: number;
|
|
6276
|
+
toolTypeId: string;
|
|
6277
|
+
toolType: string;
|
|
6278
|
+
toolSubTypeId: string;
|
|
6279
|
+
toolSubTypeName: string;
|
|
6280
|
+
toolNumber?: string | null;
|
|
6281
|
+
toolSuffix?: string | null;
|
|
6282
|
+
description?: string | null;
|
|
6283
|
+
holderDescription?: string | null;
|
|
6284
|
+
geometry?: string | null;
|
|
6285
|
+
size?: string | null;
|
|
6286
|
+
diameter?: number | null;
|
|
6287
|
+
grade?: string | null;
|
|
6288
|
+
radius?: number | null;
|
|
6289
|
+
width?: number | null;
|
|
6290
|
+
pitch?: string | null;
|
|
6291
|
+
length?: number | null;
|
|
6292
|
+
kapr?: number | null;
|
|
6293
|
+
teeth?: number | null;
|
|
6294
|
+
stickOut?: number | null;
|
|
6295
|
+
apmx?: number | null;
|
|
6296
|
+
usableLength?: number | null;
|
|
6297
|
+
images?: ImageFileDto[];
|
|
6298
|
+
auditInfo?: CncSetupAuditDto;
|
|
6299
|
+
constructor(data?: ICncToolDto);
|
|
6300
|
+
init(_data?: any): void;
|
|
6301
|
+
static fromJS(data: any): CncToolDto;
|
|
6302
|
+
toJSON(data?: any): any;
|
|
6303
|
+
}
|
|
6304
|
+
export interface ICncToolDto {
|
|
6305
|
+
id: number;
|
|
6306
|
+
toolTypeId: string;
|
|
6307
|
+
toolType: string;
|
|
6308
|
+
toolSubTypeId: string;
|
|
6309
|
+
toolSubTypeName: string;
|
|
6310
|
+
toolNumber?: string | null;
|
|
6311
|
+
toolSuffix?: string | null;
|
|
6312
|
+
description?: string | null;
|
|
6313
|
+
holderDescription?: string | null;
|
|
6314
|
+
geometry?: string | null;
|
|
6315
|
+
size?: string | null;
|
|
6316
|
+
diameter?: number | null;
|
|
6317
|
+
grade?: string | null;
|
|
6318
|
+
radius?: number | null;
|
|
6319
|
+
width?: number | null;
|
|
6320
|
+
pitch?: string | null;
|
|
6321
|
+
length?: number | null;
|
|
6322
|
+
kapr?: number | null;
|
|
6323
|
+
teeth?: number | null;
|
|
6324
|
+
stickOut?: number | null;
|
|
6325
|
+
apmx?: number | null;
|
|
6326
|
+
usableLength?: number | null;
|
|
6327
|
+
images?: ImageFileDto[];
|
|
6328
|
+
auditInfo?: CncSetupAuditDto;
|
|
6329
|
+
}
|
|
6330
|
+
export declare class ImageFileDto implements IImageFileDto {
|
|
6331
|
+
url: string;
|
|
6332
|
+
name: string;
|
|
6333
|
+
thumbnailUrl?: string | null;
|
|
6334
|
+
constructor(data?: IImageFileDto);
|
|
6335
|
+
init(_data?: any): void;
|
|
6336
|
+
static fromJS(data: any): ImageFileDto;
|
|
6337
|
+
toJSON(data?: any): any;
|
|
6338
|
+
}
|
|
6339
|
+
export interface IImageFileDto {
|
|
6340
|
+
url: string;
|
|
6341
|
+
name: string;
|
|
6342
|
+
thumbnailUrl?: string | null;
|
|
6343
|
+
}
|
|
6344
|
+
export declare class CncSetupAuditDto implements ICncSetupAuditDto {
|
|
6345
|
+
created: Date;
|
|
6346
|
+
createdBy: string;
|
|
6347
|
+
createdById: string;
|
|
6348
|
+
createdByName?: string | null;
|
|
6349
|
+
updated?: Date | null;
|
|
6350
|
+
updatedBy?: string | null;
|
|
6351
|
+
updatedById?: string | null;
|
|
6352
|
+
updatedByName?: string | null;
|
|
6353
|
+
constructor(data?: ICncSetupAuditDto);
|
|
6354
|
+
init(_data?: any): void;
|
|
6355
|
+
static fromJS(data: any): CncSetupAuditDto;
|
|
6356
|
+
toJSON(data?: any): any;
|
|
6357
|
+
}
|
|
6358
|
+
export interface ICncSetupAuditDto {
|
|
6359
|
+
created: Date;
|
|
6360
|
+
createdBy: string;
|
|
6361
|
+
createdById: string;
|
|
6362
|
+
createdByName?: string | null;
|
|
6363
|
+
updated?: Date | null;
|
|
6364
|
+
updatedBy?: string | null;
|
|
6365
|
+
updatedById?: string | null;
|
|
6366
|
+
updatedByName?: string | null;
|
|
6367
|
+
}
|
|
6368
|
+
export declare class CopyToolsCncMachine implements ICopyToolsCncMachine {
|
|
6369
|
+
sourceMachineId: string;
|
|
6370
|
+
targetOperationId: string;
|
|
6371
|
+
toolsIds: number[];
|
|
6372
|
+
constructor(data?: ICopyToolsCncMachine);
|
|
6373
|
+
init(_data?: any): void;
|
|
6374
|
+
static fromJS(data: any): CopyToolsCncMachine;
|
|
6375
|
+
toJSON(data?: any): any;
|
|
6376
|
+
}
|
|
6377
|
+
export interface ICopyToolsCncMachine {
|
|
6378
|
+
sourceMachineId: string;
|
|
6379
|
+
targetOperationId: string;
|
|
6380
|
+
toolsIds: number[];
|
|
6381
|
+
}
|
|
6265
6382
|
export declare class ProgramFileDto implements IProgramFileDto {
|
|
6266
6383
|
name: string;
|
|
6267
6384
|
version: number;
|
|
@@ -6383,100 +6500,6 @@ export interface ICncToolSubTypeDto {
|
|
|
6383
6500
|
descriptionHelperText: string;
|
|
6384
6501
|
holderDescriptionHelperText: string;
|
|
6385
6502
|
}
|
|
6386
|
-
export declare class CncToolDto implements ICncToolDto {
|
|
6387
|
-
id: number;
|
|
6388
|
-
toolTypeId: string;
|
|
6389
|
-
toolType: string;
|
|
6390
|
-
toolSubTypeId: string;
|
|
6391
|
-
toolSubTypeName: string;
|
|
6392
|
-
toolNumber?: string | null;
|
|
6393
|
-
toolSuffix?: string | null;
|
|
6394
|
-
description?: string | null;
|
|
6395
|
-
holderDescription?: string | null;
|
|
6396
|
-
geometry?: string | null;
|
|
6397
|
-
size?: string | null;
|
|
6398
|
-
diameter?: number | null;
|
|
6399
|
-
grade?: string | null;
|
|
6400
|
-
radius?: number | null;
|
|
6401
|
-
width?: number | null;
|
|
6402
|
-
pitch?: string | null;
|
|
6403
|
-
length?: number | null;
|
|
6404
|
-
kapr?: number | null;
|
|
6405
|
-
teeth?: number | null;
|
|
6406
|
-
stickOut?: number | null;
|
|
6407
|
-
apmx?: number | null;
|
|
6408
|
-
usableLength?: number | null;
|
|
6409
|
-
images?: ImageFileDto[];
|
|
6410
|
-
auditInfo?: CncSetupAuditDto;
|
|
6411
|
-
constructor(data?: ICncToolDto);
|
|
6412
|
-
init(_data?: any): void;
|
|
6413
|
-
static fromJS(data: any): CncToolDto;
|
|
6414
|
-
toJSON(data?: any): any;
|
|
6415
|
-
}
|
|
6416
|
-
export interface ICncToolDto {
|
|
6417
|
-
id: number;
|
|
6418
|
-
toolTypeId: string;
|
|
6419
|
-
toolType: string;
|
|
6420
|
-
toolSubTypeId: string;
|
|
6421
|
-
toolSubTypeName: string;
|
|
6422
|
-
toolNumber?: string | null;
|
|
6423
|
-
toolSuffix?: string | null;
|
|
6424
|
-
description?: string | null;
|
|
6425
|
-
holderDescription?: string | null;
|
|
6426
|
-
geometry?: string | null;
|
|
6427
|
-
size?: string | null;
|
|
6428
|
-
diameter?: number | null;
|
|
6429
|
-
grade?: string | null;
|
|
6430
|
-
radius?: number | null;
|
|
6431
|
-
width?: number | null;
|
|
6432
|
-
pitch?: string | null;
|
|
6433
|
-
length?: number | null;
|
|
6434
|
-
kapr?: number | null;
|
|
6435
|
-
teeth?: number | null;
|
|
6436
|
-
stickOut?: number | null;
|
|
6437
|
-
apmx?: number | null;
|
|
6438
|
-
usableLength?: number | null;
|
|
6439
|
-
images?: ImageFileDto[];
|
|
6440
|
-
auditInfo?: CncSetupAuditDto;
|
|
6441
|
-
}
|
|
6442
|
-
export declare class ImageFileDto implements IImageFileDto {
|
|
6443
|
-
url: string;
|
|
6444
|
-
name: string;
|
|
6445
|
-
thumbnailUrl?: string | null;
|
|
6446
|
-
constructor(data?: IImageFileDto);
|
|
6447
|
-
init(_data?: any): void;
|
|
6448
|
-
static fromJS(data: any): ImageFileDto;
|
|
6449
|
-
toJSON(data?: any): any;
|
|
6450
|
-
}
|
|
6451
|
-
export interface IImageFileDto {
|
|
6452
|
-
url: string;
|
|
6453
|
-
name: string;
|
|
6454
|
-
thumbnailUrl?: string | null;
|
|
6455
|
-
}
|
|
6456
|
-
export declare class CncSetupAuditDto implements ICncSetupAuditDto {
|
|
6457
|
-
created: Date;
|
|
6458
|
-
createdBy: string;
|
|
6459
|
-
createdById: string;
|
|
6460
|
-
createdByName?: string | null;
|
|
6461
|
-
updated?: Date | null;
|
|
6462
|
-
updatedBy?: string | null;
|
|
6463
|
-
updatedById?: string | null;
|
|
6464
|
-
updatedByName?: string | null;
|
|
6465
|
-
constructor(data?: ICncSetupAuditDto);
|
|
6466
|
-
init(_data?: any): void;
|
|
6467
|
-
static fromJS(data: any): CncSetupAuditDto;
|
|
6468
|
-
toJSON(data?: any): any;
|
|
6469
|
-
}
|
|
6470
|
-
export interface ICncSetupAuditDto {
|
|
6471
|
-
created: Date;
|
|
6472
|
-
createdBy: string;
|
|
6473
|
-
createdById: string;
|
|
6474
|
-
createdByName?: string | null;
|
|
6475
|
-
updated?: Date | null;
|
|
6476
|
-
updatedBy?: string | null;
|
|
6477
|
-
updatedById?: string | null;
|
|
6478
|
-
updatedByName?: string | null;
|
|
6479
|
-
}
|
|
6480
6503
|
export declare class CreateCncMachineOperationToolRequest implements ICreateCncMachineOperationToolRequest {
|
|
6481
6504
|
toolTypeId: string;
|
|
6482
6505
|
toolSubTypeId: string;
|