@ignos/api-client 20240320.0.9041 → 20240404.0.9072

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.
@@ -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
  }
@@ -1379,6 +1388,7 @@ export interface IMesProductionOrderClient {
1379
1388
  checkProductionOrderForOpenNonConformances(id: string): Promise<boolean>;
1380
1389
  getProductionOrderOpenNonConformances(id: string, onlyOpen: boolean | undefined): Promise<NonConformanceDto[]>;
1381
1390
  postMaterialPickList(id: string, operationNumber: number, request: PostMaterialPickListRequest): Promise<MaterialPickListResultDto>;
1391
+ listProductionOrderActivities(id: string, operation: number | null | undefined): Promise<ProductionOrderOperationActivityDto[]>;
1382
1392
  }
1383
1393
  export declare class MesProductionOrderClient extends AuthorizedApiBase implements IMesProductionOrderClient {
1384
1394
  private http;
@@ -1399,6 +1409,8 @@ export declare class MesProductionOrderClient extends AuthorizedApiBase implemen
1399
1409
  protected processGetProductionOrderOpenNonConformances(response: Response): Promise<NonConformanceDto[]>;
1400
1410
  postMaterialPickList(id: string, operationNumber: number, request: PostMaterialPickListRequest): Promise<MaterialPickListResultDto>;
1401
1411
  protected processPostMaterialPickList(response: Response): Promise<MaterialPickListResultDto>;
1412
+ listProductionOrderActivities(id: string, operation: number | null | undefined): Promise<ProductionOrderOperationActivityDto[]>;
1413
+ protected processListProductionOrderActivities(response: Response): Promise<ProductionOrderOperationActivityDto[]>;
1402
1414
  }
1403
1415
  export interface IMesProductionScheduleClient {
1404
1416
  listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: string | null | undefined, pageSize: number | undefined, continuationToken: string | null | undefined, workOrderId: string | null | undefined, projectId: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, material: string | null | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
@@ -6262,6 +6274,114 @@ export interface ICopyCncMachineOperationDto {
6262
6274
  copyTools: boolean;
6263
6275
  copyFiles: boolean;
6264
6276
  }
6277
+ export declare class CncToolDto implements ICncToolDto {
6278
+ id: number;
6279
+ toolTypeId: string;
6280
+ toolType: string;
6281
+ toolSubTypeId: string;
6282
+ toolSubTypeName: string;
6283
+ toolNumber?: string | null;
6284
+ toolSuffix?: string | null;
6285
+ description?: string | null;
6286
+ holderDescription?: string | null;
6287
+ geometry?: string | null;
6288
+ size?: string | null;
6289
+ diameter?: number | null;
6290
+ grade?: string | null;
6291
+ radius?: number | null;
6292
+ width?: number | null;
6293
+ pitch?: string | null;
6294
+ length?: number | null;
6295
+ kapr?: number | null;
6296
+ teeth?: number | null;
6297
+ stickOut?: number | null;
6298
+ apmx?: number | null;
6299
+ usableLength?: number | null;
6300
+ images?: ImageFileDto[];
6301
+ auditInfo?: CncSetupAuditDto;
6302
+ constructor(data?: ICncToolDto);
6303
+ init(_data?: any): void;
6304
+ static fromJS(data: any): CncToolDto;
6305
+ toJSON(data?: any): any;
6306
+ }
6307
+ export interface ICncToolDto {
6308
+ id: number;
6309
+ toolTypeId: string;
6310
+ toolType: string;
6311
+ toolSubTypeId: string;
6312
+ toolSubTypeName: string;
6313
+ toolNumber?: string | null;
6314
+ toolSuffix?: string | null;
6315
+ description?: string | null;
6316
+ holderDescription?: string | null;
6317
+ geometry?: string | null;
6318
+ size?: string | null;
6319
+ diameter?: number | null;
6320
+ grade?: string | null;
6321
+ radius?: number | null;
6322
+ width?: number | null;
6323
+ pitch?: string | null;
6324
+ length?: number | null;
6325
+ kapr?: number | null;
6326
+ teeth?: number | null;
6327
+ stickOut?: number | null;
6328
+ apmx?: number | null;
6329
+ usableLength?: number | null;
6330
+ images?: ImageFileDto[];
6331
+ auditInfo?: CncSetupAuditDto;
6332
+ }
6333
+ export declare class ImageFileDto implements IImageFileDto {
6334
+ url: string;
6335
+ name: string;
6336
+ thumbnailUrl?: string | null;
6337
+ constructor(data?: IImageFileDto);
6338
+ init(_data?: any): void;
6339
+ static fromJS(data: any): ImageFileDto;
6340
+ toJSON(data?: any): any;
6341
+ }
6342
+ export interface IImageFileDto {
6343
+ url: string;
6344
+ name: string;
6345
+ thumbnailUrl?: string | null;
6346
+ }
6347
+ export declare class CncSetupAuditDto implements ICncSetupAuditDto {
6348
+ created: Date;
6349
+ createdBy: string;
6350
+ createdById: string;
6351
+ createdByName?: string | null;
6352
+ updated?: Date | null;
6353
+ updatedBy?: string | null;
6354
+ updatedById?: string | null;
6355
+ updatedByName?: string | null;
6356
+ constructor(data?: ICncSetupAuditDto);
6357
+ init(_data?: any): void;
6358
+ static fromJS(data: any): CncSetupAuditDto;
6359
+ toJSON(data?: any): any;
6360
+ }
6361
+ export interface ICncSetupAuditDto {
6362
+ created: Date;
6363
+ createdBy: string;
6364
+ createdById: string;
6365
+ createdByName?: string | null;
6366
+ updated?: Date | null;
6367
+ updatedBy?: string | null;
6368
+ updatedById?: string | null;
6369
+ updatedByName?: string | null;
6370
+ }
6371
+ export declare class CopyToolsCncMachine implements ICopyToolsCncMachine {
6372
+ sourceMachineId: string;
6373
+ targetOperationId: string;
6374
+ toolsIds: number[];
6375
+ constructor(data?: ICopyToolsCncMachine);
6376
+ init(_data?: any): void;
6377
+ static fromJS(data: any): CopyToolsCncMachine;
6378
+ toJSON(data?: any): any;
6379
+ }
6380
+ export interface ICopyToolsCncMachine {
6381
+ sourceMachineId: string;
6382
+ targetOperationId: string;
6383
+ toolsIds: number[];
6384
+ }
6265
6385
  export declare class ProgramFileDto implements IProgramFileDto {
6266
6386
  name: string;
6267
6387
  version: number;
@@ -6383,100 +6503,6 @@ export interface ICncToolSubTypeDto {
6383
6503
  descriptionHelperText: string;
6384
6504
  holderDescriptionHelperText: string;
6385
6505
  }
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
6506
  export declare class CreateCncMachineOperationToolRequest implements ICreateCncMachineOperationToolRequest {
6481
6507
  toolTypeId: string;
6482
6508
  toolSubTypeId: string;
@@ -7688,6 +7714,38 @@ export interface IPickListMaterialLineDto {
7688
7714
  quantity: number;
7689
7715
  batch?: string | null;
7690
7716
  }
7717
+ export declare class ProductionOrderOperationActivityDto implements IProductionOrderOperationActivityDto {
7718
+ operation: number;
7719
+ operationId: string;
7720
+ description?: string | null;
7721
+ resource?: ResourceDto | null;
7722
+ user?: UserDto | null;
7723
+ startTime: Date;
7724
+ endTime?: Date | null;
7725
+ status: OperationStatusDto;
7726
+ active: boolean;
7727
+ startedQuantity?: number | null;
7728
+ producedQuantity?: number | null;
7729
+ scrappedQuantity?: number | null;
7730
+ constructor(data?: IProductionOrderOperationActivityDto);
7731
+ init(_data?: any): void;
7732
+ static fromJS(data: any): ProductionOrderOperationActivityDto;
7733
+ toJSON(data?: any): any;
7734
+ }
7735
+ export interface IProductionOrderOperationActivityDto {
7736
+ operation: number;
7737
+ operationId: string;
7738
+ description?: string | null;
7739
+ resource?: ResourceDto | null;
7740
+ user?: UserDto | null;
7741
+ startTime: Date;
7742
+ endTime?: Date | null;
7743
+ status: OperationStatusDto;
7744
+ active: boolean;
7745
+ startedQuantity?: number | null;
7746
+ producedQuantity?: number | null;
7747
+ scrappedQuantity?: number | null;
7748
+ }
7691
7749
  export declare class PagedResultOfProductionScheduleOperationDto implements IPagedResultOfProductionScheduleOperationDto {
7692
7750
  results: ProductionScheduleOperationDto[];
7693
7751
  continuationToken?: string | null;