@ignos/api-client 20260311.75.1-alpha → 20260312.77.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.
@@ -1869,6 +1869,24 @@ export declare class CdfClient extends AuthorizedApiBase implements ICdfClient {
1869
1869
  updateCdfConfig(request: UpdateCdfConfig): Promise<CdfConfigDto>;
1870
1870
  protected processUpdateCdfConfig(response: Response): Promise<CdfConfigDto>;
1871
1871
  }
1872
+ export interface IWorkspaceDefaultsAdminClient {
1873
+ getDefaults(): Promise<WorkspaceDefaultsDto>;
1874
+ setMachineDefault(machineId: string, templateId: string): Promise<WorkspaceDefaultsDto>;
1875
+ deleteMachineDefault(machineId: string): Promise<void>;
1876
+ }
1877
+ export declare class WorkspaceDefaultsAdminClient extends AuthorizedApiBase implements IWorkspaceDefaultsAdminClient {
1878
+ private http;
1879
+ private baseUrl;
1880
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1881
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1882
+ });
1883
+ getDefaults(): Promise<WorkspaceDefaultsDto>;
1884
+ protected processGetDefaults(response: Response): Promise<WorkspaceDefaultsDto>;
1885
+ setMachineDefault(machineId: string, templateId: string): Promise<WorkspaceDefaultsDto>;
1886
+ protected processSetMachineDefault(response: Response): Promise<WorkspaceDefaultsDto>;
1887
+ deleteMachineDefault(machineId: string): Promise<void>;
1888
+ protected processDeleteMachineDefault(response: Response): Promise<void>;
1889
+ }
1872
1890
  export interface IWorkspacesClient {
1873
1891
  getMyWorkspaces(): Promise<WorkspaceListDto[]>;
1874
1892
  createWorkspace(createWorkspace: CreateWorkspace): Promise<WorkspaceDto>;
@@ -1879,6 +1897,7 @@ export interface IWorkspacesClient {
1879
1897
  updateWorkspaceWidgets(id: string, request: UpdateWorkspaceWidgetsRequest): Promise<WorkspaceDto>;
1880
1898
  updateWorkspaceWidgetSettings(id: string, widgetId: string, request: UpdateWorkspaceWidgetSettingsRequest): Promise<WorkspaceDto>;
1881
1899
  deleteWorkspaceWidget(id: string, widgetId: string): Promise<WorkspaceDto>;
1900
+ resolveDefault(request: ResolveDefaultWorkspaceRequestDto): Promise<ResolveDefaultWorkspaceDto>;
1882
1901
  }
1883
1902
  export declare class WorkspacesClient extends AuthorizedApiBase implements IWorkspacesClient {
1884
1903
  private http;
@@ -1904,6 +1923,8 @@ export declare class WorkspacesClient extends AuthorizedApiBase implements IWork
1904
1923
  protected processUpdateWorkspaceWidgetSettings(response: Response): Promise<WorkspaceDto>;
1905
1924
  deleteWorkspaceWidget(id: string, widgetId: string): Promise<WorkspaceDto>;
1906
1925
  protected processDeleteWorkspaceWidget(response: Response): Promise<WorkspaceDto>;
1926
+ resolveDefault(request: ResolveDefaultWorkspaceRequestDto): Promise<ResolveDefaultWorkspaceDto>;
1927
+ protected processResolveDefault(response: Response): Promise<ResolveDefaultWorkspaceDto>;
1907
1928
  }
1908
1929
  export interface IWorkspaceTemplatesAdminClient {
1909
1930
  createWorkspaceTemplate(createWorkspaceTemplate: CreateWorkspaceTemplate): Promise<WorkspaceDto>;
@@ -2399,6 +2420,84 @@ export declare class WeldingClient extends AuthorizedApiBase implements IWelding
2399
2420
  deleteWeldingIotConfig(typeId: string, id: string): Promise<void>;
2400
2421
  protected processDeleteWeldingIotConfig(response: Response): Promise<void>;
2401
2422
  }
2423
+ export interface IMaterialCertificateChecksClient {
2424
+ listMaterialCertificateChecks(request: ImaMaterialChecksPageRequestDto): Promise<ImaMaterialChecksPageDto>;
2425
+ getMaterialCertificateCheck(id: string): Promise<ImaMaterialCheckDto>;
2426
+ processMaterialCertificate(certificatesRequest: ProcessImaCheckRequestDto): Promise<void>;
2427
+ updateMaterialCertificate(certificatesRequest: ImaUpdateResultRequestDto): Promise<ImaMaterialCheckDto>;
2428
+ }
2429
+ export declare class MaterialCertificateChecksClient extends AuthorizedApiBase implements IMaterialCertificateChecksClient {
2430
+ private http;
2431
+ private baseUrl;
2432
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2433
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2434
+ });
2435
+ listMaterialCertificateChecks(request: ImaMaterialChecksPageRequestDto): Promise<ImaMaterialChecksPageDto>;
2436
+ protected processListMaterialCertificateChecks(response: Response): Promise<ImaMaterialChecksPageDto>;
2437
+ getMaterialCertificateCheck(id: string): Promise<ImaMaterialCheckDto>;
2438
+ protected processGetMaterialCertificateCheck(response: Response): Promise<ImaMaterialCheckDto>;
2439
+ processMaterialCertificate(certificatesRequest: ProcessImaCheckRequestDto): Promise<void>;
2440
+ protected processProcessMaterialCertificate(response: Response): Promise<void>;
2441
+ updateMaterialCertificate(certificatesRequest: ImaUpdateResultRequestDto): Promise<ImaMaterialCheckDto>;
2442
+ protected processUpdateMaterialCertificate(response: Response): Promise<ImaMaterialCheckDto>;
2443
+ }
2444
+ export interface IMaterialCertificateSpecificationsClient {
2445
+ listSpecifications(): Promise<ImaSpecificationLiteDto[]>;
2446
+ getSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
2447
+ updateSpecifications(id: string, version: number | null | undefined, _: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
2448
+ deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void>;
2449
+ createSpecifications(createDto: CreateImaSpecificationDto): Promise<ImaSpecificationDto>;
2450
+ }
2451
+ export declare class MaterialCertificateSpecificationsClient extends AuthorizedApiBase implements IMaterialCertificateSpecificationsClient {
2452
+ private http;
2453
+ private baseUrl;
2454
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2455
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2456
+ });
2457
+ listSpecifications(): Promise<ImaSpecificationLiteDto[]>;
2458
+ protected processListSpecifications(response: Response): Promise<ImaSpecificationLiteDto[]>;
2459
+ getSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
2460
+ protected processGetSpecification(response: Response): Promise<ImaSpecificationDto>;
2461
+ updateSpecifications(id: string, version: number | null | undefined, _: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
2462
+ protected processUpdateSpecifications(response: Response): Promise<ImaSpecificationDto>;
2463
+ deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void>;
2464
+ protected processDeleteMaterialCertificateTypes(response: Response): Promise<void>;
2465
+ createSpecifications(createDto: CreateImaSpecificationDto): Promise<ImaSpecificationDto>;
2466
+ protected processCreateSpecifications(response: Response): Promise<ImaSpecificationDto>;
2467
+ }
2468
+ export interface IMaterialCertificateTypesClient {
2469
+ listMaterialCertificateTypes(): Promise<ImaCertificateTypeLiteDto[]>;
2470
+ getMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
2471
+ updateMaterialCertificateTypes(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
2472
+ deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void>;
2473
+ createMaterialCertificateTypes(payload: ImaCreateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
2474
+ copyMaterialCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
2475
+ createNewVersionForCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
2476
+ releaseMaterialCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
2477
+ }
2478
+ export declare class MaterialCertificateTypesClient extends AuthorizedApiBase implements IMaterialCertificateTypesClient {
2479
+ private http;
2480
+ private baseUrl;
2481
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2482
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2483
+ });
2484
+ listMaterialCertificateTypes(): Promise<ImaCertificateTypeLiteDto[]>;
2485
+ protected processListMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeLiteDto[]>;
2486
+ getMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
2487
+ protected processGetMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto>;
2488
+ updateMaterialCertificateTypes(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
2489
+ protected processUpdateMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto>;
2490
+ deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void>;
2491
+ protected processDeleteMaterialCertificateTypes(response: Response): Promise<void>;
2492
+ createMaterialCertificateTypes(payload: ImaCreateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
2493
+ protected processCreateMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto>;
2494
+ copyMaterialCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
2495
+ protected processCopyMaterialCertificateType(response: Response): Promise<ImaCertificateTypeDto>;
2496
+ createNewVersionForCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
2497
+ protected processCreateNewVersionForCertificateType(response: Response): Promise<ImaCertificateTypeDto>;
2498
+ releaseMaterialCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
2499
+ protected processReleaseMaterialCertificateType(response: Response): Promise<ImaCertificateTypeDto>;
2500
+ }
2402
2501
  export interface IMeasurementFormSchemasAdminClient {
2403
2502
  getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
2404
2503
  createMeasurementForm(request: CreateMeasurementFormSchema): Promise<MeasurementFormDto>;
@@ -3192,75 +3291,6 @@ export declare class SuppliersClient extends AuthorizedApiBase implements ISuppl
3192
3291
  deleteSupplierMappings(): Promise<void>;
3193
3292
  protected processDeleteSupplierMappings(response: Response): Promise<void>;
3194
3293
  }
3195
- export interface IMaterialCertificateChecksClient {
3196
- listMaterialCertificateChecks(request: AmcMaterialChecksPageRequestDto): Promise<AmcMaterialChecksPageDto>;
3197
- getMaterialCertificateCheck(id: string): Promise<AmcMaterialCheckDto>;
3198
- processMaterialCertificate(certificatesRequest: ProcessAmcCheckRequestDto): Promise<void>;
3199
- updateMaterialCertificate(certificatesRequest: AmcUpdateResultRequestDto): Promise<AmcMaterialCheckDto>;
3200
- }
3201
- export declare class MaterialCertificateChecksClient extends AuthorizedApiBase implements IMaterialCertificateChecksClient {
3202
- private http;
3203
- private baseUrl;
3204
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3205
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3206
- });
3207
- listMaterialCertificateChecks(request: AmcMaterialChecksPageRequestDto): Promise<AmcMaterialChecksPageDto>;
3208
- protected processListMaterialCertificateChecks(response: Response): Promise<AmcMaterialChecksPageDto>;
3209
- getMaterialCertificateCheck(id: string): Promise<AmcMaterialCheckDto>;
3210
- protected processGetMaterialCertificateCheck(response: Response): Promise<AmcMaterialCheckDto>;
3211
- processMaterialCertificate(certificatesRequest: ProcessAmcCheckRequestDto): Promise<void>;
3212
- protected processProcessMaterialCertificate(response: Response): Promise<void>;
3213
- updateMaterialCertificate(certificatesRequest: AmcUpdateResultRequestDto): Promise<AmcMaterialCheckDto>;
3214
- protected processUpdateMaterialCertificate(response: Response): Promise<AmcMaterialCheckDto>;
3215
- }
3216
- export interface IMaterialCertificateSpecificationsClient {
3217
- listSpecifications(): Promise<AmcSpecificationLiteDto[]>;
3218
- getSpecification(id: string, version: number | null | undefined): Promise<AmcSpecificationDto>;
3219
- createSpecifications(specificationsRequest: CreateAmcSpecificationDto): Promise<AmcSpecificationDto>;
3220
- updateSpecifications(specificationsRequest: UpdateAmcSpecificationDto): Promise<AmcSpecificationDto>;
3221
- deleteMaterialCertificateTypes(materialCertificateSpecificationId: string, version: string): Promise<void>;
3222
- }
3223
- export declare class MaterialCertificateSpecificationsClient extends AuthorizedApiBase implements IMaterialCertificateSpecificationsClient {
3224
- private http;
3225
- private baseUrl;
3226
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3227
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3228
- });
3229
- listSpecifications(): Promise<AmcSpecificationLiteDto[]>;
3230
- protected processListSpecifications(response: Response): Promise<AmcSpecificationLiteDto[]>;
3231
- getSpecification(id: string, version: number | null | undefined): Promise<AmcSpecificationDto>;
3232
- protected processGetSpecification(response: Response): Promise<AmcSpecificationDto>;
3233
- createSpecifications(specificationsRequest: CreateAmcSpecificationDto): Promise<AmcSpecificationDto>;
3234
- protected processCreateSpecifications(response: Response): Promise<AmcSpecificationDto>;
3235
- updateSpecifications(specificationsRequest: UpdateAmcSpecificationDto): Promise<AmcSpecificationDto>;
3236
- protected processUpdateSpecifications(response: Response): Promise<AmcSpecificationDto>;
3237
- deleteMaterialCertificateTypes(materialCertificateSpecificationId: string, version: string): Promise<void>;
3238
- protected processDeleteMaterialCertificateTypes(response: Response): Promise<void>;
3239
- }
3240
- export interface IMaterialCertificateTypesClient {
3241
- listMaterialCertificateTypes(): Promise<AmcCertificateTypeLiteDto[]>;
3242
- getMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<AmcCertificateTypeDto>;
3243
- updateMaterialCertificateTypes(id: string, version: number | null | undefined, payload: AmcUpdateAmcCertificateTypeRequestDto): Promise<AmcCertificateTypeDto>;
3244
- deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void>;
3245
- createMaterialCertificateTypes(payload: AmcCreateAmcCertificateTypeRequestDto): Promise<AmcCertificateTypeDto>;
3246
- }
3247
- export declare class MaterialCertificateTypesClient extends AuthorizedApiBase implements IMaterialCertificateTypesClient {
3248
- private http;
3249
- private baseUrl;
3250
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3251
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3252
- });
3253
- listMaterialCertificateTypes(): Promise<AmcCertificateTypeLiteDto[]>;
3254
- protected processListMaterialCertificateTypes(response: Response): Promise<AmcCertificateTypeLiteDto[]>;
3255
- getMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<AmcCertificateTypeDto>;
3256
- protected processGetMaterialCertificateTypes(response: Response): Promise<AmcCertificateTypeDto>;
3257
- updateMaterialCertificateTypes(id: string, version: number | null | undefined, payload: AmcUpdateAmcCertificateTypeRequestDto): Promise<AmcCertificateTypeDto>;
3258
- protected processUpdateMaterialCertificateTypes(response: Response): Promise<AmcCertificateTypeDto>;
3259
- deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void>;
3260
- protected processDeleteMaterialCertificateTypes(response: Response): Promise<void>;
3261
- createMaterialCertificateTypes(payload: AmcCreateAmcCertificateTypeRequestDto): Promise<AmcCertificateTypeDto>;
3262
- protected processCreateMaterialCertificateTypes(response: Response): Promise<AmcCertificateTypeDto>;
3263
- }
3264
3294
  export interface AzureRegionDto {
3265
3295
  displayName: string;
3266
3296
  name: string;
@@ -3904,6 +3934,7 @@ export interface UpdateCalendarSettingsCommand {
3904
3934
  };
3905
3935
  halfDayHours?: number;
3906
3936
  holidayHours?: number;
3937
+ defaultPerformancePercent?: number | null;
3907
3938
  }
3908
3939
  export interface ResourceKpiDto {
3909
3940
  uptimeToNow: number;
@@ -4217,6 +4248,7 @@ export interface UtilizationDetailsV2Dto {
4217
4248
  uptimeInMilliseconds?: number | null;
4218
4249
  downtimeInMilliseconds?: number | null;
4219
4250
  totalTimeInMilliseconds?: number | null;
4251
+ performancePercent?: number | null;
4220
4252
  }
4221
4253
  export interface MachineGroupUtilizationV2Dto {
4222
4254
  name: string;
@@ -5528,6 +5560,7 @@ export interface ListCncPartsRequest {
5528
5560
  operationMaxCreatedDate?: Date | null;
5529
5561
  operationMinUpdatedDate?: Date | null;
5530
5562
  operationMaxUpdatedDate?: Date | null;
5563
+ utcOffset?: number | null;
5531
5564
  }
5532
5565
  export type CncFilterDeletedDto = "NoneDeleted" | "OnlyDeleted" | "All";
5533
5566
  export interface CncPartMaterialListDto {
@@ -5637,6 +5670,7 @@ export interface ListCncMachineOperationsRequest {
5637
5670
  maxCreatedDate?: Date | null;
5638
5671
  minUpdatedDate?: Date | null;
5639
5672
  maxUpdatedDate?: Date | null;
5673
+ utcOffset?: number | null;
5640
5674
  }
5641
5675
  export interface UpdateCncMachineOperationRequest {
5642
5676
  operation?: number | null;
@@ -6213,6 +6247,11 @@ export interface UpdateCdfConfig {
6213
6247
  clientId: string;
6214
6248
  clientSecret?: string | null;
6215
6249
  }
6250
+ export interface WorkspaceDefaultsDto {
6251
+ machineTemplateOverrides?: {
6252
+ [key: string]: string;
6253
+ };
6254
+ }
6216
6255
  export interface WorkspaceListDto {
6217
6256
  id: string;
6218
6257
  name: string;
@@ -6262,6 +6301,12 @@ export interface UpdateWorkspaceWidgetsRequest {
6262
6301
  export interface UpdateWorkspaceWidgetSettingsRequest {
6263
6302
  settings: string;
6264
6303
  }
6304
+ export interface ResolveDefaultWorkspaceDto {
6305
+ workspaceId?: string | null;
6306
+ }
6307
+ export interface ResolveDefaultWorkspaceRequestDto {
6308
+ machineId: string;
6309
+ }
6265
6310
  export interface CreateWorkspaceTemplate {
6266
6311
  name: string;
6267
6312
  description?: string | null;
@@ -7279,442 +7324,994 @@ export interface WeldingIotConfigDto {
7279
7324
  }
7280
7325
  export interface CreateWeldingIotConfig {
7281
7326
  }
7282
- export interface MeasurementFormSchemaDto {
7283
- id: string;
7284
- versionId: number;
7285
- partNumber?: string | null;
7286
- partRevision?: string | null;
7287
- partName?: string | null;
7288
- drawing?: string | null;
7289
- drawingRevision?: string | null;
7290
- drawingUrl?: string | null;
7291
- customerId?: string | null;
7292
- customerName?: string | null;
7293
- excludeFromCustomerDocumentation: boolean;
7294
- excludeDrawingFromCustomerDocumentation: boolean;
7295
- specification?: string | null;
7296
- isUsed: boolean;
7297
- status: MeasurementFormStatus;
7298
- source: MeasurementFormSource;
7299
- unitOfMeasure?: UnitOfMeasureDto;
7300
- dimensionSetting?: DimensionSettingDto;
7301
- generalTolerance?: GeneralToleranceDto;
7302
- markedDrawingUrl?: string | null;
7303
- sourceFileUrl?: string | null;
7304
- projectFileUrl?: string | null;
7305
- updatedBy?: string | null;
7306
- updatedDate?: Date;
7307
- attachments: MeasurementFormSchemaAttachmentDto[];
7308
- groupedElements: MeasurementFormGroupedElementDto[];
7309
- extraSchemas: MeasurementFormLinkedSchemaDto[];
7310
- }
7311
- export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
7312
- export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
7313
- export type UnitOfMeasureDto = "Millimeter" | "Inch";
7314
- export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
7315
- export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
7316
- export interface MeasurementFormSchemaAttachmentDto {
7317
- url: string;
7318
- title: string;
7327
+ export interface ImaMaterialChecksPageDto {
7328
+ items: ImaMaterialCheckLiteDto[];
7329
+ continuationToken?: string | null;
7319
7330
  }
7320
- export interface MeasurementFormGroupedElementDto {
7321
- id: string;
7322
- balloonId?: string | null;
7323
- reference: number;
7324
- imageUrl?: string | null;
7325
- thumbnailUrl?: string | null;
7326
- section?: string | null;
7327
- pageNumber?: number | null;
7328
- sheetZone?: string | null;
7329
- places?: number | null;
7330
- nominal?: number | null;
7331
- nominalText?: string | null;
7332
- type?: string | null;
7333
- subType?: string | null;
7334
- unitOfMeasure?: string | null;
7335
- typeCharacter?: string | null;
7336
- plusTolerance?: number | null;
7337
- minusTolerance?: number | null;
7338
- upperLimit?: number | null;
7339
- lowerLimit?: number | null;
7340
- comments?: string | null;
7341
- updatedByUser?: string | null;
7342
- updatedDate?: Date | null;
7343
- createdByUser?: string | null;
7344
- createdDate?: Date;
7345
- frequency: MeasurementFrequency;
7346
- frequencyParameter?: number | null;
7347
- includeInCustomerDocumentation: boolean;
7348
- isDocumentedExternally: boolean;
7349
- balloonQuantity?: number | null;
7350
- referenceQuantity?: number | null;
7351
- plusToleranceText?: string | null;
7352
- minusToleranceText?: string | null;
7353
- coatingThickness?: number | null;
7354
- canCopy: boolean;
7355
- valueType?: MeasurementFormValueType;
7356
- bonusType?: BonusType;
7357
- lowerWarningThreshold?: number | null;
7358
- upperWarningThreshold?: number | null;
7359
- machiningDimension?: number | null;
7360
- nominalInch?: number | null;
7361
- isValid: boolean;
7362
- validationErrorMessage?: string | null;
7331
+ export interface ImaMaterialCheckLiteDto {
7332
+ materialCheckId: string;
7333
+ originalMaterialCertificate: FileDto;
7334
+ generatedMaterialCertificate?: FileDto | null;
7335
+ customer?: string | null;
7336
+ project?: string | null;
7337
+ workOrder?: string | null;
7338
+ certificateTypeId?: string | null;
7339
+ certificateTypeVersion?: number | null;
7340
+ certificateTypeName?: string | null;
7341
+ specificationId: string;
7342
+ specificationVersion: number;
7343
+ specificationName: string;
7344
+ purchaseOrder?: string | null;
7345
+ purchaseOrderLine?: string | null;
7346
+ purchaseOrderItem?: string | null;
7347
+ purchaseOrderOrMaterialCertificateHeatNumber?: string | null;
7348
+ purchaseOrderLot?: string | null;
7349
+ status: ImaMaterialCheckStatus;
7350
+ created: Date;
7351
+ createdBy: string;
7352
+ createdById: string;
7353
+ updatedBy?: string | null;
7354
+ updatedById?: string | null;
7363
7355
  }
7364
- export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
7365
- export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
7366
- export type BonusType = "None" | "Positive" | "PositiveAndNegative";
7367
- export interface MeasurementFormLinkedSchemaDto {
7368
- customerId?: string | null;
7369
- partNumber?: string | null;
7370
- partRevision?: string | null;
7371
- drawing: string;
7372
- drawingRevision?: string | null;
7373
- schemaId: string;
7374
- latestReleasedSchemaId: string;
7356
+ export type ImaMaterialCheckStatus = "WaitingForProcessing" | "Processing" | "Draft" | "Approved" | "Rejected" | "NotSet";
7357
+ export interface ImaMaterialChecksPageRequestDto {
7358
+ pageSize?: number | null;
7359
+ orderBy?: ImaMaterialChecksOrderByColumn | null;
7360
+ searchTerm?: string | null;
7361
+ originalReportFilter?: string | null;
7362
+ generatedReportFilter?: string | null;
7363
+ customerFilter?: string | null;
7364
+ projectFilter?: string | null;
7365
+ purchaseOrderFilter?: string | null;
7366
+ workOrderFilter?: string | null;
7367
+ certificateTypeFilter?: string | null;
7368
+ lineFilter?: string | null;
7369
+ itemFilter?: string | null;
7370
+ heatFilter?: string | null;
7371
+ lotFilter?: string | null;
7372
+ dateFromFilter?: Date | null;
7373
+ dateToFilter?: Date | null;
7374
+ statusFilter: ImaMaterialCheckStatus[];
7375
+ continuationToken?: string | null;
7375
7376
  }
7376
- export interface MeasurementFormDto {
7377
- id: string;
7378
- schemaId: string;
7379
- versionId: number;
7380
- customerId?: string | null;
7381
- customerName?: string | null;
7382
- partNumber?: string | null;
7383
- partRevision?: string | null;
7384
- partName?: string | null;
7385
- drawing: string;
7386
- drawingRevision?: string | null;
7387
- createdBy: string;
7377
+ export type ImaMaterialChecksOrderByColumn = "OriginalReport" | "GeneratedReport" | "Customer" | "Project" | "PurchaseOrder" | "WorkOrder" | "CertificateType" | "Line" | "Item" | "Heat" | "Lot" | "Date" | "Status" | "NotSet";
7378
+ export interface ImaMaterialCheckDto {
7379
+ materialCheckId: string;
7380
+ originalMaterialCertificate: FileDto;
7381
+ generatedMaterialCertificate?: FileDto | null;
7382
+ customer?: string | null;
7383
+ project?: string | null;
7384
+ workOrder?: string | null;
7385
+ certificateTypeId?: string | null;
7386
+ certificateTypeVersion?: number | null;
7387
+ certificateTypeName?: string | null;
7388
+ specificationId: string;
7389
+ specificationVersion: number;
7390
+ specificationName: string;
7391
+ purchaseOrder?: string | null;
7392
+ purchaseOrderLine?: string | null;
7393
+ purchaseOrderItem?: string | null;
7394
+ purchaseOrderOrMaterialCertificateHeatNumber?: string | null;
7395
+ purchaseOrderLot?: string | null;
7396
+ status: ImaMaterialCheckStatus;
7388
7397
  created: Date;
7389
- status: MeasurementFormStatus;
7390
- source: MeasurementFormSource;
7391
- extraSchemas: MeasurementFormLinkedSchemaDto[];
7392
- }
7393
- export interface CreateMeasurementFormSchema {
7394
- customerId?: string | null;
7395
- customerName?: string | null;
7396
- partNumber?: string | null;
7397
- partRevision?: string | null;
7398
- partName?: string | null;
7399
- drawing: string;
7400
- drawingRevision?: string | null;
7398
+ createdBy: string;
7399
+ createdById: string;
7400
+ updatedBy?: string | null;
7401
+ updatedById?: string | null;
7402
+ certificateTypeResults: ImaCertificateTypeResultsDto;
7403
+ specificationChemistry: ImaSpecificationChemistryResultsDto;
7404
+ specificationMechanical: ImaSpecificationMechanicalResultsDto;
7405
+ specificationFerrite: ImaSpecificationFerriteResultsDto;
7406
+ specificationHeat: ImaSpecificationHeatTreatmentResultsDto;
7407
+ }
7408
+ export interface ImaCertificateTypeResultsDto {
7409
+ manufacturer: ImaCertificateTypeManufacturerResultsDto;
7410
+ signature: ImaCertificateTypeSignatureResultsDto;
7411
+ thirdParty: ImaCertificateTypeThirdPartyResultsDto;
7412
+ certification: ImaCertificateTypeCertificationResultsDto;
7413
+ productAndOrderInformation: ImaCertificateTypeProductAndOrderInformationResultsDto;
7414
+ testMethodsAndReferences: ImaCertificateTypeTestMethodsAndReferencesResultsDto;
7415
+ testResults: ImaCertificateTypeTestResultsResultsDto;
7416
+ documentTypes: ImaCertificateTypeDocumentTypesResultsDto;
7417
+ }
7418
+ export interface ImaCertificateTypeManufacturerResultsDto {
7419
+ manufacturer?: ImaCertificateTypeResultLine | null;
7420
+ address?: ImaCertificateTypeResultLine | null;
7421
+ contact?: ImaCertificateTypeResultLine | null;
7422
+ }
7423
+ export interface ImaCertificateTypeResultLine {
7424
+ found?: boolean;
7425
+ readValue?: string | null;
7426
+ override?: ImaResultLineOverrideDto | null;
7401
7427
  }
7402
- export interface UpdateMeasurementFormSchemaRequest {
7403
- excludeFromCustomerDocumentation: boolean;
7404
- excludeDrawingFromCustomerDocumentation?: boolean | null;
7405
- specification?: string | null;
7406
- }
7407
- export interface CopyMeasurementFormSchema {
7408
- customerId?: string | null;
7409
- customerName?: string | null;
7410
- partNumber?: string | null;
7411
- partRevision?: string | null;
7412
- partName?: string | null;
7413
- drawing: string;
7414
- drawingRevision?: string | null;
7415
- includeFiles: boolean;
7416
- includeLinkedSchemas: boolean;
7417
- includeMeasurementForm: boolean;
7428
+ export interface ImaResultLineOverrideDto {
7429
+ approved: boolean;
7430
+ comment?: string | null;
7431
+ updated: Date;
7432
+ updatedBy: string;
7433
+ updatedById: string;
7418
7434
  }
7419
- export interface UpdateSchemaGroupedElementsRequest {
7420
- groupedElements: UpdateSchemaGroupedElementDto[];
7435
+ export interface ImaCertificateTypeSignatureResultsDto {
7436
+ certifiedBy?: ImaCertificateTypeResultLine | null;
7437
+ position?: ImaCertificateTypeResultLine | null;
7438
+ signature?: ImaCertificateTypeResultLine | null;
7439
+ date?: ImaCertificateTypeResultLine | null;
7440
+ stamp?: ImaCertificateTypeResultLine | null;
7441
+ }
7442
+ export interface ImaCertificateTypeThirdPartyResultsDto {
7443
+ inspectionBody?: ImaCertificateTypeResultLine | null;
7444
+ inspectorName?: ImaCertificateTypeResultLine | null;
7445
+ position?: ImaCertificateTypeResultLine | null;
7446
+ verificationMethod?: ImaCertificateTypeResultLine | null;
7447
+ signature?: ImaCertificateTypeResultLine | null;
7448
+ date?: ImaCertificateTypeResultLine | null;
7449
+ stamp?: ImaCertificateTypeResultLine | null;
7450
+ }
7451
+ export interface ImaCertificateTypeCertificationResultsDto {
7452
+ certificateOfCompliance?: ImaCertificateTypeResultLine | null;
7453
+ inspectionCertificate?: ImaCertificateTypeResultLine | null;
7454
+ }
7455
+ export interface ImaCertificateTypeProductAndOrderInformationResultsDto {
7456
+ productDescription?: ImaCertificateTypeResultLine | null;
7457
+ materialGrade?: ImaCertificateTypeResultLine | null;
7458
+ customer?: ImaCertificateTypeResultLine | null;
7459
+ customerOrderNumber?: ImaCertificateTypeResultLine | null;
7460
+ dimensionsOrWeight?: ImaCertificateTypeResultLine | null;
7461
+ batchNumber?: ImaCertificateTypeResultLine | null;
7462
+ heatNumber?: ImaCertificateTypeResultLine | null;
7463
+ relatedStandards?: ImaCertificateTypeResultLine | null;
7464
+ }
7465
+ export interface ImaCertificateTypeTestMethodsAndReferencesResultsDto {
7466
+ usedStandards?: ImaCertificateTypeResultLine | null;
7467
+ }
7468
+ export interface ImaCertificateTypeTestResultsResultsDto {
7469
+ mechanicalProperties?: ImaCertificateTypeResultLine | null;
7470
+ chemicalAnalysis?: ImaCertificateTypeResultLine | null;
7471
+ impactTests?: ImaCertificateTypeResultLine | null;
7472
+ corrosionTests?: ImaCertificateTypeResultLine | null;
7473
+ ferriteContentAndMicrostructure?: ImaCertificateTypeResultLine | null;
7474
+ }
7475
+ export interface ImaCertificateTypeDocumentTypesResultsDto {
7476
+ heatTreatmentCertificate?: ImaCertificateTypeResultLine | null;
7477
+ ultrasonicControlCertificate?: ImaCertificateTypeResultLine | null;
7478
+ liquidPenetrantCertificate?: ImaCertificateTypeResultLine | null;
7479
+ testReport?: ImaCertificateTypeResultLine | null;
7480
+ dimensionalReport?: ImaCertificateTypeResultLine | null;
7481
+ dyePenetrantReport?: ImaCertificateTypeResultLine | null;
7482
+ visualReport?: ImaCertificateTypeResultLine | null;
7483
+ certificateOfAnalyticalAndMechanicalTests?: ImaCertificateTypeResultLine | null;
7484
+ certificateOfTest?: ImaCertificateTypeResultLine | null;
7485
+ technicalReport?: ImaCertificateTypeResultLine | null;
7486
+ microExaminationReport?: ImaCertificateTypeResultLine | null;
7487
+ radiologicalReport?: ImaCertificateTypeResultLine | null;
7488
+ }
7489
+ export interface ImaSpecificationChemistryResultsDto {
7490
+ carbon?: ImaSpecificationResultLineDto | null;
7491
+ manganese?: ImaSpecificationResultLineDto | null;
7492
+ silicon?: ImaSpecificationResultLineDto | null;
7493
+ phosphorus?: ImaSpecificationResultLineDto | null;
7494
+ sulfur?: ImaSpecificationResultLineDto | null;
7495
+ chromium?: ImaSpecificationResultLineDto | null;
7496
+ nickel?: ImaSpecificationResultLineDto | null;
7497
+ molybdenum?: ImaSpecificationResultLineDto | null;
7498
+ copper?: ImaSpecificationResultLineDto | null;
7499
+ nitrogen?: ImaSpecificationResultLineDto | null;
7500
+ wolfram?: ImaSpecificationResultLineDto | null;
7501
+ iron?: ImaSpecificationResultLineDto | null;
7502
+ }
7503
+ export interface ImaSpecificationResultLineDto {
7504
+ specificationOperator?: string | null;
7505
+ specificationValue1?: number | null;
7506
+ specificationValue2?: number | null;
7507
+ specificationSymbol?: string | null;
7508
+ readValue?: string | null;
7509
+ status: ImaSpecificationResultLineStatus;
7510
+ override?: ImaResultLineOverrideDto | null;
7511
+ }
7512
+ export type ImaSpecificationResultLineStatus = "NotFound" | "NotOk" | "Ok" | "NotSet";
7513
+ export interface ImaSpecificationMechanicalResultsDto {
7514
+ yieldStrength?: ImaSpecificationResultLineDto | null;
7515
+ tensileStrength?: ImaSpecificationResultLineDto | null;
7516
+ elongation?: ImaSpecificationResultLineDto | null;
7517
+ reductionOfArea?: ImaSpecificationResultLineDto | null;
7518
+ impactEnergy?: ImaSpecificationResultLineDto | null;
7519
+ hardness?: ImaSpecificationResultLineDto | null;
7520
+ }
7521
+ export interface ImaSpecificationFerriteResultsDto {
7522
+ ferriteContent?: ImaSpecificationFerriteResultLineDto | null;
7523
+ }
7524
+ export interface ImaSpecificationFerriteResultLineDto {
7525
+ specificationOperator?: string | null;
7526
+ specificationValue1?: string | null;
7527
+ specificationValue2?: string | null;
7528
+ specificationSymbol?: string | null;
7529
+ readValue?: string | null;
7530
+ status: ImaSpecificationResultLineStatus;
7531
+ override?: ImaResultLineOverrideDto | null;
7532
+ measurementMethod?: string | null;
7421
7533
  }
7422
- export interface UpdateSchemaGroupedElementDto {
7423
- balloonId?: string | null;
7424
- reference: number;
7425
- frequency: MeasurementFrequency;
7426
- frequencyParameter?: number | null;
7427
- includeInCustomerDocumentation: boolean;
7428
- canCopy?: boolean | null;
7429
- isDocumentedExternally: boolean;
7430
- coatingThickness?: number | null;
7534
+ export interface ImaSpecificationHeatTreatmentResultsDto {
7535
+ heatTreatments: ImaSpecificationHeatTreatmentsResultLineDto[];
7431
7536
  }
7432
- export interface UpdateSchemaGroupedElementRowDto {
7433
- id?: string | null;
7434
- balloonId?: string | null;
7435
- oldReference: number;
7436
- newReference: number;
7437
- section?: string | null;
7438
- pageNumber?: number | null;
7439
- measurements?: number | null;
7440
- nominalText?: string | null;
7441
- type?: string | null;
7442
- subType?: string | null;
7443
- plusTolerance?: string | null;
7444
- minusTolerance?: string | null;
7445
- upperLimit?: string | null;
7446
- lowerLimit?: string | null;
7447
- coatingThickness?: number | null;
7448
- comments?: string | null;
7449
- frequency: MeasurementFrequency;
7450
- frequencyParameter?: number | null;
7451
- includeInCustomerDocumentation: boolean;
7452
- canCopy?: boolean | null;
7453
- isDocumentedExternally: boolean;
7537
+ export interface ImaSpecificationHeatTreatmentsResultLineDto {
7538
+ heatingMethod: ImaHeatingTreatmentMethod;
7539
+ specificationHeatingTreatmentTemperature?: number | null;
7540
+ specificationHeatingHoldingTime?: number | null;
7541
+ heatingTreatmentTemperature?: number | null;
7542
+ heatingHoldingTime?: number | null;
7543
+ specificationCoolingMethods?: ImaCoolingTreatmentMethod[] | null;
7544
+ specificationCoolingTreatmentTemperature?: number | null;
7545
+ specificationCoolingHoldingTime?: number | null;
7546
+ coolingMethod?: ImaCoolingTreatmentMethod | null;
7547
+ coolingTreatmentTemperature?: number | null;
7548
+ coolingHoldingTime?: number | null;
7549
+ status: ImaSpecificationResultLineStatus;
7550
+ override?: ImaResultLineOverrideDto | null;
7454
7551
  }
7455
- export interface DeleteSchemaGroupedElementRowsDto {
7456
- balloonIds?: string[];
7457
- references?: number[];
7552
+ export type ImaHeatingTreatmentMethod = "Annealing" | "Normalizing" | "Quenching" | "Tempering" | "StressRelieving" | "SolutionTreating" | "Aging" | "Austempering" | "Martempering" | "NotSet";
7553
+ export type ImaCoolingTreatmentMethod = "AirCooling" | "OilQuenching" | "WaterQuenching" | "FurnaceCooling" | "AirBlastCooling" | "PolymerQuenching" | "NotSet";
7554
+ export interface ProcessImaCheckRequestDto {
7555
+ files: UploadFileDto[];
7556
+ specificationId: string;
7557
+ specificationVersion: string;
7558
+ certificateTypeId?: string | null;
7559
+ certificateTypeVersion?: string | null;
7560
+ purchaseOrder?: string | null;
7458
7561
  }
7459
- export interface UploadMeasurementImageRequest {
7460
- uploadKey: string;
7461
- filename: string;
7462
- ballonId?: string | null;
7463
- reference: number;
7562
+ export interface ImaUpdateResultRequestDto {
7563
+ certificateId: string;
7564
+ project?: string | null;
7565
+ purchaseOrder?: string | null;
7566
+ workOrder?: string | null;
7567
+ certificateTypeSection: ImaUpdateCertificateTypeResultsDto;
7568
+ specificationChemistrySpecification: ImaUpdateSpecificationChemistryResultsDto;
7569
+ specificationMechanicalSpecification: ImaUpdateSpecificationMechanicalResultsDto;
7570
+ specificationFerriteSpecification: ImaUpdateSpecificationFerriteResultsDto;
7571
+ specificationHeatSpecification: ImaUpdateSpecificationHeatTreatmentResultsDto;
7572
+ }
7573
+ export interface ImaUpdateCertificateTypeResultsDto {
7574
+ manufacturer: ImaUpdateCertificateTypeManufacturerResultsDto;
7575
+ signature: ImaUpdateCertificateTypeSignatureResultsDto;
7576
+ thirdParty: ImaUpdateCertificateTypeThirdPartyResultsDto;
7577
+ certification: ImaUpdateCertificateTypeCertificationResultsDto;
7578
+ certificateTypeProductAndOrderInformation: ImaUpdateCertificateTypeProductAndOrderInformationResultsDto;
7579
+ testMethodsAndReferences: ImaUpdateCertificateTypeTestMethodsAndReferencesResultsDto;
7580
+ testResults: ImaUpdateCertificateTypeTestResultsResultsDto;
7581
+ documentTypes: ImaUpdateCertificateTypeDocumentTypesResultsDto;
7582
+ }
7583
+ export interface ImaUpdateCertificateTypeManufacturerResultsDto {
7584
+ manufacturer?: ImaUpdateCertificateTypeResultLine | null;
7585
+ address?: ImaUpdateCertificateTypeResultLine | null;
7586
+ contact?: ImaUpdateCertificateTypeResultLine | null;
7587
+ }
7588
+ export interface ImaUpdateCertificateTypeResultLine {
7589
+ approved?: boolean | null;
7590
+ comment?: string | null;
7464
7591
  }
7465
- export interface UpdateSchemaSettingsRequest {
7466
- unitOfMeasure: UnitOfMeasureDto;
7467
- dimensionSetting: DimensionSettingDto;
7468
- generalTolerance: GeneralToleranceDto;
7592
+ export interface ImaUpdateCertificateTypeSignatureResultsDto {
7593
+ certifiedBy?: ImaUpdateCertificateTypeResultLine | null;
7594
+ position?: ImaUpdateCertificateTypeResultLine | null;
7595
+ signature?: ImaUpdateCertificateTypeResultLine | null;
7596
+ date?: ImaUpdateCertificateTypeResultLine | null;
7597
+ stamp?: ImaUpdateCertificateTypeResultLine | null;
7598
+ }
7599
+ export interface ImaUpdateCertificateTypeThirdPartyResultsDto {
7600
+ inspectionBody?: ImaUpdateCertificateTypeResultLine | null;
7601
+ inspectorName?: ImaUpdateCertificateTypeResultLine | null;
7602
+ position?: ImaUpdateCertificateTypeResultLine | null;
7603
+ verificationMethod?: ImaUpdateCertificateTypeResultLine | null;
7604
+ signature?: ImaUpdateCertificateTypeResultLine | null;
7605
+ date?: ImaUpdateCertificateTypeResultLine | null;
7606
+ stamp?: ImaUpdateCertificateTypeResultLine | null;
7607
+ }
7608
+ export interface ImaUpdateCertificateTypeCertificationResultsDto {
7609
+ certificateOfCompliance?: ImaUpdateCertificateTypeResultLine | null;
7610
+ inspectionCertificate?: ImaUpdateCertificateTypeResultLine | null;
7611
+ }
7612
+ export interface ImaUpdateCertificateTypeProductAndOrderInformationResultsDto {
7613
+ productDescription?: ImaUpdateCertificateTypeResultLine | null;
7614
+ materialGrade?: ImaUpdateCertificateTypeResultLine | null;
7615
+ customer?: ImaUpdateCertificateTypeResultLine | null;
7616
+ customerOrderNumber?: ImaUpdateCertificateTypeResultLine | null;
7617
+ dimensionsOrWeight?: ImaUpdateCertificateTypeResultLine | null;
7618
+ batchNumber?: ImaUpdateCertificateTypeResultLine | null;
7619
+ heatNumber?: ImaUpdateCertificateTypeResultLine | null;
7620
+ relatedStandards?: ImaUpdateCertificateTypeResultLine | null;
7621
+ }
7622
+ export interface ImaUpdateCertificateTypeTestMethodsAndReferencesResultsDto {
7623
+ usedStandards?: ImaUpdateCertificateTypeResultLine | null;
7624
+ }
7625
+ export interface ImaUpdateCertificateTypeTestResultsResultsDto {
7626
+ mechanicalProperties?: ImaUpdateCertificateTypeResultLine | null;
7627
+ chemicalAnalysis?: ImaUpdateCertificateTypeResultLine | null;
7628
+ impactTests?: ImaUpdateCertificateTypeResultLine | null;
7629
+ corrosionTests?: ImaUpdateCertificateTypeResultLine | null;
7630
+ ferriteContentAndMicrostructure?: ImaUpdateCertificateTypeResultLine | null;
7631
+ }
7632
+ export interface ImaUpdateCertificateTypeDocumentTypesResultsDto {
7633
+ heatTreatmentCertificate?: ImaUpdateCertificateTypeResultLine | null;
7634
+ ultrasonicControlCertificate?: ImaUpdateCertificateTypeResultLine | null;
7635
+ liquidPenetrantCertificate?: ImaUpdateCertificateTypeResultLine | null;
7636
+ testReport?: ImaUpdateCertificateTypeResultLine | null;
7637
+ dimensionalReport?: ImaUpdateCertificateTypeResultLine | null;
7638
+ dyePenetrantReport?: ImaUpdateCertificateTypeResultLine | null;
7639
+ visualReport?: ImaUpdateCertificateTypeResultLine | null;
7640
+ certificateOfAnalyticalAndMechanicalTests?: ImaUpdateCertificateTypeResultLine | null;
7641
+ certificateOfTest?: ImaUpdateCertificateTypeResultLine | null;
7642
+ technicalReport?: ImaUpdateCertificateTypeResultLine | null;
7643
+ microExaminationReport?: ImaUpdateCertificateTypeResultLine | null;
7644
+ radiologicalReport?: ImaUpdateCertificateTypeResultLine | null;
7645
+ }
7646
+ export interface ImaUpdateSpecificationChemistryResultsDto {
7647
+ carbon?: ImaUpdateSpecificationResultLineDto | null;
7648
+ manganese?: ImaUpdateSpecificationResultLineDto | null;
7649
+ silicon?: ImaUpdateSpecificationResultLineDto | null;
7650
+ phosphorus?: ImaUpdateSpecificationResultLineDto | null;
7651
+ sulfur?: ImaUpdateSpecificationResultLineDto | null;
7652
+ chromium?: ImaUpdateSpecificationResultLineDto | null;
7653
+ nickel?: ImaUpdateSpecificationResultLineDto | null;
7654
+ molybdenum?: ImaUpdateSpecificationResultLineDto | null;
7655
+ copper?: ImaUpdateSpecificationResultLineDto | null;
7656
+ nitrogen?: ImaUpdateSpecificationResultLineDto | null;
7657
+ wolfram?: ImaUpdateSpecificationResultLineDto | null;
7658
+ iron?: ImaUpdateSpecificationResultLineDto | null;
7659
+ }
7660
+ export interface ImaUpdateSpecificationResultLineDto {
7661
+ approved?: boolean;
7662
+ comment?: string | null;
7469
7663
  }
7470
- export interface UploadDrawingRequest {
7471
- uploadKey: string;
7472
- filename: string;
7664
+ export interface ImaUpdateSpecificationMechanicalResultsDto {
7665
+ yieldStrength?: ImaUpdateSpecificationResultLineDto | null;
7666
+ tensileStrength?: ImaUpdateSpecificationResultLineDto | null;
7667
+ elongation?: ImaUpdateSpecificationResultLineDto | null;
7668
+ reductionOfArea?: ImaUpdateSpecificationResultLineDto | null;
7669
+ impactEnergy?: ImaUpdateSpecificationResultLineDto | null;
7670
+ hardness?: ImaUpdateSpecificationResultLineDto | null;
7473
7671
  }
7474
- export interface UploadRequest {
7475
- uploadKey: string;
7476
- filename: string;
7672
+ export interface ImaUpdateSpecificationFerriteResultsDto {
7673
+ ferriteContent?: ImaUpdateSpecificationResultLineDto | null;
7477
7674
  }
7478
- export interface MeasurementFormImportStatusDto {
7479
- progress: number;
7480
- totalElements: number;
7481
- errorMessage: string;
7482
- timestamp: Date;
7675
+ export interface ImaUpdateSpecificationHeatTreatmentResultsDto {
7676
+ heatTreatmentOverrides: (ImaUpdateSpecificationResultLineDto | null)[];
7483
7677
  }
7484
- export interface PagedResultOfMeasurementFormListDto {
7485
- results: MeasurementFormListDto[];
7486
- continuationToken?: string | null;
7678
+ export interface ImaCdfEntityReadBase {
7487
7679
  }
7488
- export interface MeasurementFormListDto {
7489
- id: string;
7490
- schemaId: string;
7491
- versionId: number;
7492
- customerId?: string | null;
7493
- customerName?: string | null;
7494
- partNumber?: string | null;
7495
- partRevision?: string | null;
7496
- partName?: string | null;
7497
- drawing: string;
7498
- drawingRevision?: string | null;
7680
+ export interface ImaSpecificationLiteDto extends ImaCdfEntityReadBase {
7681
+ specificationId: string;
7682
+ version: number;
7683
+ name: string;
7684
+ number: string;
7685
+ revision: string;
7686
+ date: Date;
7687
+ status: ImaSpecificationStatus;
7688
+ summary?: string | null;
7689
+ relatedStandards: string[];
7690
+ created: Date;
7499
7691
  createdBy: string;
7692
+ createdById: string;
7693
+ updatedBy: string;
7694
+ updatedById: string;
7695
+ }
7696
+ export type ImaSpecificationStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
7697
+ export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
7698
+ specificationId: string;
7699
+ version: number;
7700
+ allVersions: ImaSpecificationVersionDto[];
7701
+ name: string;
7702
+ number: string;
7703
+ revision: string;
7704
+ date: Date;
7705
+ status: ImaSpecificationStatus;
7706
+ summary?: string | null;
7707
+ relatedStandards: string[];
7500
7708
  created: Date;
7501
- status: MeasurementFormStatus;
7502
- source: MeasurementFormSource;
7709
+ createdBy: string;
7710
+ createdById: string;
7711
+ updatedBy: string;
7712
+ updatedById: string;
7713
+ updated: Date;
7714
+ chemistrySpecification: ImaChemistrySpecificationDto;
7715
+ mechanicalSpecification: ImaMechanicalSpecificationDto;
7716
+ ferriteSpecification: ImaFerriteSpecificationDto;
7717
+ heatSpecification: ImaHeatTreatmentSpecificationDto;
7503
7718
  }
7504
- export interface ListLinkableMeasurementFormSchemasRequest {
7505
- schemaId: string;
7506
- pageSize?: number | null;
7507
- filter?: string | null;
7508
- continuationToken?: string | null;
7719
+ export interface ImaSpecificationVersionDto {
7720
+ version?: number;
7721
+ status?: ImaSpecificationStatus;
7722
+ }
7723
+ export interface ImaChemistrySpecificationDto extends ImaCdfEntityReadBase {
7724
+ carbon?: ImaSpecificationLineDto | null;
7725
+ manganese?: ImaSpecificationLineDto | null;
7726
+ silicon?: ImaSpecificationLineDto | null;
7727
+ phosphorus?: ImaSpecificationLineDto | null;
7728
+ sulfur?: ImaSpecificationLineDto | null;
7729
+ chromium?: ImaSpecificationLineDto | null;
7730
+ nickel?: ImaSpecificationLineDto | null;
7731
+ molybdenum?: ImaSpecificationLineDto | null;
7732
+ copper?: ImaSpecificationLineDto | null;
7733
+ nitrogen?: ImaSpecificationLineDto | null;
7734
+ wolfram?: ImaSpecificationLineDto | null;
7735
+ iron?: ImaSpecificationLineDto | null;
7736
+ }
7737
+ export interface ImaSpecificationLineDto extends ImaCdfEntityReadBase {
7738
+ operator: ImaSpecificationOperator;
7739
+ value1: number;
7740
+ value2?: number | null;
7741
+ symbol: ImaSpecificationSymbol;
7742
+ }
7743
+ export type ImaSpecificationOperator = "Equal" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "Min" | "Max" | "Between" | "NotSet";
7744
+ export type ImaSpecificationSymbol = "Percentage" | "Joule" | "Celsius" | "Farenheit" | "Mpa" | "Hbw" | "NotSet";
7745
+ export interface ImaMechanicalSpecificationDto extends ImaCdfEntityReadBase {
7746
+ yieldStrength?: ImaSpecificationLineDto | null;
7747
+ tensileStrength?: ImaSpecificationLineDto | null;
7748
+ elongation?: ImaSpecificationLineDto | null;
7749
+ reductionOfArea?: ImaSpecificationLineDto | null;
7750
+ impactEnergy?: ImaSpecificationLineDto | null;
7751
+ hardness?: ImaSpecificationLineDto | null;
7752
+ }
7753
+ export interface ImaFerriteSpecificationDto extends ImaCdfEntityReadBase {
7754
+ ferriteContent?: ImaSpecificationLineDto | null;
7755
+ }
7756
+ export interface ImaHeatTreatmentSpecificationDto {
7757
+ heatTreatments: ImaHeatTreatmentsSpecificationDto[];
7758
+ }
7759
+ export interface ImaHeatTreatmentsSpecificationDto {
7760
+ heatingMethod: ImaHeatingTreatmentMethod;
7761
+ heatingTreatmentTemperature?: number | null;
7762
+ heatingHoldingTime?: number | null;
7763
+ coolingMethods?: ImaCoolingTreatmentMethod[] | null;
7764
+ coolingTreatmentTemperature?: number | null;
7765
+ coolingHoldingTime?: number | null;
7509
7766
  }
7510
- export interface CreateMeasurementFormSchemaLinkRequest {
7511
- linkSchemaId: string;
7767
+ export interface CreateImaSpecificationDto {
7768
+ specificationName: string;
7769
+ specificationNumber: string;
7770
+ revision: string;
7771
+ date: Date;
7772
+ specificationFile?: UploadFileDto | null;
7512
7773
  }
7513
- export interface InspectCompanySettingsDto {
7514
- convertInchToMm: boolean;
7515
- convertMicroInchToMicroMeter: boolean;
7516
- validateMeasuringTools: boolean;
7517
- validateMeasuringToolsForSuppliers: boolean;
7518
- generateSchemaRequirements: boolean;
7519
- generateSchemaInstances: boolean;
7520
- autoCompleteSchemaInstances: boolean;
7521
- autoApproveSchemaInstances: boolean;
7522
- generateReportForApprovedInstances: boolean;
7523
- includeMeasuringToolsInReportAsDefault: boolean;
7524
- requireCustomerOnWorkOrders: boolean;
7525
- allowSchemaUpdates: boolean;
7526
- allowCreateInstances: boolean;
7527
- resourceTypesBlockingAutoWorkflow?: string[] | null;
7774
+ export interface ImaUpdateSpecificationDto {
7775
+ name?: string | null;
7776
+ number?: string | null;
7777
+ status?: ImaSpecificationStatusUpdate | null;
7778
+ summary?: string | null;
7779
+ relatedStandards?: string[] | null;
7780
+ chemistrySpecification?: ImaChemistrySpecificationDto | null;
7781
+ mechanicalSpecification?: ImaMechanicalSpecificationDto | null;
7782
+ ferriteSpecification?: ImaFerriteSpecificationDto | null;
7783
+ heatSpecification?: ImaHeatTreatmentSpecificationDto | null;
7784
+ }
7785
+ export type ImaSpecificationStatusUpdate = "NotModified" | "Released" | "Obsolete";
7786
+ export interface ImaCertificateTypeLiteDto extends ImaCdfEntityReadBase {
7787
+ certificateTypeId: string;
7788
+ version: number;
7789
+ name: string;
7790
+ revision: string;
7791
+ status: ImaCertificateTypeStatus;
7792
+ description?: string | null;
7793
+ isStandardCertificateType: boolean;
7794
+ created: Date;
7795
+ createdBy: string;
7796
+ createdById: string;
7797
+ updatedBy?: string | null;
7798
+ updatedById?: string | null;
7799
+ updated: Date;
7528
7800
  }
7529
- export interface UpdateMeasurementFormSettings {
7530
- convertInchToMm: boolean;
7531
- convertMicroInchToMicroMeter: boolean;
7532
- validateMeasuringTools: boolean;
7533
- validateMeasuringToolsForSuppliers: boolean;
7534
- generateSchemaRequirements: boolean;
7535
- generateSchemaInstances: boolean;
7536
- autoCompleteSchemaInstances: boolean;
7537
- autoApproveSchemaInstances: boolean;
7538
- generateReportForApprovedInstances: boolean;
7539
- includeMeasuringToolsInReportAsDefault: boolean;
7540
- requireCustomerOnWorkOrders: boolean;
7541
- allowSchemaUpdates: boolean;
7542
- allowCreateInstances: boolean;
7543
- resourceTypesBlockingAutoWorkflow: string[];
7801
+ export type ImaCertificateTypeStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
7802
+ export interface ImaCertificateTypeDto extends ImaCdfEntityReadBase {
7803
+ certificateTypeId: string;
7804
+ version: number;
7805
+ allVersions: ImaCertificateTypeVersionDto[];
7806
+ name: string;
7807
+ revision: string;
7808
+ status: ImaCertificateTypeStatus;
7809
+ description?: string | null;
7810
+ isStandardCertificateType: boolean;
7811
+ created: Date;
7812
+ createdBy: string;
7813
+ createdById: string;
7814
+ updatedBy?: string | null;
7815
+ updatedById?: string | null;
7816
+ updated: Date;
7817
+ requirements: ImaCertificateTypeRequirementsDto;
7544
7818
  }
7545
- export interface MeasurementFormCustomerSettingsDto {
7546
- customerId: string;
7547
- customerName?: string | null;
7548
- includeToolsInReport: boolean;
7549
- validationRuleId?: string | null;
7550
- requireCalibratedTools: boolean;
7551
- allowEmptyToolListInValue: boolean;
7819
+ export interface ImaCertificateTypeVersionDto {
7820
+ version?: number;
7821
+ status?: ImaCertificateTypeStatus;
7822
+ }
7823
+ export interface ImaCertificateTypeRequirementsDto {
7824
+ manufacturer: ImaCertificateTypeManufacturerRequirementsDto;
7825
+ signature: ImaCertificateTypeSignatureRequirementsDto;
7826
+ thirdParty: ImaCertificateTypeThirdPartyRequirementsDto;
7827
+ certification: ImaCertificateTypeCertificationRequirementsDto;
7828
+ productAndOrderInformation: ImaCertificateTypeProductAndOrderInformationRequirementsDto;
7829
+ testMethodsAndReferences: ImaCertificateTypeTestMethodsAndReferencesRequirementsDto;
7830
+ testResults: ImaCertificateTypeTestResultsRequirementsDto;
7831
+ documentTypes: ImaCertificateTypeDocumentTypesRequirementsDto;
7832
+ }
7833
+ export interface ImaCertificateTypeManufacturerRequirementsDto extends ImaCdfEntityReadBase {
7834
+ manufacturer?: boolean;
7835
+ address?: boolean;
7836
+ contact?: boolean;
7552
7837
  }
7553
- export interface UpdateMeasurementFormCustomerSettings {
7554
- customerId: string;
7555
- customerName: string;
7556
- includeToolsInReport: boolean;
7557
- validationRuleId?: string | null;
7558
- requireCalibratedTools: boolean;
7559
- allowEmptyToolListInValue: boolean;
7838
+ export interface ImaCertificateTypeSignatureRequirementsDto extends ImaCdfEntityReadBase {
7839
+ certifiedBy?: boolean;
7840
+ position?: boolean;
7841
+ signature?: boolean;
7842
+ date?: boolean;
7843
+ stamp?: boolean;
7560
7844
  }
7561
- export interface MeasurementFormMappingDto {
7562
- id: string;
7563
- measurementSchemaSourceId: string;
7564
- measurementSchemaTargetId: string;
7565
- sourceBalloons?: MeasurementFormReferenceMappingDto[];
7566
- targetBalloons?: MeasurementFormReferenceMappingDto[];
7567
- sourceReferences: MeasurementFormReferenceMappingDto[];
7568
- targetReferences: MeasurementFormReferenceMappingDto[];
7845
+ export interface ImaCertificateTypeThirdPartyRequirementsDto extends ImaCdfEntityReadBase {
7846
+ inspectionBody?: boolean;
7847
+ inspectorName?: boolean;
7848
+ position?: boolean;
7849
+ verificationMethod?: boolean;
7850
+ signature?: boolean;
7851
+ date?: boolean;
7852
+ stamp?: boolean;
7569
7853
  }
7570
- export interface MeasurementFormReferenceMappingDto {
7571
- balloon?: MeasurementFormGroupedElementDto | null;
7572
- mappedBalloonId?: string | null;
7573
- reference: MeasurementFormGroupedElementDto;
7574
- mappedReference?: number;
7575
- mappingScorePercent?: number | null;
7854
+ export interface ImaCertificateTypeCertificationRequirementsDto extends ImaCdfEntityReadBase {
7855
+ certificateOfCompliance?: boolean;
7856
+ inspectionCertificate?: boolean;
7576
7857
  }
7577
- export interface CreateMeasurementFormMapping {
7578
- sourceId: string;
7579
- targetId: string;
7858
+ export interface ImaCertificateTypeProductAndOrderInformationRequirementsDto extends ImaCdfEntityReadBase {
7859
+ productDescription?: boolean;
7860
+ materialGrade?: boolean;
7861
+ customer?: boolean;
7862
+ customerOrderNumber?: boolean;
7863
+ dimensionsOrWeight?: boolean;
7864
+ batchNumber?: boolean;
7865
+ heatNumber?: boolean;
7866
+ relatedStandards?: boolean;
7580
7867
  }
7581
- export interface SetMeasurementFormReferencesMappingRequest {
7582
- mappings: MeasurementFormReferenceMappingRequestDto[];
7868
+ export interface ImaCertificateTypeTestMethodsAndReferencesRequirementsDto extends ImaCdfEntityReadBase {
7869
+ usedStandards?: boolean;
7583
7870
  }
7584
- export interface MeasurementFormReferenceMappingRequestDto {
7585
- sourceBalloonId?: string | null;
7586
- targetBalloonId?: string | null;
7587
- sourceReference: number;
7588
- targetReference: number;
7589
- mappingScorePercent?: number | null;
7871
+ export interface ImaCertificateTypeTestResultsRequirementsDto extends ImaCdfEntityReadBase {
7872
+ mechanicalProperties?: boolean;
7873
+ chemicalAnalysis?: boolean;
7874
+ impactTests?: boolean;
7875
+ corrosionTests?: boolean;
7876
+ ferriteContentAndMicrostructure?: boolean;
7590
7877
  }
7591
- export interface MeasurementFormMappingSuggestionDto {
7592
- measurementSchemaSourceId: string;
7593
- measurementSchemaTargetId: string;
7594
- sourceBalloons?: MeasurementFormReferenceMappingDto[];
7595
- targetBalloons?: MeasurementFormReferenceMappingDto[];
7596
- sourceReferences: MeasurementFormReferenceMappingDto[];
7597
- targetReferences: MeasurementFormReferenceMappingDto[];
7878
+ export interface ImaCertificateTypeDocumentTypesRequirementsDto extends ImaCdfEntityReadBase {
7879
+ heatTreatmentCertificate?: boolean;
7880
+ ultrasonicControlCertificate?: boolean;
7881
+ liquidPenetrantCertificate?: boolean;
7882
+ testReport?: boolean;
7883
+ dimensionalReport?: boolean;
7884
+ dyePenetrantReport?: boolean;
7885
+ visualReport?: boolean;
7886
+ certificateOfAnalyticalAndMechanicalTests?: boolean;
7887
+ certificateOfTest?: boolean;
7888
+ technicalReport?: boolean;
7889
+ microExaminationReport?: boolean;
7890
+ radiologicalReport?: boolean;
7598
7891
  }
7599
- export interface PagedResultOfMeasurementFormNeedDto {
7600
- results: MeasurementFormNeedDto[];
7601
- continuationToken?: string | null;
7892
+ export interface ImaCreateImaCertificateTypeRequestDto {
7893
+ name: string;
7894
+ revision: string;
7895
+ description?: string | null;
7602
7896
  }
7603
- export interface MeasurementFormNeedDto {
7897
+ export interface ImaUpdateImaCertificateTypeRequestDto {
7898
+ name?: string | null;
7899
+ revision?: string | null;
7900
+ status?: ImaCertificateTypeStatus | null;
7901
+ description?: string | null;
7902
+ requirements?: ImaCertificateTypeRequirementsUpdateDto | null;
7903
+ }
7904
+ export interface ImaCertificateTypeRequirementsUpdateDto {
7905
+ manufacturer?: ImaCertificateTypeManufacturerRequirementsUpdateDto | null;
7906
+ signature?: ImaCertificateTypeSignatureRequirementsUpdateDto | null;
7907
+ thirdParty?: ImaCertificateTypeThirdPartyRequirementsUpdateDto | null;
7908
+ certification?: ImaCertificateTypeCertificationRequirementsUpdateDto | null;
7909
+ productAndOrderInformation?: ImaCertificateTypeProductAndOrderInformationRequirementsUpdateDto | null;
7910
+ testMethodsAndReferences?: ImaCertificateTypeTestMethodsAndReferencesRequirementsUpdateDto | null;
7911
+ testResults?: ImaCertificateTypeTestResultsRequirementsUpdateDto | null;
7912
+ documentTypes?: ImaCertificateTypeDocumentTypesRequirementsUpdateDto | null;
7913
+ }
7914
+ export interface ImaCertificateTypeManufacturerRequirementsUpdateDto {
7915
+ manufacturer?: boolean | null;
7916
+ address?: boolean | null;
7917
+ contact?: boolean | null;
7918
+ }
7919
+ export interface ImaCertificateTypeSignatureRequirementsUpdateDto {
7920
+ certifiedBy?: boolean | null;
7921
+ position?: boolean | null;
7922
+ signature?: boolean | null;
7923
+ date?: boolean | null;
7924
+ stamp?: boolean | null;
7925
+ }
7926
+ export interface ImaCertificateTypeThirdPartyRequirementsUpdateDto {
7927
+ inspectionBody?: boolean | null;
7928
+ inspectorName?: boolean | null;
7929
+ position?: boolean | null;
7930
+ verificationMethod?: boolean | null;
7931
+ signature?: boolean | null;
7932
+ date?: boolean | null;
7933
+ stamp?: boolean | null;
7934
+ }
7935
+ export interface ImaCertificateTypeCertificationRequirementsUpdateDto {
7936
+ certificateOfCompliance?: boolean | null;
7937
+ inspectionCertificate?: boolean | null;
7938
+ }
7939
+ export interface ImaCertificateTypeProductAndOrderInformationRequirementsUpdateDto {
7940
+ productDescription?: boolean | null;
7941
+ materialGrade?: boolean | null;
7942
+ customer?: boolean | null;
7943
+ customerOrderNumber?: boolean | null;
7944
+ dimensionsOrWeight?: boolean | null;
7945
+ batchNumber?: boolean | null;
7946
+ heatNumber?: boolean | null;
7947
+ relatedStandards?: boolean | null;
7948
+ }
7949
+ export interface ImaCertificateTypeTestMethodsAndReferencesRequirementsUpdateDto {
7950
+ usedStandards?: boolean | null;
7951
+ }
7952
+ export interface ImaCertificateTypeTestResultsRequirementsUpdateDto {
7953
+ mechanicalProperties?: boolean | null;
7954
+ chemicalAnalysis?: boolean | null;
7955
+ impactTests?: boolean | null;
7956
+ corrosionTests?: boolean | null;
7957
+ ferriteContentAndMicrostructure?: boolean | null;
7958
+ }
7959
+ export interface ImaCertificateTypeDocumentTypesRequirementsUpdateDto {
7960
+ heatTreatmentCertificate?: boolean | null;
7961
+ ultrasonicControlCertificate?: boolean | null;
7962
+ liquidPenetrantCertificate?: boolean | null;
7963
+ testReport?: boolean | null;
7964
+ dimensionalReport?: boolean | null;
7965
+ dyePenetrantReport?: boolean | null;
7966
+ visualReport?: boolean | null;
7967
+ certificateOfAnalyticalAndMechanicalTests?: boolean | null;
7968
+ certificateOfTest?: boolean | null;
7969
+ technicalReport?: boolean | null;
7970
+ microExaminationReport?: boolean | null;
7971
+ radiologicalReport?: boolean | null;
7972
+ }
7973
+ export interface MeasurementFormSchemaDto {
7604
7974
  id: string;
7605
- requirementDate: Date;
7606
- customerId?: string | null;
7607
- customerName?: string | null;
7975
+ versionId: number;
7608
7976
  partNumber?: string | null;
7609
7977
  partRevision?: string | null;
7610
7978
  partName?: string | null;
7611
7979
  drawing?: string | null;
7612
7980
  drawingRevision?: string | null;
7613
- workorder?: string | null;
7614
- operation?: number | null;
7615
- resource?: string | null;
7616
- resourceId?: string | null;
7617
- resourceName?: string | null;
7618
- assignedTo?: UserDto | null;
7619
- isGeneratedRequirement: boolean;
7620
- measurementSchemaId?: string | null;
7621
7981
  drawingUrl?: string | null;
7622
- }
7623
- export interface ListMeasurementFormNeedsRequest {
7624
- pageSize?: number | null;
7625
7982
  customerId?: string | null;
7626
7983
  customerName?: string | null;
7627
- partName?: string | null;
7984
+ excludeFromCustomerDocumentation: boolean;
7985
+ excludeDrawingFromCustomerDocumentation: boolean;
7986
+ specification?: string | null;
7987
+ isUsed: boolean;
7988
+ status: MeasurementFormStatus;
7989
+ source: MeasurementFormSource;
7990
+ unitOfMeasure?: UnitOfMeasureDto;
7991
+ dimensionSetting?: DimensionSettingDto;
7992
+ generalTolerance?: GeneralToleranceDto;
7993
+ markedDrawingUrl?: string | null;
7994
+ sourceFileUrl?: string | null;
7995
+ projectFileUrl?: string | null;
7996
+ updatedBy?: string | null;
7997
+ updatedDate?: Date;
7998
+ attachments: MeasurementFormSchemaAttachmentDto[];
7999
+ groupedElements: MeasurementFormGroupedElementDto[];
8000
+ extraSchemas: MeasurementFormLinkedSchemaDto[];
8001
+ }
8002
+ export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
8003
+ export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
8004
+ export type UnitOfMeasureDto = "Millimeter" | "Inch";
8005
+ export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
8006
+ export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
8007
+ export interface MeasurementFormSchemaAttachmentDto {
8008
+ url: string;
8009
+ title: string;
8010
+ }
8011
+ export interface MeasurementFormGroupedElementDto {
8012
+ id: string;
8013
+ balloonId?: string | null;
8014
+ reference: number;
8015
+ imageUrl?: string | null;
8016
+ thumbnailUrl?: string | null;
8017
+ section?: string | null;
8018
+ pageNumber?: number | null;
8019
+ sheetZone?: string | null;
8020
+ places?: number | null;
8021
+ nominal?: number | null;
8022
+ nominalText?: string | null;
8023
+ type?: string | null;
8024
+ subType?: string | null;
8025
+ unitOfMeasure?: string | null;
8026
+ typeCharacter?: string | null;
8027
+ plusTolerance?: number | null;
8028
+ minusTolerance?: number | null;
8029
+ upperLimit?: number | null;
8030
+ lowerLimit?: number | null;
8031
+ comments?: string | null;
8032
+ updatedByUser?: string | null;
8033
+ updatedDate?: Date | null;
8034
+ createdByUser?: string | null;
8035
+ createdDate?: Date;
8036
+ frequency: MeasurementFrequency;
8037
+ frequencyParameter?: number | null;
8038
+ includeInCustomerDocumentation: boolean;
8039
+ isDocumentedExternally: boolean;
8040
+ balloonQuantity?: number | null;
8041
+ referenceQuantity?: number | null;
8042
+ plusToleranceText?: string | null;
8043
+ minusToleranceText?: string | null;
8044
+ coatingThickness?: number | null;
8045
+ canCopy: boolean;
8046
+ valueType?: MeasurementFormValueType;
8047
+ bonusType?: BonusType;
8048
+ lowerWarningThreshold?: number | null;
8049
+ upperWarningThreshold?: number | null;
8050
+ machiningDimension?: number | null;
8051
+ nominalInch?: number | null;
8052
+ isValid: boolean;
8053
+ validationErrorMessage?: string | null;
8054
+ }
8055
+ export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
8056
+ export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
8057
+ export type BonusType = "None" | "Positive" | "PositiveAndNegative";
8058
+ export interface MeasurementFormLinkedSchemaDto {
8059
+ customerId?: string | null;
7628
8060
  partNumber?: string | null;
7629
8061
  partRevision?: string | null;
7630
- drawing?: string | null;
8062
+ drawing: string;
7631
8063
  drawingRevision?: string | null;
7632
- filter?: string | null;
7633
- continuationToken?: string | null;
7634
- onlyWithoutDrawingUrl?: boolean | null;
7635
- }
7636
- export interface SetMeasurementFormNeedUserRequest {
7637
- userId: string;
8064
+ schemaId: string;
8065
+ latestReleasedSchemaId: string;
7638
8066
  }
7639
- export interface MeasurementFormSchemaNotNeededDto {
8067
+ export interface MeasurementFormDto {
7640
8068
  id: string;
8069
+ schemaId: string;
8070
+ versionId: number;
7641
8071
  customerId?: string | null;
7642
8072
  customerName?: string | null;
7643
8073
  partNumber?: string | null;
7644
8074
  partRevision?: string | null;
7645
- drawing?: string | null;
8075
+ partName?: string | null;
8076
+ drawing: string;
7646
8077
  drawingRevision?: string | null;
7647
- comment?: string | null;
7648
- }
7649
- export interface SetMeasurementFormNeedAsNotNeededRequest {
7650
- comment?: string | null;
7651
- }
7652
- export interface PagedResultOfMeasurementFormSchemaNotNeededDto {
7653
- results: MeasurementFormSchemaNotNeededDto[];
7654
- continuationToken?: string | null;
8078
+ createdBy: string;
8079
+ created: Date;
8080
+ status: MeasurementFormStatus;
8081
+ source: MeasurementFormSource;
8082
+ extraSchemas: MeasurementFormLinkedSchemaDto[];
7655
8083
  }
7656
- export interface ListMeasurementFormSchemasNotNeededRequest {
7657
- pageSize?: number | null;
8084
+ export interface CreateMeasurementFormSchema {
7658
8085
  customerId?: string | null;
7659
8086
  customerName?: string | null;
7660
8087
  partNumber?: string | null;
7661
- partName?: string | null;
7662
8088
  partRevision?: string | null;
7663
- drawing?: string | null;
8089
+ partName?: string | null;
8090
+ drawing: string;
7664
8091
  drawingRevision?: string | null;
7665
- filter?: string | null;
7666
- continuationToken?: string | null;
7667
8092
  }
7668
- export interface MeasurementFormResourceTypeGeneratorDto {
7669
- resourceType: string;
7670
- }
7671
- export interface AddResourceTypeForNeedsGenerator {
7672
- resourceType: string;
8093
+ export interface UpdateMeasurementFormSchemaRequest {
8094
+ excludeFromCustomerDocumentation: boolean;
8095
+ excludeDrawingFromCustomerDocumentation?: boolean | null;
8096
+ specification?: string | null;
7673
8097
  }
7674
- export interface PagedResultOfSchemaFeedbackDto {
7675
- results: SchemaFeedbackDto[];
8098
+ export interface CopyMeasurementFormSchema {
8099
+ customerId?: string | null;
8100
+ customerName?: string | null;
8101
+ partNumber?: string | null;
8102
+ partRevision?: string | null;
8103
+ partName?: string | null;
8104
+ drawing: string;
8105
+ drawingRevision?: string | null;
8106
+ includeFiles: boolean;
8107
+ includeLinkedSchemas: boolean;
8108
+ includeMeasurementForm: boolean;
8109
+ }
8110
+ export interface UpdateSchemaGroupedElementsRequest {
8111
+ groupedElements: UpdateSchemaGroupedElementDto[];
8112
+ }
8113
+ export interface UpdateSchemaGroupedElementDto {
8114
+ balloonId?: string | null;
8115
+ reference: number;
8116
+ frequency: MeasurementFrequency;
8117
+ frequencyParameter?: number | null;
8118
+ includeInCustomerDocumentation: boolean;
8119
+ canCopy?: boolean | null;
8120
+ isDocumentedExternally: boolean;
8121
+ coatingThickness?: number | null;
8122
+ }
8123
+ export interface UpdateSchemaGroupedElementRowDto {
8124
+ id?: string | null;
8125
+ balloonId?: string | null;
8126
+ oldReference: number;
8127
+ newReference: number;
8128
+ section?: string | null;
8129
+ pageNumber?: number | null;
8130
+ measurements?: number | null;
8131
+ nominalText?: string | null;
8132
+ type?: string | null;
8133
+ subType?: string | null;
8134
+ plusTolerance?: string | null;
8135
+ minusTolerance?: string | null;
8136
+ upperLimit?: string | null;
8137
+ lowerLimit?: string | null;
8138
+ coatingThickness?: number | null;
8139
+ comments?: string | null;
8140
+ frequency: MeasurementFrequency;
8141
+ frequencyParameter?: number | null;
8142
+ includeInCustomerDocumentation: boolean;
8143
+ canCopy?: boolean | null;
8144
+ isDocumentedExternally: boolean;
8145
+ }
8146
+ export interface DeleteSchemaGroupedElementRowsDto {
8147
+ balloonIds?: string[];
8148
+ references?: number[];
8149
+ }
8150
+ export interface UploadMeasurementImageRequest {
8151
+ uploadKey: string;
8152
+ filename: string;
8153
+ ballonId?: string | null;
8154
+ reference: number;
8155
+ }
8156
+ export interface UpdateSchemaSettingsRequest {
8157
+ unitOfMeasure: UnitOfMeasureDto;
8158
+ dimensionSetting: DimensionSettingDto;
8159
+ generalTolerance: GeneralToleranceDto;
8160
+ }
8161
+ export interface UploadDrawingRequest {
8162
+ uploadKey: string;
8163
+ filename: string;
8164
+ }
8165
+ export interface UploadRequest {
8166
+ uploadKey: string;
8167
+ filename: string;
8168
+ }
8169
+ export interface MeasurementFormImportStatusDto {
8170
+ progress: number;
8171
+ totalElements: number;
8172
+ errorMessage: string;
8173
+ timestamp: Date;
8174
+ }
8175
+ export interface PagedResultOfMeasurementFormListDto {
8176
+ results: MeasurementFormListDto[];
7676
8177
  continuationToken?: string | null;
7677
8178
  }
7678
- export interface SchemaFeedbackDto {
8179
+ export interface MeasurementFormListDto {
7679
8180
  id: string;
7680
- workOrder: string;
7681
8181
  schemaId: string;
7682
- versionId?: number;
7683
- schemaInstanceId: string;
7684
- balloonId?: string | null;
7685
- reference?: number;
7686
- feedback: string;
7687
- from: string;
7688
- created: Date;
7689
- assignedTo?: UserDto | null;
7690
- status?: SchemaFeedbackStatus;
7691
- latestSchemaDefinitionId?: string | null;
8182
+ versionId: number;
8183
+ customerId?: string | null;
8184
+ customerName?: string | null;
7692
8185
  partNumber?: string | null;
7693
8186
  partRevision?: string | null;
7694
8187
  partName?: string | null;
7695
- drawing?: string | null;
8188
+ drawing: string;
7696
8189
  drawingRevision?: string | null;
8190
+ createdBy: string;
8191
+ created: Date;
8192
+ status: MeasurementFormStatus;
8193
+ source: MeasurementFormSource;
7697
8194
  }
7698
- export type SchemaFeedbackStatus = "New" | "InProgress";
7699
- export interface ListMeasurementFormInstanceSchemaFeedbackRequest {
8195
+ export interface ListLinkableMeasurementFormSchemasRequest {
8196
+ schemaId: string;
7700
8197
  pageSize?: number | null;
7701
- search?: string | null;
8198
+ filter?: string | null;
7702
8199
  continuationToken?: string | null;
7703
8200
  }
7704
- export interface SetMeasurementFormSchemaFeedbackUserRequest {
7705
- userId?: string | null;
8201
+ export interface CreateMeasurementFormSchemaLinkRequest {
8202
+ linkSchemaId: string;
7706
8203
  }
7707
- export interface ListMeasurementFormSchemasWithHistoryRequest {
7708
- pageSize?: number | null;
8204
+ export interface InspectCompanySettingsDto {
8205
+ convertInchToMm: boolean;
8206
+ convertMicroInchToMicroMeter: boolean;
8207
+ validateMeasuringTools: boolean;
8208
+ validateMeasuringToolsForSuppliers: boolean;
8209
+ generateSchemaRequirements: boolean;
8210
+ generateSchemaInstances: boolean;
8211
+ autoCompleteSchemaInstances: boolean;
8212
+ autoApproveSchemaInstances: boolean;
8213
+ generateReportForApprovedInstances: boolean;
8214
+ includeMeasuringToolsInReportAsDefault: boolean;
8215
+ requireCustomerOnWorkOrders: boolean;
8216
+ allowSchemaUpdates: boolean;
8217
+ allowCreateInstances: boolean;
8218
+ resourceTypesBlockingAutoWorkflow?: string[] | null;
8219
+ }
8220
+ export interface UpdateMeasurementFormSettings {
8221
+ convertInchToMm: boolean;
8222
+ convertMicroInchToMicroMeter: boolean;
8223
+ validateMeasuringTools: boolean;
8224
+ validateMeasuringToolsForSuppliers: boolean;
8225
+ generateSchemaRequirements: boolean;
8226
+ generateSchemaInstances: boolean;
8227
+ autoCompleteSchemaInstances: boolean;
8228
+ autoApproveSchemaInstances: boolean;
8229
+ generateReportForApprovedInstances: boolean;
8230
+ includeMeasuringToolsInReportAsDefault: boolean;
8231
+ requireCustomerOnWorkOrders: boolean;
8232
+ allowSchemaUpdates: boolean;
8233
+ allowCreateInstances: boolean;
8234
+ resourceTypesBlockingAutoWorkflow: string[];
8235
+ }
8236
+ export interface MeasurementFormCustomerSettingsDto {
8237
+ customerId: string;
8238
+ customerName?: string | null;
8239
+ includeToolsInReport: boolean;
8240
+ validationRuleId?: string | null;
8241
+ requireCalibratedTools: boolean;
8242
+ allowEmptyToolListInValue: boolean;
8243
+ }
8244
+ export interface UpdateMeasurementFormCustomerSettings {
8245
+ customerId: string;
8246
+ customerName: string;
8247
+ includeToolsInReport: boolean;
8248
+ validationRuleId?: string | null;
8249
+ requireCalibratedTools: boolean;
8250
+ allowEmptyToolListInValue: boolean;
8251
+ }
8252
+ export interface MeasurementFormMappingDto {
8253
+ id: string;
8254
+ measurementSchemaSourceId: string;
8255
+ measurementSchemaTargetId: string;
8256
+ sourceBalloons?: MeasurementFormReferenceMappingDto[];
8257
+ targetBalloons?: MeasurementFormReferenceMappingDto[];
8258
+ sourceReferences: MeasurementFormReferenceMappingDto[];
8259
+ targetReferences: MeasurementFormReferenceMappingDto[];
8260
+ }
8261
+ export interface MeasurementFormReferenceMappingDto {
8262
+ balloon?: MeasurementFormGroupedElementDto | null;
8263
+ mappedBalloonId?: string | null;
8264
+ reference: MeasurementFormGroupedElementDto;
8265
+ mappedReference?: number;
8266
+ mappingScorePercent?: number | null;
8267
+ }
8268
+ export interface CreateMeasurementFormMapping {
8269
+ sourceId: string;
8270
+ targetId: string;
8271
+ }
8272
+ export interface SetMeasurementFormReferencesMappingRequest {
8273
+ mappings: MeasurementFormReferenceMappingRequestDto[];
8274
+ }
8275
+ export interface MeasurementFormReferenceMappingRequestDto {
8276
+ sourceBalloonId?: string | null;
8277
+ targetBalloonId?: string | null;
8278
+ sourceReference: number;
8279
+ targetReference: number;
8280
+ mappingScorePercent?: number | null;
8281
+ }
8282
+ export interface MeasurementFormMappingSuggestionDto {
8283
+ measurementSchemaSourceId: string;
8284
+ measurementSchemaTargetId: string;
8285
+ sourceBalloons?: MeasurementFormReferenceMappingDto[];
8286
+ targetBalloons?: MeasurementFormReferenceMappingDto[];
8287
+ sourceReferences: MeasurementFormReferenceMappingDto[];
8288
+ targetReferences: MeasurementFormReferenceMappingDto[];
8289
+ }
8290
+ export interface PagedResultOfMeasurementFormNeedDto {
8291
+ results: MeasurementFormNeedDto[];
8292
+ continuationToken?: string | null;
8293
+ }
8294
+ export interface MeasurementFormNeedDto {
8295
+ id: string;
8296
+ requirementDate: Date;
7709
8297
  customerId?: string | null;
8298
+ customerName?: string | null;
7710
8299
  partNumber?: string | null;
7711
8300
  partRevision?: string | null;
8301
+ partName?: string | null;
7712
8302
  drawing?: string | null;
7713
8303
  drawingRevision?: string | null;
7714
- version?: number | null;
7715
- continuationToken?: string | null;
8304
+ workorder?: string | null;
8305
+ operation?: number | null;
8306
+ resource?: string | null;
8307
+ resourceId?: string | null;
8308
+ resourceName?: string | null;
8309
+ assignedTo?: UserDto | null;
8310
+ isGeneratedRequirement: boolean;
8311
+ measurementSchemaId?: string | null;
8312
+ drawingUrl?: string | null;
7716
8313
  }
7717
- export interface ListMeasurementFormSchemasRequest {
8314
+ export interface ListMeasurementFormNeedsRequest {
7718
8315
  pageSize?: number | null;
7719
8316
  customerId?: string | null;
7720
8317
  customerName?: string | null;
@@ -7725,35 +8322,129 @@ export interface ListMeasurementFormSchemasRequest {
7725
8322
  drawingRevision?: string | null;
7726
8323
  filter?: string | null;
7727
8324
  continuationToken?: string | null;
8325
+ onlyWithoutDrawingUrl?: boolean | null;
7728
8326
  }
7729
- export interface MeasurementFrequencyDto {
7730
- id: number;
7731
- name: string;
8327
+ export interface SetMeasurementFormNeedUserRequest {
8328
+ userId: string;
7732
8329
  }
7733
- export interface MeasurementFormInstanceDto {
8330
+ export interface MeasurementFormSchemaNotNeededDto {
7734
8331
  id: string;
7735
- readonly: boolean;
7736
- partNumber?: string | null;
7737
- partName?: string | null;
7738
- partRevision?: string | null;
7739
- drawing?: string | null;
7740
- drawingRevision?: string | null;
7741
8332
  customerId?: string | null;
7742
8333
  customerName?: string | null;
7743
- quantity: number;
7744
- status: MeasurementFormInstanceStatus;
7745
- statusChangedDate?: Date | null;
7746
- schemas: MeasurementFormWorkorderSchemaDto[];
7747
- sequences?: MeasurementFormWorkorderSequenceDto[] | null;
7748
- serialNumbers: MeasurementFormWorkorderSerialNumberDto[];
7749
- suppliers: MeasurementFormWorkorderSupplierDto[];
7750
- progress: MeasurementFormProgressDto;
7751
- approvedReportUrl?: string | null;
7752
- currentResource?: ResourceDto | null;
7753
- }
7754
- export type MeasurementFormInstanceStatus = "Active" | "Cancelled" | "Completed" | "Approved" | "MissingCompletion";
7755
- export interface MeasurementFormWorkorderSchemaDto {
7756
- id: string;
8334
+ partNumber?: string | null;
8335
+ partRevision?: string | null;
8336
+ drawing?: string | null;
8337
+ drawingRevision?: string | null;
8338
+ comment?: string | null;
8339
+ }
8340
+ export interface SetMeasurementFormNeedAsNotNeededRequest {
8341
+ comment?: string | null;
8342
+ }
8343
+ export interface PagedResultOfMeasurementFormSchemaNotNeededDto {
8344
+ results: MeasurementFormSchemaNotNeededDto[];
8345
+ continuationToken?: string | null;
8346
+ }
8347
+ export interface ListMeasurementFormSchemasNotNeededRequest {
8348
+ pageSize?: number | null;
8349
+ customerId?: string | null;
8350
+ customerName?: string | null;
8351
+ partNumber?: string | null;
8352
+ partName?: string | null;
8353
+ partRevision?: string | null;
8354
+ drawing?: string | null;
8355
+ drawingRevision?: string | null;
8356
+ filter?: string | null;
8357
+ continuationToken?: string | null;
8358
+ }
8359
+ export interface MeasurementFormResourceTypeGeneratorDto {
8360
+ resourceType: string;
8361
+ }
8362
+ export interface AddResourceTypeForNeedsGenerator {
8363
+ resourceType: string;
8364
+ }
8365
+ export interface PagedResultOfSchemaFeedbackDto {
8366
+ results: SchemaFeedbackDto[];
8367
+ continuationToken?: string | null;
8368
+ }
8369
+ export interface SchemaFeedbackDto {
8370
+ id: string;
8371
+ workOrder: string;
8372
+ schemaId: string;
8373
+ versionId?: number;
8374
+ schemaInstanceId: string;
8375
+ balloonId?: string | null;
8376
+ reference?: number;
8377
+ feedback: string;
8378
+ from: string;
8379
+ created: Date;
8380
+ assignedTo?: UserDto | null;
8381
+ status?: SchemaFeedbackStatus;
8382
+ latestSchemaDefinitionId?: string | null;
8383
+ partNumber?: string | null;
8384
+ partRevision?: string | null;
8385
+ partName?: string | null;
8386
+ drawing?: string | null;
8387
+ drawingRevision?: string | null;
8388
+ }
8389
+ export type SchemaFeedbackStatus = "New" | "InProgress";
8390
+ export interface ListMeasurementFormInstanceSchemaFeedbackRequest {
8391
+ pageSize?: number | null;
8392
+ search?: string | null;
8393
+ continuationToken?: string | null;
8394
+ }
8395
+ export interface SetMeasurementFormSchemaFeedbackUserRequest {
8396
+ userId?: string | null;
8397
+ }
8398
+ export interface ListMeasurementFormSchemasWithHistoryRequest {
8399
+ pageSize?: number | null;
8400
+ customerId?: string | null;
8401
+ partNumber?: string | null;
8402
+ partRevision?: string | null;
8403
+ drawing?: string | null;
8404
+ drawingRevision?: string | null;
8405
+ version?: number | null;
8406
+ continuationToken?: string | null;
8407
+ }
8408
+ export interface ListMeasurementFormSchemasRequest {
8409
+ pageSize?: number | null;
8410
+ customerId?: string | null;
8411
+ customerName?: string | null;
8412
+ partName?: string | null;
8413
+ partNumber?: string | null;
8414
+ partRevision?: string | null;
8415
+ drawing?: string | null;
8416
+ drawingRevision?: string | null;
8417
+ filter?: string | null;
8418
+ continuationToken?: string | null;
8419
+ }
8420
+ export interface MeasurementFrequencyDto {
8421
+ id: number;
8422
+ name: string;
8423
+ }
8424
+ export interface MeasurementFormInstanceDto {
8425
+ id: string;
8426
+ readonly: boolean;
8427
+ partNumber?: string | null;
8428
+ partName?: string | null;
8429
+ partRevision?: string | null;
8430
+ drawing?: string | null;
8431
+ drawingRevision?: string | null;
8432
+ customerId?: string | null;
8433
+ customerName?: string | null;
8434
+ quantity: number;
8435
+ status: MeasurementFormInstanceStatus;
8436
+ statusChangedDate?: Date | null;
8437
+ schemas: MeasurementFormWorkorderSchemaDto[];
8438
+ sequences?: MeasurementFormWorkorderSequenceDto[] | null;
8439
+ serialNumbers: MeasurementFormWorkorderSerialNumberDto[];
8440
+ suppliers: MeasurementFormWorkorderSupplierDto[];
8441
+ progress: MeasurementFormProgressDto;
8442
+ approvedReportUrl?: string | null;
8443
+ currentResource?: ResourceDto | null;
8444
+ }
8445
+ export type MeasurementFormInstanceStatus = "Active" | "Cancelled" | "Completed" | "Approved" | "MissingCompletion";
8446
+ export interface MeasurementFormWorkorderSchemaDto {
8447
+ id: string;
7757
8448
  partNumber?: string | null;
7758
8449
  partRevision?: string | null;
7759
8450
  drawing?: string | null;
@@ -8273,814 +8964,166 @@ export interface SyncWorkorderOperationRequest {
8273
8964
  externalId?: string | null;
8274
8965
  companyId?: string | null;
8275
8966
  }
8276
- export interface PagedResultOfWorkorderListDto {
8277
- results: WorkorderListDto[];
8278
- continuationToken?: string | null;
8279
- }
8280
- export interface WorkorderListDto {
8281
- id?: string | null;
8282
- part: PartDto;
8283
- quantity: number;
8284
- unit?: string | null;
8285
- status: WorkorderStatus;
8286
- plannedStart?: Date | null;
8287
- plannedEnd?: Date | null;
8288
- producedQuantity?: number;
8289
- scrappedQuantity?: number;
8290
- customerOrderReference?: WorkorderCustomerOrderReferenceDto | null;
8291
- }
8292
- export interface ListWorkOrdersRequest {
8293
- pageSize?: number | null;
8294
- search?: string | null;
8295
- companyId?: string | null;
8296
- activeOrders?: boolean | null;
8297
- searchType?: SearchTypeDto | null;
8298
- continuationToken?: string | null;
8299
- }
8300
- export interface UpdateWorkorderOperationEventTimestamps {
8301
- eventId?: string | null;
8302
- startTime?: Date | null;
8303
- endTime?: Date | null;
8304
- }
8305
- export interface FilterWorkorderOperationEvents {
8306
- workorder?: string | null;
8307
- operation?: number | null;
8308
- startTime?: Date | null;
8309
- endTime?: Date | null;
8310
- resourceId?: string | null;
8311
- externalIdPrefix?: string | null;
8312
- operatorEmployeeId?: string | null;
8313
- operatorName?: string | null;
8314
- customerOrder?: string | null;
8315
- customerId?: string | null;
8316
- customer?: string | null;
8317
- partNumber?: string | null;
8318
- partName?: string | null;
8319
- materialPartNumber?: string | null;
8320
- materialPartName?: string | null;
8321
- materialItemGroup?: string | null;
8322
- workorderQuantity?: number | null;
8323
- isSetup?: boolean | null;
8324
- companyId?: string | null;
8325
- }
8326
- export interface CreateWorkOrderMapping {
8327
- existingWorkOrderId: string;
8328
- newWorkOrderId: string;
8329
- }
8330
- export interface WorkorderDiscussionMessageDto {
8331
- id?: string;
8332
- workorderId?: string;
8333
- companyId?: string;
8334
- content?: string;
8335
- contentParts?: WorkOrderDiscussionContent[] | null;
8336
- senderUpn?: string;
8337
- senderName?: string;
8338
- operationId?: string | null;
8339
- operationName?: string | null;
8340
- resourceId?: string | null;
8341
- created?: Date;
8342
- }
8343
- export interface WorkOrderDiscussionContent {
8344
- type?: WorkOrderDiscussionContentType;
8345
- value?: string;
8346
- }
8347
- export type WorkOrderDiscussionContentType = 0 | 1;
8348
- export interface AddDiscussionMessageRequest {
8349
- message: string;
8350
- operationId?: string | null;
8351
- operationName?: string | null;
8352
- resourceId?: string | null;
8353
- }
8354
- export interface WorkorderDiscussionReadStatusDto {
8355
- workorderId?: string;
8356
- operationId?: string | null;
8357
- resourceId?: string | null;
8358
- userUpn?: string;
8359
- lastRead?: Date;
8360
- }
8361
- export interface SetDiscussionLastReadRequest {
8362
- operationId?: string | null;
8363
- resourceId?: string | null;
8364
- }
8365
- export interface CompanyUserDto {
8366
- companyId: string;
8367
- userObjectId: string;
8368
- username?: string | null;
8369
- name?: string | null;
8370
- roles: string[];
8371
- }
8372
- export interface CreateCompanyUser {
8373
- username: string;
8374
- name: string;
8375
- roles: string[];
8376
- companyId?: string | null;
8377
- }
8378
- export interface UpdateCompanyUserRequest {
8379
- roles: string[];
8380
- companyId?: string | null;
8381
- }
8382
- export interface ExternalRoleDto {
8383
- id: string;
8384
- name: string;
8385
- }
8386
- export interface CompanyCustomerDto {
8387
- customerTenantId?: string | null;
8388
- customerAzureAdTenantId?: string | null;
8389
- customerName?: string | null;
8390
- supplierId?: string | null;
8391
- supplierName?: string | null;
8392
- }
8393
- export interface CompanyDto {
8394
- id?: string;
8395
- name?: string;
8396
- organizationNumber?: string | null;
8397
- country?: string;
8398
- tenantId?: string | null;
8399
- }
8400
- export interface SupplierInviteDto {
8401
- id: string;
8402
- supplierId: string;
8403
- supplierName?: string | null;
8404
- customerName?: string | null;
8405
- userId: string;
8406
- userName?: string | null;
8407
- companyId?: string | null;
8408
- deadline: Date;
8409
- acceptedTimestamp?: Date | null;
8410
- createdTime: Date;
8411
- createdBy: string;
8412
- }
8413
- export interface AcceptSupplierInvite {
8414
- companyName?: string;
8415
- organizationNumber?: string;
8416
- threeLetterIsoCountry?: string;
8417
- }
8418
- export interface CreateSupplierInvite {
8419
- supplierId: string;
8420
- supplierName?: string | null;
8421
- username: string;
8422
- invitedName: string;
8423
- deadline: Date;
8424
- existingCompanyId?: string | null;
8425
- }
8426
- export interface ExternalSupplierDto {
8427
- id: string;
8428
- name: string;
8429
- companyId: string;
8430
- active: boolean;
8431
- }
8432
- export interface CreateSupplierMapping {
8433
- companyId: string;
8434
- existingSupplierId: string;
8435
- newSupplierId: string;
8436
- }
8437
- export interface AmcMaterialChecksPageDto {
8438
- items: AmcMaterialCheckLiteDto[];
8439
- continuationToken?: string | null;
8440
- }
8441
- export interface AmcMaterialCheckLiteDto {
8442
- materialCheckId: string;
8443
- originalMaterialCertificate: FileDto;
8444
- generatedMaterialCertificate?: FileDto | null;
8445
- customer?: string | null;
8446
- project?: string | null;
8447
- workOrder?: string | null;
8448
- certificateTypeId?: string | null;
8449
- certificateTypeVersion?: number | null;
8450
- certificateTypeName?: string | null;
8451
- specificationId: string;
8452
- specificationVersion: number;
8453
- specificationName: string;
8454
- purchaseOrder?: string | null;
8455
- purchaseOrderLine?: string | null;
8456
- purchaseOrderItem?: string | null;
8457
- purchaseOrderOrMaterialCertificateHeatNumber?: string | null;
8458
- purchaseOrderLot?: string | null;
8459
- status: AmcMaterialCheckStatus;
8460
- created: Date;
8461
- createdBy: string;
8462
- createdById: string;
8463
- updatedBy?: string | null;
8464
- updatedById?: string | null;
8465
- }
8466
- export type AmcMaterialCheckStatus = "WaitingForProcessing" | "Processing" | "Draft" | "Approved" | "Rejected" | "NotSet";
8467
- export interface AmcMaterialChecksPageRequestDto {
8468
- pageSize?: number | null;
8469
- orderBy?: AmcMaterialChecksOrderByColumn | null;
8470
- searchTerm?: string | null;
8471
- originalReportFilter?: string | null;
8472
- generatedReportFilter?: string | null;
8473
- customerFilter?: string | null;
8474
- projectFilter?: string | null;
8475
- purchaseOrderFilter?: string | null;
8476
- workOrderFilter?: string | null;
8477
- certificateTypeFilter?: string | null;
8478
- lineFilter?: string | null;
8479
- itemFilter?: string | null;
8480
- heatFilter?: string | null;
8481
- lotFilter?: string | null;
8482
- dateFromFilter?: Date | null;
8483
- dateToFilter?: Date | null;
8484
- statusFilter: AmcMaterialCheckStatus[];
8485
- continuationToken?: string | null;
8486
- }
8487
- export type AmcMaterialChecksOrderByColumn = "OriginalReport" | "GeneratedReport" | "Customer" | "Project" | "PurchaseOrder" | "WorkOrder" | "CertificateType" | "Line" | "Item" | "Heat" | "Lot" | "Date" | "Status";
8488
- export interface AmcMaterialCheckDto {
8489
- materialCheckId: string;
8490
- originalMaterialCertificate: FileDto;
8491
- generatedMaterialCertificate?: FileDto | null;
8492
- customer?: string | null;
8493
- project?: string | null;
8494
- workOrder?: string | null;
8495
- certificateTypeId?: string | null;
8496
- certificateTypeVersion?: number | null;
8497
- certificateTypeName?: string | null;
8498
- specificationId: string;
8499
- specificationVersion: number;
8500
- specificationName: string;
8501
- purchaseOrder?: string | null;
8502
- purchaseOrderLine?: string | null;
8503
- purchaseOrderItem?: string | null;
8504
- purchaseOrderOrMaterialCertificateHeatNumber?: string | null;
8505
- purchaseOrderLot?: string | null;
8506
- status: AmcMaterialCheckStatus;
8507
- created: Date;
8508
- createdBy: string;
8509
- createdById: string;
8510
- updatedBy?: string | null;
8511
- updatedById?: string | null;
8512
- certificateTypeResults: AmcCertificateTypeResultsDto;
8513
- specificationChemistry: AmcSpecificationChemistryResultsDto;
8514
- specificationMechanical: AmcSpecificationMechanicalResultsDto;
8515
- specificationFerrite: AmcSpecificationFerriteResultsDto;
8516
- specificationHeat: AmcSpecificationHeatTreatmentResultsDto;
8517
- }
8518
- export interface AmcCertificateTypeResultsDto {
8519
- manufacturer: AmcCertificateTypeManufacturerResultsDto;
8520
- signature: AmcCertificateTypeSignatureResultsDto;
8521
- thirdParty: AmcCertificateTypeThirdPartyResultsDto;
8522
- certification: AmcCertificateTypeCertificationResultsDto;
8523
- productAndOrderInformation: AmcCertificateTypeProductAndOrderInformationResultsDto;
8524
- testMethodsAndReferences: AmcCertificateTypeTestMethodsAndReferencesResultsDto;
8525
- testResults: AmcCertificateTypeTestResultsResultsDto;
8526
- documentTypes: AmcCertificateTypeDocumentTypesResultsDto;
8527
- }
8528
- export interface AmcCertificateTypeManufacturerResultsDto {
8529
- manufacturer?: AmcCertificateTypeResultLine | null;
8530
- address?: AmcCertificateTypeResultLine | null;
8531
- contact?: AmcCertificateTypeResultLine | null;
8532
- }
8533
- export interface AmcCertificateTypeResultLine {
8534
- found?: boolean;
8535
- readValue?: string | null;
8536
- override?: AmcResultLineOverrideDto | null;
8537
- }
8538
- export interface AmcResultLineOverrideDto {
8539
- approved: boolean;
8540
- comment?: string | null;
8541
- updated: Date;
8542
- updatedBy: string;
8543
- updatedById: string;
8544
- }
8545
- export interface AmcCertificateTypeSignatureResultsDto {
8546
- certifiedBy?: AmcCertificateTypeResultLine | null;
8547
- position?: AmcCertificateTypeResultLine | null;
8548
- signature?: AmcCertificateTypeResultLine | null;
8549
- date?: AmcCertificateTypeResultLine | null;
8550
- stamp?: AmcCertificateTypeResultLine | null;
8551
- }
8552
- export interface AmcCertificateTypeThirdPartyResultsDto {
8553
- inspectionBody?: AmcCertificateTypeResultLine | null;
8554
- inspectorName?: AmcCertificateTypeResultLine | null;
8555
- position?: AmcCertificateTypeResultLine | null;
8556
- verificationMethod?: AmcCertificateTypeResultLine | null;
8557
- signature?: AmcCertificateTypeResultLine | null;
8558
- date?: AmcCertificateTypeResultLine | null;
8559
- stamp?: AmcCertificateTypeResultLine | null;
8560
- }
8561
- export interface AmcCertificateTypeCertificationResultsDto {
8562
- certificateOfCompliance?: AmcCertificateTypeResultLine | null;
8563
- inspectionCertificate?: AmcCertificateTypeResultLine | null;
8564
- }
8565
- export interface AmcCertificateTypeProductAndOrderInformationResultsDto {
8566
- productDescription?: AmcCertificateTypeResultLine | null;
8567
- materialGrade?: AmcCertificateTypeResultLine | null;
8568
- customer?: AmcCertificateTypeResultLine | null;
8569
- customerOrderNumber?: AmcCertificateTypeResultLine | null;
8570
- dimensionsOrWeight?: AmcCertificateTypeResultLine | null;
8571
- batchNumber?: AmcCertificateTypeResultLine | null;
8572
- heatNumber?: AmcCertificateTypeResultLine | null;
8573
- relatedStandards?: AmcCertificateTypeResultLine | null;
8574
- }
8575
- export interface AmcCertificateTypeTestMethodsAndReferencesResultsDto {
8576
- usedStandards?: AmcCertificateTypeResultLine | null;
8577
- }
8578
- export interface AmcCertificateTypeTestResultsResultsDto {
8579
- mechanicalProperties?: AmcCertificateTypeResultLine | null;
8580
- chemicalAnalysis?: AmcCertificateTypeResultLine | null;
8581
- impactTests?: AmcCertificateTypeResultLine | null;
8582
- corrosionTests?: AmcCertificateTypeResultLine | null;
8583
- ferriteContentAndMicrostructure?: AmcCertificateTypeResultLine | null;
8584
- }
8585
- export interface AmcCertificateTypeDocumentTypesResultsDto {
8586
- heatTreatmentCertificate?: AmcCertificateTypeResultLine | null;
8587
- ultrasonicControlCertificate?: AmcCertificateTypeResultLine | null;
8588
- liquidPenetrantCertificate?: AmcCertificateTypeResultLine | null;
8589
- testReport?: AmcCertificateTypeResultLine | null;
8590
- dimensionalReport?: AmcCertificateTypeResultLine | null;
8591
- dyePenetrantReport?: AmcCertificateTypeResultLine | null;
8592
- visualReport?: AmcCertificateTypeResultLine | null;
8593
- certificateOfAnalyticalAndMechanicalTests?: AmcCertificateTypeResultLine | null;
8594
- certificateOfTest?: AmcCertificateTypeResultLine | null;
8595
- technicalReport?: AmcCertificateTypeResultLine | null;
8596
- microExaminationReport?: AmcCertificateTypeResultLine | null;
8597
- radiologicalReport?: AmcCertificateTypeResultLine | null;
8598
- }
8599
- export interface AmcSpecificationChemistryResultsDto {
8600
- carbon?: AmcSpecificationResultLineDto | null;
8601
- manganese?: AmcSpecificationResultLineDto | null;
8602
- silicon?: AmcSpecificationResultLineDto | null;
8603
- phosphorus?: AmcSpecificationResultLineDto | null;
8604
- sulfur?: AmcSpecificationResultLineDto | null;
8605
- chromium?: AmcSpecificationResultLineDto | null;
8606
- nickel?: AmcSpecificationResultLineDto | null;
8607
- molybdenum?: AmcSpecificationResultLineDto | null;
8608
- copper?: AmcSpecificationResultLineDto | null;
8609
- nitrogen?: AmcSpecificationResultLineDto | null;
8610
- wolfram?: AmcSpecificationResultLineDto | null;
8611
- iron?: AmcSpecificationResultLineDto | null;
8612
- }
8613
- export interface AmcSpecificationResultLineDto {
8614
- specificationOperator?: string | null;
8615
- specificationValue1?: number | null;
8616
- specificationValue2?: number | null;
8617
- specificationSymbol?: string | null;
8618
- readValue?: string | null;
8619
- status: AmcSpecificationResultLineStatus;
8620
- override?: AmcResultLineOverrideDto | null;
8621
- }
8622
- export type AmcSpecificationResultLineStatus = "NotFound" | "NotOk" | "Ok" | "NotSet";
8623
- export interface AmcSpecificationMechanicalResultsDto {
8624
- yieldStrength?: AmcSpecificationResultLineDto | null;
8625
- tensileStrength?: AmcSpecificationResultLineDto | null;
8626
- elongation?: AmcSpecificationResultLineDto | null;
8627
- reductionOfArea?: AmcSpecificationResultLineDto | null;
8628
- impactEnergy?: AmcSpecificationResultLineDto | null;
8629
- hardness?: AmcSpecificationResultLineDto | null;
8630
- }
8631
- export interface AmcSpecificationFerriteResultsDto {
8632
- ferriteContent?: AmcSpecificationFerriteResultLineDto | null;
8633
- }
8634
- export interface AmcSpecificationFerriteResultLineDto {
8635
- specificationOperator?: string | null;
8636
- specificationValue1?: string | null;
8637
- specificationValue2?: string | null;
8638
- specificationSymbol?: string | null;
8639
- readValue?: string | null;
8640
- status: AmcSpecificationResultLineStatus;
8641
- override?: AmcResultLineOverrideDto | null;
8642
- measurementMethod?: string | null;
8643
- }
8644
- export interface AmcSpecificationHeatTreatmentResultsDto {
8645
- heatTreatments: AmcSpecificationHeatTreatmentsResultLineDto[];
8646
- }
8647
- export interface AmcSpecificationHeatTreatmentsResultLineDto {
8648
- heatingMethod: AmcHeatingTreatmentMethod;
8649
- specificationHeatingTreatmentTemperature?: number | null;
8650
- specificationHeatingHoldingTime?: number | null;
8651
- heatingTreatmentTemperature?: number | null;
8652
- heatingHoldingTime?: number | null;
8653
- specificationCoolingMethods?: AmcCoolingTreatmentMethod[] | null;
8654
- specificationCoolingTreatmentTemperature?: number | null;
8655
- specificationCoolingHoldingTime?: number | null;
8656
- coolingMethod?: AmcCoolingTreatmentMethod | null;
8657
- coolingTreatmentTemperature?: number | null;
8658
- coolingHoldingTime?: number | null;
8659
- status: AmcSpecificationResultLineStatus;
8660
- override?: AmcResultLineOverrideDto | null;
8661
- }
8662
- export type AmcHeatingTreatmentMethod = "Annealing" | "Normalizing" | "Quenching" | "Tempering" | "StressRelieving" | "SolutionTreating" | "Aging" | "Austempering" | "Martempering";
8663
- export type AmcCoolingTreatmentMethod = "AirCooling" | "OilQuenching" | "WaterQuenching" | "FurnaceCooling" | "AirBlastCooling" | "PolymerQuenching";
8664
- export interface ProcessAmcCheckRequestDto {
8665
- files: UploadFileDto[];
8666
- specificationId: string;
8667
- specificationVersion: string;
8668
- certificateTypeId?: string | null;
8669
- certificateTypeVersion?: string | null;
8670
- purchaseOrder?: string | null;
8671
- }
8672
- export interface AmcUpdateResultRequestDto {
8673
- certificateId: string;
8674
- project?: string | null;
8675
- purchaseOrder?: string | null;
8676
- workOrder?: string | null;
8677
- certificateTypeSection: AmcUpdateCertificateTypeResultsDto;
8678
- specificationChemistrySpecification: AmcUpdateSpecificationChemistryResultsDto;
8679
- specificationMechanicalSpecification: AmcUpdateSpecificationMechanicalResultsDto;
8680
- specificationFerriteSpecification: AmcUpdateSpecificationFerriteResultsDto;
8681
- specificationHeatSpecification: AmcUpdateSpecificationHeatTreatmentResultsDto;
8682
- }
8683
- export interface AmcUpdateCertificateTypeResultsDto {
8684
- manufacturer: AmcUpdateCertificateTypeManufacturerResultsDto;
8685
- signature: AmcUpdateCertificateTypeSignatureResultsDto;
8686
- thirdParty: AmcUpdateCertificateTypeThirdPartyResultsDto;
8687
- certification: AmcUpdateCertificateTypeCertificationResultsDto;
8688
- certificateTypeProductAndOrderInformation: AmcUpdateCertificateTypeProductAndOrderInformationResultsDto;
8689
- testMethodsAndReferences: AmcUpdateCertificateTypeTestMethodsAndReferencesResultsDto;
8690
- testResults: AmcUpdateCertificateTypeTestResultsResultsDto;
8691
- documentTypes: AmcUpdateCertificateTypeDocumentTypesResultsDto;
8692
- }
8693
- export interface AmcUpdateCertificateTypeManufacturerResultsDto {
8694
- manufacturer?: AmcUpdateCertificateTypeResultLine | null;
8695
- address?: AmcUpdateCertificateTypeResultLine | null;
8696
- contact?: AmcUpdateCertificateTypeResultLine | null;
8697
- }
8698
- export interface AmcUpdateCertificateTypeResultLine {
8699
- approved?: boolean | null;
8700
- comment?: string | null;
8701
- }
8702
- export interface AmcUpdateCertificateTypeSignatureResultsDto {
8703
- certifiedBy?: AmcUpdateCertificateTypeResultLine | null;
8704
- position?: AmcUpdateCertificateTypeResultLine | null;
8705
- signature?: AmcUpdateCertificateTypeResultLine | null;
8706
- date?: AmcUpdateCertificateTypeResultLine | null;
8707
- stamp?: AmcUpdateCertificateTypeResultLine | null;
8708
- }
8709
- export interface AmcUpdateCertificateTypeThirdPartyResultsDto {
8710
- inspectionBody?: AmcUpdateCertificateTypeResultLine | null;
8711
- inspectorName?: AmcUpdateCertificateTypeResultLine | null;
8712
- position?: AmcUpdateCertificateTypeResultLine | null;
8713
- verificationMethod?: AmcUpdateCertificateTypeResultLine | null;
8714
- signature?: AmcUpdateCertificateTypeResultLine | null;
8715
- date?: AmcUpdateCertificateTypeResultLine | null;
8716
- stamp?: AmcUpdateCertificateTypeResultLine | null;
8717
- }
8718
- export interface AmcUpdateCertificateTypeCertificationResultsDto {
8719
- certificateOfCompliance?: AmcUpdateCertificateTypeResultLine | null;
8720
- inspectionCertificate?: AmcUpdateCertificateTypeResultLine | null;
8721
- }
8722
- export interface AmcUpdateCertificateTypeProductAndOrderInformationResultsDto {
8723
- productDescription?: AmcUpdateCertificateTypeResultLine | null;
8724
- materialGrade?: AmcUpdateCertificateTypeResultLine | null;
8725
- customer?: AmcUpdateCertificateTypeResultLine | null;
8726
- customerOrderNumber?: AmcUpdateCertificateTypeResultLine | null;
8727
- dimensionsOrWeight?: AmcUpdateCertificateTypeResultLine | null;
8728
- batchNumber?: AmcUpdateCertificateTypeResultLine | null;
8729
- heatNumber?: AmcUpdateCertificateTypeResultLine | null;
8730
- relatedStandards?: AmcUpdateCertificateTypeResultLine | null;
8731
- }
8732
- export interface AmcUpdateCertificateTypeTestMethodsAndReferencesResultsDto {
8733
- usedStandards?: AmcUpdateCertificateTypeResultLine | null;
8734
- }
8735
- export interface AmcUpdateCertificateTypeTestResultsResultsDto {
8736
- mechanicalProperties?: AmcUpdateCertificateTypeResultLine | null;
8737
- chemicalAnalysis?: AmcUpdateCertificateTypeResultLine | null;
8738
- impactTests?: AmcUpdateCertificateTypeResultLine | null;
8739
- corrosionTests?: AmcUpdateCertificateTypeResultLine | null;
8740
- ferriteContentAndMicrostructure?: AmcUpdateCertificateTypeResultLine | null;
8741
- }
8742
- export interface AmcUpdateCertificateTypeDocumentTypesResultsDto {
8743
- heatTreatmentCertificate?: AmcUpdateCertificateTypeResultLine | null;
8744
- ultrasonicControlCertificate?: AmcUpdateCertificateTypeResultLine | null;
8745
- liquidPenetrantCertificate?: AmcUpdateCertificateTypeResultLine | null;
8746
- testReport?: AmcUpdateCertificateTypeResultLine | null;
8747
- dimensionalReport?: AmcUpdateCertificateTypeResultLine | null;
8748
- dyePenetrantReport?: AmcUpdateCertificateTypeResultLine | null;
8749
- visualReport?: AmcUpdateCertificateTypeResultLine | null;
8750
- certificateOfAnalyticalAndMechanicalTests?: AmcUpdateCertificateTypeResultLine | null;
8751
- certificateOfTest?: AmcUpdateCertificateTypeResultLine | null;
8752
- technicalReport?: AmcUpdateCertificateTypeResultLine | null;
8753
- microExaminationReport?: AmcUpdateCertificateTypeResultLine | null;
8754
- radiologicalReport?: AmcUpdateCertificateTypeResultLine | null;
8755
- }
8756
- export interface AmcUpdateSpecificationChemistryResultsDto {
8757
- carbon?: AmcUpdateSpecificationResultLineDto | null;
8758
- manganese?: AmcUpdateSpecificationResultLineDto | null;
8759
- silicon?: AmcUpdateSpecificationResultLineDto | null;
8760
- phosphorus?: AmcUpdateSpecificationResultLineDto | null;
8761
- sulfur?: AmcUpdateSpecificationResultLineDto | null;
8762
- chromium?: AmcUpdateSpecificationResultLineDto | null;
8763
- nickel?: AmcUpdateSpecificationResultLineDto | null;
8764
- molybdenum?: AmcUpdateSpecificationResultLineDto | null;
8765
- copper?: AmcUpdateSpecificationResultLineDto | null;
8766
- nitrogen?: AmcUpdateSpecificationResultLineDto | null;
8767
- wolfram?: AmcUpdateSpecificationResultLineDto | null;
8768
- iron?: AmcUpdateSpecificationResultLineDto | null;
8769
- }
8770
- export interface AmcUpdateSpecificationResultLineDto {
8771
- approved?: boolean;
8772
- comment?: string | null;
8773
- }
8774
- export interface AmcUpdateSpecificationMechanicalResultsDto {
8775
- yieldStrength?: AmcUpdateSpecificationResultLineDto | null;
8776
- tensileStrength?: AmcUpdateSpecificationResultLineDto | null;
8777
- elongation?: AmcUpdateSpecificationResultLineDto | null;
8778
- reductionOfArea?: AmcUpdateSpecificationResultLineDto | null;
8779
- impactEnergy?: AmcUpdateSpecificationResultLineDto | null;
8780
- hardness?: AmcUpdateSpecificationResultLineDto | null;
8781
- }
8782
- export interface AmcUpdateSpecificationFerriteResultsDto {
8783
- ferriteContent?: AmcUpdateSpecificationResultLineDto | null;
8784
- }
8785
- export interface AmcUpdateSpecificationHeatTreatmentResultsDto {
8786
- heatTreatmentOverrides: (AmcUpdateSpecificationResultLineDto | null)[];
8787
- }
8788
- export interface AmcSpecificationLiteDto {
8789
- specificationId: string;
8790
- version: number;
8791
- name: string;
8792
- number: string;
8793
- revision: string;
8794
- date: Date;
8795
- status: AmcSpecificationStatus;
8796
- summary?: string | null;
8797
- relatedStandards: string[];
8798
- created: Date;
8799
- createdBy: string;
8800
- createdById: string;
8801
- updatedBy?: string | null;
8802
- updatedById?: string | null;
8803
- }
8804
- export type AmcSpecificationStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
8805
- export interface AmcSpecificationDto {
8806
- specificationId: string;
8807
- version: number;
8808
- allVersions: AmcSpecificationVersionDto[];
8809
- name: string;
8810
- number: string;
8811
- revision: string;
8812
- date: Date;
8813
- status: AmcSpecificationStatus;
8814
- summary?: string | null;
8815
- relatedStandards: string[];
8816
- created: Date;
8817
- createdBy: string;
8818
- createdById: string;
8819
- updatedBy?: string | null;
8820
- updatedById?: string | null;
8821
- chemistrySpecification: AmcChemistrySpecificationDto;
8822
- mechanicalSpecification: AmcMechanicalSpecificationDto;
8823
- ferriteSpecification: AmcFerriteSpecificationDto;
8824
- heatSpecification: AmcHeatTreatmentSpecificationDto;
8825
- }
8826
- export interface AmcSpecificationVersionDto {
8827
- version?: number;
8828
- status?: AmcSpecificationStatus;
8829
- }
8830
- export interface AmcChemistrySpecificationDto {
8831
- carbon?: AmcSpecificationLineDto | null;
8832
- manganese?: AmcSpecificationLineDto | null;
8833
- silicon?: AmcSpecificationLineDto | null;
8834
- phosphorus?: AmcSpecificationLineDto | null;
8835
- sulfur?: AmcSpecificationLineDto | null;
8836
- chromium?: AmcSpecificationLineDto | null;
8837
- nickel?: AmcSpecificationLineDto | null;
8838
- molybdenum?: AmcSpecificationLineDto | null;
8839
- copper?: AmcSpecificationLineDto | null;
8840
- nitrogen?: AmcSpecificationLineDto | null;
8841
- wolfram?: AmcSpecificationLineDto | null;
8842
- iron?: AmcSpecificationLineDto | null;
8843
- }
8844
- export interface AmcSpecificationLineDto {
8845
- operator: AmcSpecificationOperator;
8846
- value1?: number | null;
8847
- value2?: number | null;
8848
- symbol: AmcSpecificationSymbol;
8849
- }
8850
- export type AmcSpecificationOperator = "Equal" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "Min" | "Max" | "Between" | "NotSet";
8851
- export type AmcSpecificationSymbol = "None" | "Percentage" | "Joule" | "Celsius" | "Farenheit" | "Mpa" | "Hbw";
8852
- export interface AmcMechanicalSpecificationDto {
8853
- yieldStrength?: AmcSpecificationLineDto | null;
8854
- tensileStrength?: AmcSpecificationLineDto | null;
8855
- elongation?: AmcSpecificationLineDto | null;
8856
- reductionOfArea?: AmcSpecificationLineDto | null;
8857
- impactEnergy?: AmcSpecificationLineDto | null;
8858
- hardness?: AmcSpecificationLineDto | null;
8859
- }
8860
- export interface AmcFerriteSpecificationDto {
8861
- ferriteContent?: AmcSpecificationLineDto | null;
8862
- }
8863
- export interface AmcHeatTreatmentSpecificationDto {
8864
- heatTreatments: AmcHeatTreatmentsSpecificationDto[];
8865
- }
8866
- export interface AmcHeatTreatmentsSpecificationDto {
8867
- heatingMethod: AmcHeatingTreatmentMethod;
8868
- heatingTreatmentTemperature?: number | null;
8869
- heatingHoldingTime?: number | null;
8870
- coolingMethods?: AmcCoolingTreatmentMethod[] | null;
8871
- coolingTreatmentTemperature?: number | null;
8872
- coolingHoldingTime?: number | null;
8873
- }
8874
- export interface CreateAmcSpecificationDto {
8875
- name: string;
8876
- number: string;
8877
- revision: string;
8878
- date: Date;
8879
- createCopy: boolean;
8880
- specificationId?: string | null;
8881
- specificationVersion?: string | null;
8882
- specificationFile?: UploadFileDto | null;
8883
- }
8884
- export interface UpdateAmcSpecificationDto {
8885
- specificationId: string;
8886
- version: number;
8887
- status: AmcSpecificationStatusUpdate;
8888
- summary?: string | null;
8889
- relatedStandards: string[];
8890
- chemistrySpecification: AmcChemistrySpecificationDto;
8891
- mechanicalSpecification: AmcMechanicalSpecificationDto;
8892
- ferriteSpecification: AmcFerriteSpecificationDto;
8893
- heatSpecification: AmcHeatTreatmentSpecificationDto;
8894
- }
8895
- export type AmcSpecificationStatusUpdate = "NotModified" | "Released" | "Obsolete";
8896
- export interface AmcCdfEntityReadBase {
8967
+ export interface PagedResultOfWorkorderListDto {
8968
+ results: WorkorderListDto[];
8969
+ continuationToken?: string | null;
8897
8970
  }
8898
- export interface AmcCertificateTypeLiteDto extends AmcCdfEntityReadBase {
8899
- certificateTypeId: string;
8900
- version: number;
8901
- name: string;
8902
- revision: string;
8903
- status: AmcCertificateTypeStatus;
8904
- description?: string | null;
8905
- isStandardCertificateType: boolean;
8906
- created: Date;
8907
- createdBy: string;
8908
- createdById: string;
8909
- updatedBy?: string | null;
8910
- updatedById?: string | null;
8911
- updated: Date;
8971
+ export interface WorkorderListDto {
8972
+ id?: string | null;
8973
+ part: PartDto;
8974
+ quantity: number;
8975
+ unit?: string | null;
8976
+ status: WorkorderStatus;
8977
+ plannedStart?: Date | null;
8978
+ plannedEnd?: Date | null;
8979
+ producedQuantity?: number;
8980
+ scrappedQuantity?: number;
8981
+ customerOrderReference?: WorkorderCustomerOrderReferenceDto | null;
8912
8982
  }
8913
- export type AmcCertificateTypeStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
8914
- export interface AmcCertificateTypeDto extends AmcCdfEntityReadBase {
8915
- certificateTypeId: string;
8916
- version: number;
8917
- allVersions: AmcCertificateTypeVersionDto[];
8918
- name: string;
8919
- revision: string;
8920
- status: AmcCertificateTypeStatus;
8921
- description?: string | null;
8922
- isStandardCertificateType: boolean;
8923
- created: Date;
8924
- createdBy: string;
8925
- createdById: string;
8926
- updatedBy?: string | null;
8927
- updatedById?: string | null;
8928
- updated: Date;
8929
- requirements: AmcCertificateTypeRequirementsDto;
8983
+ export interface ListWorkOrdersRequest {
8984
+ pageSize?: number | null;
8985
+ search?: string | null;
8986
+ companyId?: string | null;
8987
+ activeOrders?: boolean | null;
8988
+ searchType?: SearchTypeDto | null;
8989
+ continuationToken?: string | null;
8930
8990
  }
8931
- export interface AmcCertificateTypeVersionDto {
8932
- version?: number;
8933
- status?: AmcCertificateTypeStatus;
8934
- }
8935
- export interface AmcCertificateTypeRequirementsDto {
8936
- manufacturer: AmcCertificateTypeManufacturerRequirementsDto;
8937
- signature: AmcCertificateTypeSignatureRequirementsDto;
8938
- thirdParty: AmcCertificateTypeThirdPartyRequirementsDto;
8939
- certification: AmcCertificateTypeCertificationRequirementsDto;
8940
- productAndOrderInformation: AmcCertificateTypeProductAndOrderInformationRequirementsDto;
8941
- testMethodsAndReferences: AmcCertificateTypeTestMethodsAndReferencesRequirementsDto;
8942
- testResults: AmcCertificateTypeTestResultsRequirementsDto;
8943
- documentTypes: AmcCertificateTypeDocumentTypesRequirementsDto;
8944
- }
8945
- export interface AmcCertificateTypeManufacturerRequirementsDto extends AmcCdfEntityReadBase {
8946
- manufacturer?: boolean;
8947
- address?: boolean;
8948
- contact?: boolean;
8991
+ export interface UpdateWorkorderOperationEventTimestamps {
8992
+ eventId?: string | null;
8993
+ startTime?: Date | null;
8994
+ endTime?: Date | null;
8949
8995
  }
8950
- export interface AmcCertificateTypeSignatureRequirementsDto extends AmcCdfEntityReadBase {
8951
- certifiedBy?: boolean;
8952
- position?: boolean;
8953
- signature?: boolean;
8954
- date?: boolean;
8955
- stamp?: boolean;
8996
+ export interface FilterWorkorderOperationEvents {
8997
+ workorder?: string | null;
8998
+ operation?: number | null;
8999
+ startTime?: Date | null;
9000
+ endTime?: Date | null;
9001
+ resourceId?: string | null;
9002
+ externalIdPrefix?: string | null;
9003
+ operatorEmployeeId?: string | null;
9004
+ operatorName?: string | null;
9005
+ customerOrder?: string | null;
9006
+ customerId?: string | null;
9007
+ customer?: string | null;
9008
+ partNumber?: string | null;
9009
+ partName?: string | null;
9010
+ materialPartNumber?: string | null;
9011
+ materialPartName?: string | null;
9012
+ materialItemGroup?: string | null;
9013
+ workorderQuantity?: number | null;
9014
+ isSetup?: boolean | null;
9015
+ companyId?: string | null;
8956
9016
  }
8957
- export interface AmcCertificateTypeThirdPartyRequirementsDto extends AmcCdfEntityReadBase {
8958
- inspectionBody?: boolean;
8959
- inspectorName?: boolean;
8960
- position?: boolean;
8961
- verificationMethod?: boolean;
8962
- signature?: boolean;
8963
- date?: boolean;
8964
- stamp?: boolean;
9017
+ export interface CreateWorkOrderMapping {
9018
+ existingWorkOrderId: string;
9019
+ newWorkOrderId: string;
8965
9020
  }
8966
- export interface AmcCertificateTypeCertificationRequirementsDto extends AmcCdfEntityReadBase {
8967
- certificateOfCompliance?: boolean;
8968
- inspectionCertificate?: boolean;
9021
+ export interface WorkorderDiscussionMessageDto {
9022
+ id?: string;
9023
+ workorderId?: string;
9024
+ companyId?: string;
9025
+ content?: string;
9026
+ contentParts?: WorkOrderDiscussionContent[] | null;
9027
+ senderUpn?: string;
9028
+ senderName?: string;
9029
+ operationId?: string | null;
9030
+ operationName?: string | null;
9031
+ resourceId?: string | null;
9032
+ created?: Date;
8969
9033
  }
8970
- export interface AmcCertificateTypeProductAndOrderInformationRequirementsDto extends AmcCdfEntityReadBase {
8971
- productDescription?: boolean;
8972
- materialGrade?: boolean;
8973
- customer?: boolean;
8974
- customerOrderNumber?: boolean;
8975
- dimensionsOrWeight?: boolean;
8976
- batchNumber?: boolean;
8977
- heatNumber?: boolean;
8978
- relatedStandards?: boolean;
9034
+ export interface WorkOrderDiscussionContent {
9035
+ type?: WorkOrderDiscussionContentType;
9036
+ value?: string;
8979
9037
  }
8980
- export interface AmcCertificateTypeTestMethodsAndReferencesRequirementsDto extends AmcCdfEntityReadBase {
8981
- usedStandards?: boolean;
9038
+ export type WorkOrderDiscussionContentType = 0 | 1;
9039
+ export interface AddDiscussionMessageRequest {
9040
+ message: string;
9041
+ operationId?: string | null;
9042
+ operationName?: string | null;
9043
+ resourceId?: string | null;
8982
9044
  }
8983
- export interface AmcCertificateTypeTestResultsRequirementsDto extends AmcCdfEntityReadBase {
8984
- mechanicalProperties?: boolean;
8985
- chemicalAnalysis?: boolean;
8986
- impactTests?: boolean;
8987
- corrosionTests?: boolean;
8988
- ferriteContentAndMicrostructure?: boolean;
9045
+ export interface WorkorderDiscussionReadStatusDto {
9046
+ workorderId?: string;
9047
+ operationId?: string | null;
9048
+ resourceId?: string | null;
9049
+ userUpn?: string;
9050
+ lastRead?: Date;
8989
9051
  }
8990
- export interface AmcCertificateTypeDocumentTypesRequirementsDto extends AmcCdfEntityReadBase {
8991
- heatTreatmentCertificate?: boolean;
8992
- ultrasonicControlCertificate?: boolean;
8993
- liquidPenetrantCertificate?: boolean;
8994
- testReport?: boolean;
8995
- dimensionalReport?: boolean;
8996
- dyePenetrantReport?: boolean;
8997
- visualReport?: boolean;
8998
- certificateOfAnalyticalAndMechanicalTests?: boolean;
8999
- certificateOfTest?: boolean;
9000
- technicalReport?: boolean;
9001
- microExaminationReport?: boolean;
9002
- radiologicalReport?: boolean;
9052
+ export interface SetDiscussionLastReadRequest {
9053
+ operationId?: string | null;
9054
+ resourceId?: string | null;
9055
+ }
9056
+ export interface CompanyUserDto {
9057
+ companyId: string;
9058
+ userObjectId: string;
9059
+ username?: string | null;
9060
+ name?: string | null;
9061
+ roles: string[];
9003
9062
  }
9004
- export interface AmcCreateAmcCertificateTypeRequestDto {
9063
+ export interface CreateCompanyUser {
9064
+ username: string;
9005
9065
  name: string;
9006
- revision: string;
9007
- description?: string | null;
9066
+ roles: string[];
9067
+ companyId?: string | null;
9008
9068
  }
9009
- export interface AmcUpdateAmcCertificateTypeRequestDto {
9010
- name?: string | null;
9011
- revision?: string | null;
9012
- status?: AmcCertificateTypeStatus | null;
9013
- description?: string | null;
9014
- requirements?: AmcCertificateTypeRequirementsUpdateDto | null;
9015
- }
9016
- export interface AmcCertificateTypeRequirementsUpdateDto {
9017
- manufacturer?: AmcCertificateTypeManufacturerRequirementsUpdateDto | null;
9018
- signature?: AmcCertificateTypeSignatureRequirementsUpdateDto | null;
9019
- thirdParty?: AmcCertificateTypeThirdPartyRequirementsUpdateDto | null;
9020
- certification?: AmcCertificateTypeCertificationRequirementsUpdateDto | null;
9021
- productAndOrderInformation?: AmcCertificateTypeProductAndOrderInformationRequirementsUpdateDto | null;
9022
- testMethodsAndReferences?: AmcCertificateTypeTestMethodsAndReferencesRequirementsUpdateDto | null;
9023
- testResults?: AmcCertificateTypeTestResultsRequirementsUpdateDto | null;
9024
- documentTypes?: AmcCertificateTypeDocumentTypesRequirementsUpdateDto | null;
9025
- }
9026
- export interface AmcCertificateTypeManufacturerRequirementsUpdateDto {
9027
- manufacturer?: boolean | null;
9028
- address?: boolean | null;
9029
- contact?: boolean | null;
9069
+ export interface UpdateCompanyUserRequest {
9070
+ roles: string[];
9071
+ companyId?: string | null;
9030
9072
  }
9031
- export interface AmcCertificateTypeSignatureRequirementsUpdateDto {
9032
- certifiedBy?: boolean | null;
9033
- position?: boolean | null;
9034
- signature?: boolean | null;
9035
- date?: boolean | null;
9036
- stamp?: boolean | null;
9073
+ export interface ExternalRoleDto {
9074
+ id: string;
9075
+ name: string;
9037
9076
  }
9038
- export interface AmcCertificateTypeThirdPartyRequirementsUpdateDto {
9039
- inspectionBody?: boolean | null;
9040
- inspectorName?: boolean | null;
9041
- position?: boolean | null;
9042
- verificationMethod?: boolean | null;
9043
- signature?: boolean | null;
9044
- date?: boolean | null;
9045
- stamp?: boolean | null;
9077
+ export interface CompanyCustomerDto {
9078
+ customerTenantId?: string | null;
9079
+ customerAzureAdTenantId?: string | null;
9080
+ customerName?: string | null;
9081
+ supplierId?: string | null;
9082
+ supplierName?: string | null;
9046
9083
  }
9047
- export interface AmcCertificateTypeCertificationRequirementsUpdateDto {
9048
- certificateOfCompliance?: boolean | null;
9049
- inspectionCertificate?: boolean | null;
9084
+ export interface CompanyDto {
9085
+ id?: string;
9086
+ name?: string;
9087
+ organizationNumber?: string | null;
9088
+ country?: string;
9089
+ tenantId?: string | null;
9050
9090
  }
9051
- export interface AmcCertificateTypeProductAndOrderInformationRequirementsUpdateDto {
9052
- productDescription?: boolean | null;
9053
- materialGrade?: boolean | null;
9054
- customer?: boolean | null;
9055
- customerOrderNumber?: boolean | null;
9056
- dimensionsOrWeight?: boolean | null;
9057
- batchNumber?: boolean | null;
9058
- heatNumber?: boolean | null;
9059
- relatedStandards?: boolean | null;
9091
+ export interface SupplierInviteDto {
9092
+ id: string;
9093
+ supplierId: string;
9094
+ supplierName?: string | null;
9095
+ customerName?: string | null;
9096
+ userId: string;
9097
+ userName?: string | null;
9098
+ companyId?: string | null;
9099
+ deadline: Date;
9100
+ acceptedTimestamp?: Date | null;
9101
+ createdTime: Date;
9102
+ createdBy: string;
9060
9103
  }
9061
- export interface AmcCertificateTypeTestMethodsAndReferencesRequirementsUpdateDto {
9062
- usedStandards?: boolean | null;
9104
+ export interface AcceptSupplierInvite {
9105
+ companyName?: string;
9106
+ organizationNumber?: string;
9107
+ threeLetterIsoCountry?: string;
9063
9108
  }
9064
- export interface AmcCertificateTypeTestResultsRequirementsUpdateDto {
9065
- mechanicalProperties?: boolean | null;
9066
- chemicalAnalysis?: boolean | null;
9067
- impactTests?: boolean | null;
9068
- corrosionTests?: boolean | null;
9069
- ferriteContentAndMicrostructure?: boolean | null;
9109
+ export interface CreateSupplierInvite {
9110
+ supplierId: string;
9111
+ supplierName?: string | null;
9112
+ username: string;
9113
+ invitedName: string;
9114
+ deadline: Date;
9115
+ existingCompanyId?: string | null;
9070
9116
  }
9071
- export interface AmcCertificateTypeDocumentTypesRequirementsUpdateDto {
9072
- heatTreatmentCertificate?: boolean | null;
9073
- ultrasonicControlCertificate?: boolean | null;
9074
- liquidPenetrantCertificate?: boolean | null;
9075
- testReport?: boolean | null;
9076
- dimensionalReport?: boolean | null;
9077
- dyePenetrantReport?: boolean | null;
9078
- visualReport?: boolean | null;
9079
- certificateOfAnalyticalAndMechanicalTests?: boolean | null;
9080
- certificateOfTest?: boolean | null;
9081
- technicalReport?: boolean | null;
9082
- microExaminationReport?: boolean | null;
9083
- radiologicalReport?: boolean | null;
9117
+ export interface ExternalSupplierDto {
9118
+ id: string;
9119
+ name: string;
9120
+ companyId: string;
9121
+ active: boolean;
9122
+ }
9123
+ export interface CreateSupplierMapping {
9124
+ companyId: string;
9125
+ existingSupplierId: string;
9126
+ newSupplierId: string;
9084
9127
  }
9085
9128
  export interface FileParameter {
9086
9129
  data: any;