@ignos/api-client 20260914.277.1 → 20260914.278.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 +24 -222
- package/lib/ignosportal-api.js +163 -733
- package/package.json +2 -2
- package/src/ignosportal-api.ts +66 -609
- 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
|
@@ -2654,6 +2654,7 @@ export declare class MesProductionOrderClient extends AuthorizedApiBase implemen
|
|
|
2654
2654
|
export interface IMesProductionScheduleClient {
|
|
2655
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>;
|
|
2656
2656
|
postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2657
|
+
postListProductionScheduleOperationsFromPlanner(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedProductionScheduleDto>;
|
|
2657
2658
|
getAvailableProductionScheduleFilters(request: GetAvailableProductionScheduleFiltersRequest | undefined): Promise<ProductionScheduleFiltersDto>;
|
|
2658
2659
|
listMyCurrentWorkActivities(): Promise<CurrentWorkActivityDto>;
|
|
2659
2660
|
startOperations(request: StartOperations): Promise<void>;
|
|
@@ -2670,6 +2671,8 @@ export declare class MesProductionScheduleClient extends AuthorizedApiBase imple
|
|
|
2670
2671
|
protected processListProductionScheduleOperations(response: Response): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2671
2672
|
postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2672
2673
|
protected processPostListProductionScheduleOperations(response: Response): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2674
|
+
postListProductionScheduleOperationsFromPlanner(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedProductionScheduleDto>;
|
|
2675
|
+
protected processPostListProductionScheduleOperationsFromPlanner(response: Response): Promise<PagedProductionScheduleDto>;
|
|
2673
2676
|
getAvailableProductionScheduleFilters(request: GetAvailableProductionScheduleFiltersRequest | undefined): Promise<ProductionScheduleFiltersDto>;
|
|
2674
2677
|
protected processGetAvailableProductionScheduleFilters(response: Response): Promise<ProductionScheduleFiltersDto>;
|
|
2675
2678
|
listMyCurrentWorkActivities(): Promise<CurrentWorkActivityDto>;
|
|
@@ -2933,84 +2936,6 @@ export declare class InspectMatchSpecificationsClient extends AuthorizedApiBase
|
|
|
2933
2936
|
listSpecifications(): Promise<ImaSpecificationLiteDto[]>;
|
|
2934
2937
|
protected processListSpecifications(response: Response): Promise<ImaSpecificationLiteDto[]>;
|
|
2935
2938
|
}
|
|
2936
|
-
export interface IInspectSchemaCreatorClient {
|
|
2937
|
-
getSchemaCreatorState(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
2938
|
-
/**
|
|
2939
|
-
* Creates the initial creator state for a schema version. Returns 409 if
|
|
2940
|
-
state already exists; the caller should re-fetch it instead of writing.
|
|
2941
|
-
*/
|
|
2942
|
-
createSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
2943
|
-
updateSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
2944
|
-
/**
|
|
2945
|
-
* Geometry only (no values), derived from the schema's retained
|
|
2946
|
-
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
2947
|
-
drawing positions. Throws BadRequest if the schema has no such XML +
|
|
2948
|
-
drawing to derive it from.
|
|
2949
|
-
*/
|
|
2950
|
-
getSchemaCreatorXmlGeometry(schemaVersionId: string): Promise<SchemaCreatorXmlGeometryDto[]>;
|
|
2951
|
-
/**
|
|
2952
|
-
* Starts a full drawing AI parse: clears every element and locks the
|
|
2953
|
-
schema for every viewer until it completes. If one is already in
|
|
2954
|
-
progress, returns that instead of starting a second one.
|
|
2955
|
-
*/
|
|
2956
|
-
requestSchemaCreatorDocumentParse(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
2957
|
-
/**
|
|
2958
|
-
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
2959
|
-
returns a temporary download link.
|
|
2960
|
-
*/
|
|
2961
|
-
exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto>;
|
|
2962
|
-
/**
|
|
2963
|
-
* Starts an async snip resolve; the result is delivered through the
|
|
2964
|
-
SchemaCreatorSnipResolved SignalR notification.
|
|
2965
|
-
* @param image (optional)
|
|
2966
|
-
*/
|
|
2967
|
-
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
2968
|
-
}
|
|
2969
|
-
export declare class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
|
|
2970
|
-
private http;
|
|
2971
|
-
private baseUrl;
|
|
2972
|
-
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
2973
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
2974
|
-
});
|
|
2975
|
-
getSchemaCreatorState(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
2976
|
-
protected processGetSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
|
|
2977
|
-
/**
|
|
2978
|
-
* Creates the initial creator state for a schema version. Returns 409 if
|
|
2979
|
-
state already exists; the caller should re-fetch it instead of writing.
|
|
2980
|
-
*/
|
|
2981
|
-
createSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
2982
|
-
protected processCreateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
|
|
2983
|
-
updateSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
2984
|
-
protected processUpdateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
|
|
2985
|
-
/**
|
|
2986
|
-
* Geometry only (no values), derived from the schema's retained
|
|
2987
|
-
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
2988
|
-
drawing positions. Throws BadRequest if the schema has no such XML +
|
|
2989
|
-
drawing to derive it from.
|
|
2990
|
-
*/
|
|
2991
|
-
getSchemaCreatorXmlGeometry(schemaVersionId: string): Promise<SchemaCreatorXmlGeometryDto[]>;
|
|
2992
|
-
protected processGetSchemaCreatorXmlGeometry(response: Response): Promise<SchemaCreatorXmlGeometryDto[]>;
|
|
2993
|
-
/**
|
|
2994
|
-
* Starts a full drawing AI parse: clears every element and locks the
|
|
2995
|
-
schema for every viewer until it completes. If one is already in
|
|
2996
|
-
progress, returns that instead of starting a second one.
|
|
2997
|
-
*/
|
|
2998
|
-
requestSchemaCreatorDocumentParse(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
2999
|
-
protected processRequestSchemaCreatorDocumentParse(response: Response): Promise<SchemaCreatorStateDto>;
|
|
3000
|
-
/**
|
|
3001
|
-
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
3002
|
-
returns a temporary download link.
|
|
3003
|
-
*/
|
|
3004
|
-
exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto>;
|
|
3005
|
-
protected processExportSchemaCreatorDrawing(response: Response): Promise<DownloadDto>;
|
|
3006
|
-
/**
|
|
3007
|
-
* Starts an async snip resolve; the result is delivered through the
|
|
3008
|
-
SchemaCreatorSnipResolved SignalR notification.
|
|
3009
|
-
* @param image (optional)
|
|
3010
|
-
*/
|
|
3011
|
-
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
3012
|
-
protected processRequestSchemaCreatorSnipParse(response: Response): Promise<void>;
|
|
3013
|
-
}
|
|
3014
2939
|
export interface IMeasurementFormSchemasAdminClient {
|
|
3015
2940
|
getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
3016
2941
|
createMeasurementForm(request: CreateMeasurementFormSchema): Promise<MeasurementFormDto>;
|
|
@@ -3022,10 +2947,6 @@ export interface IMeasurementFormSchemasAdminClient {
|
|
|
3022
2947
|
deleteSchemaRows(id: string, request: DeleteSchemaGroupedElementRowsDto): Promise<MeasurementFormSchemaDto>;
|
|
3023
2948
|
uploadMeasurementImage(id: string, request: UploadMeasurementImageRequest): Promise<MeasurementFormSchemaDto>;
|
|
3024
2949
|
updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest>;
|
|
3025
|
-
uploadSchemaMarkedDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
3026
|
-
/**
|
|
3027
|
-
* @deprecated
|
|
3028
|
-
*/
|
|
3029
2950
|
uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
3030
2951
|
uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
|
|
3031
2952
|
getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
|
|
@@ -3109,11 +3030,6 @@ export declare class MeasurementFormSchemasAdminClient extends AuthorizedApiBase
|
|
|
3109
3030
|
protected processUploadMeasurementImage(response: Response): Promise<MeasurementFormSchemaDto>;
|
|
3110
3031
|
updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest>;
|
|
3111
3032
|
protected processUpdateSchemaSettings(response: Response): Promise<UpdateSchemaSettingsRequest>;
|
|
3112
|
-
uploadSchemaMarkedDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
3113
|
-
protected processUploadSchemaMarkedDrawing(response: Response): Promise<MeasurementFormSchemaDto>;
|
|
3114
|
-
/**
|
|
3115
|
-
* @deprecated
|
|
3116
|
-
*/
|
|
3117
3033
|
uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
3118
3034
|
protected processUploadSchemaDrawing(response: Response): Promise<MeasurementFormSchemaDto>;
|
|
3119
3035
|
uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
|
|
@@ -3277,7 +3193,6 @@ export interface IMeasurementFormsInstancesClient {
|
|
|
3277
3193
|
completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
|
|
3278
3194
|
completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3279
3195
|
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3280
|
-
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto>;
|
|
3281
3196
|
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
|
|
3282
3197
|
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3283
3198
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
@@ -3316,8 +3231,6 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
|
|
|
3316
3231
|
protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3317
3232
|
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3318
3233
|
protected processGetMeasurementFormInstanceSchema(response: Response): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3319
|
-
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto>;
|
|
3320
|
-
protected processGetMeasurementFormInstanceSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
|
|
3321
3234
|
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
|
|
3322
3235
|
protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
|
|
3323
3236
|
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
@@ -4886,7 +4799,6 @@ export interface PulseJournalEventDto {
|
|
|
4886
4799
|
eventType: PulseJournalEventTypeDto;
|
|
4887
4800
|
oldValue?: string | null;
|
|
4888
4801
|
newValue?: string | null;
|
|
4889
|
-
lineText?: string | null;
|
|
4890
4802
|
created: Date;
|
|
4891
4803
|
createdBy?: string | null;
|
|
4892
4804
|
}
|
|
@@ -7658,6 +7570,7 @@ export interface PlannerPlanDto {
|
|
|
7658
7570
|
isDraft: boolean;
|
|
7659
7571
|
publishedETag?: string | null;
|
|
7660
7572
|
weeklyCapacities: WeekCapacityDto[];
|
|
7573
|
+
continuationToken?: string | null;
|
|
7661
7574
|
}
|
|
7662
7575
|
export interface PlannerOperationDto {
|
|
7663
7576
|
id: string;
|
|
@@ -7760,7 +7673,7 @@ export interface SetProgramStatus {
|
|
|
7760
7673
|
operationNumber?: number;
|
|
7761
7674
|
status?: ProgramStatus;
|
|
7762
7675
|
}
|
|
7763
|
-
export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File"
|
|
7676
|
+
export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File";
|
|
7764
7677
|
export interface UpdateProductionOrderAttachmentRequest {
|
|
7765
7678
|
type?: ProductionOrderAttachmentType;
|
|
7766
7679
|
description: string;
|
|
@@ -8067,6 +7980,9 @@ export interface ProductionScheduleOperationDto {
|
|
|
8067
7980
|
programStatus?: ProgramStatus | null;
|
|
8068
7981
|
hasNotes: boolean;
|
|
8069
7982
|
notesUnread: boolean;
|
|
7983
|
+
sequenceNumber?: number | null;
|
|
7984
|
+
weekGroup?: string | null;
|
|
7985
|
+
isNewOperation?: boolean | null;
|
|
8070
7986
|
}
|
|
8071
7987
|
export interface SurroundingOperationDto {
|
|
8072
7988
|
id: string;
|
|
@@ -8120,6 +8036,11 @@ export interface ListProductionScheduleOperationsRequest {
|
|
|
8120
8036
|
before?: Date | null;
|
|
8121
8037
|
includeDiscussionSummary?: boolean;
|
|
8122
8038
|
}
|
|
8039
|
+
export interface PagedProductionScheduleDto {
|
|
8040
|
+
results: ProductionScheduleOperationDto[];
|
|
8041
|
+
weeklyCapacities: WeekCapacityDto[];
|
|
8042
|
+
continuationToken?: string | null;
|
|
8043
|
+
}
|
|
8123
8044
|
export interface ProductionScheduleFiltersDto {
|
|
8124
8045
|
partNumbers?: FilterValueWithQuantity[];
|
|
8125
8046
|
bomPositions?: FilterValueWithQuantity[];
|
|
@@ -8550,7 +8471,7 @@ export interface ImaMaterialCheckDto {
|
|
|
8550
8471
|
specificationStatus: ImaSpecificationStatusDto;
|
|
8551
8472
|
purchaseOrder?: string | null;
|
|
8552
8473
|
purchaseOrderLine?: number | null;
|
|
8553
|
-
|
|
8474
|
+
purchaseOrderVendorBatches?: string[] | null;
|
|
8554
8475
|
purchaseOrderPartName?: string | null;
|
|
8555
8476
|
purchaseOrderPartNumber?: string | null;
|
|
8556
8477
|
purchaseOrderPartRevision?: string | null;
|
|
@@ -8570,11 +8491,6 @@ export interface ImaMaterialCheckDto {
|
|
|
8570
8491
|
specificationResults: ImaSpecificationResultsDto;
|
|
8571
8492
|
}
|
|
8572
8493
|
export type ImaSpecificationStatusDto = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
8573
|
-
export interface PurchaseOrderMaterialBatchDto {
|
|
8574
|
-
batchNumber: string;
|
|
8575
|
-
itemNumber?: string | null;
|
|
8576
|
-
vendorBatch?: string | null;
|
|
8577
|
-
}
|
|
8578
8494
|
export type ImaMaterialCheckStatusDto = "Processing" | "Draft" | "Approved" | "Rejected" | "Failed" | "NotSet";
|
|
8579
8495
|
export interface ImaCertificateTypeResultsDto {
|
|
8580
8496
|
manufacturer: ImaCertificateTypeManufacturerResultsDto;
|
|
@@ -8706,7 +8622,6 @@ export interface ImaChemicalAnalysisCompositeResultDto {
|
|
|
8706
8622
|
prenW?: ImaSpecificationCalculatedResultLineDto | null;
|
|
8707
8623
|
v_Nb_Ti?: ImaSpecificationCalculatedResultLineDto | null;
|
|
8708
8624
|
ce?: ImaSpecificationCalculatedResultLineDto | null;
|
|
8709
|
-
nb_Ta?: ImaSpecificationCalculatedResultLineDto | null;
|
|
8710
8625
|
}
|
|
8711
8626
|
export interface ImaSpecificationCalculatedResultLineDto {
|
|
8712
8627
|
specificationMin?: number | null;
|
|
@@ -8830,14 +8745,14 @@ export interface ImaHeatTreatmentCoolingResultLineDto {
|
|
|
8830
8745
|
status: ImaSpecificationResultLineStatusDto;
|
|
8831
8746
|
override?: ImaResultLineOverrideDto | null;
|
|
8832
8747
|
}
|
|
8833
|
-
export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "
|
|
8748
|
+
export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "NotSet";
|
|
8834
8749
|
export interface ImaDocumentTypesResultsDto {
|
|
8835
8750
|
ultrasonicControlCertificate?: ImaSupplementaryCheckResultDto | null;
|
|
8836
8751
|
radiologicalReport?: ImaSupplementaryCheckResultDto | null;
|
|
8837
8752
|
liquidPenetrantCertificate?: ImaSupplementaryCheckResultDto | null;
|
|
8838
8753
|
magneticParticle?: ImaSupplementaryCheckResultDto | null;
|
|
8839
8754
|
pmi?: ImaSupplementaryCheckResultDto | null;
|
|
8840
|
-
|
|
8755
|
+
hydrostatic?: ImaSupplementaryCheckResultDto | null;
|
|
8841
8756
|
visualReport?: ImaSupplementaryCheckResultDto | null;
|
|
8842
8757
|
dimensionalReport?: ImaSupplementaryCheckResultDto | null;
|
|
8843
8758
|
microExaminationReport?: ImaSupplementaryCheckResultDto | null;
|
|
@@ -8958,7 +8873,6 @@ export interface ImaOverrideChemicalAnalysisCompositeResultsDto {
|
|
|
8958
8873
|
prenW?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8959
8874
|
v_Nb_Ti?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8960
8875
|
ce?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8961
|
-
nb_Ta?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8962
8876
|
}
|
|
8963
8877
|
export interface ImaOverrideTensileTestResultsDto {
|
|
8964
8878
|
heatNumber?: string | null;
|
|
@@ -9036,7 +8950,7 @@ export interface ImaOverrideDocumentTypesResultsDto {
|
|
|
9036
8950
|
liquidPenetrantCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
9037
8951
|
magneticParticle?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
9038
8952
|
pmi?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
9039
|
-
|
|
8953
|
+
hydrostatic?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
9040
8954
|
visualReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
9041
8955
|
dimensionalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
9042
8956
|
microExaminationReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
@@ -9069,7 +8983,7 @@ export interface ImaMaterialCheckLiteDto {
|
|
|
9069
8983
|
specificationStatus: ImaSpecificationStatusDto;
|
|
9070
8984
|
purchaseOrder?: string | null;
|
|
9071
8985
|
purchaseOrderLine?: number | null;
|
|
9072
|
-
|
|
8986
|
+
purchaseOrderVendorBatches?: string[] | null;
|
|
9073
8987
|
purchaseOrderPartName?: string | null;
|
|
9074
8988
|
purchaseOrderPartNumber?: string | null;
|
|
9075
8989
|
purchaseOrderPartRevision?: string | null;
|
|
@@ -9100,7 +9014,7 @@ export interface ImaMaterialChecksPageRequestDto {
|
|
|
9100
9014
|
certificateTypeFilter?: string | null;
|
|
9101
9015
|
purchaseOrderLineFilter?: number | null;
|
|
9102
9016
|
heatFilter?: string | null;
|
|
9103
|
-
vendorBatchesFilter?: string | null;
|
|
9017
|
+
vendorBatchesFilter?: string[] | null;
|
|
9104
9018
|
purchaseOrderPartNameFilter?: string | null;
|
|
9105
9019
|
purchaseOrderPartNumberFilter?: string | null;
|
|
9106
9020
|
purchaseOrderDrawingFilter?: string | null;
|
|
@@ -9133,7 +9047,6 @@ export interface ImaMaterialCheckReportDto {
|
|
|
9133
9047
|
includesAllHeats: boolean;
|
|
9134
9048
|
status: ImaMaterialCheckStatusDto;
|
|
9135
9049
|
audit: ImaMaterialCheckReportAuditInfo;
|
|
9136
|
-
isOutdated: boolean;
|
|
9137
9050
|
}
|
|
9138
9051
|
export interface ImaMaterialCheckReportAuditInfo {
|
|
9139
9052
|
createdBy: string;
|
|
@@ -9159,7 +9072,7 @@ export interface PurchaseOrderMaterialLineDetailsDto {
|
|
|
9159
9072
|
purchaseOrder: string;
|
|
9160
9073
|
lineNumber?: number | null;
|
|
9161
9074
|
dimension?: string | null;
|
|
9162
|
-
|
|
9075
|
+
vendorBatches: string[];
|
|
9163
9076
|
mdsCodeFl?: string | null;
|
|
9164
9077
|
typeOfCertificate?: string | null;
|
|
9165
9078
|
}
|
|
@@ -9297,7 +9210,6 @@ export interface ImaChemistryCompositeSpecificationDto {
|
|
|
9297
9210
|
prenW?: ImaSpecificationLineDto | null;
|
|
9298
9211
|
v_Nb_Ti?: boolean | null;
|
|
9299
9212
|
ce?: boolean | null;
|
|
9300
|
-
nb_Ta?: ImaSpecificationLineDto | null;
|
|
9301
9213
|
}
|
|
9302
9214
|
export interface ImaMechanicalSpecificationDto {
|
|
9303
9215
|
tensile?: ImaTensileSpecificationDto | null;
|
|
@@ -9329,7 +9241,7 @@ export interface ImaDocumentTypesSpecificationDto {
|
|
|
9329
9241
|
liquidPenetrantCertificate?: boolean;
|
|
9330
9242
|
magneticParticle?: boolean;
|
|
9331
9243
|
pmi?: boolean;
|
|
9332
|
-
|
|
9244
|
+
hydrostatic?: boolean;
|
|
9333
9245
|
visualReport?: boolean;
|
|
9334
9246
|
dimensionalReport?: boolean;
|
|
9335
9247
|
microExaminationReport?: boolean;
|
|
@@ -9396,113 +9308,6 @@ export interface ImaSpecificationLiteDto {
|
|
|
9396
9308
|
updated: Date;
|
|
9397
9309
|
isDeleted: boolean;
|
|
9398
9310
|
}
|
|
9399
|
-
export interface SchemaCreatorStateDto {
|
|
9400
|
-
settings: SchemaCreatorSettingsDto;
|
|
9401
|
-
elements: SchemaCreatorElementDto[];
|
|
9402
|
-
documentParseStatus?: SchemaCreatorDocumentParseStatusDto | null;
|
|
9403
|
-
isAutoGenerated?: boolean;
|
|
9404
|
-
createdBy?: SchemaCreatorAuditInfoDto | null;
|
|
9405
|
-
createdAt?: Date | null;
|
|
9406
|
-
updatedBy?: SchemaCreatorAuditInfoDto | null;
|
|
9407
|
-
updatedAt?: Date | null;
|
|
9408
|
-
}
|
|
9409
|
-
export interface SchemaCreatorSettingsDto {
|
|
9410
|
-
unit?: SchemaCreatorUnitOfMeasureDto;
|
|
9411
|
-
tolerance?: GeneralToleranceDto;
|
|
9412
|
-
balloonSize?: number;
|
|
9413
|
-
transparentBalloons?: boolean;
|
|
9414
|
-
}
|
|
9415
|
-
export type SchemaCreatorUnitOfMeasureDto = "Millimeter" | "Inch" | "Mixed";
|
|
9416
|
-
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
9417
|
-
export interface SchemaCreatorElementDto {
|
|
9418
|
-
id: string;
|
|
9419
|
-
kind: SchemaCreatorElementKindDto;
|
|
9420
|
-
drawings: SchemaCreatorElementDrawingsDto;
|
|
9421
|
-
isDirty?: boolean | null;
|
|
9422
|
-
values?: SchemaCreatorElementValuesDto | null;
|
|
9423
|
-
valuesSnapshot?: SchemaCreatorElementValuesDto | null;
|
|
9424
|
-
parseResult?: SchemaCreatorSnipResultDto | null;
|
|
9425
|
-
resolveAttempt?: SchemaCreatorParseAttemptDto | null;
|
|
9426
|
-
createdBy?: SchemaCreatorAuditInfoDto | null;
|
|
9427
|
-
createdAt?: Date | null;
|
|
9428
|
-
updatedBy?: SchemaCreatorAuditInfoDto | null;
|
|
9429
|
-
updatedAt?: Date | null;
|
|
9430
|
-
}
|
|
9431
|
-
export type SchemaCreatorElementKindDto = "Pending" | "Auto" | "Manual";
|
|
9432
|
-
export interface SchemaCreatorElementDrawingsDto {
|
|
9433
|
-
snip: SchemaCreatorSnipDto;
|
|
9434
|
-
balloon: SchemaCreatorPointDto;
|
|
9435
|
-
pageIndex: number;
|
|
9436
|
-
}
|
|
9437
|
-
export interface SchemaCreatorSnipDto {
|
|
9438
|
-
rect: SchemaCreatorRectDto;
|
|
9439
|
-
rotation?: number | null;
|
|
9440
|
-
unrotatedRect?: SchemaCreatorRectDto | null;
|
|
9441
|
-
}
|
|
9442
|
-
export interface SchemaCreatorRectDto {
|
|
9443
|
-
origin: SchemaCreatorPointDto;
|
|
9444
|
-
size: SchemaCreatorSizeDto;
|
|
9445
|
-
}
|
|
9446
|
-
export interface SchemaCreatorPointDto {
|
|
9447
|
-
x: number;
|
|
9448
|
-
y: number;
|
|
9449
|
-
}
|
|
9450
|
-
export interface SchemaCreatorSizeDto {
|
|
9451
|
-
width: number;
|
|
9452
|
-
height: number;
|
|
9453
|
-
}
|
|
9454
|
-
export interface SchemaCreatorElementValuesDto {
|
|
9455
|
-
reference: number;
|
|
9456
|
-
unit?: UnitOfMeasureDto | null;
|
|
9457
|
-
nominal?: number | null;
|
|
9458
|
-
nominalText?: string | null;
|
|
9459
|
-
upperLimit?: number | null;
|
|
9460
|
-
lowerLimit?: number | null;
|
|
9461
|
-
plusTolerance?: number | null;
|
|
9462
|
-
minusTolerance?: number | null;
|
|
9463
|
-
coatingThickness?: number | null;
|
|
9464
|
-
measurementFrequency: MeasurementFrequency;
|
|
9465
|
-
measurementFrequencyParameter?: number | null;
|
|
9466
|
-
type?: string | null;
|
|
9467
|
-
count?: number | null;
|
|
9468
|
-
comment?: string | null;
|
|
9469
|
-
canCopy: boolean;
|
|
9470
|
-
visibleToCustomer: boolean;
|
|
9471
|
-
isDocumentedExternally: boolean;
|
|
9472
|
-
}
|
|
9473
|
-
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
9474
|
-
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
9475
|
-
export interface SchemaCreatorSnipResultDto {
|
|
9476
|
-
nominal?: number | null;
|
|
9477
|
-
nominalText?: string | null;
|
|
9478
|
-
type?: string | null;
|
|
9479
|
-
upperLimit?: number | null;
|
|
9480
|
-
lowerLimit?: number | null;
|
|
9481
|
-
plusTolerance?: number | null;
|
|
9482
|
-
minusTolerance?: number | null;
|
|
9483
|
-
count?: number | null;
|
|
9484
|
-
}
|
|
9485
|
-
export interface SchemaCreatorParseAttemptDto {
|
|
9486
|
-
startedAt: Date;
|
|
9487
|
-
errorType?: SchemaCreatorParseErrorTypeDto | null;
|
|
9488
|
-
errorMessage?: string | null;
|
|
9489
|
-
}
|
|
9490
|
-
export type SchemaCreatorParseErrorTypeDto = "Timeout" | "ParseError";
|
|
9491
|
-
export interface SchemaCreatorAuditInfoDto {
|
|
9492
|
-
objectId: string;
|
|
9493
|
-
userId: string;
|
|
9494
|
-
userFullName?: string | null;
|
|
9495
|
-
}
|
|
9496
|
-
export interface SchemaCreatorDocumentParseStatusDto {
|
|
9497
|
-
inProgress: boolean;
|
|
9498
|
-
attempt?: SchemaCreatorParseAttemptDto | null;
|
|
9499
|
-
}
|
|
9500
|
-
export interface SchemaCreatorXmlGeometryDto {
|
|
9501
|
-
xmlAttributeId: number;
|
|
9502
|
-
snipRect: SchemaCreatorRectDto;
|
|
9503
|
-
balloon: SchemaCreatorPointDto;
|
|
9504
|
-
pageIndex: number;
|
|
9505
|
-
}
|
|
9506
9311
|
export interface MeasurementFormSchemaDto {
|
|
9507
9312
|
id: string;
|
|
9508
9313
|
versionId: number;
|
|
@@ -9534,7 +9339,9 @@ export interface MeasurementFormSchemaDto {
|
|
|
9534
9339
|
}
|
|
9535
9340
|
export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
|
|
9536
9341
|
export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
|
|
9342
|
+
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
9537
9343
|
export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
|
|
9344
|
+
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
9538
9345
|
export interface MeasurementFormSchemaAttachmentDto {
|
|
9539
9346
|
url: string;
|
|
9540
9347
|
title: string;
|
|
@@ -9543,7 +9350,6 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
9543
9350
|
id: string;
|
|
9544
9351
|
balloonId?: string | null;
|
|
9545
9352
|
reference: number;
|
|
9546
|
-
originalXmlId?: number | null;
|
|
9547
9353
|
imageUrl?: string | null;
|
|
9548
9354
|
thumbnailUrl?: string | null;
|
|
9549
9355
|
section?: string | null;
|
|
@@ -9584,6 +9390,7 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
9584
9390
|
isValid: boolean;
|
|
9585
9391
|
validationErrorMessage?: string | null;
|
|
9586
9392
|
}
|
|
9393
|
+
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
9587
9394
|
export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
|
|
9588
9395
|
export type BonusType = "None" | "Positive" | "PositiveAndNegative";
|
|
9589
9396
|
export interface MeasurementFormLinkedSchemaDto {
|
|
@@ -9696,7 +9503,6 @@ export interface UploadDrawingRequest {
|
|
|
9696
9503
|
export interface UploadRequest {
|
|
9697
9504
|
uploadKey: string;
|
|
9698
9505
|
filename: string;
|
|
9699
|
-
isMarkedDrawing?: boolean | null;
|
|
9700
9506
|
}
|
|
9701
9507
|
export interface MeasurementFormImportStatusDto {
|
|
9702
9508
|
progress: number;
|
|
@@ -9772,8 +9578,6 @@ export interface MeasurementFormCustomerSettingsDto {
|
|
|
9772
9578
|
validationRuleId?: string | null;
|
|
9773
9579
|
requireCalibratedTools: boolean;
|
|
9774
9580
|
allowEmptyToolListInValue: boolean;
|
|
9775
|
-
disableAiParseDocument: boolean;
|
|
9776
|
-
disableAiParseSnip: boolean;
|
|
9777
9581
|
}
|
|
9778
9582
|
export interface UpdateMeasurementFormCustomerSettings {
|
|
9779
9583
|
customerId: string;
|
|
@@ -9782,8 +9586,6 @@ export interface UpdateMeasurementFormCustomerSettings {
|
|
|
9782
9586
|
validationRuleId?: string | null;
|
|
9783
9587
|
requireCalibratedTools: boolean;
|
|
9784
9588
|
allowEmptyToolListInValue: boolean;
|
|
9785
|
-
disableAiParseDocument: boolean;
|
|
9786
|
-
disableAiParseSnip: boolean;
|
|
9787
9589
|
}
|
|
9788
9590
|
export interface MeasurementFormMappingDto {
|
|
9789
9591
|
id: string;
|