@ignos/api-client 20260821.234.1-alpha → 20260821.236.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/ignosportal-api.d.ts +24 -176
- package/lib/ignosportal-api.js +78 -275
- package/package.json +1 -1
- package/src/ignosportal-api.ts +104 -442
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -2657,6 +2657,7 @@ export declare class MesPurchaseOrderClient extends AuthorizedApiBase implements
|
|
|
2657
2657
|
export interface IMesResourceClient {
|
|
2658
2658
|
listResourceGroups(includeResources: boolean | undefined): Promise<ResourceGroupDto[]>;
|
|
2659
2659
|
listResourceGroupResources(id: string): Promise<ProductionResourceDto[]>;
|
|
2660
|
+
listResourceGroupWorkerDetails(id: string): Promise<ResourceGroupWorkerDetailsDto>;
|
|
2660
2661
|
listDepartments(): Promise<DepartmentDto[]>;
|
|
2661
2662
|
}
|
|
2662
2663
|
export declare class MesResourceClient extends AuthorizedApiBase implements IMesResourceClient {
|
|
@@ -2669,6 +2670,8 @@ export declare class MesResourceClient extends AuthorizedApiBase implements IMes
|
|
|
2669
2670
|
protected processListResourceGroups(response: Response): Promise<ResourceGroupDto[]>;
|
|
2670
2671
|
listResourceGroupResources(id: string): Promise<ProductionResourceDto[]>;
|
|
2671
2672
|
protected processListResourceGroupResources(response: Response): Promise<ProductionResourceDto[]>;
|
|
2673
|
+
listResourceGroupWorkerDetails(id: string): Promise<ResourceGroupWorkerDetailsDto>;
|
|
2674
|
+
protected processListResourceGroupWorkerDetails(response: Response): Promise<ResourceGroupWorkerDetailsDto>;
|
|
2672
2675
|
listDepartments(): Promise<DepartmentDto[]>;
|
|
2673
2676
|
protected processListDepartments(response: Response): Promise<DepartmentDto[]>;
|
|
2674
2677
|
}
|
|
@@ -2782,6 +2785,7 @@ export interface IInspectMatchMaterialChecksClient {
|
|
|
2782
2785
|
listMaterialChecks(request: ImaMaterialChecksPageRequestDto): Promise<PagedResultOfImaMaterialCheckLiteDto>;
|
|
2783
2786
|
processMaterialCertificate(certificatesRequest: ProcessMaterialCertificate): Promise<void>;
|
|
2784
2787
|
generateReport(request: ImaMaterialChecksReportRequestDto): Promise<ImaMaterialCheckReportDto>;
|
|
2788
|
+
downloadReport(id: string): Promise<FileDto>;
|
|
2785
2789
|
}
|
|
2786
2790
|
export declare class InspectMatchMaterialChecksClient extends AuthorizedApiBase implements IInspectMatchMaterialChecksClient {
|
|
2787
2791
|
private http;
|
|
@@ -2797,6 +2801,8 @@ export declare class InspectMatchMaterialChecksClient extends AuthorizedApiBase
|
|
|
2797
2801
|
protected processProcessMaterialCertificate(response: Response): Promise<void>;
|
|
2798
2802
|
generateReport(request: ImaMaterialChecksReportRequestDto): Promise<ImaMaterialCheckReportDto>;
|
|
2799
2803
|
protected processGenerateReport(response: Response): Promise<ImaMaterialCheckReportDto>;
|
|
2804
|
+
downloadReport(id: string): Promise<FileDto>;
|
|
2805
|
+
protected processDownloadReport(response: Response): Promise<FileDto>;
|
|
2800
2806
|
}
|
|
2801
2807
|
export interface IInspectMatchPurchaseOrderClient {
|
|
2802
2808
|
searchPurchaseOrders(input: string | undefined): Promise<PurchaseOrderMaterialSearchResultsDto>;
|
|
@@ -2873,69 +2879,6 @@ export declare class InspectMatchSpecificationsClient extends AuthorizedApiBase
|
|
|
2873
2879
|
listSpecifications(): Promise<ImaSpecificationLiteDto[]>;
|
|
2874
2880
|
protected processListSpecifications(response: Response): Promise<ImaSpecificationLiteDto[]>;
|
|
2875
2881
|
}
|
|
2876
|
-
export interface IInspectSchemaCreatorClient {
|
|
2877
|
-
getSchemaCreatorState(id: string): Promise<SchemaCreatorStateDto>;
|
|
2878
|
-
/**
|
|
2879
|
-
* Creates the initial creator state for a schema version. Returns 409 if
|
|
2880
|
-
state already exists; the caller should re-fetch it instead of writing.
|
|
2881
|
-
*/
|
|
2882
|
-
createSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
2883
|
-
updateSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
2884
|
-
/**
|
|
2885
|
-
* Starts a full drawing AI parse: clears every element and locks the
|
|
2886
|
-
schema for every viewer until it completes. If one is already in
|
|
2887
|
-
progress, returns that instead of starting a second one.
|
|
2888
|
-
*/
|
|
2889
|
-
requestSchemaCreatorDocumentParse(id: string): Promise<SchemaCreatorStateDto>;
|
|
2890
|
-
/**
|
|
2891
|
-
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
2892
|
-
returns a temporary download link.
|
|
2893
|
-
*/
|
|
2894
|
-
exportSchemaCreatorDrawing(id: string): Promise<DownloadDto>;
|
|
2895
|
-
/**
|
|
2896
|
-
* Starts an async snip resolve; the result is delivered through the
|
|
2897
|
-
SchemaCreatorSnipResolved SignalR notification.
|
|
2898
|
-
* @param image (optional)
|
|
2899
|
-
*/
|
|
2900
|
-
requestSchemaCreatorSnipParse(id: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
2901
|
-
}
|
|
2902
|
-
export declare class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
|
|
2903
|
-
private http;
|
|
2904
|
-
private baseUrl;
|
|
2905
|
-
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
2906
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
2907
|
-
});
|
|
2908
|
-
getSchemaCreatorState(id: string): Promise<SchemaCreatorStateDto>;
|
|
2909
|
-
protected processGetSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
|
|
2910
|
-
/**
|
|
2911
|
-
* Creates the initial creator state for a schema version. Returns 409 if
|
|
2912
|
-
state already exists; the caller should re-fetch it instead of writing.
|
|
2913
|
-
*/
|
|
2914
|
-
createSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
2915
|
-
protected processCreateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
|
|
2916
|
-
updateSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
2917
|
-
protected processUpdateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
|
|
2918
|
-
/**
|
|
2919
|
-
* Starts a full drawing AI parse: clears every element and locks the
|
|
2920
|
-
schema for every viewer until it completes. If one is already in
|
|
2921
|
-
progress, returns that instead of starting a second one.
|
|
2922
|
-
*/
|
|
2923
|
-
requestSchemaCreatorDocumentParse(id: string): Promise<SchemaCreatorStateDto>;
|
|
2924
|
-
protected processRequestSchemaCreatorDocumentParse(response: Response): Promise<SchemaCreatorStateDto>;
|
|
2925
|
-
/**
|
|
2926
|
-
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
2927
|
-
returns a temporary download link.
|
|
2928
|
-
*/
|
|
2929
|
-
exportSchemaCreatorDrawing(id: string): Promise<DownloadDto>;
|
|
2930
|
-
protected processExportSchemaCreatorDrawing(response: Response): Promise<DownloadDto>;
|
|
2931
|
-
/**
|
|
2932
|
-
* Starts an async snip resolve; the result is delivered through the
|
|
2933
|
-
SchemaCreatorSnipResolved SignalR notification.
|
|
2934
|
-
* @param image (optional)
|
|
2935
|
-
*/
|
|
2936
|
-
requestSchemaCreatorSnipParse(id: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
2937
|
-
protected processRequestSchemaCreatorSnipParse(response: Response): Promise<void>;
|
|
2938
|
-
}
|
|
2939
2882
|
export interface IMeasurementFormSchemasAdminClient {
|
|
2940
2883
|
getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
2941
2884
|
createMeasurementForm(request: CreateMeasurementFormSchema): Promise<MeasurementFormDto>;
|
|
@@ -5211,6 +5154,7 @@ export interface ResourceDto {
|
|
|
5211
5154
|
export interface DepartmentDto {
|
|
5212
5155
|
number: string;
|
|
5213
5156
|
name: string;
|
|
5157
|
+
supervisor?: UserDto | null;
|
|
5214
5158
|
}
|
|
5215
5159
|
export type OperationStatusDto = "NotReady" | "Ready" | "Ongoing" | "Completed" | "Stopped";
|
|
5216
5160
|
export interface WorkOrderTraceMaterialDto {
|
|
@@ -8151,6 +8095,10 @@ export interface ProductionResourceDto {
|
|
|
8151
8095
|
name?: string | null;
|
|
8152
8096
|
department?: DepartmentDto | null;
|
|
8153
8097
|
}
|
|
8098
|
+
export interface ResourceGroupWorkerDetailsDto {
|
|
8099
|
+
supervisor?: UserDto | null;
|
|
8100
|
+
activeWorkers: UserDto[];
|
|
8101
|
+
}
|
|
8154
8102
|
export interface IotTypeSourceDto {
|
|
8155
8103
|
id: string;
|
|
8156
8104
|
name: string;
|
|
@@ -8352,7 +8300,6 @@ export interface ImaMaterialCheckDto {
|
|
|
8352
8300
|
materialCheckId: string;
|
|
8353
8301
|
fileName: string;
|
|
8354
8302
|
originalMaterialCertificate: FileDto;
|
|
8355
|
-
generatedMaterialCertificate?: FileDto | null;
|
|
8356
8303
|
customerOrder?: string | null;
|
|
8357
8304
|
project?: string | null;
|
|
8358
8305
|
workOrder?: string | null;
|
|
@@ -8384,10 +8331,6 @@ export interface ImaMaterialCheckDto {
|
|
|
8384
8331
|
updatedById: string;
|
|
8385
8332
|
updatedByName?: string | null;
|
|
8386
8333
|
isDeleted: boolean;
|
|
8387
|
-
reportCreatedBy?: string | null;
|
|
8388
|
-
reportCreatedById?: string | null;
|
|
8389
|
-
reportCreatedByName?: string | null;
|
|
8390
|
-
reportCreated?: Date | null;
|
|
8391
8334
|
certificateTypeResults: ImaCertificateTypeResultsDto;
|
|
8392
8335
|
specificationResults: ImaSpecificationResultsDto;
|
|
8393
8336
|
}
|
|
@@ -8866,7 +8809,6 @@ export interface ImaMaterialCheckLiteDto {
|
|
|
8866
8809
|
materialCheckId: string;
|
|
8867
8810
|
fileName: string;
|
|
8868
8811
|
originalMaterialCertificate: FileDto;
|
|
8869
|
-
generatedMaterialCertificate?: FileDto | null;
|
|
8870
8812
|
customerOrder?: string | null;
|
|
8871
8813
|
project?: string | null;
|
|
8872
8814
|
workOrder?: string | null;
|
|
@@ -8898,10 +8840,6 @@ export interface ImaMaterialCheckLiteDto {
|
|
|
8898
8840
|
updatedById: string;
|
|
8899
8841
|
updatedByName?: string | null;
|
|
8900
8842
|
isDeleted?: boolean;
|
|
8901
|
-
reportCreatedBy?: string | null;
|
|
8902
|
-
reportCreatedById?: string | null;
|
|
8903
|
-
reportCreatedByName?: string | null;
|
|
8904
|
-
reportCreated?: Date | null;
|
|
8905
8843
|
}
|
|
8906
8844
|
export interface ImaMaterialChecksPageRequestDto {
|
|
8907
8845
|
pageSize?: number | null;
|
|
@@ -8929,7 +8867,7 @@ export interface ImaMaterialChecksPageOrderRequestDto {
|
|
|
8929
8867
|
column?: ImaMaterialChecksOrderByColumnDto;
|
|
8930
8868
|
direction?: ImaOrderDirectionDto;
|
|
8931
8869
|
}
|
|
8932
|
-
export type ImaMaterialChecksOrderByColumnDto = "FileName" | "PurchaseOrder" | "Line" | "VendorBatch" | "Part" | "Drawing" | "Heat" | "CertificateType" | "Specification" | "
|
|
8870
|
+
export type ImaMaterialChecksOrderByColumnDto = "FileName" | "PurchaseOrder" | "Line" | "VendorBatch" | "Part" | "Drawing" | "Heat" | "CertificateType" | "Specification" | "Project" | "CustomerOrder" | "WorkOrder" | "Date" | "Status";
|
|
8933
8871
|
export type ImaOrderDirectionDto = "Asc" | "Desc";
|
|
8934
8872
|
export interface ProcessMaterialCertificate {
|
|
8935
8873
|
files: UploadFileCdfDto[];
|
|
@@ -8954,8 +8892,14 @@ export interface ImaMaterialCheckReportAuditInfo {
|
|
|
8954
8892
|
created: Date;
|
|
8955
8893
|
}
|
|
8956
8894
|
export interface ImaMaterialChecksReportRequestDto {
|
|
8957
|
-
|
|
8958
|
-
|
|
8895
|
+
materialCheckId?: string;
|
|
8896
|
+
selectedHeatNumbers?: string[] | null;
|
|
8897
|
+
}
|
|
8898
|
+
export interface PurchaseOrderMaterialSearchResultsDto {
|
|
8899
|
+
purchaseOrders: string[];
|
|
8900
|
+
}
|
|
8901
|
+
export interface PurchaseOrderMaterialLinesDto {
|
|
8902
|
+
lines: number[];
|
|
8959
8903
|
}
|
|
8960
8904
|
export interface PurchaseOrderMaterialLineDetailsDto {
|
|
8961
8905
|
companyId: string;
|
|
@@ -8989,12 +8933,6 @@ export interface User {
|
|
|
8989
8933
|
upn?: string | null;
|
|
8990
8934
|
email?: string | null;
|
|
8991
8935
|
}
|
|
8992
|
-
export interface PurchaseOrderMaterialSearchResultsDto {
|
|
8993
|
-
purchaseOrders: string[];
|
|
8994
|
-
}
|
|
8995
|
-
export interface PurchaseOrderMaterialLinesDto {
|
|
8996
|
-
lines: number[];
|
|
8997
|
-
}
|
|
8998
8936
|
export interface ImaMatchSettingsDto {
|
|
8999
8937
|
columns: ImaMatchSettingsColumnsDto;
|
|
9000
8938
|
}
|
|
@@ -9102,7 +9040,7 @@ export interface ImaSpecificationLineDto {
|
|
|
9102
9040
|
max?: number | null;
|
|
9103
9041
|
unit?: ImaUnitDto | null;
|
|
9104
9042
|
}
|
|
9105
|
-
export type ImaUnitDto = "Millimeter" | "Centimeter" | "Meter" | "Inch" | "Kilogram" | "Gram" | "Tonne" | "Pound" | "Megapascal" | "NewtonPerSquareMillimeter" | "KilopoundPerSquareInch" | "PoundPerSquareInch" | "Bar" | "Ppm" | "Percentage" | "WeightPercentage" | "Joule" | "FootPound" | "Celsius" | "Fahrenheit" | "Kelvin" | "Minute" | "Hour";
|
|
9043
|
+
export type ImaUnitDto = "Millimeter" | "Centimeter" | "Meter" | "Inch" | "Kilogram" | "Gram" | "Tonne" | "Pound" | "Megapascal" | "NewtonPerSquareMillimeter" | "KilopoundPerSquareInch" | "PoundPerSquareInch" | "Bar" | "Ppm" | "Percentage" | "WeightPercentage" | "Joule" | "FootPound" | "Celsius" | "Fahrenheit" | "Kelvin" | "Minute" | "Hour" | "BrinellHardness" | "VickersHardness" | "RockwellCHardness" | "RockwellBHardness" | "FerriteNumber" | "FerriteVolumePercentage" | "ElongationPercentage" | "MillilitersPerHundredGrams";
|
|
9106
9044
|
export interface ImaChemistryCompositeSpecificationDto {
|
|
9107
9045
|
pren?: ImaSpecificationLineDto | null;
|
|
9108
9046
|
pren22?: ImaSpecificationLineDto | null;
|
|
@@ -9207,99 +9145,6 @@ export interface ImaSpecificationLiteDto {
|
|
|
9207
9145
|
updated: Date;
|
|
9208
9146
|
isDeleted: boolean;
|
|
9209
9147
|
}
|
|
9210
|
-
export interface SchemaCreatorStateDto {
|
|
9211
|
-
settings: SchemaCreatorSettingsDto;
|
|
9212
|
-
elements: SchemaCreatorElementDto[];
|
|
9213
|
-
documentParseStatus?: SchemaCreatorDocumentParseStatusDto | null;
|
|
9214
|
-
isAutoGenerated?: boolean;
|
|
9215
|
-
createdBy?: SchemaCreatorAuditInfoDto | null;
|
|
9216
|
-
createdAt?: Date | null;
|
|
9217
|
-
updatedBy?: SchemaCreatorAuditInfoDto | null;
|
|
9218
|
-
updatedAt?: Date | null;
|
|
9219
|
-
}
|
|
9220
|
-
export interface SchemaCreatorSettingsDto {
|
|
9221
|
-
unit?: UnitOfMeasureDto;
|
|
9222
|
-
tolerance?: GeneralToleranceDto;
|
|
9223
|
-
balloonSize?: number;
|
|
9224
|
-
transparentBalloons?: boolean;
|
|
9225
|
-
}
|
|
9226
|
-
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
9227
|
-
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
9228
|
-
export interface SchemaCreatorElementDto {
|
|
9229
|
-
id: string;
|
|
9230
|
-
kind: SchemaCreatorElementKindDto;
|
|
9231
|
-
drawings: SchemaCreatorElementDrawingsDto;
|
|
9232
|
-
isDirty?: boolean | null;
|
|
9233
|
-
values?: SchemaCreatorElementValuesDto | null;
|
|
9234
|
-
parseResult?: SchemaCreatorSnipResultDto | null;
|
|
9235
|
-
resolveAttempt?: SchemaCreatorParseAttemptDto | null;
|
|
9236
|
-
createdBy?: SchemaCreatorAuditInfoDto | null;
|
|
9237
|
-
createdAt?: Date | null;
|
|
9238
|
-
updatedBy?: SchemaCreatorAuditInfoDto | null;
|
|
9239
|
-
updatedAt?: Date | null;
|
|
9240
|
-
}
|
|
9241
|
-
export type SchemaCreatorElementKindDto = "Pending" | "Auto" | "Manual";
|
|
9242
|
-
export interface SchemaCreatorElementDrawingsDto {
|
|
9243
|
-
snip: SchemaCreatorSnipDto;
|
|
9244
|
-
balloon: SchemaCreatorPointDto;
|
|
9245
|
-
pageIndex: number;
|
|
9246
|
-
}
|
|
9247
|
-
export interface SchemaCreatorSnipDto {
|
|
9248
|
-
rect: SchemaCreatorRectDto;
|
|
9249
|
-
rotation?: number | null;
|
|
9250
|
-
unrotatedRect?: SchemaCreatorRectDto | null;
|
|
9251
|
-
}
|
|
9252
|
-
export interface SchemaCreatorRectDto {
|
|
9253
|
-
origin: SchemaCreatorPointDto;
|
|
9254
|
-
size: SchemaCreatorSizeDto;
|
|
9255
|
-
}
|
|
9256
|
-
export interface SchemaCreatorPointDto {
|
|
9257
|
-
x: number;
|
|
9258
|
-
y: number;
|
|
9259
|
-
}
|
|
9260
|
-
export interface SchemaCreatorSizeDto {
|
|
9261
|
-
width: number;
|
|
9262
|
-
height: number;
|
|
9263
|
-
}
|
|
9264
|
-
export interface SchemaCreatorElementValuesDto {
|
|
9265
|
-
reference: number;
|
|
9266
|
-
nominal?: number | null;
|
|
9267
|
-
nominalText?: string | null;
|
|
9268
|
-
plusTolerance?: number | null;
|
|
9269
|
-
minusTolerance?: number | null;
|
|
9270
|
-
coatingThickness?: number | null;
|
|
9271
|
-
measurementFrequency: MeasurementFrequency;
|
|
9272
|
-
measurementFrequencyParameter?: number | null;
|
|
9273
|
-
type?: string | null;
|
|
9274
|
-
count?: number | null;
|
|
9275
|
-
comment?: string | null;
|
|
9276
|
-
canCopy: boolean;
|
|
9277
|
-
visibleToCustomer: boolean;
|
|
9278
|
-
isDocumentedExternally: boolean;
|
|
9279
|
-
}
|
|
9280
|
-
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
9281
|
-
export interface SchemaCreatorSnipResultDto {
|
|
9282
|
-
nominal?: number | null;
|
|
9283
|
-
nominalText?: string | null;
|
|
9284
|
-
plusTolerance?: number | null;
|
|
9285
|
-
minusTolerance?: number | null;
|
|
9286
|
-
count?: number | null;
|
|
9287
|
-
}
|
|
9288
|
-
export interface SchemaCreatorParseAttemptDto {
|
|
9289
|
-
startedAt: Date;
|
|
9290
|
-
errorType?: SchemaCreatorParseErrorTypeDto | null;
|
|
9291
|
-
errorMessage?: string | null;
|
|
9292
|
-
}
|
|
9293
|
-
export type SchemaCreatorParseErrorTypeDto = "Timeout" | "ParseError";
|
|
9294
|
-
export interface SchemaCreatorAuditInfoDto {
|
|
9295
|
-
objectId: string;
|
|
9296
|
-
userId: string;
|
|
9297
|
-
userFullName?: string | null;
|
|
9298
|
-
}
|
|
9299
|
-
export interface SchemaCreatorDocumentParseStatusDto {
|
|
9300
|
-
inProgress: boolean;
|
|
9301
|
-
attempt?: SchemaCreatorParseAttemptDto | null;
|
|
9302
|
-
}
|
|
9303
9148
|
export interface MeasurementFormSchemaDto {
|
|
9304
9149
|
id: string;
|
|
9305
9150
|
versionId: number;
|
|
@@ -9331,7 +9176,9 @@ export interface MeasurementFormSchemaDto {
|
|
|
9331
9176
|
}
|
|
9332
9177
|
export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
|
|
9333
9178
|
export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
|
|
9179
|
+
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
9334
9180
|
export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
|
|
9181
|
+
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
9335
9182
|
export interface MeasurementFormSchemaAttachmentDto {
|
|
9336
9183
|
url: string;
|
|
9337
9184
|
title: string;
|
|
@@ -9380,6 +9227,7 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
9380
9227
|
isValid: boolean;
|
|
9381
9228
|
validationErrorMessage?: string | null;
|
|
9382
9229
|
}
|
|
9230
|
+
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
9383
9231
|
export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
|
|
9384
9232
|
export type BonusType = "None" | "Positive" | "PositiveAndNegative";
|
|
9385
9233
|
export interface MeasurementFormLinkedSchemaDto {
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -22175,6 +22175,45 @@ export class MesResourceClient extends AuthorizedApiBase {
|
|
|
22175
22175
|
}
|
|
22176
22176
|
return Promise.resolve(null);
|
|
22177
22177
|
}
|
|
22178
|
+
listResourceGroupWorkerDetails(id) {
|
|
22179
|
+
let url_ = this.baseUrl + "/mes/resourcegroups/{id}/worker-details";
|
|
22180
|
+
if (id === undefined || id === null)
|
|
22181
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
22182
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
22183
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
22184
|
+
let options_ = {
|
|
22185
|
+
method: "GET",
|
|
22186
|
+
headers: {
|
|
22187
|
+
"Accept": "application/json"
|
|
22188
|
+
}
|
|
22189
|
+
};
|
|
22190
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22191
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
22192
|
+
}).then((_response) => {
|
|
22193
|
+
return this.processListResourceGroupWorkerDetails(_response);
|
|
22194
|
+
});
|
|
22195
|
+
}
|
|
22196
|
+
processListResourceGroupWorkerDetails(response) {
|
|
22197
|
+
const status = response.status;
|
|
22198
|
+
let _headers = {};
|
|
22199
|
+
if (response.headers && response.headers.forEach) {
|
|
22200
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
22201
|
+
}
|
|
22202
|
+
;
|
|
22203
|
+
if (status === 200) {
|
|
22204
|
+
return response.text().then((_responseText) => {
|
|
22205
|
+
let result200 = null;
|
|
22206
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
22207
|
+
return result200;
|
|
22208
|
+
});
|
|
22209
|
+
}
|
|
22210
|
+
else if (status !== 200 && status !== 204) {
|
|
22211
|
+
return response.text().then((_responseText) => {
|
|
22212
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22213
|
+
});
|
|
22214
|
+
}
|
|
22215
|
+
return Promise.resolve(null);
|
|
22216
|
+
}
|
|
22178
22217
|
listDepartments() {
|
|
22179
22218
|
let url_ = this.baseUrl + "/mes/departments";
|
|
22180
22219
|
url_ = url_.replace(/[?&]$/, "");
|
|
@@ -23189,6 +23228,45 @@ export class InspectMatchMaterialChecksClient extends AuthorizedApiBase {
|
|
|
23189
23228
|
}
|
|
23190
23229
|
return Promise.resolve(null);
|
|
23191
23230
|
}
|
|
23231
|
+
downloadReport(id) {
|
|
23232
|
+
let url_ = this.baseUrl + "/inspect/match/material-checks/{id}/download-report";
|
|
23233
|
+
if (id === undefined || id === null)
|
|
23234
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
23235
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23236
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
23237
|
+
let options_ = {
|
|
23238
|
+
method: "POST",
|
|
23239
|
+
headers: {
|
|
23240
|
+
"Accept": "application/json"
|
|
23241
|
+
}
|
|
23242
|
+
};
|
|
23243
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
23244
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
23245
|
+
}).then((_response) => {
|
|
23246
|
+
return this.processDownloadReport(_response);
|
|
23247
|
+
});
|
|
23248
|
+
}
|
|
23249
|
+
processDownloadReport(response) {
|
|
23250
|
+
const status = response.status;
|
|
23251
|
+
let _headers = {};
|
|
23252
|
+
if (response.headers && response.headers.forEach) {
|
|
23253
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
23254
|
+
}
|
|
23255
|
+
;
|
|
23256
|
+
if (status === 200) {
|
|
23257
|
+
return response.text().then((_responseText) => {
|
|
23258
|
+
let result200 = null;
|
|
23259
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
23260
|
+
return result200;
|
|
23261
|
+
});
|
|
23262
|
+
}
|
|
23263
|
+
else if (status !== 200 && status !== 204) {
|
|
23264
|
+
return response.text().then((_responseText) => {
|
|
23265
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
23266
|
+
});
|
|
23267
|
+
}
|
|
23268
|
+
return Promise.resolve(null);
|
|
23269
|
+
}
|
|
23192
23270
|
}
|
|
23193
23271
|
export class InspectMatchPurchaseOrderClient extends AuthorizedApiBase {
|
|
23194
23272
|
constructor(configuration, baseUrl, http) {
|
|
@@ -23737,281 +23815,6 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase {
|
|
|
23737
23815
|
return Promise.resolve(null);
|
|
23738
23816
|
}
|
|
23739
23817
|
}
|
|
23740
|
-
export class InspectSchemaCreatorClient extends AuthorizedApiBase {
|
|
23741
|
-
constructor(configuration, baseUrl, http) {
|
|
23742
|
-
super(configuration);
|
|
23743
|
-
this.http = http ? http : window;
|
|
23744
|
-
this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
|
|
23745
|
-
}
|
|
23746
|
-
getSchemaCreatorState(id) {
|
|
23747
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
|
|
23748
|
-
if (id === undefined || id === null)
|
|
23749
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
23750
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23751
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
23752
|
-
let options_ = {
|
|
23753
|
-
method: "GET",
|
|
23754
|
-
headers: {
|
|
23755
|
-
"Accept": "application/json"
|
|
23756
|
-
}
|
|
23757
|
-
};
|
|
23758
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
23759
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
23760
|
-
}).then((_response) => {
|
|
23761
|
-
return this.processGetSchemaCreatorState(_response);
|
|
23762
|
-
});
|
|
23763
|
-
}
|
|
23764
|
-
processGetSchemaCreatorState(response) {
|
|
23765
|
-
const status = response.status;
|
|
23766
|
-
let _headers = {};
|
|
23767
|
-
if (response.headers && response.headers.forEach) {
|
|
23768
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
23769
|
-
}
|
|
23770
|
-
;
|
|
23771
|
-
if (status === 200) {
|
|
23772
|
-
return response.text().then((_responseText) => {
|
|
23773
|
-
let result200 = null;
|
|
23774
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
23775
|
-
return result200;
|
|
23776
|
-
});
|
|
23777
|
-
}
|
|
23778
|
-
else if (status !== 200 && status !== 204) {
|
|
23779
|
-
return response.text().then((_responseText) => {
|
|
23780
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
23781
|
-
});
|
|
23782
|
-
}
|
|
23783
|
-
return Promise.resolve(null);
|
|
23784
|
-
}
|
|
23785
|
-
/**
|
|
23786
|
-
* Creates the initial creator state for a schema version. Returns 409 if
|
|
23787
|
-
state already exists; the caller should re-fetch it instead of writing.
|
|
23788
|
-
*/
|
|
23789
|
-
createSchemaCreatorState(id, state) {
|
|
23790
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
|
|
23791
|
-
if (id === undefined || id === null)
|
|
23792
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
23793
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23794
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
23795
|
-
const content_ = JSON.stringify(state);
|
|
23796
|
-
let options_ = {
|
|
23797
|
-
body: content_,
|
|
23798
|
-
method: "POST",
|
|
23799
|
-
headers: {
|
|
23800
|
-
"Content-Type": "application/json",
|
|
23801
|
-
"Accept": "application/json"
|
|
23802
|
-
}
|
|
23803
|
-
};
|
|
23804
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
23805
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
23806
|
-
}).then((_response) => {
|
|
23807
|
-
return this.processCreateSchemaCreatorState(_response);
|
|
23808
|
-
});
|
|
23809
|
-
}
|
|
23810
|
-
processCreateSchemaCreatorState(response) {
|
|
23811
|
-
const status = response.status;
|
|
23812
|
-
let _headers = {};
|
|
23813
|
-
if (response.headers && response.headers.forEach) {
|
|
23814
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
23815
|
-
}
|
|
23816
|
-
;
|
|
23817
|
-
if (status === 201) {
|
|
23818
|
-
return response.text().then((_responseText) => {
|
|
23819
|
-
let result201 = null;
|
|
23820
|
-
result201 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
23821
|
-
return result201;
|
|
23822
|
-
});
|
|
23823
|
-
}
|
|
23824
|
-
else if (status === 409) {
|
|
23825
|
-
return response.text().then((_responseText) => {
|
|
23826
|
-
let result409 = null;
|
|
23827
|
-
result409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
23828
|
-
return throwException("A server side error occurred.", status, _responseText, _headers, result409);
|
|
23829
|
-
});
|
|
23830
|
-
}
|
|
23831
|
-
else if (status !== 200 && status !== 204) {
|
|
23832
|
-
return response.text().then((_responseText) => {
|
|
23833
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
23834
|
-
});
|
|
23835
|
-
}
|
|
23836
|
-
return Promise.resolve(null);
|
|
23837
|
-
}
|
|
23838
|
-
updateSchemaCreatorState(id, state) {
|
|
23839
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
|
|
23840
|
-
if (id === undefined || id === null)
|
|
23841
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
23842
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23843
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
23844
|
-
const content_ = JSON.stringify(state);
|
|
23845
|
-
let options_ = {
|
|
23846
|
-
body: content_,
|
|
23847
|
-
method: "PUT",
|
|
23848
|
-
headers: {
|
|
23849
|
-
"Content-Type": "application/json",
|
|
23850
|
-
"Accept": "application/json"
|
|
23851
|
-
}
|
|
23852
|
-
};
|
|
23853
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
23854
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
23855
|
-
}).then((_response) => {
|
|
23856
|
-
return this.processUpdateSchemaCreatorState(_response);
|
|
23857
|
-
});
|
|
23858
|
-
}
|
|
23859
|
-
processUpdateSchemaCreatorState(response) {
|
|
23860
|
-
const status = response.status;
|
|
23861
|
-
let _headers = {};
|
|
23862
|
-
if (response.headers && response.headers.forEach) {
|
|
23863
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
23864
|
-
}
|
|
23865
|
-
;
|
|
23866
|
-
if (status === 200) {
|
|
23867
|
-
return response.text().then((_responseText) => {
|
|
23868
|
-
let result200 = null;
|
|
23869
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
23870
|
-
return result200;
|
|
23871
|
-
});
|
|
23872
|
-
}
|
|
23873
|
-
else if (status !== 200 && status !== 204) {
|
|
23874
|
-
return response.text().then((_responseText) => {
|
|
23875
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
23876
|
-
});
|
|
23877
|
-
}
|
|
23878
|
-
return Promise.resolve(null);
|
|
23879
|
-
}
|
|
23880
|
-
/**
|
|
23881
|
-
* Starts a full drawing AI parse: clears every element and locks the
|
|
23882
|
-
schema for every viewer until it completes. If one is already in
|
|
23883
|
-
progress, returns that instead of starting a second one.
|
|
23884
|
-
*/
|
|
23885
|
-
requestSchemaCreatorDocumentParse(id) {
|
|
23886
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/parse-document";
|
|
23887
|
-
if (id === undefined || id === null)
|
|
23888
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
23889
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23890
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
23891
|
-
let options_ = {
|
|
23892
|
-
method: "POST",
|
|
23893
|
-
headers: {
|
|
23894
|
-
"Accept": "application/json"
|
|
23895
|
-
}
|
|
23896
|
-
};
|
|
23897
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
23898
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
23899
|
-
}).then((_response) => {
|
|
23900
|
-
return this.processRequestSchemaCreatorDocumentParse(_response);
|
|
23901
|
-
});
|
|
23902
|
-
}
|
|
23903
|
-
processRequestSchemaCreatorDocumentParse(response) {
|
|
23904
|
-
const status = response.status;
|
|
23905
|
-
let _headers = {};
|
|
23906
|
-
if (response.headers && response.headers.forEach) {
|
|
23907
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
23908
|
-
}
|
|
23909
|
-
;
|
|
23910
|
-
if (status === 200) {
|
|
23911
|
-
return response.text().then((_responseText) => {
|
|
23912
|
-
let result200 = null;
|
|
23913
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
23914
|
-
return result200;
|
|
23915
|
-
});
|
|
23916
|
-
}
|
|
23917
|
-
else if (status !== 200 && status !== 204) {
|
|
23918
|
-
return response.text().then((_responseText) => {
|
|
23919
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
23920
|
-
});
|
|
23921
|
-
}
|
|
23922
|
-
return Promise.resolve(null);
|
|
23923
|
-
}
|
|
23924
|
-
/**
|
|
23925
|
-
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
23926
|
-
returns a temporary download link.
|
|
23927
|
-
*/
|
|
23928
|
-
exportSchemaCreatorDrawing(id) {
|
|
23929
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/download";
|
|
23930
|
-
if (id === undefined || id === null)
|
|
23931
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
23932
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23933
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
23934
|
-
let options_ = {
|
|
23935
|
-
method: "POST",
|
|
23936
|
-
headers: {
|
|
23937
|
-
"Accept": "application/json"
|
|
23938
|
-
}
|
|
23939
|
-
};
|
|
23940
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
23941
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
23942
|
-
}).then((_response) => {
|
|
23943
|
-
return this.processExportSchemaCreatorDrawing(_response);
|
|
23944
|
-
});
|
|
23945
|
-
}
|
|
23946
|
-
processExportSchemaCreatorDrawing(response) {
|
|
23947
|
-
const status = response.status;
|
|
23948
|
-
let _headers = {};
|
|
23949
|
-
if (response.headers && response.headers.forEach) {
|
|
23950
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
23951
|
-
}
|
|
23952
|
-
;
|
|
23953
|
-
if (status === 200) {
|
|
23954
|
-
return response.text().then((_responseText) => {
|
|
23955
|
-
let result200 = null;
|
|
23956
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
23957
|
-
return result200;
|
|
23958
|
-
});
|
|
23959
|
-
}
|
|
23960
|
-
else if (status !== 200 && status !== 204) {
|
|
23961
|
-
return response.text().then((_responseText) => {
|
|
23962
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
23963
|
-
});
|
|
23964
|
-
}
|
|
23965
|
-
return Promise.resolve(null);
|
|
23966
|
-
}
|
|
23967
|
-
/**
|
|
23968
|
-
* Starts an async snip resolve; the result is delivered through the
|
|
23969
|
-
SchemaCreatorSnipResolved SignalR notification.
|
|
23970
|
-
* @param image (optional)
|
|
23971
|
-
*/
|
|
23972
|
-
requestSchemaCreatorSnipParse(id, elementId, image) {
|
|
23973
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/elements/{elementId}/parse-snip";
|
|
23974
|
-
if (id === undefined || id === null)
|
|
23975
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
23976
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23977
|
-
if (elementId === undefined || elementId === null)
|
|
23978
|
-
throw new globalThis.Error("The parameter 'elementId' must be defined.");
|
|
23979
|
-
url_ = url_.replace("{elementId}", encodeURIComponent("" + elementId));
|
|
23980
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
23981
|
-
const content_ = new FormData();
|
|
23982
|
-
if (image !== null && image !== undefined)
|
|
23983
|
-
content_.append("image", image.data, image.fileName ? image.fileName : "image");
|
|
23984
|
-
let options_ = {
|
|
23985
|
-
body: content_,
|
|
23986
|
-
method: "POST",
|
|
23987
|
-
headers: {}
|
|
23988
|
-
};
|
|
23989
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
23990
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
23991
|
-
}).then((_response) => {
|
|
23992
|
-
return this.processRequestSchemaCreatorSnipParse(_response);
|
|
23993
|
-
});
|
|
23994
|
-
}
|
|
23995
|
-
processRequestSchemaCreatorSnipParse(response) {
|
|
23996
|
-
const status = response.status;
|
|
23997
|
-
let _headers = {};
|
|
23998
|
-
if (response.headers && response.headers.forEach) {
|
|
23999
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
24000
|
-
}
|
|
24001
|
-
;
|
|
24002
|
-
if (status === 200) {
|
|
24003
|
-
return response.text().then((_responseText) => {
|
|
24004
|
-
return;
|
|
24005
|
-
});
|
|
24006
|
-
}
|
|
24007
|
-
else if (status !== 200 && status !== 204) {
|
|
24008
|
-
return response.text().then((_responseText) => {
|
|
24009
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
24010
|
-
});
|
|
24011
|
-
}
|
|
24012
|
-
return Promise.resolve(null);
|
|
24013
|
-
}
|
|
24014
|
-
}
|
|
24015
23818
|
export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase {
|
|
24016
23819
|
constructor(configuration, baseUrl, http) {
|
|
24017
23820
|
super(configuration);
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -23617,6 +23617,8 @@ export interface IMesResourceClient {
|
|
|
23617
23617
|
|
|
23618
23618
|
listResourceGroupResources(id: string): Promise<ProductionResourceDto[]>;
|
|
23619
23619
|
|
|
23620
|
+
listResourceGroupWorkerDetails(id: string): Promise<ResourceGroupWorkerDetailsDto>;
|
|
23621
|
+
|
|
23620
23622
|
listDepartments(): Promise<DepartmentDto[]>;
|
|
23621
23623
|
}
|
|
23622
23624
|
|
|
@@ -23707,6 +23709,44 @@ export class MesResourceClient extends AuthorizedApiBase implements IMesResource
|
|
|
23707
23709
|
return Promise.resolve<ProductionResourceDto[]>(null as any);
|
|
23708
23710
|
}
|
|
23709
23711
|
|
|
23712
|
+
listResourceGroupWorkerDetails(id: string): Promise<ResourceGroupWorkerDetailsDto> {
|
|
23713
|
+
let url_ = this.baseUrl + "/mes/resourcegroups/{id}/worker-details";
|
|
23714
|
+
if (id === undefined || id === null)
|
|
23715
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
23716
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23717
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
23718
|
+
|
|
23719
|
+
let options_: RequestInit = {
|
|
23720
|
+
method: "GET",
|
|
23721
|
+
headers: {
|
|
23722
|
+
"Accept": "application/json"
|
|
23723
|
+
}
|
|
23724
|
+
};
|
|
23725
|
+
|
|
23726
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
23727
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
23728
|
+
}).then((_response: Response) => {
|
|
23729
|
+
return this.processListResourceGroupWorkerDetails(_response);
|
|
23730
|
+
});
|
|
23731
|
+
}
|
|
23732
|
+
|
|
23733
|
+
protected processListResourceGroupWorkerDetails(response: Response): Promise<ResourceGroupWorkerDetailsDto> {
|
|
23734
|
+
const status = response.status;
|
|
23735
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
23736
|
+
if (status === 200) {
|
|
23737
|
+
return response.text().then((_responseText) => {
|
|
23738
|
+
let result200: any = null;
|
|
23739
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ResourceGroupWorkerDetailsDto;
|
|
23740
|
+
return result200;
|
|
23741
|
+
});
|
|
23742
|
+
} else if (status !== 200 && status !== 204) {
|
|
23743
|
+
return response.text().then((_responseText) => {
|
|
23744
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
23745
|
+
});
|
|
23746
|
+
}
|
|
23747
|
+
return Promise.resolve<ResourceGroupWorkerDetailsDto>(null as any);
|
|
23748
|
+
}
|
|
23749
|
+
|
|
23710
23750
|
listDepartments(): Promise<DepartmentDto[]> {
|
|
23711
23751
|
let url_ = this.baseUrl + "/mes/departments";
|
|
23712
23752
|
url_ = url_.replace(/[?&]$/, "");
|
|
@@ -24636,6 +24676,8 @@ export interface IInspectMatchMaterialChecksClient {
|
|
|
24636
24676
|
processMaterialCertificate(certificatesRequest: ProcessMaterialCertificate): Promise<void>;
|
|
24637
24677
|
|
|
24638
24678
|
generateReport(request: ImaMaterialChecksReportRequestDto): Promise<ImaMaterialCheckReportDto>;
|
|
24679
|
+
|
|
24680
|
+
downloadReport(id: string): Promise<FileDto>;
|
|
24639
24681
|
}
|
|
24640
24682
|
|
|
24641
24683
|
export class InspectMatchMaterialChecksClient extends AuthorizedApiBase implements IInspectMatchMaterialChecksClient {
|
|
@@ -24799,6 +24841,44 @@ export class InspectMatchMaterialChecksClient extends AuthorizedApiBase implemen
|
|
|
24799
24841
|
}
|
|
24800
24842
|
return Promise.resolve<ImaMaterialCheckReportDto>(null as any);
|
|
24801
24843
|
}
|
|
24844
|
+
|
|
24845
|
+
downloadReport(id: string): Promise<FileDto> {
|
|
24846
|
+
let url_ = this.baseUrl + "/inspect/match/material-checks/{id}/download-report";
|
|
24847
|
+
if (id === undefined || id === null)
|
|
24848
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
24849
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
24850
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
24851
|
+
|
|
24852
|
+
let options_: RequestInit = {
|
|
24853
|
+
method: "POST",
|
|
24854
|
+
headers: {
|
|
24855
|
+
"Accept": "application/json"
|
|
24856
|
+
}
|
|
24857
|
+
};
|
|
24858
|
+
|
|
24859
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
24860
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
24861
|
+
}).then((_response: Response) => {
|
|
24862
|
+
return this.processDownloadReport(_response);
|
|
24863
|
+
});
|
|
24864
|
+
}
|
|
24865
|
+
|
|
24866
|
+
protected processDownloadReport(response: Response): Promise<FileDto> {
|
|
24867
|
+
const status = response.status;
|
|
24868
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
24869
|
+
if (status === 200) {
|
|
24870
|
+
return response.text().then((_responseText) => {
|
|
24871
|
+
let result200: any = null;
|
|
24872
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as FileDto;
|
|
24873
|
+
return result200;
|
|
24874
|
+
});
|
|
24875
|
+
} else if (status !== 200 && status !== 204) {
|
|
24876
|
+
return response.text().then((_responseText) => {
|
|
24877
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
24878
|
+
});
|
|
24879
|
+
}
|
|
24880
|
+
return Promise.resolve<FileDto>(null as any);
|
|
24881
|
+
}
|
|
24802
24882
|
}
|
|
24803
24883
|
|
|
24804
24884
|
export interface IInspectMatchPurchaseOrderClient {
|
|
@@ -25394,315 +25474,6 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
|
|
|
25394
25474
|
}
|
|
25395
25475
|
}
|
|
25396
25476
|
|
|
25397
|
-
export interface IInspectSchemaCreatorClient {
|
|
25398
|
-
|
|
25399
|
-
getSchemaCreatorState(id: string): Promise<SchemaCreatorStateDto>;
|
|
25400
|
-
|
|
25401
|
-
/**
|
|
25402
|
-
* Creates the initial creator state for a schema version. Returns 409 if
|
|
25403
|
-
state already exists; the caller should re-fetch it instead of writing.
|
|
25404
|
-
*/
|
|
25405
|
-
createSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
25406
|
-
|
|
25407
|
-
updateSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
25408
|
-
|
|
25409
|
-
/**
|
|
25410
|
-
* Starts a full drawing AI parse: clears every element and locks the
|
|
25411
|
-
schema for every viewer until it completes. If one is already in
|
|
25412
|
-
progress, returns that instead of starting a second one.
|
|
25413
|
-
*/
|
|
25414
|
-
requestSchemaCreatorDocumentParse(id: string): Promise<SchemaCreatorStateDto>;
|
|
25415
|
-
|
|
25416
|
-
/**
|
|
25417
|
-
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
25418
|
-
returns a temporary download link.
|
|
25419
|
-
*/
|
|
25420
|
-
exportSchemaCreatorDrawing(id: string): Promise<DownloadDto>;
|
|
25421
|
-
|
|
25422
|
-
/**
|
|
25423
|
-
* Starts an async snip resolve; the result is delivered through the
|
|
25424
|
-
SchemaCreatorSnipResolved SignalR notification.
|
|
25425
|
-
* @param image (optional)
|
|
25426
|
-
*/
|
|
25427
|
-
requestSchemaCreatorSnipParse(id: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
25428
|
-
}
|
|
25429
|
-
|
|
25430
|
-
export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
|
|
25431
|
-
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
25432
|
-
private baseUrl: string;
|
|
25433
|
-
|
|
25434
|
-
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
25435
|
-
super(configuration);
|
|
25436
|
-
this.http = http ? http : window as any;
|
|
25437
|
-
this.baseUrl = baseUrl ?? "";
|
|
25438
|
-
}
|
|
25439
|
-
|
|
25440
|
-
getSchemaCreatorState(id: string): Promise<SchemaCreatorStateDto> {
|
|
25441
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
|
|
25442
|
-
if (id === undefined || id === null)
|
|
25443
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25444
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25445
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
25446
|
-
|
|
25447
|
-
let options_: RequestInit = {
|
|
25448
|
-
method: "GET",
|
|
25449
|
-
headers: {
|
|
25450
|
-
"Accept": "application/json"
|
|
25451
|
-
}
|
|
25452
|
-
};
|
|
25453
|
-
|
|
25454
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
25455
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
25456
|
-
}).then((_response: Response) => {
|
|
25457
|
-
return this.processGetSchemaCreatorState(_response);
|
|
25458
|
-
});
|
|
25459
|
-
}
|
|
25460
|
-
|
|
25461
|
-
protected processGetSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
25462
|
-
const status = response.status;
|
|
25463
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
25464
|
-
if (status === 200) {
|
|
25465
|
-
return response.text().then((_responseText) => {
|
|
25466
|
-
let result200: any = null;
|
|
25467
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
25468
|
-
return result200;
|
|
25469
|
-
});
|
|
25470
|
-
} else if (status !== 200 && status !== 204) {
|
|
25471
|
-
return response.text().then((_responseText) => {
|
|
25472
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25473
|
-
});
|
|
25474
|
-
}
|
|
25475
|
-
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
25476
|
-
}
|
|
25477
|
-
|
|
25478
|
-
/**
|
|
25479
|
-
* Creates the initial creator state for a schema version. Returns 409 if
|
|
25480
|
-
state already exists; the caller should re-fetch it instead of writing.
|
|
25481
|
-
*/
|
|
25482
|
-
createSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto> {
|
|
25483
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
|
|
25484
|
-
if (id === undefined || id === null)
|
|
25485
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25486
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25487
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
25488
|
-
|
|
25489
|
-
const content_ = JSON.stringify(state);
|
|
25490
|
-
|
|
25491
|
-
let options_: RequestInit = {
|
|
25492
|
-
body: content_,
|
|
25493
|
-
method: "POST",
|
|
25494
|
-
headers: {
|
|
25495
|
-
"Content-Type": "application/json",
|
|
25496
|
-
"Accept": "application/json"
|
|
25497
|
-
}
|
|
25498
|
-
};
|
|
25499
|
-
|
|
25500
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
25501
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
25502
|
-
}).then((_response: Response) => {
|
|
25503
|
-
return this.processCreateSchemaCreatorState(_response);
|
|
25504
|
-
});
|
|
25505
|
-
}
|
|
25506
|
-
|
|
25507
|
-
protected processCreateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
25508
|
-
const status = response.status;
|
|
25509
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
25510
|
-
if (status === 201) {
|
|
25511
|
-
return response.text().then((_responseText) => {
|
|
25512
|
-
let result201: any = null;
|
|
25513
|
-
result201 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
25514
|
-
return result201;
|
|
25515
|
-
});
|
|
25516
|
-
} else if (status === 409) {
|
|
25517
|
-
return response.text().then((_responseText) => {
|
|
25518
|
-
let result409: any = null;
|
|
25519
|
-
result409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ProblemDetails;
|
|
25520
|
-
return throwException("A server side error occurred.", status, _responseText, _headers, result409);
|
|
25521
|
-
});
|
|
25522
|
-
} else if (status !== 200 && status !== 204) {
|
|
25523
|
-
return response.text().then((_responseText) => {
|
|
25524
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25525
|
-
});
|
|
25526
|
-
}
|
|
25527
|
-
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
25528
|
-
}
|
|
25529
|
-
|
|
25530
|
-
updateSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto> {
|
|
25531
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
|
|
25532
|
-
if (id === undefined || id === null)
|
|
25533
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25534
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25535
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
25536
|
-
|
|
25537
|
-
const content_ = JSON.stringify(state);
|
|
25538
|
-
|
|
25539
|
-
let options_: RequestInit = {
|
|
25540
|
-
body: content_,
|
|
25541
|
-
method: "PUT",
|
|
25542
|
-
headers: {
|
|
25543
|
-
"Content-Type": "application/json",
|
|
25544
|
-
"Accept": "application/json"
|
|
25545
|
-
}
|
|
25546
|
-
};
|
|
25547
|
-
|
|
25548
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
25549
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
25550
|
-
}).then((_response: Response) => {
|
|
25551
|
-
return this.processUpdateSchemaCreatorState(_response);
|
|
25552
|
-
});
|
|
25553
|
-
}
|
|
25554
|
-
|
|
25555
|
-
protected processUpdateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
25556
|
-
const status = response.status;
|
|
25557
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
25558
|
-
if (status === 200) {
|
|
25559
|
-
return response.text().then((_responseText) => {
|
|
25560
|
-
let result200: any = null;
|
|
25561
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
25562
|
-
return result200;
|
|
25563
|
-
});
|
|
25564
|
-
} else if (status !== 200 && status !== 204) {
|
|
25565
|
-
return response.text().then((_responseText) => {
|
|
25566
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25567
|
-
});
|
|
25568
|
-
}
|
|
25569
|
-
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
25570
|
-
}
|
|
25571
|
-
|
|
25572
|
-
/**
|
|
25573
|
-
* Starts a full drawing AI parse: clears every element and locks the
|
|
25574
|
-
schema for every viewer until it completes. If one is already in
|
|
25575
|
-
progress, returns that instead of starting a second one.
|
|
25576
|
-
*/
|
|
25577
|
-
requestSchemaCreatorDocumentParse(id: string): Promise<SchemaCreatorStateDto> {
|
|
25578
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/parse-document";
|
|
25579
|
-
if (id === undefined || id === null)
|
|
25580
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25581
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25582
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
25583
|
-
|
|
25584
|
-
let options_: RequestInit = {
|
|
25585
|
-
method: "POST",
|
|
25586
|
-
headers: {
|
|
25587
|
-
"Accept": "application/json"
|
|
25588
|
-
}
|
|
25589
|
-
};
|
|
25590
|
-
|
|
25591
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
25592
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
25593
|
-
}).then((_response: Response) => {
|
|
25594
|
-
return this.processRequestSchemaCreatorDocumentParse(_response);
|
|
25595
|
-
});
|
|
25596
|
-
}
|
|
25597
|
-
|
|
25598
|
-
protected processRequestSchemaCreatorDocumentParse(response: Response): Promise<SchemaCreatorStateDto> {
|
|
25599
|
-
const status = response.status;
|
|
25600
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
25601
|
-
if (status === 200) {
|
|
25602
|
-
return response.text().then((_responseText) => {
|
|
25603
|
-
let result200: any = null;
|
|
25604
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
25605
|
-
return result200;
|
|
25606
|
-
});
|
|
25607
|
-
} else if (status !== 200 && status !== 204) {
|
|
25608
|
-
return response.text().then((_responseText) => {
|
|
25609
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25610
|
-
});
|
|
25611
|
-
}
|
|
25612
|
-
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
25613
|
-
}
|
|
25614
|
-
|
|
25615
|
-
/**
|
|
25616
|
-
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
25617
|
-
returns a temporary download link.
|
|
25618
|
-
*/
|
|
25619
|
-
exportSchemaCreatorDrawing(id: string): Promise<DownloadDto> {
|
|
25620
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/download";
|
|
25621
|
-
if (id === undefined || id === null)
|
|
25622
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25623
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25624
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
25625
|
-
|
|
25626
|
-
let options_: RequestInit = {
|
|
25627
|
-
method: "POST",
|
|
25628
|
-
headers: {
|
|
25629
|
-
"Accept": "application/json"
|
|
25630
|
-
}
|
|
25631
|
-
};
|
|
25632
|
-
|
|
25633
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
25634
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
25635
|
-
}).then((_response: Response) => {
|
|
25636
|
-
return this.processExportSchemaCreatorDrawing(_response);
|
|
25637
|
-
});
|
|
25638
|
-
}
|
|
25639
|
-
|
|
25640
|
-
protected processExportSchemaCreatorDrawing(response: Response): Promise<DownloadDto> {
|
|
25641
|
-
const status = response.status;
|
|
25642
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
25643
|
-
if (status === 200) {
|
|
25644
|
-
return response.text().then((_responseText) => {
|
|
25645
|
-
let result200: any = null;
|
|
25646
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as DownloadDto;
|
|
25647
|
-
return result200;
|
|
25648
|
-
});
|
|
25649
|
-
} else if (status !== 200 && status !== 204) {
|
|
25650
|
-
return response.text().then((_responseText) => {
|
|
25651
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25652
|
-
});
|
|
25653
|
-
}
|
|
25654
|
-
return Promise.resolve<DownloadDto>(null as any);
|
|
25655
|
-
}
|
|
25656
|
-
|
|
25657
|
-
/**
|
|
25658
|
-
* Starts an async snip resolve; the result is delivered through the
|
|
25659
|
-
SchemaCreatorSnipResolved SignalR notification.
|
|
25660
|
-
* @param image (optional)
|
|
25661
|
-
*/
|
|
25662
|
-
requestSchemaCreatorSnipParse(id: string, elementId: string, image: FileParameter | null | undefined): Promise<void> {
|
|
25663
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/elements/{elementId}/parse-snip";
|
|
25664
|
-
if (id === undefined || id === null)
|
|
25665
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25666
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25667
|
-
if (elementId === undefined || elementId === null)
|
|
25668
|
-
throw new globalThis.Error("The parameter 'elementId' must be defined.");
|
|
25669
|
-
url_ = url_.replace("{elementId}", encodeURIComponent("" + elementId));
|
|
25670
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
25671
|
-
|
|
25672
|
-
const content_ = new FormData();
|
|
25673
|
-
if (image !== null && image !== undefined)
|
|
25674
|
-
content_.append("image", image.data, image.fileName ? image.fileName : "image");
|
|
25675
|
-
|
|
25676
|
-
let options_: RequestInit = {
|
|
25677
|
-
body: content_,
|
|
25678
|
-
method: "POST",
|
|
25679
|
-
headers: {
|
|
25680
|
-
}
|
|
25681
|
-
};
|
|
25682
|
-
|
|
25683
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
25684
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
25685
|
-
}).then((_response: Response) => {
|
|
25686
|
-
return this.processRequestSchemaCreatorSnipParse(_response);
|
|
25687
|
-
});
|
|
25688
|
-
}
|
|
25689
|
-
|
|
25690
|
-
protected processRequestSchemaCreatorSnipParse(response: Response): Promise<void> {
|
|
25691
|
-
const status = response.status;
|
|
25692
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
25693
|
-
if (status === 200) {
|
|
25694
|
-
return response.text().then((_responseText) => {
|
|
25695
|
-
return;
|
|
25696
|
-
});
|
|
25697
|
-
} else if (status !== 200 && status !== 204) {
|
|
25698
|
-
return response.text().then((_responseText) => {
|
|
25699
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25700
|
-
});
|
|
25701
|
-
}
|
|
25702
|
-
return Promise.resolve<void>(null as any);
|
|
25703
|
-
}
|
|
25704
|
-
}
|
|
25705
|
-
|
|
25706
25477
|
export interface IMeasurementFormSchemasAdminClient {
|
|
25707
25478
|
|
|
25708
25479
|
getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
@@ -33489,6 +33260,7 @@ export interface ResourceDto {
|
|
|
33489
33260
|
export interface DepartmentDto {
|
|
33490
33261
|
number: string;
|
|
33491
33262
|
name: string;
|
|
33263
|
+
supervisor?: UserDto | null;
|
|
33492
33264
|
}
|
|
33493
33265
|
|
|
33494
33266
|
export type OperationStatusDto = "NotReady" | "Ready" | "Ongoing" | "Completed" | "Stopped";
|
|
@@ -36823,6 +36595,11 @@ export interface ProductionResourceDto {
|
|
|
36823
36595
|
department?: DepartmentDto | null;
|
|
36824
36596
|
}
|
|
36825
36597
|
|
|
36598
|
+
export interface ResourceGroupWorkerDetailsDto {
|
|
36599
|
+
supervisor?: UserDto | null;
|
|
36600
|
+
activeWorkers: UserDto[];
|
|
36601
|
+
}
|
|
36602
|
+
|
|
36826
36603
|
export interface IotTypeSourceDto {
|
|
36827
36604
|
id: string;
|
|
36828
36605
|
name: string;
|
|
@@ -37051,7 +36828,6 @@ export interface ImaMaterialCheckDto {
|
|
|
37051
36828
|
materialCheckId: string;
|
|
37052
36829
|
fileName: string;
|
|
37053
36830
|
originalMaterialCertificate: FileDto;
|
|
37054
|
-
generatedMaterialCertificate?: FileDto | null;
|
|
37055
36831
|
customerOrder?: string | null;
|
|
37056
36832
|
project?: string | null;
|
|
37057
36833
|
workOrder?: string | null;
|
|
@@ -37083,10 +36859,6 @@ export interface ImaMaterialCheckDto {
|
|
|
37083
36859
|
updatedById: string;
|
|
37084
36860
|
updatedByName?: string | null;
|
|
37085
36861
|
isDeleted: boolean;
|
|
37086
|
-
reportCreatedBy?: string | null;
|
|
37087
|
-
reportCreatedById?: string | null;
|
|
37088
|
-
reportCreatedByName?: string | null;
|
|
37089
|
-
reportCreated?: Date | null;
|
|
37090
36862
|
certificateTypeResults: ImaCertificateTypeResultsDto;
|
|
37091
36863
|
specificationResults: ImaSpecificationResultsDto;
|
|
37092
36864
|
}
|
|
@@ -37630,7 +37402,6 @@ export interface ImaMaterialCheckLiteDto {
|
|
|
37630
37402
|
materialCheckId: string;
|
|
37631
37403
|
fileName: string;
|
|
37632
37404
|
originalMaterialCertificate: FileDto;
|
|
37633
|
-
generatedMaterialCertificate?: FileDto | null;
|
|
37634
37405
|
customerOrder?: string | null;
|
|
37635
37406
|
project?: string | null;
|
|
37636
37407
|
workOrder?: string | null;
|
|
@@ -37662,10 +37433,6 @@ export interface ImaMaterialCheckLiteDto {
|
|
|
37662
37433
|
updatedById: string;
|
|
37663
37434
|
updatedByName?: string | null;
|
|
37664
37435
|
isDeleted?: boolean;
|
|
37665
|
-
reportCreatedBy?: string | null;
|
|
37666
|
-
reportCreatedById?: string | null;
|
|
37667
|
-
reportCreatedByName?: string | null;
|
|
37668
|
-
reportCreated?: Date | null;
|
|
37669
37436
|
}
|
|
37670
37437
|
|
|
37671
37438
|
export interface ImaMaterialChecksPageRequestDto {
|
|
@@ -37696,7 +37463,7 @@ export interface ImaMaterialChecksPageOrderRequestDto {
|
|
|
37696
37463
|
direction?: ImaOrderDirectionDto;
|
|
37697
37464
|
}
|
|
37698
37465
|
|
|
37699
|
-
export type ImaMaterialChecksOrderByColumnDto = "FileName" | "PurchaseOrder" | "Line" | "VendorBatch" | "Part" | "Drawing" | "Heat" | "CertificateType" | "Specification" | "
|
|
37466
|
+
export type ImaMaterialChecksOrderByColumnDto = "FileName" | "PurchaseOrder" | "Line" | "VendorBatch" | "Part" | "Drawing" | "Heat" | "CertificateType" | "Specification" | "Project" | "CustomerOrder" | "WorkOrder" | "Date" | "Status";
|
|
37700
37467
|
|
|
37701
37468
|
export type ImaOrderDirectionDto = "Asc" | "Desc";
|
|
37702
37469
|
|
|
@@ -37727,8 +37494,16 @@ export interface ImaMaterialCheckReportAuditInfo {
|
|
|
37727
37494
|
}
|
|
37728
37495
|
|
|
37729
37496
|
export interface ImaMaterialChecksReportRequestDto {
|
|
37730
|
-
|
|
37731
|
-
|
|
37497
|
+
materialCheckId?: string;
|
|
37498
|
+
selectedHeatNumbers?: string[] | null;
|
|
37499
|
+
}
|
|
37500
|
+
|
|
37501
|
+
export interface PurchaseOrderMaterialSearchResultsDto {
|
|
37502
|
+
purchaseOrders: string[];
|
|
37503
|
+
}
|
|
37504
|
+
|
|
37505
|
+
export interface PurchaseOrderMaterialLinesDto {
|
|
37506
|
+
lines: number[];
|
|
37732
37507
|
}
|
|
37733
37508
|
|
|
37734
37509
|
export interface PurchaseOrderMaterialLineDetailsDto {
|
|
@@ -37766,14 +37541,6 @@ export interface User {
|
|
|
37766
37541
|
email?: string | null;
|
|
37767
37542
|
}
|
|
37768
37543
|
|
|
37769
|
-
export interface PurchaseOrderMaterialSearchResultsDto {
|
|
37770
|
-
purchaseOrders: string[];
|
|
37771
|
-
}
|
|
37772
|
-
|
|
37773
|
-
export interface PurchaseOrderMaterialLinesDto {
|
|
37774
|
-
lines: number[];
|
|
37775
|
-
}
|
|
37776
|
-
|
|
37777
37544
|
export interface ImaMatchSettingsDto {
|
|
37778
37545
|
columns: ImaMatchSettingsColumnsDto;
|
|
37779
37546
|
}
|
|
@@ -37889,7 +37656,7 @@ export interface ImaSpecificationLineDto {
|
|
|
37889
37656
|
unit?: ImaUnitDto | null;
|
|
37890
37657
|
}
|
|
37891
37658
|
|
|
37892
|
-
export type ImaUnitDto = "Millimeter" | "Centimeter" | "Meter" | "Inch" | "Kilogram" | "Gram" | "Tonne" | "Pound" | "Megapascal" | "NewtonPerSquareMillimeter" | "KilopoundPerSquareInch" | "PoundPerSquareInch" | "Bar" | "Ppm" | "Percentage" | "WeightPercentage" | "Joule" | "FootPound" | "Celsius" | "Fahrenheit" | "Kelvin" | "Minute" | "Hour";
|
|
37659
|
+
export type ImaUnitDto = "Millimeter" | "Centimeter" | "Meter" | "Inch" | "Kilogram" | "Gram" | "Tonne" | "Pound" | "Megapascal" | "NewtonPerSquareMillimeter" | "KilopoundPerSquareInch" | "PoundPerSquareInch" | "Bar" | "Ppm" | "Percentage" | "WeightPercentage" | "Joule" | "FootPound" | "Celsius" | "Fahrenheit" | "Kelvin" | "Minute" | "Hour" | "BrinellHardness" | "VickersHardness" | "RockwellCHardness" | "RockwellBHardness" | "FerriteNumber" | "FerriteVolumePercentage" | "ElongationPercentage" | "MillilitersPerHundredGrams";
|
|
37893
37660
|
|
|
37894
37661
|
export interface ImaChemistryCompositeSpecificationDto {
|
|
37895
37662
|
pren?: ImaSpecificationLineDto | null;
|
|
@@ -38009,117 +37776,6 @@ export interface ImaSpecificationLiteDto {
|
|
|
38009
37776
|
isDeleted: boolean;
|
|
38010
37777
|
}
|
|
38011
37778
|
|
|
38012
|
-
export interface SchemaCreatorStateDto {
|
|
38013
|
-
settings: SchemaCreatorSettingsDto;
|
|
38014
|
-
elements: SchemaCreatorElementDto[];
|
|
38015
|
-
documentParseStatus?: SchemaCreatorDocumentParseStatusDto | null;
|
|
38016
|
-
isAutoGenerated?: boolean;
|
|
38017
|
-
createdBy?: SchemaCreatorAuditInfoDto | null;
|
|
38018
|
-
createdAt?: Date | null;
|
|
38019
|
-
updatedBy?: SchemaCreatorAuditInfoDto | null;
|
|
38020
|
-
updatedAt?: Date | null;
|
|
38021
|
-
}
|
|
38022
|
-
|
|
38023
|
-
export interface SchemaCreatorSettingsDto {
|
|
38024
|
-
unit?: UnitOfMeasureDto;
|
|
38025
|
-
tolerance?: GeneralToleranceDto;
|
|
38026
|
-
balloonSize?: number;
|
|
38027
|
-
transparentBalloons?: boolean;
|
|
38028
|
-
}
|
|
38029
|
-
|
|
38030
|
-
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
38031
|
-
|
|
38032
|
-
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
38033
|
-
|
|
38034
|
-
export interface SchemaCreatorElementDto {
|
|
38035
|
-
id: string;
|
|
38036
|
-
kind: SchemaCreatorElementKindDto;
|
|
38037
|
-
drawings: SchemaCreatorElementDrawingsDto;
|
|
38038
|
-
isDirty?: boolean | null;
|
|
38039
|
-
values?: SchemaCreatorElementValuesDto | null;
|
|
38040
|
-
parseResult?: SchemaCreatorSnipResultDto | null;
|
|
38041
|
-
resolveAttempt?: SchemaCreatorParseAttemptDto | null;
|
|
38042
|
-
createdBy?: SchemaCreatorAuditInfoDto | null;
|
|
38043
|
-
createdAt?: Date | null;
|
|
38044
|
-
updatedBy?: SchemaCreatorAuditInfoDto | null;
|
|
38045
|
-
updatedAt?: Date | null;
|
|
38046
|
-
}
|
|
38047
|
-
|
|
38048
|
-
export type SchemaCreatorElementKindDto = "Pending" | "Auto" | "Manual";
|
|
38049
|
-
|
|
38050
|
-
export interface SchemaCreatorElementDrawingsDto {
|
|
38051
|
-
snip: SchemaCreatorSnipDto;
|
|
38052
|
-
balloon: SchemaCreatorPointDto;
|
|
38053
|
-
pageIndex: number;
|
|
38054
|
-
}
|
|
38055
|
-
|
|
38056
|
-
export interface SchemaCreatorSnipDto {
|
|
38057
|
-
rect: SchemaCreatorRectDto;
|
|
38058
|
-
rotation?: number | null;
|
|
38059
|
-
unrotatedRect?: SchemaCreatorRectDto | null;
|
|
38060
|
-
}
|
|
38061
|
-
|
|
38062
|
-
export interface SchemaCreatorRectDto {
|
|
38063
|
-
origin: SchemaCreatorPointDto;
|
|
38064
|
-
size: SchemaCreatorSizeDto;
|
|
38065
|
-
}
|
|
38066
|
-
|
|
38067
|
-
export interface SchemaCreatorPointDto {
|
|
38068
|
-
x: number;
|
|
38069
|
-
y: number;
|
|
38070
|
-
}
|
|
38071
|
-
|
|
38072
|
-
export interface SchemaCreatorSizeDto {
|
|
38073
|
-
width: number;
|
|
38074
|
-
height: number;
|
|
38075
|
-
}
|
|
38076
|
-
|
|
38077
|
-
export interface SchemaCreatorElementValuesDto {
|
|
38078
|
-
reference: number;
|
|
38079
|
-
nominal?: number | null;
|
|
38080
|
-
nominalText?: string | null;
|
|
38081
|
-
plusTolerance?: number | null;
|
|
38082
|
-
minusTolerance?: number | null;
|
|
38083
|
-
coatingThickness?: number | null;
|
|
38084
|
-
measurementFrequency: MeasurementFrequency;
|
|
38085
|
-
measurementFrequencyParameter?: number | null;
|
|
38086
|
-
type?: string | null;
|
|
38087
|
-
count?: number | null;
|
|
38088
|
-
comment?: string | null;
|
|
38089
|
-
canCopy: boolean;
|
|
38090
|
-
visibleToCustomer: boolean;
|
|
38091
|
-
isDocumentedExternally: boolean;
|
|
38092
|
-
}
|
|
38093
|
-
|
|
38094
|
-
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
38095
|
-
|
|
38096
|
-
export interface SchemaCreatorSnipResultDto {
|
|
38097
|
-
nominal?: number | null;
|
|
38098
|
-
nominalText?: string | null;
|
|
38099
|
-
plusTolerance?: number | null;
|
|
38100
|
-
minusTolerance?: number | null;
|
|
38101
|
-
count?: number | null;
|
|
38102
|
-
}
|
|
38103
|
-
|
|
38104
|
-
export interface SchemaCreatorParseAttemptDto {
|
|
38105
|
-
startedAt: Date;
|
|
38106
|
-
errorType?: SchemaCreatorParseErrorTypeDto | null;
|
|
38107
|
-
errorMessage?: string | null;
|
|
38108
|
-
}
|
|
38109
|
-
|
|
38110
|
-
export type SchemaCreatorParseErrorTypeDto = "Timeout" | "ParseError";
|
|
38111
|
-
|
|
38112
|
-
export interface SchemaCreatorAuditInfoDto {
|
|
38113
|
-
objectId: string;
|
|
38114
|
-
userId: string;
|
|
38115
|
-
userFullName?: string | null;
|
|
38116
|
-
}
|
|
38117
|
-
|
|
38118
|
-
export interface SchemaCreatorDocumentParseStatusDto {
|
|
38119
|
-
inProgress: boolean;
|
|
38120
|
-
attempt?: SchemaCreatorParseAttemptDto | null;
|
|
38121
|
-
}
|
|
38122
|
-
|
|
38123
37779
|
export interface MeasurementFormSchemaDto {
|
|
38124
37780
|
id: string;
|
|
38125
37781
|
versionId: number;
|
|
@@ -38154,8 +37810,12 @@ export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
|
|
|
38154
37810
|
|
|
38155
37811
|
export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
|
|
38156
37812
|
|
|
37813
|
+
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
37814
|
+
|
|
38157
37815
|
export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
|
|
38158
37816
|
|
|
37817
|
+
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
37818
|
+
|
|
38159
37819
|
export interface MeasurementFormSchemaAttachmentDto {
|
|
38160
37820
|
url: string;
|
|
38161
37821
|
title: string;
|
|
@@ -38206,6 +37866,8 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
38206
37866
|
validationErrorMessage?: string | null;
|
|
38207
37867
|
}
|
|
38208
37868
|
|
|
37869
|
+
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
37870
|
+
|
|
38209
37871
|
export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
|
|
38210
37872
|
|
|
38211
37873
|
export type BonusType = "None" | "Positive" | "PositiveAndNegative";
|