@ignos/api-client 20260807.209.1 → 20260810.211.1-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ignosportal-api.d.ts +38 -96
- package/lib/ignosportal-api.js +56 -35
- package/package.json +1 -1
- package/src/ignosportal-api.ts +91 -133
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -2521,10 +2521,14 @@ export interface IMesProductionOrderAttachmentClient {
|
|
|
2521
2521
|
* @param notes (optional)
|
|
2522
2522
|
* @param url (optional)
|
|
2523
2523
|
*/
|
|
2524
|
-
upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<
|
|
2524
|
+
upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<void>;
|
|
2525
2525
|
getAttachments(id: string): Promise<WorkOrderAttachmentDto[]>;
|
|
2526
|
+
/**
|
|
2527
|
+
* Update an existing Note or Url attachment in place
|
|
2528
|
+
*/
|
|
2529
|
+
updateAttachment(id: string, attachmentId: number, request: UpdateProductionOrderAttachmentRequest): Promise<void>;
|
|
2526
2530
|
getAttachmentFile(id: string, attachmentId: number): Promise<FileResponse>;
|
|
2527
|
-
deleteAttachment(id: string, attachmentId: number): Promise<
|
|
2531
|
+
deleteAttachment(id: string, attachmentId: number): Promise<void>;
|
|
2528
2532
|
}
|
|
2529
2533
|
export declare class MesProductionOrderAttachmentClient extends AuthorizedApiBase implements IMesProductionOrderAttachmentClient {
|
|
2530
2534
|
private http;
|
|
@@ -2540,14 +2544,19 @@ export declare class MesProductionOrderAttachmentClient extends AuthorizedApiBas
|
|
|
2540
2544
|
* @param notes (optional)
|
|
2541
2545
|
* @param url (optional)
|
|
2542
2546
|
*/
|
|
2543
|
-
upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<
|
|
2544
|
-
protected processUpload(response: Response): Promise<
|
|
2547
|
+
upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<void>;
|
|
2548
|
+
protected processUpload(response: Response): Promise<void>;
|
|
2545
2549
|
getAttachments(id: string): Promise<WorkOrderAttachmentDto[]>;
|
|
2546
2550
|
protected processGetAttachments(response: Response): Promise<WorkOrderAttachmentDto[]>;
|
|
2551
|
+
/**
|
|
2552
|
+
* Update an existing Note or Url attachment in place
|
|
2553
|
+
*/
|
|
2554
|
+
updateAttachment(id: string, attachmentId: number, request: UpdateProductionOrderAttachmentRequest): Promise<void>;
|
|
2555
|
+
protected processUpdateAttachment(response: Response): Promise<void>;
|
|
2547
2556
|
getAttachmentFile(id: string, attachmentId: number): Promise<FileResponse>;
|
|
2548
2557
|
protected processGetAttachmentFile(response: Response): Promise<FileResponse>;
|
|
2549
|
-
deleteAttachment(id: string, attachmentId: number): Promise<
|
|
2550
|
-
protected processDeleteAttachment(response: Response): Promise<
|
|
2558
|
+
deleteAttachment(id: string, attachmentId: number): Promise<void>;
|
|
2559
|
+
protected processDeleteAttachment(response: Response): Promise<void>;
|
|
2551
2560
|
}
|
|
2552
2561
|
export interface IMesProductionOrderClient {
|
|
2553
2562
|
getProductionOrder(id: string): Promise<ProductionOrderDto>;
|
|
@@ -2586,7 +2595,7 @@ export declare class MesProductionOrderClient extends AuthorizedApiBase implemen
|
|
|
2586
2595
|
protected processListProductionOrderActivities(response: Response): Promise<ProductionOrderOperationActivityDto[]>;
|
|
2587
2596
|
}
|
|
2588
2597
|
export interface IMesProductionScheduleClient {
|
|
2589
|
-
listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: string | null | undefined, departmentNumber: string | null | undefined, pageSize: number | undefined, continuationToken: string | null | undefined, workOrderId: string | null | undefined, projectId: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, material: string | null | undefined
|
|
2598
|
+
listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: string | null | undefined, departmentNumber: string | null | undefined, pageSize: number | undefined, continuationToken: string | null | undefined, workOrderId: string | null | undefined, projectId: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, material: string | null | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2590
2599
|
postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2591
2600
|
getAvailableProductionScheduleFilters(request: GetAvailableProductionScheduleFiltersRequest | undefined): Promise<ProductionScheduleFiltersDto>;
|
|
2592
2601
|
listMyCurrentWorkActivities(): Promise<CurrentWorkActivityDto>;
|
|
@@ -2600,7 +2609,7 @@ export declare class MesProductionScheduleClient extends AuthorizedApiBase imple
|
|
|
2600
2609
|
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
2601
2610
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
2602
2611
|
});
|
|
2603
|
-
listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: string | null | undefined, departmentNumber: string | null | undefined, pageSize: number | undefined, continuationToken: string | null | undefined, workOrderId: string | null | undefined, projectId: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, material: string | null | undefined
|
|
2612
|
+
listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: string | null | undefined, departmentNumber: string | null | undefined, pageSize: number | undefined, continuationToken: string | null | undefined, workOrderId: string | null | undefined, projectId: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, material: string | null | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2604
2613
|
protected processListProductionScheduleOperations(response: Response): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2605
2614
|
postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2606
2615
|
protected processPostListProductionScheduleOperations(response: Response): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
@@ -4837,19 +4846,12 @@ export interface MrbInstanceRevisionDto {
|
|
|
4837
4846
|
status: DocumentStatus;
|
|
4838
4847
|
statusDate: Date;
|
|
4839
4848
|
sentToCustomerInfo?: MrbSentInfoDto | null;
|
|
4840
|
-
contentStatus?: MrbContentDocumentStatusDto | null;
|
|
4841
4849
|
}
|
|
4842
4850
|
export type DocumentStatus = "None" | "Draft" | "ForInternalApproval" | "InternalRejected" | "Approved" | "Voided";
|
|
4843
4851
|
export interface MrbSentInfoDto {
|
|
4844
4852
|
sentTime: Date;
|
|
4845
4853
|
sentBy: UserDto;
|
|
4846
4854
|
}
|
|
4847
|
-
export interface MrbContentDocumentStatusDto {
|
|
4848
|
-
total: number;
|
|
4849
|
-
ready: number;
|
|
4850
|
-
missing: number;
|
|
4851
|
-
optional: number;
|
|
4852
|
-
}
|
|
4853
4855
|
export interface MrbPartDto {
|
|
4854
4856
|
partNumber?: string | null;
|
|
4855
4857
|
partName?: string | null;
|
|
@@ -4902,6 +4904,12 @@ export interface MrbExtraDocumentDto {
|
|
|
4902
4904
|
url: string;
|
|
4903
4905
|
documentType: string;
|
|
4904
4906
|
}
|
|
4907
|
+
export interface MrbContentDocumentStatusDto {
|
|
4908
|
+
total: number;
|
|
4909
|
+
ready: number;
|
|
4910
|
+
missing: number;
|
|
4911
|
+
optional: number;
|
|
4912
|
+
}
|
|
4905
4913
|
export interface MrbPdfExportJobDto {
|
|
4906
4914
|
jobId: string;
|
|
4907
4915
|
mrbInstanceId: string;
|
|
@@ -7426,6 +7434,7 @@ export interface ListProductionOrdersRequest {
|
|
|
7426
7434
|
export interface PlannerPlanDto {
|
|
7427
7435
|
resourceGroupId: string;
|
|
7428
7436
|
sequence: PlannerOperationDto[];
|
|
7437
|
+
lockedCount: number;
|
|
7429
7438
|
planSavedAt?: Date | null;
|
|
7430
7439
|
isDraft: boolean;
|
|
7431
7440
|
publishedETag?: string | null;
|
|
@@ -7454,14 +7463,9 @@ export interface PlannerOperationDto {
|
|
|
7454
7463
|
project?: WorkOrderProjectDto | null;
|
|
7455
7464
|
sequenceNumber: number;
|
|
7456
7465
|
isManuallyLocked: boolean;
|
|
7457
|
-
lockType: PlannerLockType;
|
|
7458
|
-
isNewOperation: boolean;
|
|
7459
7466
|
weekGroup: string;
|
|
7460
7467
|
programStatus?: ProgramStatus | null;
|
|
7461
|
-
hasNotes?: boolean;
|
|
7462
|
-
notesUnread?: boolean;
|
|
7463
7468
|
}
|
|
7464
|
-
export type PlannerLockType = "None" | "Manual" | "Auto";
|
|
7465
7469
|
export type ProgramStatus = "Blank" | "NotOk" | "Ok";
|
|
7466
7470
|
export interface WeekCapacityDto {
|
|
7467
7471
|
weekGroup: string;
|
|
@@ -7479,6 +7483,7 @@ persisted active plan (draft, else published) is published instead. */
|
|
|
7479
7483
|
}
|
|
7480
7484
|
export interface PlannerSequenceInput {
|
|
7481
7485
|
orderedOperationKeys: string[];
|
|
7486
|
+
lockedCount: number;
|
|
7482
7487
|
weekGroups?: {
|
|
7483
7488
|
[key: string]: string;
|
|
7484
7489
|
} | null;
|
|
@@ -7490,6 +7495,7 @@ export interface PlannerPlanEventDto {
|
|
|
7490
7495
|
by?: string | null;
|
|
7491
7496
|
comment?: string | null;
|
|
7492
7497
|
operationCount: number;
|
|
7498
|
+
lockedCount: number;
|
|
7493
7499
|
}
|
|
7494
7500
|
export type PlannerEventType = "Published" | "DraftSaved" | "ResetToErp";
|
|
7495
7501
|
export interface SetProgramStatus {
|
|
@@ -7498,6 +7504,12 @@ export interface SetProgramStatus {
|
|
|
7498
7504
|
status?: ProgramStatus;
|
|
7499
7505
|
}
|
|
7500
7506
|
export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File";
|
|
7507
|
+
export interface UpdateProductionOrderAttachmentRequest {
|
|
7508
|
+
type?: ProductionOrderAttachmentType;
|
|
7509
|
+
description: string;
|
|
7510
|
+
notes?: string | null;
|
|
7511
|
+
url?: string | null;
|
|
7512
|
+
}
|
|
7501
7513
|
export interface WorkOrderAttachmentDto {
|
|
7502
7514
|
createdBy?: UserDto | null;
|
|
7503
7515
|
created?: Date | null;
|
|
@@ -7508,6 +7520,7 @@ export interface WorkOrderAttachmentDto {
|
|
|
7508
7520
|
fileName?: string | null;
|
|
7509
7521
|
notes?: string | null;
|
|
7510
7522
|
attachmentType?: string | null;
|
|
7523
|
+
canDelete?: boolean;
|
|
7511
7524
|
}
|
|
7512
7525
|
export interface ProductionOrderDto {
|
|
7513
7526
|
id: string;
|
|
@@ -7767,8 +7780,6 @@ export interface ProductionScheduleOperationDto {
|
|
|
7767
7780
|
productionStatus: OperationStatusDto;
|
|
7768
7781
|
setupStatus?: OperationStatusDto | null;
|
|
7769
7782
|
programStatus?: ProgramStatus | null;
|
|
7770
|
-
hasNotes: boolean;
|
|
7771
|
-
notesUnread: boolean;
|
|
7772
7783
|
}
|
|
7773
7784
|
export interface SurroundingOperationDto {
|
|
7774
7785
|
id: string;
|
|
@@ -7830,7 +7841,6 @@ export interface ListProductionScheduleOperationsRequest {
|
|
|
7830
7841
|
operationStatuses?: OperationStatusDto[] | null;
|
|
7831
7842
|
after?: Date | null;
|
|
7832
7843
|
before?: Date | null;
|
|
7833
|
-
includeDiscussionSummary?: boolean;
|
|
7834
7844
|
}
|
|
7835
7845
|
export interface ProductionScheduleFiltersDto {
|
|
7836
7846
|
partNumbers?: FilterValueWithQuantity[];
|
|
@@ -8374,7 +8384,7 @@ export interface ImaChemicalAnalysisResultDto {
|
|
|
8374
8384
|
sampleReference?: string | null;
|
|
8375
8385
|
analysisType?: string | null;
|
|
8376
8386
|
elements: ImaChemicalAnalysisElementsResultDto;
|
|
8377
|
-
|
|
8387
|
+
indices: ImaChemicalIndexResultDto[];
|
|
8378
8388
|
testStandards: string[];
|
|
8379
8389
|
}
|
|
8380
8390
|
export interface ImaChemicalAnalysisElementsResultDto {
|
|
@@ -8416,21 +8426,9 @@ export interface ImaSpecificationResultLineDto {
|
|
|
8416
8426
|
override?: ImaResultLineOverrideDto | null;
|
|
8417
8427
|
}
|
|
8418
8428
|
export type ImaSpecificationResultLineStatusDto = "NotFound" | "NotOk" | "Ok" | "NotSet";
|
|
8419
|
-
export interface
|
|
8420
|
-
|
|
8421
|
-
|
|
8422
|
-
pren30?: ImaSpecificationCalculatedResultLineDto | null;
|
|
8423
|
-
prenW?: ImaSpecificationCalculatedResultLineDto | null;
|
|
8424
|
-
v_Nb_Ti?: ImaSpecificationCalculatedResultLineDto | null;
|
|
8425
|
-
ce?: ImaSpecificationCalculatedResultLineDto | null;
|
|
8426
|
-
}
|
|
8427
|
-
export interface ImaSpecificationCalculatedResultLineDto {
|
|
8428
|
-
specificationMin?: number | null;
|
|
8429
|
-
specificationMax?: number | null;
|
|
8430
|
-
readValue?: string | null;
|
|
8431
|
-
calculatedValue?: string | null;
|
|
8432
|
-
errorString?: string | null;
|
|
8433
|
-
status: ImaSpecificationResultLineStatusDto;
|
|
8429
|
+
export interface ImaChemicalIndexResultDto {
|
|
8430
|
+
name?: string | null;
|
|
8431
|
+
value?: number | null;
|
|
8434
8432
|
override?: ImaResultLineOverrideDto | null;
|
|
8435
8433
|
}
|
|
8436
8434
|
export interface ImaTensileTestResultDto {
|
|
@@ -8541,7 +8539,7 @@ export interface ImaDocumentTypesResultsDto {
|
|
|
8541
8539
|
}
|
|
8542
8540
|
export interface ImaOverrideMaterialCheckRequestDto {
|
|
8543
8541
|
certificateTypeSection?: ImaOverrideCertificateTypeResultsDto | null;
|
|
8544
|
-
chemicalAnalysisSection?:
|
|
8542
|
+
chemicalAnalysisSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8545
8543
|
tensileTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8546
8544
|
hardnessTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8547
8545
|
impactTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
@@ -8601,52 +8599,6 @@ export interface ImaOverrideCertificateTypeProductAndOrderInformationResultsDto
|
|
|
8601
8599
|
export interface ImaOverrideCertificateTypeTestMethodsAndReferencesResultsDto {
|
|
8602
8600
|
usedStandards?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8603
8601
|
}
|
|
8604
|
-
export interface ImaOverrideChemicalAnalysisResultsDto {
|
|
8605
|
-
heatNumber?: string | null;
|
|
8606
|
-
sampleReference?: string | null;
|
|
8607
|
-
analysisType?: string | null;
|
|
8608
|
-
elements?: ImaOverrideChemicalAnalysisElementsResultsDto | null;
|
|
8609
|
-
composite?: ImaOverrideChemicalAnalysisCompositeResultsDto | null;
|
|
8610
|
-
}
|
|
8611
|
-
export interface ImaOverrideChemicalAnalysisElementsResultsDto {
|
|
8612
|
-
carbon?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8613
|
-
manganese?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8614
|
-
silicon?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8615
|
-
phosphorus?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8616
|
-
sulfur?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8617
|
-
chromium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8618
|
-
nickel?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8619
|
-
molybdenum?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8620
|
-
copper?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8621
|
-
nitrogen?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8622
|
-
wolfram?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8623
|
-
titanium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8624
|
-
aluminum?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8625
|
-
niobium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8626
|
-
tantalum?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8627
|
-
cobalt?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8628
|
-
boron?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8629
|
-
lead?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8630
|
-
selenium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8631
|
-
bismuth?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8632
|
-
iron?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8633
|
-
vanadium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8634
|
-
oxygen?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8635
|
-
calcium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8636
|
-
arsenic?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8637
|
-
tin?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8638
|
-
antimony?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8639
|
-
hydrogen?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8640
|
-
zirconium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8641
|
-
}
|
|
8642
|
-
export interface ImaOverrideChemicalAnalysisCompositeResultsDto {
|
|
8643
|
-
pren?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8644
|
-
pren22?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8645
|
-
pren30?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8646
|
-
prenW?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8647
|
-
v_Nb_Ti?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8648
|
-
ce?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8649
|
-
}
|
|
8650
8602
|
export interface ImaOverrideDocumentTypesResultsDto {
|
|
8651
8603
|
ultrasonicControlCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8652
8604
|
radiologicalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
@@ -8861,7 +8813,6 @@ export interface ImaSpecificationDto {
|
|
|
8861
8813
|
updated: Date;
|
|
8862
8814
|
isDeleted: boolean;
|
|
8863
8815
|
chemistrySpecification: ImaChemistrySpecificationDto;
|
|
8864
|
-
chemistryCompositeSpecification: ImaChemistryCompositeSpecificationDto;
|
|
8865
8816
|
mechanicalSpecification: ImaMechanicalSpecificationDto;
|
|
8866
8817
|
ferriteSpecification: ImaFerriteSpecificationDto;
|
|
8867
8818
|
documentTypesSpecification: ImaDocumentTypesSpecificationDto;
|
|
@@ -8906,14 +8857,6 @@ export interface ImaSpecificationLineDto {
|
|
|
8906
8857
|
min?: number | null;
|
|
8907
8858
|
max?: number | null;
|
|
8908
8859
|
}
|
|
8909
|
-
export interface ImaChemistryCompositeSpecificationDto {
|
|
8910
|
-
pren?: ImaSpecificationLineDto | null;
|
|
8911
|
-
pren22?: ImaSpecificationLineDto | null;
|
|
8912
|
-
pren30?: ImaSpecificationLineDto | null;
|
|
8913
|
-
prenW?: ImaSpecificationLineDto | null;
|
|
8914
|
-
v_Nb_Ti?: boolean | null;
|
|
8915
|
-
ce?: boolean | null;
|
|
8916
|
-
}
|
|
8917
8860
|
export interface ImaMechanicalSpecificationDto {
|
|
8918
8861
|
yieldStrength?: ImaSpecificationLineDto | null;
|
|
8919
8862
|
tensileStrength?: ImaSpecificationLineDto | null;
|
|
@@ -8973,7 +8916,6 @@ export interface ImaUpdateSpecificationDto {
|
|
|
8973
8916
|
summary?: string | null;
|
|
8974
8917
|
relatedStandards?: string[] | null;
|
|
8975
8918
|
chemistrySpecification?: ImaChemistrySpecificationDto | null;
|
|
8976
|
-
chemistryCompositeSpecification?: ImaChemistryCompositeSpecificationDto | null;
|
|
8977
8919
|
mechanicalSpecification?: ImaMechanicalSpecificationDto | null;
|
|
8978
8920
|
ferriteSpecification?: ImaFerriteSpecificationDto | null;
|
|
8979
8921
|
documentTypesSpecification?: ImaDocumentTypesSpecificationDto | null;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -21046,9 +21046,7 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase {
|
|
|
21046
21046
|
let options_ = {
|
|
21047
21047
|
body: content_,
|
|
21048
21048
|
method: "POST",
|
|
21049
|
-
headers: {
|
|
21050
|
-
"Accept": "application/octet-stream"
|
|
21051
|
-
}
|
|
21049
|
+
headers: {}
|
|
21052
21050
|
};
|
|
21053
21051
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
21054
21052
|
return this.http.fetch(url_, transformedOptions_);
|
|
@@ -21063,18 +21061,10 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase {
|
|
|
21063
21061
|
response.headers.forEach((v, k) => _headers[k] = v);
|
|
21064
21062
|
}
|
|
21065
21063
|
;
|
|
21066
|
-
if (status ===
|
|
21067
|
-
|
|
21068
|
-
|
|
21069
|
-
|
|
21070
|
-
if (fileName) {
|
|
21071
|
-
fileName = decodeURIComponent(fileName);
|
|
21072
|
-
}
|
|
21073
|
-
else {
|
|
21074
|
-
fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
21075
|
-
fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
21076
|
-
}
|
|
21077
|
-
return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
|
|
21064
|
+
if (status === 204) {
|
|
21065
|
+
return response.text().then((_responseText) => {
|
|
21066
|
+
return;
|
|
21067
|
+
});
|
|
21078
21068
|
}
|
|
21079
21069
|
else if (status !== 200 && status !== 204) {
|
|
21080
21070
|
return response.text().then((_responseText) => {
|
|
@@ -21122,6 +21112,51 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase {
|
|
|
21122
21112
|
}
|
|
21123
21113
|
return Promise.resolve(null);
|
|
21124
21114
|
}
|
|
21115
|
+
/**
|
|
21116
|
+
* Update an existing Note or Url attachment in place
|
|
21117
|
+
*/
|
|
21118
|
+
updateAttachment(id, attachmentId, request) {
|
|
21119
|
+
let url_ = this.baseUrl + "/mes/productionorders/{id}/attachments/{attachmentId}";
|
|
21120
|
+
if (id === undefined || id === null)
|
|
21121
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
21122
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
21123
|
+
if (attachmentId === undefined || attachmentId === null)
|
|
21124
|
+
throw new globalThis.Error("The parameter 'attachmentId' must be defined.");
|
|
21125
|
+
url_ = url_.replace("{attachmentId}", encodeURIComponent("" + attachmentId));
|
|
21126
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
21127
|
+
const content_ = JSON.stringify(request);
|
|
21128
|
+
let options_ = {
|
|
21129
|
+
body: content_,
|
|
21130
|
+
method: "PUT",
|
|
21131
|
+
headers: {
|
|
21132
|
+
"Content-Type": "application/json",
|
|
21133
|
+
}
|
|
21134
|
+
};
|
|
21135
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
21136
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
21137
|
+
}).then((_response) => {
|
|
21138
|
+
return this.processUpdateAttachment(_response);
|
|
21139
|
+
});
|
|
21140
|
+
}
|
|
21141
|
+
processUpdateAttachment(response) {
|
|
21142
|
+
const status = response.status;
|
|
21143
|
+
let _headers = {};
|
|
21144
|
+
if (response.headers && response.headers.forEach) {
|
|
21145
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
21146
|
+
}
|
|
21147
|
+
;
|
|
21148
|
+
if (status === 204) {
|
|
21149
|
+
return response.text().then((_responseText) => {
|
|
21150
|
+
return;
|
|
21151
|
+
});
|
|
21152
|
+
}
|
|
21153
|
+
else if (status !== 200 && status !== 204) {
|
|
21154
|
+
return response.text().then((_responseText) => {
|
|
21155
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
21156
|
+
});
|
|
21157
|
+
}
|
|
21158
|
+
return Promise.resolve(null);
|
|
21159
|
+
}
|
|
21125
21160
|
getAttachmentFile(id, attachmentId) {
|
|
21126
21161
|
let url_ = this.baseUrl + "/mes/productionorders/{id}/attachments/{attachmentId}";
|
|
21127
21162
|
if (id === undefined || id === null)
|
|
@@ -21181,9 +21216,7 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase {
|
|
|
21181
21216
|
url_ = url_.replace(/[?&]$/, "");
|
|
21182
21217
|
let options_ = {
|
|
21183
21218
|
method: "DELETE",
|
|
21184
|
-
headers: {
|
|
21185
|
-
"Accept": "application/octet-stream"
|
|
21186
|
-
}
|
|
21219
|
+
headers: {}
|
|
21187
21220
|
};
|
|
21188
21221
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
21189
21222
|
return this.http.fetch(url_, transformedOptions_);
|
|
@@ -21198,18 +21231,10 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase {
|
|
|
21198
21231
|
response.headers.forEach((v, k) => _headers[k] = v);
|
|
21199
21232
|
}
|
|
21200
21233
|
;
|
|
21201
|
-
if (status ===
|
|
21202
|
-
|
|
21203
|
-
|
|
21204
|
-
|
|
21205
|
-
if (fileName) {
|
|
21206
|
-
fileName = decodeURIComponent(fileName);
|
|
21207
|
-
}
|
|
21208
|
-
else {
|
|
21209
|
-
fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
21210
|
-
fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
21211
|
-
}
|
|
21212
|
-
return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
|
|
21234
|
+
if (status === 204) {
|
|
21235
|
+
return response.text().then((_responseText) => {
|
|
21236
|
+
return;
|
|
21237
|
+
});
|
|
21213
21238
|
}
|
|
21214
21239
|
else if (status !== 200 && status !== 204) {
|
|
21215
21240
|
return response.text().then((_responseText) => {
|
|
@@ -21601,7 +21626,7 @@ export class MesProductionScheduleClient extends AuthorizedApiBase {
|
|
|
21601
21626
|
this.http = http ? http : window;
|
|
21602
21627
|
this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
|
|
21603
21628
|
}
|
|
21604
|
-
listProductionScheduleOperations(resourceGroup, resourceId, departmentNumber, pageSize, continuationToken, workOrderId, projectId, partNumber, partName, material
|
|
21629
|
+
listProductionScheduleOperations(resourceGroup, resourceId, departmentNumber, pageSize, continuationToken, workOrderId, projectId, partNumber, partName, material) {
|
|
21605
21630
|
let url_ = this.baseUrl + "/mes/productionschedule?";
|
|
21606
21631
|
if (resourceGroup !== undefined && resourceGroup !== null)
|
|
21607
21632
|
url_ += "resourceGroup=" + encodeURIComponent("" + resourceGroup) + "&";
|
|
@@ -21625,10 +21650,6 @@ export class MesProductionScheduleClient extends AuthorizedApiBase {
|
|
|
21625
21650
|
url_ += "partName=" + encodeURIComponent("" + partName) + "&";
|
|
21626
21651
|
if (material !== undefined && material !== null)
|
|
21627
21652
|
url_ += "material=" + encodeURIComponent("" + material) + "&";
|
|
21628
|
-
if (includeDiscussionSummary === null)
|
|
21629
|
-
throw new globalThis.Error("The parameter 'includeDiscussionSummary' cannot be null.");
|
|
21630
|
-
else if (includeDiscussionSummary !== undefined)
|
|
21631
|
-
url_ += "includeDiscussionSummary=" + encodeURIComponent("" + includeDiscussionSummary) + "&";
|
|
21632
21653
|
url_ = url_.replace(/[?&]$/, "");
|
|
21633
21654
|
let options_ = {
|
|
21634
21655
|
method: "GET",
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -22460,13 +22460,18 @@ export interface IMesProductionOrderAttachmentClient {
|
|
|
22460
22460
|
* @param notes (optional)
|
|
22461
22461
|
* @param url (optional)
|
|
22462
22462
|
*/
|
|
22463
|
-
upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<
|
|
22463
|
+
upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<void>;
|
|
22464
22464
|
|
|
22465
22465
|
getAttachments(id: string): Promise<WorkOrderAttachmentDto[]>;
|
|
22466
22466
|
|
|
22467
|
+
/**
|
|
22468
|
+
* Update an existing Note or Url attachment in place
|
|
22469
|
+
*/
|
|
22470
|
+
updateAttachment(id: string, attachmentId: number, request: UpdateProductionOrderAttachmentRequest): Promise<void>;
|
|
22471
|
+
|
|
22467
22472
|
getAttachmentFile(id: string, attachmentId: number): Promise<FileResponse>;
|
|
22468
22473
|
|
|
22469
|
-
deleteAttachment(id: string, attachmentId: number): Promise<
|
|
22474
|
+
deleteAttachment(id: string, attachmentId: number): Promise<void>;
|
|
22470
22475
|
}
|
|
22471
22476
|
|
|
22472
22477
|
export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implements IMesProductionOrderAttachmentClient {
|
|
@@ -22487,7 +22492,7 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
|
|
|
22487
22492
|
* @param notes (optional)
|
|
22488
22493
|
* @param url (optional)
|
|
22489
22494
|
*/
|
|
22490
|
-
upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<
|
|
22495
|
+
upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<void> {
|
|
22491
22496
|
let url_ = this.baseUrl + "/mes/productionorders/{id}/attachments";
|
|
22492
22497
|
if (id === undefined || id === null)
|
|
22493
22498
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
@@ -22512,7 +22517,6 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
|
|
|
22512
22517
|
body: content_,
|
|
22513
22518
|
method: "POST",
|
|
22514
22519
|
headers: {
|
|
22515
|
-
"Accept": "application/octet-stream"
|
|
22516
22520
|
}
|
|
22517
22521
|
};
|
|
22518
22522
|
|
|
@@ -22523,26 +22527,19 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
|
|
|
22523
22527
|
});
|
|
22524
22528
|
}
|
|
22525
22529
|
|
|
22526
|
-
protected processUpload(response: Response): Promise<
|
|
22530
|
+
protected processUpload(response: Response): Promise<void> {
|
|
22527
22531
|
const status = response.status;
|
|
22528
22532
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22529
|
-
if (status ===
|
|
22530
|
-
|
|
22531
|
-
|
|
22532
|
-
|
|
22533
|
-
if (fileName) {
|
|
22534
|
-
fileName = decodeURIComponent(fileName);
|
|
22535
|
-
} else {
|
|
22536
|
-
fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
22537
|
-
fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
22538
|
-
}
|
|
22539
|
-
return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
|
|
22533
|
+
if (status === 204) {
|
|
22534
|
+
return response.text().then((_responseText) => {
|
|
22535
|
+
return;
|
|
22536
|
+
});
|
|
22540
22537
|
} else if (status !== 200 && status !== 204) {
|
|
22541
22538
|
return response.text().then((_responseText) => {
|
|
22542
22539
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22543
22540
|
});
|
|
22544
22541
|
}
|
|
22545
|
-
return Promise.resolve<
|
|
22542
|
+
return Promise.resolve<void>(null as any);
|
|
22546
22543
|
}
|
|
22547
22544
|
|
|
22548
22545
|
getAttachments(id: string): Promise<WorkOrderAttachmentDto[]> {
|
|
@@ -22583,6 +22580,51 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
|
|
|
22583
22580
|
return Promise.resolve<WorkOrderAttachmentDto[]>(null as any);
|
|
22584
22581
|
}
|
|
22585
22582
|
|
|
22583
|
+
/**
|
|
22584
|
+
* Update an existing Note or Url attachment in place
|
|
22585
|
+
*/
|
|
22586
|
+
updateAttachment(id: string, attachmentId: number, request: UpdateProductionOrderAttachmentRequest): Promise<void> {
|
|
22587
|
+
let url_ = this.baseUrl + "/mes/productionorders/{id}/attachments/{attachmentId}";
|
|
22588
|
+
if (id === undefined || id === null)
|
|
22589
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
22590
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
22591
|
+
if (attachmentId === undefined || attachmentId === null)
|
|
22592
|
+
throw new globalThis.Error("The parameter 'attachmentId' must be defined.");
|
|
22593
|
+
url_ = url_.replace("{attachmentId}", encodeURIComponent("" + attachmentId));
|
|
22594
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
22595
|
+
|
|
22596
|
+
const content_ = JSON.stringify(request);
|
|
22597
|
+
|
|
22598
|
+
let options_: RequestInit = {
|
|
22599
|
+
body: content_,
|
|
22600
|
+
method: "PUT",
|
|
22601
|
+
headers: {
|
|
22602
|
+
"Content-Type": "application/json",
|
|
22603
|
+
}
|
|
22604
|
+
};
|
|
22605
|
+
|
|
22606
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22607
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
22608
|
+
}).then((_response: Response) => {
|
|
22609
|
+
return this.processUpdateAttachment(_response);
|
|
22610
|
+
});
|
|
22611
|
+
}
|
|
22612
|
+
|
|
22613
|
+
protected processUpdateAttachment(response: Response): Promise<void> {
|
|
22614
|
+
const status = response.status;
|
|
22615
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22616
|
+
if (status === 204) {
|
|
22617
|
+
return response.text().then((_responseText) => {
|
|
22618
|
+
return;
|
|
22619
|
+
});
|
|
22620
|
+
} else if (status !== 200 && status !== 204) {
|
|
22621
|
+
return response.text().then((_responseText) => {
|
|
22622
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22623
|
+
});
|
|
22624
|
+
}
|
|
22625
|
+
return Promise.resolve<void>(null as any);
|
|
22626
|
+
}
|
|
22627
|
+
|
|
22586
22628
|
getAttachmentFile(id: string, attachmentId: number): Promise<FileResponse> {
|
|
22587
22629
|
let url_ = this.baseUrl + "/mes/productionorders/{id}/attachments/{attachmentId}";
|
|
22588
22630
|
if (id === undefined || id === null)
|
|
@@ -22629,7 +22671,7 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
|
|
|
22629
22671
|
return Promise.resolve<FileResponse>(null as any);
|
|
22630
22672
|
}
|
|
22631
22673
|
|
|
22632
|
-
deleteAttachment(id: string, attachmentId: number): Promise<
|
|
22674
|
+
deleteAttachment(id: string, attachmentId: number): Promise<void> {
|
|
22633
22675
|
let url_ = this.baseUrl + "/mes/productionorders/{id}/attachments/{attachmentId}";
|
|
22634
22676
|
if (id === undefined || id === null)
|
|
22635
22677
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
@@ -22642,7 +22684,6 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
|
|
|
22642
22684
|
let options_: RequestInit = {
|
|
22643
22685
|
method: "DELETE",
|
|
22644
22686
|
headers: {
|
|
22645
|
-
"Accept": "application/octet-stream"
|
|
22646
22687
|
}
|
|
22647
22688
|
};
|
|
22648
22689
|
|
|
@@ -22653,26 +22694,19 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
|
|
|
22653
22694
|
});
|
|
22654
22695
|
}
|
|
22655
22696
|
|
|
22656
|
-
protected processDeleteAttachment(response: Response): Promise<
|
|
22697
|
+
protected processDeleteAttachment(response: Response): Promise<void> {
|
|
22657
22698
|
const status = response.status;
|
|
22658
22699
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22659
|
-
if (status ===
|
|
22660
|
-
|
|
22661
|
-
|
|
22662
|
-
|
|
22663
|
-
if (fileName) {
|
|
22664
|
-
fileName = decodeURIComponent(fileName);
|
|
22665
|
-
} else {
|
|
22666
|
-
fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
22667
|
-
fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
22668
|
-
}
|
|
22669
|
-
return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
|
|
22700
|
+
if (status === 204) {
|
|
22701
|
+
return response.text().then((_responseText) => {
|
|
22702
|
+
return;
|
|
22703
|
+
});
|
|
22670
22704
|
} else if (status !== 200 && status !== 204) {
|
|
22671
22705
|
return response.text().then((_responseText) => {
|
|
22672
22706
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22673
22707
|
});
|
|
22674
22708
|
}
|
|
22675
|
-
return Promise.resolve<
|
|
22709
|
+
return Promise.resolve<void>(null as any);
|
|
22676
22710
|
}
|
|
22677
22711
|
}
|
|
22678
22712
|
|
|
@@ -23071,7 +23105,7 @@ export class MesProductionOrderClient extends AuthorizedApiBase implements IMesP
|
|
|
23071
23105
|
|
|
23072
23106
|
export interface IMesProductionScheduleClient {
|
|
23073
23107
|
|
|
23074
|
-
listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: string | null | undefined, departmentNumber: string | null | undefined, pageSize: number | undefined, continuationToken: string | null | undefined, workOrderId: string | null | undefined, projectId: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, material: string | null | undefined
|
|
23108
|
+
listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: string | null | undefined, departmentNumber: string | null | undefined, pageSize: number | undefined, continuationToken: string | null | undefined, workOrderId: string | null | undefined, projectId: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, material: string | null | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
23075
23109
|
|
|
23076
23110
|
postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
23077
23111
|
|
|
@@ -23096,7 +23130,7 @@ export class MesProductionScheduleClient extends AuthorizedApiBase implements IM
|
|
|
23096
23130
|
this.baseUrl = baseUrl ?? "";
|
|
23097
23131
|
}
|
|
23098
23132
|
|
|
23099
|
-
listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: string | null | undefined, departmentNumber: string | null | undefined, pageSize: number | undefined, continuationToken: string | null | undefined, workOrderId: string | null | undefined, projectId: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, material: string | null | undefined
|
|
23133
|
+
listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: string | null | undefined, departmentNumber: string | null | undefined, pageSize: number | undefined, continuationToken: string | null | undefined, workOrderId: string | null | undefined, projectId: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, material: string | null | undefined): Promise<PagedResultOfProductionScheduleOperationDto> {
|
|
23100
23134
|
let url_ = this.baseUrl + "/mes/productionschedule?";
|
|
23101
23135
|
if (resourceGroup !== undefined && resourceGroup !== null)
|
|
23102
23136
|
url_ += "resourceGroup=" + encodeURIComponent("" + resourceGroup) + "&";
|
|
@@ -23120,10 +23154,6 @@ export class MesProductionScheduleClient extends AuthorizedApiBase implements IM
|
|
|
23120
23154
|
url_ += "partName=" + encodeURIComponent("" + partName) + "&";
|
|
23121
23155
|
if (material !== undefined && material !== null)
|
|
23122
23156
|
url_ += "material=" + encodeURIComponent("" + material) + "&";
|
|
23123
|
-
if (includeDiscussionSummary === null)
|
|
23124
|
-
throw new globalThis.Error("The parameter 'includeDiscussionSummary' cannot be null.");
|
|
23125
|
-
else if (includeDiscussionSummary !== undefined)
|
|
23126
|
-
url_ += "includeDiscussionSummary=" + encodeURIComponent("" + includeDiscussionSummary) + "&";
|
|
23127
23157
|
url_ = url_.replace(/[?&]$/, "");
|
|
23128
23158
|
|
|
23129
23159
|
let options_: RequestInit = {
|
|
@@ -32766,7 +32796,6 @@ export interface MrbInstanceRevisionDto {
|
|
|
32766
32796
|
status: DocumentStatus;
|
|
32767
32797
|
statusDate: Date;
|
|
32768
32798
|
sentToCustomerInfo?: MrbSentInfoDto | null;
|
|
32769
|
-
contentStatus?: MrbContentDocumentStatusDto | null;
|
|
32770
32799
|
}
|
|
32771
32800
|
|
|
32772
32801
|
export type DocumentStatus = "None" | "Draft" | "ForInternalApproval" | "InternalRejected" | "Approved" | "Voided";
|
|
@@ -32776,13 +32805,6 @@ export interface MrbSentInfoDto {
|
|
|
32776
32805
|
sentBy: UserDto;
|
|
32777
32806
|
}
|
|
32778
32807
|
|
|
32779
|
-
export interface MrbContentDocumentStatusDto {
|
|
32780
|
-
total: number;
|
|
32781
|
-
ready: number;
|
|
32782
|
-
missing: number;
|
|
32783
|
-
optional: number;
|
|
32784
|
-
}
|
|
32785
|
-
|
|
32786
32808
|
export interface MrbPartDto {
|
|
32787
32809
|
partNumber?: string | null;
|
|
32788
32810
|
partName?: string | null;
|
|
@@ -32843,6 +32865,13 @@ export interface MrbExtraDocumentDto {
|
|
|
32843
32865
|
documentType: string;
|
|
32844
32866
|
}
|
|
32845
32867
|
|
|
32868
|
+
export interface MrbContentDocumentStatusDto {
|
|
32869
|
+
total: number;
|
|
32870
|
+
ready: number;
|
|
32871
|
+
missing: number;
|
|
32872
|
+
optional: number;
|
|
32873
|
+
}
|
|
32874
|
+
|
|
32846
32875
|
export interface MrbPdfExportJobDto {
|
|
32847
32876
|
jobId: string;
|
|
32848
32877
|
mrbInstanceId: string;
|
|
@@ -35723,6 +35752,7 @@ export interface ListProductionOrdersRequest {
|
|
|
35723
35752
|
export interface PlannerPlanDto {
|
|
35724
35753
|
resourceGroupId: string;
|
|
35725
35754
|
sequence: PlannerOperationDto[];
|
|
35755
|
+
lockedCount: number;
|
|
35726
35756
|
planSavedAt?: Date | null;
|
|
35727
35757
|
isDraft: boolean;
|
|
35728
35758
|
publishedETag?: string | null;
|
|
@@ -35752,16 +35782,10 @@ export interface PlannerOperationDto {
|
|
|
35752
35782
|
project?: WorkOrderProjectDto | null;
|
|
35753
35783
|
sequenceNumber: number;
|
|
35754
35784
|
isManuallyLocked: boolean;
|
|
35755
|
-
lockType: PlannerLockType;
|
|
35756
|
-
isNewOperation: boolean;
|
|
35757
35785
|
weekGroup: string;
|
|
35758
35786
|
programStatus?: ProgramStatus | null;
|
|
35759
|
-
hasNotes?: boolean;
|
|
35760
|
-
notesUnread?: boolean;
|
|
35761
35787
|
}
|
|
35762
35788
|
|
|
35763
|
-
export type PlannerLockType = "None" | "Manual" | "Auto";
|
|
35764
|
-
|
|
35765
35789
|
export type ProgramStatus = "Blank" | "NotOk" | "Ok";
|
|
35766
35790
|
|
|
35767
35791
|
export interface WeekCapacityDto {
|
|
@@ -35782,6 +35806,7 @@ persisted active plan (draft, else published) is published instead. */
|
|
|
35782
35806
|
|
|
35783
35807
|
export interface PlannerSequenceInput {
|
|
35784
35808
|
orderedOperationKeys: string[];
|
|
35809
|
+
lockedCount: number;
|
|
35785
35810
|
weekGroups?: { [key: string]: string; } | null;
|
|
35786
35811
|
}
|
|
35787
35812
|
|
|
@@ -35792,6 +35817,7 @@ export interface PlannerPlanEventDto {
|
|
|
35792
35817
|
by?: string | null;
|
|
35793
35818
|
comment?: string | null;
|
|
35794
35819
|
operationCount: number;
|
|
35820
|
+
lockedCount: number;
|
|
35795
35821
|
}
|
|
35796
35822
|
|
|
35797
35823
|
export type PlannerEventType = "Published" | "DraftSaved" | "ResetToErp";
|
|
@@ -35804,6 +35830,13 @@ export interface SetProgramStatus {
|
|
|
35804
35830
|
|
|
35805
35831
|
export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File";
|
|
35806
35832
|
|
|
35833
|
+
export interface UpdateProductionOrderAttachmentRequest {
|
|
35834
|
+
type?: ProductionOrderAttachmentType;
|
|
35835
|
+
description: string;
|
|
35836
|
+
notes?: string | null;
|
|
35837
|
+
url?: string | null;
|
|
35838
|
+
}
|
|
35839
|
+
|
|
35807
35840
|
export interface WorkOrderAttachmentDto {
|
|
35808
35841
|
createdBy?: UserDto | null;
|
|
35809
35842
|
created?: Date | null;
|
|
@@ -35814,6 +35847,7 @@ export interface WorkOrderAttachmentDto {
|
|
|
35814
35847
|
fileName?: string | null;
|
|
35815
35848
|
notes?: string | null;
|
|
35816
35849
|
attachmentType?: string | null;
|
|
35850
|
+
canDelete?: boolean;
|
|
35817
35851
|
}
|
|
35818
35852
|
|
|
35819
35853
|
export interface ProductionOrderDto {
|
|
@@ -36093,8 +36127,6 @@ export interface ProductionScheduleOperationDto {
|
|
|
36093
36127
|
productionStatus: OperationStatusDto;
|
|
36094
36128
|
setupStatus?: OperationStatusDto | null;
|
|
36095
36129
|
programStatus?: ProgramStatus | null;
|
|
36096
|
-
hasNotes: boolean;
|
|
36097
|
-
notesUnread: boolean;
|
|
36098
36130
|
}
|
|
36099
36131
|
|
|
36100
36132
|
export interface SurroundingOperationDto {
|
|
@@ -36162,7 +36194,6 @@ export interface ListProductionScheduleOperationsRequest {
|
|
|
36162
36194
|
operationStatuses?: OperationStatusDto[] | null;
|
|
36163
36195
|
after?: Date | null;
|
|
36164
36196
|
before?: Date | null;
|
|
36165
|
-
includeDiscussionSummary?: boolean;
|
|
36166
36197
|
}
|
|
36167
36198
|
|
|
36168
36199
|
export interface ProductionScheduleFiltersDto {
|
|
@@ -36777,7 +36808,7 @@ export interface ImaChemicalAnalysisResultDto {
|
|
|
36777
36808
|
sampleReference?: string | null;
|
|
36778
36809
|
analysisType?: string | null;
|
|
36779
36810
|
elements: ImaChemicalAnalysisElementsResultDto;
|
|
36780
|
-
|
|
36811
|
+
indices: ImaChemicalIndexResultDto[];
|
|
36781
36812
|
testStandards: string[];
|
|
36782
36813
|
}
|
|
36783
36814
|
|
|
@@ -36823,22 +36854,9 @@ export interface ImaSpecificationResultLineDto {
|
|
|
36823
36854
|
|
|
36824
36855
|
export type ImaSpecificationResultLineStatusDto = "NotFound" | "NotOk" | "Ok" | "NotSet";
|
|
36825
36856
|
|
|
36826
|
-
export interface
|
|
36827
|
-
|
|
36828
|
-
|
|
36829
|
-
pren30?: ImaSpecificationCalculatedResultLineDto | null;
|
|
36830
|
-
prenW?: ImaSpecificationCalculatedResultLineDto | null;
|
|
36831
|
-
v_Nb_Ti?: ImaSpecificationCalculatedResultLineDto | null;
|
|
36832
|
-
ce?: ImaSpecificationCalculatedResultLineDto | null;
|
|
36833
|
-
}
|
|
36834
|
-
|
|
36835
|
-
export interface ImaSpecificationCalculatedResultLineDto {
|
|
36836
|
-
specificationMin?: number | null;
|
|
36837
|
-
specificationMax?: number | null;
|
|
36838
|
-
readValue?: string | null;
|
|
36839
|
-
calculatedValue?: string | null;
|
|
36840
|
-
errorString?: string | null;
|
|
36841
|
-
status: ImaSpecificationResultLineStatusDto;
|
|
36857
|
+
export interface ImaChemicalIndexResultDto {
|
|
36858
|
+
name?: string | null;
|
|
36859
|
+
value?: number | null;
|
|
36842
36860
|
override?: ImaResultLineOverrideDto | null;
|
|
36843
36861
|
}
|
|
36844
36862
|
|
|
@@ -36961,7 +36979,7 @@ export interface ImaDocumentTypesResultsDto {
|
|
|
36961
36979
|
|
|
36962
36980
|
export interface ImaOverrideMaterialCheckRequestDto {
|
|
36963
36981
|
certificateTypeSection?: ImaOverrideCertificateTypeResultsDto | null;
|
|
36964
|
-
chemicalAnalysisSection?:
|
|
36982
|
+
chemicalAnalysisSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36965
36983
|
tensileTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36966
36984
|
hardnessTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36967
36985
|
impactTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
@@ -37030,55 +37048,6 @@ export interface ImaOverrideCertificateTypeTestMethodsAndReferencesResultsDto {
|
|
|
37030
37048
|
usedStandards?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37031
37049
|
}
|
|
37032
37050
|
|
|
37033
|
-
export interface ImaOverrideChemicalAnalysisResultsDto {
|
|
37034
|
-
heatNumber?: string | null;
|
|
37035
|
-
sampleReference?: string | null;
|
|
37036
|
-
analysisType?: string | null;
|
|
37037
|
-
elements?: ImaOverrideChemicalAnalysisElementsResultsDto | null;
|
|
37038
|
-
composite?: ImaOverrideChemicalAnalysisCompositeResultsDto | null;
|
|
37039
|
-
}
|
|
37040
|
-
|
|
37041
|
-
export interface ImaOverrideChemicalAnalysisElementsResultsDto {
|
|
37042
|
-
carbon?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37043
|
-
manganese?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37044
|
-
silicon?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37045
|
-
phosphorus?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37046
|
-
sulfur?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37047
|
-
chromium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37048
|
-
nickel?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37049
|
-
molybdenum?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37050
|
-
copper?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37051
|
-
nitrogen?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37052
|
-
wolfram?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37053
|
-
titanium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37054
|
-
aluminum?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37055
|
-
niobium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37056
|
-
tantalum?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37057
|
-
cobalt?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37058
|
-
boron?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37059
|
-
lead?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37060
|
-
selenium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37061
|
-
bismuth?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37062
|
-
iron?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37063
|
-
vanadium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37064
|
-
oxygen?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37065
|
-
calcium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37066
|
-
arsenic?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37067
|
-
tin?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37068
|
-
antimony?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37069
|
-
hydrogen?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37070
|
-
zirconium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37071
|
-
}
|
|
37072
|
-
|
|
37073
|
-
export interface ImaOverrideChemicalAnalysisCompositeResultsDto {
|
|
37074
|
-
pren?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37075
|
-
pren22?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37076
|
-
pren30?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37077
|
-
prenW?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37078
|
-
v_Nb_Ti?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37079
|
-
ce?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37080
|
-
}
|
|
37081
|
-
|
|
37082
37051
|
export interface ImaOverrideDocumentTypesResultsDto {
|
|
37083
37052
|
ultrasonicControlCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37084
37053
|
radiologicalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
@@ -37315,7 +37284,6 @@ export interface ImaSpecificationDto {
|
|
|
37315
37284
|
updated: Date;
|
|
37316
37285
|
isDeleted: boolean;
|
|
37317
37286
|
chemistrySpecification: ImaChemistrySpecificationDto;
|
|
37318
|
-
chemistryCompositeSpecification: ImaChemistryCompositeSpecificationDto;
|
|
37319
37287
|
mechanicalSpecification: ImaMechanicalSpecificationDto;
|
|
37320
37288
|
ferriteSpecification: ImaFerriteSpecificationDto;
|
|
37321
37289
|
documentTypesSpecification: ImaDocumentTypesSpecificationDto;
|
|
@@ -37364,15 +37332,6 @@ export interface ImaSpecificationLineDto {
|
|
|
37364
37332
|
max?: number | null;
|
|
37365
37333
|
}
|
|
37366
37334
|
|
|
37367
|
-
export interface ImaChemistryCompositeSpecificationDto {
|
|
37368
|
-
pren?: ImaSpecificationLineDto | null;
|
|
37369
|
-
pren22?: ImaSpecificationLineDto | null;
|
|
37370
|
-
pren30?: ImaSpecificationLineDto | null;
|
|
37371
|
-
prenW?: ImaSpecificationLineDto | null;
|
|
37372
|
-
v_Nb_Ti?: boolean | null;
|
|
37373
|
-
ce?: boolean | null;
|
|
37374
|
-
}
|
|
37375
|
-
|
|
37376
37335
|
export interface ImaMechanicalSpecificationDto {
|
|
37377
37336
|
yieldStrength?: ImaSpecificationLineDto | null;
|
|
37378
37337
|
tensileStrength?: ImaSpecificationLineDto | null;
|
|
@@ -37442,7 +37401,6 @@ export interface ImaUpdateSpecificationDto {
|
|
|
37442
37401
|
summary?: string | null;
|
|
37443
37402
|
relatedStandards?: string[] | null;
|
|
37444
37403
|
chemistrySpecification?: ImaChemistrySpecificationDto | null;
|
|
37445
|
-
chemistryCompositeSpecification?: ImaChemistryCompositeSpecificationDto | null;
|
|
37446
37404
|
mechanicalSpecification?: ImaMechanicalSpecificationDto | null;
|
|
37447
37405
|
ferriteSpecification?: ImaFerriteSpecificationDto | null;
|
|
37448
37406
|
documentTypesSpecification?: ImaDocumentTypesSpecificationDto | null;
|