@ignos/api-client 20260914.278.1-alpha → 20260917.279.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.
- package/lib/AuthorizedApiBase.js +28 -27
- package/lib/ignosportal-api.d.ts +229 -24
- package/lib/ignosportal-api.js +772 -163
- package/package.json +2 -2
- package/src/ignosportal-api.ts +655 -66
- package/tsconfig.json +3 -2
package/lib/AuthorizedApiBase.js
CHANGED
|
@@ -1,32 +1,33 @@
|
|
|
1
1
|
export class AuthorizedApiBase {
|
|
2
|
+
config;
|
|
2
3
|
constructor(config) {
|
|
3
|
-
this.transformOptions = async (options) => {
|
|
4
|
-
options.headers = {
|
|
5
|
-
...options.headers,
|
|
6
|
-
Authorization: "Bearer " + (await this.config.accessTokenProvider.getAccessToken()),
|
|
7
|
-
};
|
|
8
|
-
const tenantId = this.config.tenantIdProvider.getTenantId();
|
|
9
|
-
if (tenantId)
|
|
10
|
-
options.headers["x-tenantid"] = tenantId;
|
|
11
|
-
return options;
|
|
12
|
-
};
|
|
13
|
-
this.jsonParseReviver = (_, value) => {
|
|
14
|
-
if (typeof value !== "string")
|
|
15
|
-
return value;
|
|
16
|
-
// Matches starts with "2025-12-09T13:19:39"
|
|
17
|
-
// Will also match "2025-12-09T13:19:39.4576289+00:00"
|
|
18
|
-
const regex = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})/;
|
|
19
|
-
if (!regex.test(value))
|
|
20
|
-
return value;
|
|
21
|
-
// JS Date only supports millisecond precision (3 fractional digits).
|
|
22
|
-
// Timestamps with microseconds or higher (e.g. ".4576289") produce Invalid Date.
|
|
23
|
-
// Truncate any excess fractional digits before parsing.
|
|
24
|
-
const normalized = value.replace(/(\.\d{3})\d+/, "$1");
|
|
25
|
-
const date = new Date(normalized);
|
|
26
|
-
// Prevent values like "2025-12-09T13:19:39.4576289+00:00 bla bla bla" from being parsed as Date
|
|
27
|
-
// (values not starting with an ISO date-time are already filtered out by the regex above)
|
|
28
|
-
return isNaN(date.getTime()) ? value : date;
|
|
29
|
-
};
|
|
30
4
|
this.config = config;
|
|
31
5
|
}
|
|
6
|
+
transformOptions = async (options) => {
|
|
7
|
+
options.headers = {
|
|
8
|
+
...options.headers,
|
|
9
|
+
Authorization: "Bearer " + (await this.config.accessTokenProvider.getAccessToken()),
|
|
10
|
+
};
|
|
11
|
+
const tenantId = this.config.tenantIdProvider.getTenantId();
|
|
12
|
+
if (tenantId)
|
|
13
|
+
options.headers["x-tenantid"] = tenantId;
|
|
14
|
+
return options;
|
|
15
|
+
};
|
|
16
|
+
jsonParseReviver = (_, value) => {
|
|
17
|
+
if (typeof value !== "string")
|
|
18
|
+
return value;
|
|
19
|
+
// Matches starts with "2025-12-09T13:19:39"
|
|
20
|
+
// Will also match "2025-12-09T13:19:39.4576289+00:00"
|
|
21
|
+
const regex = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})/;
|
|
22
|
+
if (!regex.test(value))
|
|
23
|
+
return value;
|
|
24
|
+
// JS Date only supports millisecond precision (3 fractional digits).
|
|
25
|
+
// Timestamps with microseconds or higher (e.g. ".4576289") produce Invalid Date.
|
|
26
|
+
// Truncate any excess fractional digits before parsing.
|
|
27
|
+
const normalized = value.replace(/(\.\d{3})\d+/, "$1");
|
|
28
|
+
const date = new Date(normalized);
|
|
29
|
+
// Prevent values like "2025-12-09T13:19:39.4576289+00:00 bla bla bla" from being parsed as Date
|
|
30
|
+
// (values not starting with an ISO date-time are already filtered out by the regex above)
|
|
31
|
+
return isNaN(date.getTime()) ? value : date;
|
|
32
|
+
};
|
|
32
33
|
}
|
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -924,6 +924,7 @@ export interface IMrbClient {
|
|
|
924
924
|
createMrb(createMrb: CreateMrb): Promise<MrbInstanceJobDto>;
|
|
925
925
|
listRecentMrbIntances(): Promise<MrbInstanceDto[]>;
|
|
926
926
|
getMrbInstance(id: string): Promise<MrbInstanceDto>;
|
|
927
|
+
updateMrbInstanceNcInfo(id: string, request: UpdateMrbInstanceNcInfoRequest): Promise<void>;
|
|
927
928
|
listMrbInstanceRevisions(id: string): Promise<MrbInstanceRevisionDto[]>;
|
|
928
929
|
createMrbRevision(id: string, request: CreateMrbRevisionRequest): Promise<MrbInstanceJobDto>;
|
|
929
930
|
deleteMrbRevision(id: string, revisionId: number): Promise<void>;
|
|
@@ -991,6 +992,8 @@ export declare class MrbClient extends AuthorizedApiBase implements IMrbClient {
|
|
|
991
992
|
protected processListRecentMrbIntances(response: Response): Promise<MrbInstanceDto[]>;
|
|
992
993
|
getMrbInstance(id: string): Promise<MrbInstanceDto>;
|
|
993
994
|
protected processGetMrbInstance(response: Response): Promise<MrbInstanceDto>;
|
|
995
|
+
updateMrbInstanceNcInfo(id: string, request: UpdateMrbInstanceNcInfoRequest): Promise<void>;
|
|
996
|
+
protected processUpdateMrbInstanceNcInfo(response: Response): Promise<void>;
|
|
994
997
|
listMrbInstanceRevisions(id: string): Promise<MrbInstanceRevisionDto[]>;
|
|
995
998
|
protected processListMrbInstanceRevisions(response: Response): Promise<MrbInstanceRevisionDto[]>;
|
|
996
999
|
createMrbRevision(id: string, request: CreateMrbRevisionRequest): Promise<MrbInstanceJobDto>;
|
|
@@ -2654,7 +2657,6 @@ export declare class MesProductionOrderClient extends AuthorizedApiBase implemen
|
|
|
2654
2657
|
export interface IMesProductionScheduleClient {
|
|
2655
2658
|
listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: string | null | undefined, departmentNumber: 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, includeDiscussionSummary: boolean | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2656
2659
|
postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2657
|
-
postListProductionScheduleOperationsFromPlanner(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedProductionScheduleDto>;
|
|
2658
2660
|
getAvailableProductionScheduleFilters(request: GetAvailableProductionScheduleFiltersRequest | undefined): Promise<ProductionScheduleFiltersDto>;
|
|
2659
2661
|
listMyCurrentWorkActivities(): Promise<CurrentWorkActivityDto>;
|
|
2660
2662
|
startOperations(request: StartOperations): Promise<void>;
|
|
@@ -2671,8 +2673,6 @@ export declare class MesProductionScheduleClient extends AuthorizedApiBase imple
|
|
|
2671
2673
|
protected processListProductionScheduleOperations(response: Response): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2672
2674
|
postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2673
2675
|
protected processPostListProductionScheduleOperations(response: Response): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2674
|
-
postListProductionScheduleOperationsFromPlanner(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedProductionScheduleDto>;
|
|
2675
|
-
protected processPostListProductionScheduleOperationsFromPlanner(response: Response): Promise<PagedProductionScheduleDto>;
|
|
2676
2676
|
getAvailableProductionScheduleFilters(request: GetAvailableProductionScheduleFiltersRequest | undefined): Promise<ProductionScheduleFiltersDto>;
|
|
2677
2677
|
protected processGetAvailableProductionScheduleFilters(response: Response): Promise<ProductionScheduleFiltersDto>;
|
|
2678
2678
|
listMyCurrentWorkActivities(): Promise<CurrentWorkActivityDto>;
|
|
@@ -2936,6 +2936,84 @@ export declare class InspectMatchSpecificationsClient extends AuthorizedApiBase
|
|
|
2936
2936
|
listSpecifications(): Promise<ImaSpecificationLiteDto[]>;
|
|
2937
2937
|
protected processListSpecifications(response: Response): Promise<ImaSpecificationLiteDto[]>;
|
|
2938
2938
|
}
|
|
2939
|
+
export interface IInspectSchemaCreatorClient {
|
|
2940
|
+
getSchemaCreatorState(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
2941
|
+
/**
|
|
2942
|
+
* Creates the initial creator state for a schema version. Returns 409 if
|
|
2943
|
+
state already exists; the caller should re-fetch it instead of writing.
|
|
2944
|
+
*/
|
|
2945
|
+
createSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
2946
|
+
updateSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
2947
|
+
/**
|
|
2948
|
+
* Geometry only (no values), derived from the schema's retained
|
|
2949
|
+
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
2950
|
+
drawing positions. Throws BadRequest if the schema has no such XML +
|
|
2951
|
+
drawing to derive it from.
|
|
2952
|
+
*/
|
|
2953
|
+
getSchemaCreatorXmlGeometry(schemaVersionId: string): Promise<SchemaCreatorXmlGeometryDto[]>;
|
|
2954
|
+
/**
|
|
2955
|
+
* Starts a full drawing AI parse: clears every element and locks the
|
|
2956
|
+
schema for every viewer until it completes. If one is already in
|
|
2957
|
+
progress, returns that instead of starting a second one.
|
|
2958
|
+
*/
|
|
2959
|
+
requestSchemaCreatorDocumentParse(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
2960
|
+
/**
|
|
2961
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
2962
|
+
returns a temporary download link.
|
|
2963
|
+
*/
|
|
2964
|
+
exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto>;
|
|
2965
|
+
/**
|
|
2966
|
+
* Starts an async snip resolve; the result is delivered through the
|
|
2967
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
2968
|
+
* @param image (optional)
|
|
2969
|
+
*/
|
|
2970
|
+
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
2971
|
+
}
|
|
2972
|
+
export declare class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
|
|
2973
|
+
private http;
|
|
2974
|
+
private baseUrl;
|
|
2975
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
2976
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
2977
|
+
});
|
|
2978
|
+
getSchemaCreatorState(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
2979
|
+
protected processGetSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
|
|
2980
|
+
/**
|
|
2981
|
+
* Creates the initial creator state for a schema version. Returns 409 if
|
|
2982
|
+
state already exists; the caller should re-fetch it instead of writing.
|
|
2983
|
+
*/
|
|
2984
|
+
createSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
2985
|
+
protected processCreateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
|
|
2986
|
+
updateSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
2987
|
+
protected processUpdateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
|
|
2988
|
+
/**
|
|
2989
|
+
* Geometry only (no values), derived from the schema's retained
|
|
2990
|
+
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
2991
|
+
drawing positions. Throws BadRequest if the schema has no such XML +
|
|
2992
|
+
drawing to derive it from.
|
|
2993
|
+
*/
|
|
2994
|
+
getSchemaCreatorXmlGeometry(schemaVersionId: string): Promise<SchemaCreatorXmlGeometryDto[]>;
|
|
2995
|
+
protected processGetSchemaCreatorXmlGeometry(response: Response): Promise<SchemaCreatorXmlGeometryDto[]>;
|
|
2996
|
+
/**
|
|
2997
|
+
* Starts a full drawing AI parse: clears every element and locks the
|
|
2998
|
+
schema for every viewer until it completes. If one is already in
|
|
2999
|
+
progress, returns that instead of starting a second one.
|
|
3000
|
+
*/
|
|
3001
|
+
requestSchemaCreatorDocumentParse(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
3002
|
+
protected processRequestSchemaCreatorDocumentParse(response: Response): Promise<SchemaCreatorStateDto>;
|
|
3003
|
+
/**
|
|
3004
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
3005
|
+
returns a temporary download link.
|
|
3006
|
+
*/
|
|
3007
|
+
exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto>;
|
|
3008
|
+
protected processExportSchemaCreatorDrawing(response: Response): Promise<DownloadDto>;
|
|
3009
|
+
/**
|
|
3010
|
+
* Starts an async snip resolve; the result is delivered through the
|
|
3011
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
3012
|
+
* @param image (optional)
|
|
3013
|
+
*/
|
|
3014
|
+
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
3015
|
+
protected processRequestSchemaCreatorSnipParse(response: Response): Promise<void>;
|
|
3016
|
+
}
|
|
2939
3017
|
export interface IMeasurementFormSchemasAdminClient {
|
|
2940
3018
|
getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
2941
3019
|
createMeasurementForm(request: CreateMeasurementFormSchema): Promise<MeasurementFormDto>;
|
|
@@ -2947,6 +3025,10 @@ export interface IMeasurementFormSchemasAdminClient {
|
|
|
2947
3025
|
deleteSchemaRows(id: string, request: DeleteSchemaGroupedElementRowsDto): Promise<MeasurementFormSchemaDto>;
|
|
2948
3026
|
uploadMeasurementImage(id: string, request: UploadMeasurementImageRequest): Promise<MeasurementFormSchemaDto>;
|
|
2949
3027
|
updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest>;
|
|
3028
|
+
uploadSchemaMarkedDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
3029
|
+
/**
|
|
3030
|
+
* @deprecated
|
|
3031
|
+
*/
|
|
2950
3032
|
uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
2951
3033
|
uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
|
|
2952
3034
|
getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
|
|
@@ -3030,6 +3112,11 @@ export declare class MeasurementFormSchemasAdminClient extends AuthorizedApiBase
|
|
|
3030
3112
|
protected processUploadMeasurementImage(response: Response): Promise<MeasurementFormSchemaDto>;
|
|
3031
3113
|
updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest>;
|
|
3032
3114
|
protected processUpdateSchemaSettings(response: Response): Promise<UpdateSchemaSettingsRequest>;
|
|
3115
|
+
uploadSchemaMarkedDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
3116
|
+
protected processUploadSchemaMarkedDrawing(response: Response): Promise<MeasurementFormSchemaDto>;
|
|
3117
|
+
/**
|
|
3118
|
+
* @deprecated
|
|
3119
|
+
*/
|
|
3033
3120
|
uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
3034
3121
|
protected processUploadSchemaDrawing(response: Response): Promise<MeasurementFormSchemaDto>;
|
|
3035
3122
|
uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
|
|
@@ -3193,6 +3280,7 @@ export interface IMeasurementFormsInstancesClient {
|
|
|
3193
3280
|
completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
|
|
3194
3281
|
completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3195
3282
|
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3283
|
+
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto>;
|
|
3196
3284
|
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
|
|
3197
3285
|
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3198
3286
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
@@ -3231,6 +3319,8 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
|
|
|
3231
3319
|
protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3232
3320
|
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3233
3321
|
protected processGetMeasurementFormInstanceSchema(response: Response): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3322
|
+
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto>;
|
|
3323
|
+
protected processGetMeasurementFormInstanceSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
|
|
3234
3324
|
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
|
|
3235
3325
|
protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
|
|
3236
3326
|
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
@@ -4799,6 +4889,7 @@ export interface PulseJournalEventDto {
|
|
|
4799
4889
|
eventType: PulseJournalEventTypeDto;
|
|
4800
4890
|
oldValue?: string | null;
|
|
4801
4891
|
newValue?: string | null;
|
|
4892
|
+
lineText?: string | null;
|
|
4802
4893
|
created: Date;
|
|
4803
4894
|
createdBy?: string | null;
|
|
4804
4895
|
}
|
|
@@ -4977,6 +5068,7 @@ export interface MrbInstanceDto {
|
|
|
4977
5068
|
part?: MrbPartDto | null;
|
|
4978
5069
|
showSerialNumbersOnFrontPage?: boolean;
|
|
4979
5070
|
showSerialNumbersOnCoC?: boolean;
|
|
5071
|
+
ncInfo?: string | null;
|
|
4980
5072
|
}
|
|
4981
5073
|
export interface CustomerOrderLineTraceItemDto {
|
|
4982
5074
|
workOrder: string;
|
|
@@ -5019,6 +5111,9 @@ export interface MrbPartDto {
|
|
|
5019
5111
|
partName?: string | null;
|
|
5020
5112
|
partRevision?: string | null;
|
|
5021
5113
|
}
|
|
5114
|
+
export interface UpdateMrbInstanceNcInfoRequest {
|
|
5115
|
+
ncInfo?: string | null;
|
|
5116
|
+
}
|
|
5022
5117
|
export interface MrbInstanceJobDto {
|
|
5023
5118
|
jobId: string;
|
|
5024
5119
|
mrbInstanceId: string;
|
|
@@ -7570,7 +7665,6 @@ export interface PlannerPlanDto {
|
|
|
7570
7665
|
isDraft: boolean;
|
|
7571
7666
|
publishedETag?: string | null;
|
|
7572
7667
|
weeklyCapacities: WeekCapacityDto[];
|
|
7573
|
-
continuationToken?: string | null;
|
|
7574
7668
|
}
|
|
7575
7669
|
export interface PlannerOperationDto {
|
|
7576
7670
|
id: string;
|
|
@@ -7673,7 +7767,7 @@ export interface SetProgramStatus {
|
|
|
7673
7767
|
operationNumber?: number;
|
|
7674
7768
|
status?: ProgramStatus;
|
|
7675
7769
|
}
|
|
7676
|
-
export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File";
|
|
7770
|
+
export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File" | "OperationText";
|
|
7677
7771
|
export interface UpdateProductionOrderAttachmentRequest {
|
|
7678
7772
|
type?: ProductionOrderAttachmentType;
|
|
7679
7773
|
description: string;
|
|
@@ -7980,9 +8074,6 @@ export interface ProductionScheduleOperationDto {
|
|
|
7980
8074
|
programStatus?: ProgramStatus | null;
|
|
7981
8075
|
hasNotes: boolean;
|
|
7982
8076
|
notesUnread: boolean;
|
|
7983
|
-
sequenceNumber?: number | null;
|
|
7984
|
-
weekGroup?: string | null;
|
|
7985
|
-
isNewOperation?: boolean | null;
|
|
7986
8077
|
}
|
|
7987
8078
|
export interface SurroundingOperationDto {
|
|
7988
8079
|
id: string;
|
|
@@ -8036,11 +8127,6 @@ export interface ListProductionScheduleOperationsRequest {
|
|
|
8036
8127
|
before?: Date | null;
|
|
8037
8128
|
includeDiscussionSummary?: boolean;
|
|
8038
8129
|
}
|
|
8039
|
-
export interface PagedProductionScheduleDto {
|
|
8040
|
-
results: ProductionScheduleOperationDto[];
|
|
8041
|
-
weeklyCapacities: WeekCapacityDto[];
|
|
8042
|
-
continuationToken?: string | null;
|
|
8043
|
-
}
|
|
8044
8130
|
export interface ProductionScheduleFiltersDto {
|
|
8045
8131
|
partNumbers?: FilterValueWithQuantity[];
|
|
8046
8132
|
bomPositions?: FilterValueWithQuantity[];
|
|
@@ -8471,7 +8557,7 @@ export interface ImaMaterialCheckDto {
|
|
|
8471
8557
|
specificationStatus: ImaSpecificationStatusDto;
|
|
8472
8558
|
purchaseOrder?: string | null;
|
|
8473
8559
|
purchaseOrderLine?: number | null;
|
|
8474
|
-
|
|
8560
|
+
purchaseOrderBatches?: PurchaseOrderMaterialBatchDto[] | null;
|
|
8475
8561
|
purchaseOrderPartName?: string | null;
|
|
8476
8562
|
purchaseOrderPartNumber?: string | null;
|
|
8477
8563
|
purchaseOrderPartRevision?: string | null;
|
|
@@ -8491,6 +8577,11 @@ export interface ImaMaterialCheckDto {
|
|
|
8491
8577
|
specificationResults: ImaSpecificationResultsDto;
|
|
8492
8578
|
}
|
|
8493
8579
|
export type ImaSpecificationStatusDto = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
8580
|
+
export interface PurchaseOrderMaterialBatchDto {
|
|
8581
|
+
batchNumber: string;
|
|
8582
|
+
itemNumber?: string | null;
|
|
8583
|
+
vendorBatch?: string | null;
|
|
8584
|
+
}
|
|
8494
8585
|
export type ImaMaterialCheckStatusDto = "Processing" | "Draft" | "Approved" | "Rejected" | "Failed" | "NotSet";
|
|
8495
8586
|
export interface ImaCertificateTypeResultsDto {
|
|
8496
8587
|
manufacturer: ImaCertificateTypeManufacturerResultsDto;
|
|
@@ -8622,6 +8713,7 @@ export interface ImaChemicalAnalysisCompositeResultDto {
|
|
|
8622
8713
|
prenW?: ImaSpecificationCalculatedResultLineDto | null;
|
|
8623
8714
|
v_Nb_Ti?: ImaSpecificationCalculatedResultLineDto | null;
|
|
8624
8715
|
ce?: ImaSpecificationCalculatedResultLineDto | null;
|
|
8716
|
+
nb_Ta?: ImaSpecificationCalculatedResultLineDto | null;
|
|
8625
8717
|
}
|
|
8626
8718
|
export interface ImaSpecificationCalculatedResultLineDto {
|
|
8627
8719
|
specificationMin?: number | null;
|
|
@@ -8745,14 +8837,14 @@ export interface ImaHeatTreatmentCoolingResultLineDto {
|
|
|
8745
8837
|
status: ImaSpecificationResultLineStatusDto;
|
|
8746
8838
|
override?: ImaResultLineOverrideDto | null;
|
|
8747
8839
|
}
|
|
8748
|
-
export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "NotSet";
|
|
8840
|
+
export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "LiquidQuenching" | "NotSet";
|
|
8749
8841
|
export interface ImaDocumentTypesResultsDto {
|
|
8750
8842
|
ultrasonicControlCertificate?: ImaSupplementaryCheckResultDto | null;
|
|
8751
8843
|
radiologicalReport?: ImaSupplementaryCheckResultDto | null;
|
|
8752
8844
|
liquidPenetrantCertificate?: ImaSupplementaryCheckResultDto | null;
|
|
8753
8845
|
magneticParticle?: ImaSupplementaryCheckResultDto | null;
|
|
8754
8846
|
pmi?: ImaSupplementaryCheckResultDto | null;
|
|
8755
|
-
|
|
8847
|
+
dyePenetrantReport?: ImaSupplementaryCheckResultDto | null;
|
|
8756
8848
|
visualReport?: ImaSupplementaryCheckResultDto | null;
|
|
8757
8849
|
dimensionalReport?: ImaSupplementaryCheckResultDto | null;
|
|
8758
8850
|
microExaminationReport?: ImaSupplementaryCheckResultDto | null;
|
|
@@ -8873,6 +8965,7 @@ export interface ImaOverrideChemicalAnalysisCompositeResultsDto {
|
|
|
8873
8965
|
prenW?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8874
8966
|
v_Nb_Ti?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8875
8967
|
ce?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8968
|
+
nb_Ta?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8876
8969
|
}
|
|
8877
8970
|
export interface ImaOverrideTensileTestResultsDto {
|
|
8878
8971
|
heatNumber?: string | null;
|
|
@@ -8950,7 +9043,7 @@ export interface ImaOverrideDocumentTypesResultsDto {
|
|
|
8950
9043
|
liquidPenetrantCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8951
9044
|
magneticParticle?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8952
9045
|
pmi?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8953
|
-
|
|
9046
|
+
dyePenetrantReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8954
9047
|
visualReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8955
9048
|
dimensionalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8956
9049
|
microExaminationReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
@@ -8983,7 +9076,7 @@ export interface ImaMaterialCheckLiteDto {
|
|
|
8983
9076
|
specificationStatus: ImaSpecificationStatusDto;
|
|
8984
9077
|
purchaseOrder?: string | null;
|
|
8985
9078
|
purchaseOrderLine?: number | null;
|
|
8986
|
-
|
|
9079
|
+
purchaseOrderBatches?: PurchaseOrderMaterialBatchDto[] | null;
|
|
8987
9080
|
purchaseOrderPartName?: string | null;
|
|
8988
9081
|
purchaseOrderPartNumber?: string | null;
|
|
8989
9082
|
purchaseOrderPartRevision?: string | null;
|
|
@@ -9014,7 +9107,7 @@ export interface ImaMaterialChecksPageRequestDto {
|
|
|
9014
9107
|
certificateTypeFilter?: string | null;
|
|
9015
9108
|
purchaseOrderLineFilter?: number | null;
|
|
9016
9109
|
heatFilter?: string | null;
|
|
9017
|
-
vendorBatchesFilter?: string
|
|
9110
|
+
vendorBatchesFilter?: string | null;
|
|
9018
9111
|
purchaseOrderPartNameFilter?: string | null;
|
|
9019
9112
|
purchaseOrderPartNumberFilter?: string | null;
|
|
9020
9113
|
purchaseOrderDrawingFilter?: string | null;
|
|
@@ -9047,6 +9140,7 @@ export interface ImaMaterialCheckReportDto {
|
|
|
9047
9140
|
includesAllHeats: boolean;
|
|
9048
9141
|
status: ImaMaterialCheckStatusDto;
|
|
9049
9142
|
audit: ImaMaterialCheckReportAuditInfo;
|
|
9143
|
+
isOutdated: boolean;
|
|
9050
9144
|
}
|
|
9051
9145
|
export interface ImaMaterialCheckReportAuditInfo {
|
|
9052
9146
|
createdBy: string;
|
|
@@ -9072,7 +9166,7 @@ export interface PurchaseOrderMaterialLineDetailsDto {
|
|
|
9072
9166
|
purchaseOrder: string;
|
|
9073
9167
|
lineNumber?: number | null;
|
|
9074
9168
|
dimension?: string | null;
|
|
9075
|
-
|
|
9169
|
+
batches: PurchaseOrderMaterialBatchDto[];
|
|
9076
9170
|
mdsCodeFl?: string | null;
|
|
9077
9171
|
typeOfCertificate?: string | null;
|
|
9078
9172
|
}
|
|
@@ -9210,6 +9304,7 @@ export interface ImaChemistryCompositeSpecificationDto {
|
|
|
9210
9304
|
prenW?: ImaSpecificationLineDto | null;
|
|
9211
9305
|
v_Nb_Ti?: boolean | null;
|
|
9212
9306
|
ce?: boolean | null;
|
|
9307
|
+
nb_Ta?: ImaSpecificationLineDto | null;
|
|
9213
9308
|
}
|
|
9214
9309
|
export interface ImaMechanicalSpecificationDto {
|
|
9215
9310
|
tensile?: ImaTensileSpecificationDto | null;
|
|
@@ -9241,7 +9336,7 @@ export interface ImaDocumentTypesSpecificationDto {
|
|
|
9241
9336
|
liquidPenetrantCertificate?: boolean;
|
|
9242
9337
|
magneticParticle?: boolean;
|
|
9243
9338
|
pmi?: boolean;
|
|
9244
|
-
|
|
9339
|
+
dyePenetrantReport?: boolean;
|
|
9245
9340
|
visualReport?: boolean;
|
|
9246
9341
|
dimensionalReport?: boolean;
|
|
9247
9342
|
microExaminationReport?: boolean;
|
|
@@ -9308,6 +9403,113 @@ export interface ImaSpecificationLiteDto {
|
|
|
9308
9403
|
updated: Date;
|
|
9309
9404
|
isDeleted: boolean;
|
|
9310
9405
|
}
|
|
9406
|
+
export interface SchemaCreatorStateDto {
|
|
9407
|
+
settings: SchemaCreatorSettingsDto;
|
|
9408
|
+
elements: SchemaCreatorElementDto[];
|
|
9409
|
+
documentParseStatus?: SchemaCreatorDocumentParseStatusDto | null;
|
|
9410
|
+
isAutoGenerated?: boolean;
|
|
9411
|
+
createdBy?: SchemaCreatorAuditInfoDto | null;
|
|
9412
|
+
createdAt?: Date | null;
|
|
9413
|
+
updatedBy?: SchemaCreatorAuditInfoDto | null;
|
|
9414
|
+
updatedAt?: Date | null;
|
|
9415
|
+
}
|
|
9416
|
+
export interface SchemaCreatorSettingsDto {
|
|
9417
|
+
unit?: SchemaCreatorUnitOfMeasureDto;
|
|
9418
|
+
tolerance?: GeneralToleranceDto;
|
|
9419
|
+
balloonSize?: number;
|
|
9420
|
+
transparentBalloons?: boolean;
|
|
9421
|
+
}
|
|
9422
|
+
export type SchemaCreatorUnitOfMeasureDto = "Millimeter" | "Inch" | "Mixed";
|
|
9423
|
+
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
9424
|
+
export interface SchemaCreatorElementDto {
|
|
9425
|
+
id: string;
|
|
9426
|
+
kind: SchemaCreatorElementKindDto;
|
|
9427
|
+
drawings: SchemaCreatorElementDrawingsDto;
|
|
9428
|
+
isDirty?: boolean | null;
|
|
9429
|
+
values?: SchemaCreatorElementValuesDto | null;
|
|
9430
|
+
valuesSnapshot?: SchemaCreatorElementValuesDto | null;
|
|
9431
|
+
parseResult?: SchemaCreatorSnipResultDto | null;
|
|
9432
|
+
resolveAttempt?: SchemaCreatorParseAttemptDto | null;
|
|
9433
|
+
createdBy?: SchemaCreatorAuditInfoDto | null;
|
|
9434
|
+
createdAt?: Date | null;
|
|
9435
|
+
updatedBy?: SchemaCreatorAuditInfoDto | null;
|
|
9436
|
+
updatedAt?: Date | null;
|
|
9437
|
+
}
|
|
9438
|
+
export type SchemaCreatorElementKindDto = "Pending" | "Auto" | "Manual";
|
|
9439
|
+
export interface SchemaCreatorElementDrawingsDto {
|
|
9440
|
+
snip: SchemaCreatorSnipDto;
|
|
9441
|
+
balloon: SchemaCreatorPointDto;
|
|
9442
|
+
pageIndex: number;
|
|
9443
|
+
}
|
|
9444
|
+
export interface SchemaCreatorSnipDto {
|
|
9445
|
+
rect: SchemaCreatorRectDto;
|
|
9446
|
+
rotation?: number | null;
|
|
9447
|
+
unrotatedRect?: SchemaCreatorRectDto | null;
|
|
9448
|
+
}
|
|
9449
|
+
export interface SchemaCreatorRectDto {
|
|
9450
|
+
origin: SchemaCreatorPointDto;
|
|
9451
|
+
size: SchemaCreatorSizeDto;
|
|
9452
|
+
}
|
|
9453
|
+
export interface SchemaCreatorPointDto {
|
|
9454
|
+
x: number;
|
|
9455
|
+
y: number;
|
|
9456
|
+
}
|
|
9457
|
+
export interface SchemaCreatorSizeDto {
|
|
9458
|
+
width: number;
|
|
9459
|
+
height: number;
|
|
9460
|
+
}
|
|
9461
|
+
export interface SchemaCreatorElementValuesDto {
|
|
9462
|
+
reference: number;
|
|
9463
|
+
unit?: UnitOfMeasureDto | null;
|
|
9464
|
+
nominal?: number | null;
|
|
9465
|
+
nominalText?: string | null;
|
|
9466
|
+
upperLimit?: number | null;
|
|
9467
|
+
lowerLimit?: number | null;
|
|
9468
|
+
plusTolerance?: number | null;
|
|
9469
|
+
minusTolerance?: number | null;
|
|
9470
|
+
coatingThickness?: number | null;
|
|
9471
|
+
measurementFrequency: MeasurementFrequency;
|
|
9472
|
+
measurementFrequencyParameter?: number | null;
|
|
9473
|
+
type?: string | null;
|
|
9474
|
+
count?: number | null;
|
|
9475
|
+
comment?: string | null;
|
|
9476
|
+
canCopy: boolean;
|
|
9477
|
+
visibleToCustomer: boolean;
|
|
9478
|
+
isDocumentedExternally: boolean;
|
|
9479
|
+
}
|
|
9480
|
+
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
9481
|
+
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
9482
|
+
export interface SchemaCreatorSnipResultDto {
|
|
9483
|
+
nominal?: number | null;
|
|
9484
|
+
nominalText?: string | null;
|
|
9485
|
+
type?: string | null;
|
|
9486
|
+
upperLimit?: number | null;
|
|
9487
|
+
lowerLimit?: number | null;
|
|
9488
|
+
plusTolerance?: number | null;
|
|
9489
|
+
minusTolerance?: number | null;
|
|
9490
|
+
count?: number | null;
|
|
9491
|
+
}
|
|
9492
|
+
export interface SchemaCreatorParseAttemptDto {
|
|
9493
|
+
startedAt: Date;
|
|
9494
|
+
errorType?: SchemaCreatorParseErrorTypeDto | null;
|
|
9495
|
+
errorMessage?: string | null;
|
|
9496
|
+
}
|
|
9497
|
+
export type SchemaCreatorParseErrorTypeDto = "Timeout" | "ParseError";
|
|
9498
|
+
export interface SchemaCreatorAuditInfoDto {
|
|
9499
|
+
objectId: string;
|
|
9500
|
+
userId: string;
|
|
9501
|
+
userFullName?: string | null;
|
|
9502
|
+
}
|
|
9503
|
+
export interface SchemaCreatorDocumentParseStatusDto {
|
|
9504
|
+
inProgress: boolean;
|
|
9505
|
+
attempt?: SchemaCreatorParseAttemptDto | null;
|
|
9506
|
+
}
|
|
9507
|
+
export interface SchemaCreatorXmlGeometryDto {
|
|
9508
|
+
xmlAttributeId: number;
|
|
9509
|
+
snipRect: SchemaCreatorRectDto;
|
|
9510
|
+
balloon: SchemaCreatorPointDto;
|
|
9511
|
+
pageIndex: number;
|
|
9512
|
+
}
|
|
9311
9513
|
export interface MeasurementFormSchemaDto {
|
|
9312
9514
|
id: string;
|
|
9313
9515
|
versionId: number;
|
|
@@ -9339,9 +9541,7 @@ export interface MeasurementFormSchemaDto {
|
|
|
9339
9541
|
}
|
|
9340
9542
|
export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
|
|
9341
9543
|
export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
|
|
9342
|
-
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
9343
9544
|
export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
|
|
9344
|
-
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
9345
9545
|
export interface MeasurementFormSchemaAttachmentDto {
|
|
9346
9546
|
url: string;
|
|
9347
9547
|
title: string;
|
|
@@ -9350,6 +9550,7 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
9350
9550
|
id: string;
|
|
9351
9551
|
balloonId?: string | null;
|
|
9352
9552
|
reference: number;
|
|
9553
|
+
originalXmlId?: number | null;
|
|
9353
9554
|
imageUrl?: string | null;
|
|
9354
9555
|
thumbnailUrl?: string | null;
|
|
9355
9556
|
section?: string | null;
|
|
@@ -9390,7 +9591,6 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
9390
9591
|
isValid: boolean;
|
|
9391
9592
|
validationErrorMessage?: string | null;
|
|
9392
9593
|
}
|
|
9393
|
-
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
9394
9594
|
export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
|
|
9395
9595
|
export type BonusType = "None" | "Positive" | "PositiveAndNegative";
|
|
9396
9596
|
export interface MeasurementFormLinkedSchemaDto {
|
|
@@ -9503,6 +9703,7 @@ export interface UploadDrawingRequest {
|
|
|
9503
9703
|
export interface UploadRequest {
|
|
9504
9704
|
uploadKey: string;
|
|
9505
9705
|
filename: string;
|
|
9706
|
+
isMarkedDrawing?: boolean | null;
|
|
9506
9707
|
}
|
|
9507
9708
|
export interface MeasurementFormImportStatusDto {
|
|
9508
9709
|
progress: number;
|
|
@@ -9578,6 +9779,8 @@ export interface MeasurementFormCustomerSettingsDto {
|
|
|
9578
9779
|
validationRuleId?: string | null;
|
|
9579
9780
|
requireCalibratedTools: boolean;
|
|
9580
9781
|
allowEmptyToolListInValue: boolean;
|
|
9782
|
+
disableAiParseDocument: boolean;
|
|
9783
|
+
disableAiParseSnip: boolean;
|
|
9581
9784
|
}
|
|
9582
9785
|
export interface UpdateMeasurementFormCustomerSettings {
|
|
9583
9786
|
customerId: string;
|
|
@@ -9586,6 +9789,8 @@ export interface UpdateMeasurementFormCustomerSettings {
|
|
|
9586
9789
|
validationRuleId?: string | null;
|
|
9587
9790
|
requireCalibratedTools: boolean;
|
|
9588
9791
|
allowEmptyToolListInValue: boolean;
|
|
9792
|
+
disableAiParseDocument: boolean;
|
|
9793
|
+
disableAiParseSnip: boolean;
|
|
9589
9794
|
}
|
|
9590
9795
|
export interface MeasurementFormMappingDto {
|
|
9591
9796
|
id: string;
|