@ignos/api-client 20260810.213.1-alpha → 20260810.214.1-alpha

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.
@@ -2522,7 +2522,7 @@ export interface IMesProductionOrderAttachmentClient {
2522
2522
  * @param url (optional)
2523
2523
  */
2524
2524
  upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<void>;
2525
- getAttachments(id: string): Promise<WorkOrderAttachmentDto[]>;
2525
+ getAttachments(id: string): Promise<ProductionOrderAttachmentDto[]>;
2526
2526
  /**
2527
2527
  * Update an existing Note or Url attachment in place
2528
2528
  */
@@ -2546,8 +2546,8 @@ export declare class MesProductionOrderAttachmentClient extends AuthorizedApiBas
2546
2546
  */
2547
2547
  upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<void>;
2548
2548
  protected processUpload(response: Response): Promise<void>;
2549
- getAttachments(id: string): Promise<WorkOrderAttachmentDto[]>;
2550
- protected processGetAttachments(response: Response): Promise<WorkOrderAttachmentDto[]>;
2549
+ getAttachments(id: string): Promise<ProductionOrderAttachmentDto[]>;
2550
+ protected processGetAttachments(response: Response): Promise<ProductionOrderAttachmentDto[]>;
2551
2551
  /**
2552
2552
  * Update an existing Note or Url attachment in place
2553
2553
  */
@@ -7510,17 +7510,14 @@ export interface UpdateProductionOrderAttachmentRequest {
7510
7510
  notes?: string | null;
7511
7511
  url?: string | null;
7512
7512
  }
7513
- export interface WorkOrderAttachmentDto {
7514
- createdBy?: UserDto | null;
7515
- created?: Date | null;
7516
- modifiedBy?: UserDto | null;
7517
- modified?: Date | null;
7518
- attachmentId?: number | null;
7513
+ export interface ProductionOrderAttachmentDto {
7514
+ attachmentId: number;
7519
7515
  name?: string | null;
7520
7516
  fileName?: string | null;
7521
7517
  notes?: string | null;
7522
7518
  attachmentType?: ProductionOrderAttachmentType | null;
7523
- canDelete?: boolean;
7519
+ addedBy?: string | null;
7520
+ canDelete: boolean;
7524
7521
  }
7525
7522
  export interface ProductionOrderDto {
7526
7523
  id: string;
@@ -7580,6 +7577,17 @@ export interface ProductionOrderOperationDto {
7580
7577
  productionStatus: OperationStatusDto;
7581
7578
  setupStatus?: OperationStatusDto | null;
7582
7579
  }
7580
+ export interface WorkOrderAttachmentDto {
7581
+ createdBy?: UserDto | null;
7582
+ created?: Date | null;
7583
+ modifiedBy?: UserDto | null;
7584
+ modified?: Date | null;
7585
+ attachmentId?: number | null;
7586
+ name?: string | null;
7587
+ fileName?: string | null;
7588
+ notes?: string | null;
7589
+ attachmentType?: ProductionOrderAttachmentType | null;
7590
+ }
7583
7591
  export interface DrawingDto {
7584
7592
  drawingNumber: string;
7585
7593
  revision: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20260810.213.1-alpha",
3
+ "version": "20260810.214.1-alpha",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -22462,7 +22462,7 @@ export interface IMesProductionOrderAttachmentClient {
22462
22462
  */
22463
22463
  upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<void>;
22464
22464
 
22465
- getAttachments(id: string): Promise<WorkOrderAttachmentDto[]>;
22465
+ getAttachments(id: string): Promise<ProductionOrderAttachmentDto[]>;
22466
22466
 
22467
22467
  /**
22468
22468
  * Update an existing Note or Url attachment in place
@@ -22542,7 +22542,7 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
22542
22542
  return Promise.resolve<void>(null as any);
22543
22543
  }
22544
22544
 
22545
- getAttachments(id: string): Promise<WorkOrderAttachmentDto[]> {
22545
+ getAttachments(id: string): Promise<ProductionOrderAttachmentDto[]> {
22546
22546
  let url_ = this.baseUrl + "/mes/productionorders/{id}/attachments";
22547
22547
  if (id === undefined || id === null)
22548
22548
  throw new globalThis.Error("The parameter 'id' must be defined.");
@@ -22563,13 +22563,13 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
22563
22563
  });
22564
22564
  }
22565
22565
 
22566
- protected processGetAttachments(response: Response): Promise<WorkOrderAttachmentDto[]> {
22566
+ protected processGetAttachments(response: Response): Promise<ProductionOrderAttachmentDto[]> {
22567
22567
  const status = response.status;
22568
22568
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22569
22569
  if (status === 200) {
22570
22570
  return response.text().then((_responseText) => {
22571
22571
  let result200: any = null;
22572
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as WorkOrderAttachmentDto[];
22572
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ProductionOrderAttachmentDto[];
22573
22573
  return result200;
22574
22574
  });
22575
22575
  } else if (status !== 200 && status !== 204) {
@@ -22577,7 +22577,7 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
22577
22577
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22578
22578
  });
22579
22579
  }
22580
- return Promise.resolve<WorkOrderAttachmentDto[]>(null as any);
22580
+ return Promise.resolve<ProductionOrderAttachmentDto[]>(null as any);
22581
22581
  }
22582
22582
 
22583
22583
  /**
@@ -35837,17 +35837,14 @@ export interface UpdateProductionOrderAttachmentRequest {
35837
35837
  url?: string | null;
35838
35838
  }
35839
35839
 
35840
- export interface WorkOrderAttachmentDto {
35841
- createdBy?: UserDto | null;
35842
- created?: Date | null;
35843
- modifiedBy?: UserDto | null;
35844
- modified?: Date | null;
35845
- attachmentId?: number | null;
35840
+ export interface ProductionOrderAttachmentDto {
35841
+ attachmentId: number;
35846
35842
  name?: string | null;
35847
35843
  fileName?: string | null;
35848
35844
  notes?: string | null;
35849
35845
  attachmentType?: ProductionOrderAttachmentType | null;
35850
- canDelete?: boolean;
35846
+ addedBy?: string | null;
35847
+ canDelete: boolean;
35851
35848
  }
35852
35849
 
35853
35850
  export interface ProductionOrderDto {
@@ -35910,6 +35907,18 @@ export interface ProductionOrderOperationDto {
35910
35907
  setupStatus?: OperationStatusDto | null;
35911
35908
  }
35912
35909
 
35910
+ export interface WorkOrderAttachmentDto {
35911
+ createdBy?: UserDto | null;
35912
+ created?: Date | null;
35913
+ modifiedBy?: UserDto | null;
35914
+ modified?: Date | null;
35915
+ attachmentId?: number | null;
35916
+ name?: string | null;
35917
+ fileName?: string | null;
35918
+ notes?: string | null;
35919
+ attachmentType?: ProductionOrderAttachmentType | null;
35920
+ }
35921
+
35913
35922
  export interface DrawingDto {
35914
35923
  drawingNumber: string;
35915
35924
  revision: string;