@ignos/api-client 20260811.217.1 → 20260811.219.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.
@@ -2289,7 +2289,6 @@ export declare class MoveNotificationsClient extends AuthorizedApiBase implement
2289
2289
  }
2290
2290
  export interface IMoveParcelsClient {
2291
2291
  searchParcels(input: string | null | undefined, pageSize: number | null | undefined): Promise<SearchParcelDto[]>;
2292
- searchParcelsV2(input: string | null | undefined, pageSize: number | null | undefined): Promise<SearchParcelDto[]>;
2293
2292
  }
2294
2293
  export declare class MoveParcelsClient extends AuthorizedApiBase implements IMoveParcelsClient {
2295
2294
  private http;
@@ -2299,8 +2298,6 @@ export declare class MoveParcelsClient extends AuthorizedApiBase implements IMov
2299
2298
  });
2300
2299
  searchParcels(input: string | null | undefined, pageSize: number | null | undefined): Promise<SearchParcelDto[]>;
2301
2300
  protected processSearchParcels(response: Response): Promise<SearchParcelDto[]>;
2302
- searchParcelsV2(input: string | null | undefined, pageSize: number | null | undefined): Promise<SearchParcelDto[]>;
2303
- protected processSearchParcelsV2(response: Response): Promise<SearchParcelDto[]>;
2304
2301
  }
2305
2302
  export interface IMoveTrackingClient {
2306
2303
  listTrackingHistory(request: TrackingRequestListDto): Promise<TrackingParcelListDto>;
@@ -2463,6 +2460,7 @@ export declare class MesLinksClient extends AuthorizedApiBase implements IMesLin
2463
2460
  }
2464
2461
  export interface IMesOrMoveClient {
2465
2462
  getPrintableLabels(request: GeneratePrintableLabel): Promise<DownloadDto>;
2463
+ postListProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]>;
2466
2464
  }
2467
2465
  export declare class MesOrMoveClient extends AuthorizedApiBase implements IMesOrMoveClient {
2468
2466
  private http;
@@ -2472,6 +2470,8 @@ export declare class MesOrMoveClient extends AuthorizedApiBase implements IMesOr
2472
2470
  });
2473
2471
  getPrintableLabels(request: GeneratePrintableLabel): Promise<DownloadDto>;
2474
2472
  protected processGetPrintableLabels(response: Response): Promise<DownloadDto>;
2473
+ postListProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]>;
2474
+ protected processPostListProductionOrders(response: Response): Promise<ProductionOrderListDto[]>;
2475
2475
  }
2476
2476
  export interface IMesPlannerClient {
2477
2477
  getPlan(resourceGroupId: string | undefined): Promise<PlannerPlanDto>;
@@ -2521,14 +2521,10 @@ export interface IMesProductionOrderAttachmentClient {
2521
2521
  * @param notes (optional)
2522
2522
  * @param url (optional)
2523
2523
  */
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<ProductionOrderAttachmentDto[]>;
2526
- /**
2527
- * Update an existing Note or Url attachment in place
2528
- */
2529
- updateAttachment(id: string, attachmentId: number, request: UpdateProductionOrderAttachmentRequest): Promise<void>;
2524
+ upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<FileResponse>;
2525
+ getAttachments(id: string): Promise<WorkOrderAttachmentDto[]>;
2530
2526
  getAttachmentFile(id: string, attachmentId: number): Promise<FileResponse>;
2531
- deleteAttachment(id: string, attachmentId: number): Promise<void>;
2527
+ deleteAttachment(id: string, attachmentId: number): Promise<FileResponse>;
2532
2528
  }
2533
2529
  export declare class MesProductionOrderAttachmentClient extends AuthorizedApiBase implements IMesProductionOrderAttachmentClient {
2534
2530
  private http;
@@ -2544,22 +2540,16 @@ export declare class MesProductionOrderAttachmentClient extends AuthorizedApiBas
2544
2540
  * @param notes (optional)
2545
2541
  * @param url (optional)
2546
2542
  */
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
- protected processUpload(response: Response): Promise<void>;
2549
- getAttachments(id: string): Promise<ProductionOrderAttachmentDto[]>;
2550
- protected processGetAttachments(response: Response): Promise<ProductionOrderAttachmentDto[]>;
2551
- /**
2552
- * Update an existing Note or Url attachment in place
2553
- */
2554
- updateAttachment(id: string, attachmentId: number, request: UpdateProductionOrderAttachmentRequest): Promise<void>;
2555
- protected processUpdateAttachment(response: Response): Promise<void>;
2543
+ upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<FileResponse>;
2544
+ protected processUpload(response: Response): Promise<FileResponse>;
2545
+ getAttachments(id: string): Promise<WorkOrderAttachmentDto[]>;
2546
+ protected processGetAttachments(response: Response): Promise<WorkOrderAttachmentDto[]>;
2556
2547
  getAttachmentFile(id: string, attachmentId: number): Promise<FileResponse>;
2557
2548
  protected processGetAttachmentFile(response: Response): Promise<FileResponse>;
2558
- deleteAttachment(id: string, attachmentId: number): Promise<void>;
2559
- protected processDeleteAttachment(response: Response): Promise<void>;
2549
+ deleteAttachment(id: string, attachmentId: number): Promise<FileResponse>;
2550
+ protected processDeleteAttachment(response: Response): Promise<FileResponse>;
2560
2551
  }
2561
2552
  export interface IMesProductionOrderClient {
2562
- listProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]>;
2563
2553
  getProductionOrder(id: string): Promise<ProductionOrderDto>;
2564
2554
  getProductionOrderBom(id: string, operation: number | null | undefined): Promise<ProductionOrderBomDto[]>;
2565
2555
  getProductionOrderPickListSuggestion(id: string, operation: number | undefined): Promise<PickListSuggestionDto[]>;
@@ -2576,8 +2566,6 @@ export declare class MesProductionOrderClient extends AuthorizedApiBase implemen
2576
2566
  constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2577
2567
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2578
2568
  });
2579
- listProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]>;
2580
- protected processListProductionOrders(response: Response): Promise<ProductionOrderListDto[]>;
2581
2569
  getProductionOrder(id: string): Promise<ProductionOrderDto>;
2582
2570
  protected processGetProductionOrder(response: Response): Promise<ProductionOrderDto>;
2583
2571
  getProductionOrderBom(id: string, operation: number | null | undefined): Promise<ProductionOrderBomDto[]>;
@@ -2873,6 +2861,69 @@ export declare class InspectMatchSpecificationsClient extends AuthorizedApiBase
2873
2861
  listSpecifications(): Promise<ImaSpecificationLiteDto[]>;
2874
2862
  protected processListSpecifications(response: Response): Promise<ImaSpecificationLiteDto[]>;
2875
2863
  }
2864
+ export interface IInspectSchemaCreatorClient {
2865
+ getSchemaCreatorState(id: string): Promise<SchemaCreatorStateDto>;
2866
+ /**
2867
+ * Creates the initial creator state for a schema version. Returns 409 if
2868
+ state already exists; the caller should re-fetch it instead of writing.
2869
+ */
2870
+ createSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
2871
+ updateSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
2872
+ /**
2873
+ * Starts a full drawing AI parse: clears every element and locks the
2874
+ schema for every viewer until it completes. If one is already in
2875
+ progress, returns that instead of starting a second one.
2876
+ */
2877
+ requestFullDrawingParse(id: string): Promise<SchemaCreatorStateDto>;
2878
+ /**
2879
+ * Stamps the creator state's balloons onto the schema's drawing PDF and
2880
+ returns a temporary download link.
2881
+ */
2882
+ exportSchemaCreatorDrawing(id: string): Promise<DownloadDto>;
2883
+ /**
2884
+ * Starts an async snip resolve; the result is delivered through the
2885
+ SchemaCreatorSnipResolved SignalR notification.
2886
+ * @param image (optional)
2887
+ */
2888
+ resolveSchemaCreatorSnip(id: string, elementId: string, image: FileParameter | null | undefined): Promise<FileResponse>;
2889
+ }
2890
+ export declare class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
2891
+ private http;
2892
+ private baseUrl;
2893
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2894
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2895
+ });
2896
+ getSchemaCreatorState(id: string): Promise<SchemaCreatorStateDto>;
2897
+ protected processGetSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
2898
+ /**
2899
+ * Creates the initial creator state for a schema version. Returns 409 if
2900
+ state already exists; the caller should re-fetch it instead of writing.
2901
+ */
2902
+ createSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
2903
+ protected processCreateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
2904
+ updateSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
2905
+ protected processUpdateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
2906
+ /**
2907
+ * Starts a full drawing AI parse: clears every element and locks the
2908
+ schema for every viewer until it completes. If one is already in
2909
+ progress, returns that instead of starting a second one.
2910
+ */
2911
+ requestFullDrawingParse(id: string): Promise<SchemaCreatorStateDto>;
2912
+ protected processRequestFullDrawingParse(response: Response): Promise<SchemaCreatorStateDto>;
2913
+ /**
2914
+ * Stamps the creator state's balloons onto the schema's drawing PDF and
2915
+ returns a temporary download link.
2916
+ */
2917
+ exportSchemaCreatorDrawing(id: string): Promise<DownloadDto>;
2918
+ protected processExportSchemaCreatorDrawing(response: Response): Promise<DownloadDto>;
2919
+ /**
2920
+ * Starts an async snip resolve; the result is delivered through the
2921
+ SchemaCreatorSnipResolved SignalR notification.
2922
+ * @param image (optional)
2923
+ */
2924
+ resolveSchemaCreatorSnip(id: string, elementId: string, image: FileParameter | null | undefined): Promise<FileResponse>;
2925
+ protected processResolveSchemaCreatorSnip(response: Response): Promise<FileResponse>;
2926
+ }
2876
2927
  export interface IMeasurementFormSchemasAdminClient {
2877
2928
  getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
2878
2929
  createMeasurementForm(request: CreateMeasurementFormSchema): Promise<MeasurementFormDto>;
@@ -7212,10 +7263,6 @@ export interface SearchParcelDto {
7212
7263
  items: SearchParcelItemDto[];
7213
7264
  partName?: string | null;
7214
7265
  partNumber?: string | null;
7215
- status?: WorkorderStatus | null;
7216
- startDate?: Date | null;
7217
- endDate?: Date | null;
7218
- deliveryDate?: Date | null;
7219
7266
  }
7220
7267
  export type SearchMatchCriteriaDto = "Tracking" | "WorkOrder" | "Parcel";
7221
7268
  export interface SearchParcelItemDto {
@@ -7408,6 +7455,37 @@ export interface LabelId {
7408
7455
  parcelId: string;
7409
7456
  trackingId?: string | null;
7410
7457
  }
7458
+ export interface ProductionOrderListDto {
7459
+ id: string;
7460
+ companyId?: string | null;
7461
+ part?: PartDto | null;
7462
+ quantity: number;
7463
+ unit?: string | null;
7464
+ status: WorkorderStatus;
7465
+ plannedStart?: Date | null;
7466
+ plannedEnd?: Date | null;
7467
+ producedQuantity: number;
7468
+ scrappedQuantity: number;
7469
+ deliveryLocation?: WarehouseLocationDto | null;
7470
+ project?: WorkOrderProjectDto | null;
7471
+ startDate?: Date | null;
7472
+ endDate?: Date | null;
7473
+ deliveryDate?: Date | null;
7474
+ bomPosition?: string | null;
7475
+ orderReference?: OrderReferenceDto | null;
7476
+ customerOrderReference?: WorkorderCustomerOrderReferenceDto | null;
7477
+ }
7478
+ export interface OrderReferenceDto {
7479
+ orderReferenceType?: OrderReferenceTypeDto;
7480
+ orderNumber?: string;
7481
+ orderLineNumber?: number | null;
7482
+ }
7483
+ export type OrderReferenceTypeDto = "ProductionOrder" | "PurchaseOrder" | "SalesOrder";
7484
+ export interface ListProductionOrdersRequest {
7485
+ search: string;
7486
+ searchType: SearchTypeDto;
7487
+ maxResults?: number | null;
7488
+ }
7411
7489
  export interface PlannerPlanDto {
7412
7490
  resourceGroupId: string;
7413
7491
  sequence: PlannerOperationDto[];
@@ -7511,51 +7589,16 @@ export interface SetProgramStatus {
7511
7589
  status?: ProgramStatus;
7512
7590
  }
7513
7591
  export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File";
7514
- export interface UpdateProductionOrderAttachmentRequest {
7515
- type?: ProductionOrderAttachmentType;
7516
- description: string;
7517
- notes?: string | null;
7518
- url?: string | null;
7519
- }
7520
- export interface ProductionOrderAttachmentDto {
7521
- attachmentId: number;
7592
+ export interface WorkOrderAttachmentDto {
7593
+ createdBy?: UserDto | null;
7594
+ created?: Date | null;
7595
+ modifiedBy?: UserDto | null;
7596
+ modified?: Date | null;
7597
+ attachmentId?: number | null;
7522
7598
  name?: string | null;
7523
7599
  fileName?: string | null;
7524
7600
  notes?: string | null;
7525
- attachmentType?: ProductionOrderAttachmentType | null;
7526
- addedBy?: string | null;
7527
- canDelete: boolean;
7528
- }
7529
- export interface ProductionOrderListDto {
7530
- id: string;
7531
- companyId?: string | null;
7532
- part?: PartDto | null;
7533
- quantity: number;
7534
- unit?: string | null;
7535
- status: WorkorderStatus;
7536
- plannedStart?: Date | null;
7537
- plannedEnd?: Date | null;
7538
- producedQuantity: number;
7539
- scrappedQuantity: number;
7540
- deliveryLocation?: WarehouseLocationDto | null;
7541
- project?: WorkOrderProjectDto | null;
7542
- startDate?: Date | null;
7543
- endDate?: Date | null;
7544
- deliveryDate?: Date | null;
7545
- bomPosition?: string | null;
7546
- orderReference?: OrderReferenceDto | null;
7547
- customerOrderReference?: WorkorderCustomerOrderReferenceDto | null;
7548
- }
7549
- export interface OrderReferenceDto {
7550
- orderReferenceType?: OrderReferenceTypeDto;
7551
- orderNumber?: string;
7552
- orderLineNumber?: number | null;
7553
- }
7554
- export type OrderReferenceTypeDto = "ProductionOrder" | "PurchaseOrder" | "SalesOrder";
7555
- export interface ListProductionOrdersRequest {
7556
- search: string;
7557
- searchType: SearchTypeDto;
7558
- maxResults?: number | null;
7601
+ attachmentType?: string | null;
7559
7602
  }
7560
7603
  export interface ProductionOrderDto {
7561
7604
  id: string;
@@ -7615,17 +7658,6 @@ export interface ProductionOrderOperationDto {
7615
7658
  productionStatus: OperationStatusDto;
7616
7659
  setupStatus?: OperationStatusDto | null;
7617
7660
  }
7618
- export interface WorkOrderAttachmentDto {
7619
- createdBy?: UserDto | null;
7620
- created?: Date | null;
7621
- modifiedBy?: UserDto | null;
7622
- modified?: Date | null;
7623
- attachmentId?: number | null;
7624
- name?: string | null;
7625
- fileName?: string | null;
7626
- notes?: string | null;
7627
- attachmentType?: string | null;
7628
- }
7629
7661
  export interface ProductionOrderBomDto {
7630
7662
  position: string;
7631
7663
  lineNumber: number;
@@ -9037,6 +9069,80 @@ export interface ImaSpecificationLiteDto {
9037
9069
  updated: Date;
9038
9070
  isDeleted: boolean;
9039
9071
  }
9072
+ export interface SchemaCreatorStateDto {
9073
+ settings: SchemaCreatorSettingsDto;
9074
+ elements: SchemaCreatorElementDto[];
9075
+ fullParse?: SchemaCreatorFullParseStatusDto | null;
9076
+ }
9077
+ export interface SchemaCreatorSettingsDto {
9078
+ unit?: UnitOfMeasureDto;
9079
+ tolerance?: GeneralToleranceDto;
9080
+ balloonSize?: number;
9081
+ }
9082
+ export type UnitOfMeasureDto = "Millimeter" | "Inch";
9083
+ export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
9084
+ export interface SchemaCreatorElementDto {
9085
+ id: string;
9086
+ kind: SchemaCreatorElementKindDto;
9087
+ drawings: SchemaCreatorElementDrawingsDto;
9088
+ isDirty?: boolean | null;
9089
+ values?: SchemaCreatorElementValuesDto | null;
9090
+ parseResult?: SchemaCreatorSnipResultDto | null;
9091
+ }
9092
+ export type SchemaCreatorElementKindDto = "Pending" | "Auto" | "Manual";
9093
+ export interface SchemaCreatorElementDrawingsDto {
9094
+ square: SchemaCreatorDrawingDto;
9095
+ circle: SchemaCreatorDrawingDto;
9096
+ textId: string;
9097
+ }
9098
+ export interface SchemaCreatorDrawingDto {
9099
+ rect: SchemaCreatorRectDto;
9100
+ pageIndex: number;
9101
+ annotationId: string;
9102
+ rotation?: number | null;
9103
+ unrotatedRect?: SchemaCreatorRectDto | null;
9104
+ }
9105
+ export interface SchemaCreatorRectDto {
9106
+ origin: SchemaCreatorPointDto;
9107
+ size: SchemaCreatorSizeDto;
9108
+ }
9109
+ export interface SchemaCreatorPointDto {
9110
+ x: number;
9111
+ y: number;
9112
+ }
9113
+ export interface SchemaCreatorSizeDto {
9114
+ width: number;
9115
+ height: number;
9116
+ }
9117
+ export interface SchemaCreatorElementValuesDto {
9118
+ reference: number;
9119
+ nominal?: number | null;
9120
+ nominalText?: string | null;
9121
+ plusTolerance?: number | null;
9122
+ minusTolerance?: number | null;
9123
+ coatingThickness?: number | null;
9124
+ measurementFrequency: MeasurementFrequency;
9125
+ measurementFrequencyParameter?: number | null;
9126
+ type?: string | null;
9127
+ count?: number | null;
9128
+ comment?: string | null;
9129
+ canCopy: boolean;
9130
+ visibleToCustomer: boolean;
9131
+ isDocumentedExternally: boolean;
9132
+ }
9133
+ export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
9134
+ export interface SchemaCreatorSnipResultDto {
9135
+ nominal?: number | null;
9136
+ nominalText?: string | null;
9137
+ plusTolerance?: number | null;
9138
+ minusTolerance?: number | null;
9139
+ coatingThickness?: number | null;
9140
+ count?: number | null;
9141
+ }
9142
+ export interface SchemaCreatorFullParseStatusDto {
9143
+ inProgress: boolean;
9144
+ startedAt?: Date | null;
9145
+ }
9040
9146
  export interface MeasurementFormSchemaDto {
9041
9147
  id: string;
9042
9148
  versionId: number;
@@ -9068,9 +9174,7 @@ export interface MeasurementFormSchemaDto {
9068
9174
  }
9069
9175
  export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
9070
9176
  export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
9071
- export type UnitOfMeasureDto = "Millimeter" | "Inch";
9072
9177
  export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
9073
- export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
9074
9178
  export interface MeasurementFormSchemaAttachmentDto {
9075
9179
  url: string;
9076
9180
  title: string;
@@ -9119,7 +9223,6 @@ export interface MeasurementFormGroupedElementDto {
9119
9223
  isValid: boolean;
9120
9224
  validationErrorMessage?: string | null;
9121
9225
  }
9122
- export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
9123
9226
  export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
9124
9227
  export type BonusType = "None" | "Positive" | "PositiveAndNegative";
9125
9228
  export interface MeasurementFormLinkedSchemaDto {