@ignos/api-client 20260918.280.1 → 20260921.282.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 +27 -28
- package/lib/ignosportal-api.d.ts +25 -229
- package/lib/ignosportal-api.js +163 -772
- package/package.json +2 -2
- package/src/ignosportal-api.ts +67 -655
- package/tsconfig.json +2 -3
package/lib/AuthorizedApiBase.js
CHANGED
|
@@ -1,33 +1,32 @@
|
|
|
1
1
|
export class AuthorizedApiBase {
|
|
2
|
-
config;
|
|
3
2
|
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
|
+
};
|
|
4
30
|
this.config = config;
|
|
5
31
|
}
|
|
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
|
-
};
|
|
33
32
|
}
|
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -924,7 +924,6 @@ 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>;
|
|
928
927
|
listMrbInstanceRevisions(id: string): Promise<MrbInstanceRevisionDto[]>;
|
|
929
928
|
createMrbRevision(id: string, request: CreateMrbRevisionRequest): Promise<MrbInstanceJobDto>;
|
|
930
929
|
deleteMrbRevision(id: string, revisionId: number): Promise<void>;
|
|
@@ -992,8 +991,6 @@ export declare class MrbClient extends AuthorizedApiBase implements IMrbClient {
|
|
|
992
991
|
protected processListRecentMrbIntances(response: Response): Promise<MrbInstanceDto[]>;
|
|
993
992
|
getMrbInstance(id: string): Promise<MrbInstanceDto>;
|
|
994
993
|
protected processGetMrbInstance(response: Response): Promise<MrbInstanceDto>;
|
|
995
|
-
updateMrbInstanceNcInfo(id: string, request: UpdateMrbInstanceNcInfoRequest): Promise<void>;
|
|
996
|
-
protected processUpdateMrbInstanceNcInfo(response: Response): Promise<void>;
|
|
997
994
|
listMrbInstanceRevisions(id: string): Promise<MrbInstanceRevisionDto[]>;
|
|
998
995
|
protected processListMrbInstanceRevisions(response: Response): Promise<MrbInstanceRevisionDto[]>;
|
|
999
996
|
createMrbRevision(id: string, request: CreateMrbRevisionRequest): Promise<MrbInstanceJobDto>;
|
|
@@ -2657,6 +2654,7 @@ export declare class MesProductionOrderClient extends AuthorizedApiBase implemen
|
|
|
2657
2654
|
export interface IMesProductionScheduleClient {
|
|
2658
2655
|
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>;
|
|
2659
2656
|
postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2657
|
+
postListProductionScheduleOperationsFromPlanner(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedProductionScheduleDto>;
|
|
2660
2658
|
getAvailableProductionScheduleFilters(request: GetAvailableProductionScheduleFiltersRequest | undefined): Promise<ProductionScheduleFiltersDto>;
|
|
2661
2659
|
listMyCurrentWorkActivities(): Promise<CurrentWorkActivityDto>;
|
|
2662
2660
|
startOperations(request: StartOperations): Promise<void>;
|
|
@@ -2673,6 +2671,8 @@ export declare class MesProductionScheduleClient extends AuthorizedApiBase imple
|
|
|
2673
2671
|
protected processListProductionScheduleOperations(response: Response): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2674
2672
|
postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2675
2673
|
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,84 +2936,6 @@ 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
|
-
}
|
|
3017
2939
|
export interface IMeasurementFormSchemasAdminClient {
|
|
3018
2940
|
getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
3019
2941
|
createMeasurementForm(request: CreateMeasurementFormSchema): Promise<MeasurementFormDto>;
|
|
@@ -3025,10 +2947,6 @@ export interface IMeasurementFormSchemasAdminClient {
|
|
|
3025
2947
|
deleteSchemaRows(id: string, request: DeleteSchemaGroupedElementRowsDto): Promise<MeasurementFormSchemaDto>;
|
|
3026
2948
|
uploadMeasurementImage(id: string, request: UploadMeasurementImageRequest): Promise<MeasurementFormSchemaDto>;
|
|
3027
2949
|
updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest>;
|
|
3028
|
-
uploadSchemaMarkedDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
3029
|
-
/**
|
|
3030
|
-
* @deprecated
|
|
3031
|
-
*/
|
|
3032
2950
|
uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
3033
2951
|
uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
|
|
3034
2952
|
getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
|
|
@@ -3112,11 +3030,6 @@ export declare class MeasurementFormSchemasAdminClient extends AuthorizedApiBase
|
|
|
3112
3030
|
protected processUploadMeasurementImage(response: Response): Promise<MeasurementFormSchemaDto>;
|
|
3113
3031
|
updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest>;
|
|
3114
3032
|
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
|
-
*/
|
|
3120
3033
|
uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
3121
3034
|
protected processUploadSchemaDrawing(response: Response): Promise<MeasurementFormSchemaDto>;
|
|
3122
3035
|
uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
|
|
@@ -3280,7 +3193,6 @@ export interface IMeasurementFormsInstancesClient {
|
|
|
3280
3193
|
completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
|
|
3281
3194
|
completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3282
3195
|
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>;
|
|
3284
3196
|
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
|
|
3285
3197
|
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3286
3198
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
@@ -3319,8 +3231,6 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
|
|
|
3319
3231
|
protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3320
3232
|
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3321
3233
|
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>;
|
|
3324
3234
|
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
|
|
3325
3235
|
protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
|
|
3326
3236
|
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
@@ -4889,7 +4799,6 @@ export interface PulseJournalEventDto {
|
|
|
4889
4799
|
eventType: PulseJournalEventTypeDto;
|
|
4890
4800
|
oldValue?: string | null;
|
|
4891
4801
|
newValue?: string | null;
|
|
4892
|
-
lineText?: string | null;
|
|
4893
4802
|
created: Date;
|
|
4894
4803
|
createdBy?: string | null;
|
|
4895
4804
|
}
|
|
@@ -5068,7 +4977,6 @@ export interface MrbInstanceDto {
|
|
|
5068
4977
|
part?: MrbPartDto | null;
|
|
5069
4978
|
showSerialNumbersOnFrontPage?: boolean;
|
|
5070
4979
|
showSerialNumbersOnCoC?: boolean;
|
|
5071
|
-
ncInfo?: string | null;
|
|
5072
4980
|
}
|
|
5073
4981
|
export interface CustomerOrderLineTraceItemDto {
|
|
5074
4982
|
workOrder: string;
|
|
@@ -5111,9 +5019,6 @@ export interface MrbPartDto {
|
|
|
5111
5019
|
partName?: string | null;
|
|
5112
5020
|
partRevision?: string | null;
|
|
5113
5021
|
}
|
|
5114
|
-
export interface UpdateMrbInstanceNcInfoRequest {
|
|
5115
|
-
ncInfo?: string | null;
|
|
5116
|
-
}
|
|
5117
5022
|
export interface MrbInstanceJobDto {
|
|
5118
5023
|
jobId: string;
|
|
5119
5024
|
mrbInstanceId: string;
|
|
@@ -7665,6 +7570,7 @@ export interface PlannerPlanDto {
|
|
|
7665
7570
|
isDraft: boolean;
|
|
7666
7571
|
publishedETag?: string | null;
|
|
7667
7572
|
weeklyCapacities: WeekCapacityDto[];
|
|
7573
|
+
continuationToken?: string | null;
|
|
7668
7574
|
}
|
|
7669
7575
|
export interface PlannerOperationDto {
|
|
7670
7576
|
id: string;
|
|
@@ -7737,6 +7643,7 @@ export interface WeekCapacityDto {
|
|
|
7737
7643
|
weekGroup: string;
|
|
7738
7644
|
weekStart: Date;
|
|
7739
7645
|
capacityHours: number;
|
|
7646
|
+
loadHours: number;
|
|
7740
7647
|
}
|
|
7741
7648
|
export interface PublishPlanRequest {
|
|
7742
7649
|
/** ETag of the published plan the caller last read, used for optimistic
|
|
@@ -7767,7 +7674,7 @@ export interface SetProgramStatus {
|
|
|
7767
7674
|
operationNumber?: number;
|
|
7768
7675
|
status?: ProgramStatus;
|
|
7769
7676
|
}
|
|
7770
|
-
export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File"
|
|
7677
|
+
export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File";
|
|
7771
7678
|
export interface UpdateProductionOrderAttachmentRequest {
|
|
7772
7679
|
type?: ProductionOrderAttachmentType;
|
|
7773
7680
|
description: string;
|
|
@@ -8074,6 +7981,9 @@ export interface ProductionScheduleOperationDto {
|
|
|
8074
7981
|
programStatus?: ProgramStatus | null;
|
|
8075
7982
|
hasNotes: boolean;
|
|
8076
7983
|
notesUnread: boolean;
|
|
7984
|
+
sequenceNumber?: number | null;
|
|
7985
|
+
weekGroup?: string | null;
|
|
7986
|
+
isNewOperation?: boolean | null;
|
|
8077
7987
|
}
|
|
8078
7988
|
export interface SurroundingOperationDto {
|
|
8079
7989
|
id: string;
|
|
@@ -8127,6 +8037,11 @@ export interface ListProductionScheduleOperationsRequest {
|
|
|
8127
8037
|
before?: Date | null;
|
|
8128
8038
|
includeDiscussionSummary?: boolean;
|
|
8129
8039
|
}
|
|
8040
|
+
export interface PagedProductionScheduleDto {
|
|
8041
|
+
results: ProductionScheduleOperationDto[];
|
|
8042
|
+
weeklyCapacities: WeekCapacityDto[];
|
|
8043
|
+
continuationToken?: string | null;
|
|
8044
|
+
}
|
|
8130
8045
|
export interface ProductionScheduleFiltersDto {
|
|
8131
8046
|
partNumbers?: FilterValueWithQuantity[];
|
|
8132
8047
|
bomPositions?: FilterValueWithQuantity[];
|
|
@@ -8557,7 +8472,7 @@ export interface ImaMaterialCheckDto {
|
|
|
8557
8472
|
specificationStatus: ImaSpecificationStatusDto;
|
|
8558
8473
|
purchaseOrder?: string | null;
|
|
8559
8474
|
purchaseOrderLine?: number | null;
|
|
8560
|
-
|
|
8475
|
+
purchaseOrderVendorBatches?: string[] | null;
|
|
8561
8476
|
purchaseOrderPartName?: string | null;
|
|
8562
8477
|
purchaseOrderPartNumber?: string | null;
|
|
8563
8478
|
purchaseOrderPartRevision?: string | null;
|
|
@@ -8577,11 +8492,6 @@ export interface ImaMaterialCheckDto {
|
|
|
8577
8492
|
specificationResults: ImaSpecificationResultsDto;
|
|
8578
8493
|
}
|
|
8579
8494
|
export type ImaSpecificationStatusDto = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
8580
|
-
export interface PurchaseOrderMaterialBatchDto {
|
|
8581
|
-
batchNumber: string;
|
|
8582
|
-
itemNumber?: string | null;
|
|
8583
|
-
vendorBatch?: string | null;
|
|
8584
|
-
}
|
|
8585
8495
|
export type ImaMaterialCheckStatusDto = "Processing" | "Draft" | "Approved" | "Rejected" | "Failed" | "NotSet";
|
|
8586
8496
|
export interface ImaCertificateTypeResultsDto {
|
|
8587
8497
|
manufacturer: ImaCertificateTypeManufacturerResultsDto;
|
|
@@ -8713,7 +8623,6 @@ export interface ImaChemicalAnalysisCompositeResultDto {
|
|
|
8713
8623
|
prenW?: ImaSpecificationCalculatedResultLineDto | null;
|
|
8714
8624
|
v_Nb_Ti?: ImaSpecificationCalculatedResultLineDto | null;
|
|
8715
8625
|
ce?: ImaSpecificationCalculatedResultLineDto | null;
|
|
8716
|
-
nb_Ta?: ImaSpecificationCalculatedResultLineDto | null;
|
|
8717
8626
|
}
|
|
8718
8627
|
export interface ImaSpecificationCalculatedResultLineDto {
|
|
8719
8628
|
specificationMin?: number | null;
|
|
@@ -8837,14 +8746,14 @@ export interface ImaHeatTreatmentCoolingResultLineDto {
|
|
|
8837
8746
|
status: ImaSpecificationResultLineStatusDto;
|
|
8838
8747
|
override?: ImaResultLineOverrideDto | null;
|
|
8839
8748
|
}
|
|
8840
|
-
export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "
|
|
8749
|
+
export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "NotSet";
|
|
8841
8750
|
export interface ImaDocumentTypesResultsDto {
|
|
8842
8751
|
ultrasonicControlCertificate?: ImaSupplementaryCheckResultDto | null;
|
|
8843
8752
|
radiologicalReport?: ImaSupplementaryCheckResultDto | null;
|
|
8844
8753
|
liquidPenetrantCertificate?: ImaSupplementaryCheckResultDto | null;
|
|
8845
8754
|
magneticParticle?: ImaSupplementaryCheckResultDto | null;
|
|
8846
8755
|
pmi?: ImaSupplementaryCheckResultDto | null;
|
|
8847
|
-
|
|
8756
|
+
hydrostatic?: ImaSupplementaryCheckResultDto | null;
|
|
8848
8757
|
visualReport?: ImaSupplementaryCheckResultDto | null;
|
|
8849
8758
|
dimensionalReport?: ImaSupplementaryCheckResultDto | null;
|
|
8850
8759
|
microExaminationReport?: ImaSupplementaryCheckResultDto | null;
|
|
@@ -8965,7 +8874,6 @@ export interface ImaOverrideChemicalAnalysisCompositeResultsDto {
|
|
|
8965
8874
|
prenW?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8966
8875
|
v_Nb_Ti?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8967
8876
|
ce?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8968
|
-
nb_Ta?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8969
8877
|
}
|
|
8970
8878
|
export interface ImaOverrideTensileTestResultsDto {
|
|
8971
8879
|
heatNumber?: string | null;
|
|
@@ -9043,7 +8951,7 @@ export interface ImaOverrideDocumentTypesResultsDto {
|
|
|
9043
8951
|
liquidPenetrantCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
9044
8952
|
magneticParticle?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
9045
8953
|
pmi?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
9046
|
-
|
|
8954
|
+
hydrostatic?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
9047
8955
|
visualReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
9048
8956
|
dimensionalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
9049
8957
|
microExaminationReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
@@ -9076,7 +8984,7 @@ export interface ImaMaterialCheckLiteDto {
|
|
|
9076
8984
|
specificationStatus: ImaSpecificationStatusDto;
|
|
9077
8985
|
purchaseOrder?: string | null;
|
|
9078
8986
|
purchaseOrderLine?: number | null;
|
|
9079
|
-
|
|
8987
|
+
purchaseOrderVendorBatches?: string[] | null;
|
|
9080
8988
|
purchaseOrderPartName?: string | null;
|
|
9081
8989
|
purchaseOrderPartNumber?: string | null;
|
|
9082
8990
|
purchaseOrderPartRevision?: string | null;
|
|
@@ -9107,7 +9015,7 @@ export interface ImaMaterialChecksPageRequestDto {
|
|
|
9107
9015
|
certificateTypeFilter?: string | null;
|
|
9108
9016
|
purchaseOrderLineFilter?: number | null;
|
|
9109
9017
|
heatFilter?: string | null;
|
|
9110
|
-
vendorBatchesFilter?: string | null;
|
|
9018
|
+
vendorBatchesFilter?: string[] | null;
|
|
9111
9019
|
purchaseOrderPartNameFilter?: string | null;
|
|
9112
9020
|
purchaseOrderPartNumberFilter?: string | null;
|
|
9113
9021
|
purchaseOrderDrawingFilter?: string | null;
|
|
@@ -9140,7 +9048,6 @@ export interface ImaMaterialCheckReportDto {
|
|
|
9140
9048
|
includesAllHeats: boolean;
|
|
9141
9049
|
status: ImaMaterialCheckStatusDto;
|
|
9142
9050
|
audit: ImaMaterialCheckReportAuditInfo;
|
|
9143
|
-
isOutdated: boolean;
|
|
9144
9051
|
}
|
|
9145
9052
|
export interface ImaMaterialCheckReportAuditInfo {
|
|
9146
9053
|
createdBy: string;
|
|
@@ -9166,7 +9073,7 @@ export interface PurchaseOrderMaterialLineDetailsDto {
|
|
|
9166
9073
|
purchaseOrder: string;
|
|
9167
9074
|
lineNumber?: number | null;
|
|
9168
9075
|
dimension?: string | null;
|
|
9169
|
-
|
|
9076
|
+
vendorBatches: string[];
|
|
9170
9077
|
mdsCodeFl?: string | null;
|
|
9171
9078
|
typeOfCertificate?: string | null;
|
|
9172
9079
|
}
|
|
@@ -9304,7 +9211,6 @@ export interface ImaChemistryCompositeSpecificationDto {
|
|
|
9304
9211
|
prenW?: ImaSpecificationLineDto | null;
|
|
9305
9212
|
v_Nb_Ti?: boolean | null;
|
|
9306
9213
|
ce?: boolean | null;
|
|
9307
|
-
nb_Ta?: ImaSpecificationLineDto | null;
|
|
9308
9214
|
}
|
|
9309
9215
|
export interface ImaMechanicalSpecificationDto {
|
|
9310
9216
|
tensile?: ImaTensileSpecificationDto | null;
|
|
@@ -9336,7 +9242,7 @@ export interface ImaDocumentTypesSpecificationDto {
|
|
|
9336
9242
|
liquidPenetrantCertificate?: boolean;
|
|
9337
9243
|
magneticParticle?: boolean;
|
|
9338
9244
|
pmi?: boolean;
|
|
9339
|
-
|
|
9245
|
+
hydrostatic?: boolean;
|
|
9340
9246
|
visualReport?: boolean;
|
|
9341
9247
|
dimensionalReport?: boolean;
|
|
9342
9248
|
microExaminationReport?: boolean;
|
|
@@ -9403,113 +9309,6 @@ export interface ImaSpecificationLiteDto {
|
|
|
9403
9309
|
updated: Date;
|
|
9404
9310
|
isDeleted: boolean;
|
|
9405
9311
|
}
|
|
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
|
-
}
|
|
9513
9312
|
export interface MeasurementFormSchemaDto {
|
|
9514
9313
|
id: string;
|
|
9515
9314
|
versionId: number;
|
|
@@ -9541,7 +9340,9 @@ export interface MeasurementFormSchemaDto {
|
|
|
9541
9340
|
}
|
|
9542
9341
|
export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
|
|
9543
9342
|
export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
|
|
9343
|
+
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
9544
9344
|
export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
|
|
9345
|
+
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
9545
9346
|
export interface MeasurementFormSchemaAttachmentDto {
|
|
9546
9347
|
url: string;
|
|
9547
9348
|
title: string;
|
|
@@ -9550,7 +9351,6 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
9550
9351
|
id: string;
|
|
9551
9352
|
balloonId?: string | null;
|
|
9552
9353
|
reference: number;
|
|
9553
|
-
originalXmlId?: number | null;
|
|
9554
9354
|
imageUrl?: string | null;
|
|
9555
9355
|
thumbnailUrl?: string | null;
|
|
9556
9356
|
section?: string | null;
|
|
@@ -9591,6 +9391,7 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
9591
9391
|
isValid: boolean;
|
|
9592
9392
|
validationErrorMessage?: string | null;
|
|
9593
9393
|
}
|
|
9394
|
+
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
9594
9395
|
export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
|
|
9595
9396
|
export type BonusType = "None" | "Positive" | "PositiveAndNegative";
|
|
9596
9397
|
export interface MeasurementFormLinkedSchemaDto {
|
|
@@ -9703,7 +9504,6 @@ export interface UploadDrawingRequest {
|
|
|
9703
9504
|
export interface UploadRequest {
|
|
9704
9505
|
uploadKey: string;
|
|
9705
9506
|
filename: string;
|
|
9706
|
-
isMarkedDrawing?: boolean | null;
|
|
9707
9507
|
}
|
|
9708
9508
|
export interface MeasurementFormImportStatusDto {
|
|
9709
9509
|
progress: number;
|
|
@@ -9779,8 +9579,6 @@ export interface MeasurementFormCustomerSettingsDto {
|
|
|
9779
9579
|
validationRuleId?: string | null;
|
|
9780
9580
|
requireCalibratedTools: boolean;
|
|
9781
9581
|
allowEmptyToolListInValue: boolean;
|
|
9782
|
-
disableAiParseDocument: boolean;
|
|
9783
|
-
disableAiParseSnip: boolean;
|
|
9784
9582
|
}
|
|
9785
9583
|
export interface UpdateMeasurementFormCustomerSettings {
|
|
9786
9584
|
customerId: string;
|
|
@@ -9789,8 +9587,6 @@ export interface UpdateMeasurementFormCustomerSettings {
|
|
|
9789
9587
|
validationRuleId?: string | null;
|
|
9790
9588
|
requireCalibratedTools: boolean;
|
|
9791
9589
|
allowEmptyToolListInValue: boolean;
|
|
9792
|
-
disableAiParseDocument: boolean;
|
|
9793
|
-
disableAiParseSnip: boolean;
|
|
9794
9590
|
}
|
|
9795
9591
|
export interface MeasurementFormMappingDto {
|
|
9796
9592
|
id: string;
|