@ignos/api-client 20260831.253.1 → 20260903.255.1
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 +148 -6
- package/lib/ignosportal-api.js +667 -0
- package/package.json +1 -1
- package/src/ignosportal-api.ts +811 -6
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -780,6 +780,60 @@ export declare class PulseClient extends AuthorizedApiBase implements IPulseClie
|
|
|
780
780
|
updatePulseSettingsResource(request: UpdatePulseSettingsResource): Promise<PulseSettingsResourceDto>;
|
|
781
781
|
protected processUpdatePulseSettingsResource(response: Response): Promise<PulseSettingsResourceDto>;
|
|
782
782
|
}
|
|
783
|
+
export interface IPulseJournalClient {
|
|
784
|
+
getBoards(resourceId: string): Promise<PulseJournalBoardsDto>;
|
|
785
|
+
listHistory(resourceId: string, pageSize: number | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfPulseJournalEventDto>;
|
|
786
|
+
undo(resourceId: string, request: UndoPulseJournalActionRequest): Promise<PulseJournalBoardsDto>;
|
|
787
|
+
createNowLine(resourceId: string, request: CreatePulseJournalLineRequest): Promise<PulseJournalNowLineMutationResultDto>;
|
|
788
|
+
editNowLine(resourceId: string, lineId: string, request: EditPulseJournalLineRequest): Promise<PulseJournalNowLineMutationResultDto>;
|
|
789
|
+
deleteNowLine(resourceId: string, lineId: string, eTag: string | null | undefined): Promise<PulseJournalNowLineMutationResultDto>;
|
|
790
|
+
reorderNowLine(resourceId: string, lineId: string, request: ReorderPulseJournalLineRequest): Promise<PulseJournalNowLineMutationResultDto>;
|
|
791
|
+
createAlwaysLine(resourceId: string, request: CreatePulseJournalLineRequest): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
792
|
+
editAlwaysLine(resourceId: string, lineId: string, request: EditPulseJournalLineRequest): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
793
|
+
deleteAlwaysLine(resourceId: string, lineId: string, eTag: string | null | undefined): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
794
|
+
reorderAlwaysLine(resourceId: string, lineId: string, request: ReorderPulseJournalLineRequest): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
795
|
+
addAlwaysAttachment(resourceId: string, lineId: string, request: AddPulseJournalAttachmentRequest): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
796
|
+
removeAlwaysAttachment(resourceId: string, lineId: string, attachmentId: string, eTag: string | null | undefined): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
797
|
+
addAlwaysLink(resourceId: string, lineId: string, request: AddPulseJournalLinkRequest): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
798
|
+
removeAlwaysLink(resourceId: string, lineId: string, linkId: string, eTag: string | null | undefined): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
799
|
+
}
|
|
800
|
+
export declare class PulseJournalClient extends AuthorizedApiBase implements IPulseJournalClient {
|
|
801
|
+
private http;
|
|
802
|
+
private baseUrl;
|
|
803
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
804
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
805
|
+
});
|
|
806
|
+
getBoards(resourceId: string): Promise<PulseJournalBoardsDto>;
|
|
807
|
+
protected processGetBoards(response: Response): Promise<PulseJournalBoardsDto>;
|
|
808
|
+
listHistory(resourceId: string, pageSize: number | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfPulseJournalEventDto>;
|
|
809
|
+
protected processListHistory(response: Response): Promise<PagedResultOfPulseJournalEventDto>;
|
|
810
|
+
undo(resourceId: string, request: UndoPulseJournalActionRequest): Promise<PulseJournalBoardsDto>;
|
|
811
|
+
protected processUndo(response: Response): Promise<PulseJournalBoardsDto>;
|
|
812
|
+
createNowLine(resourceId: string, request: CreatePulseJournalLineRequest): Promise<PulseJournalNowLineMutationResultDto>;
|
|
813
|
+
protected processCreateNowLine(response: Response): Promise<PulseJournalNowLineMutationResultDto>;
|
|
814
|
+
editNowLine(resourceId: string, lineId: string, request: EditPulseJournalLineRequest): Promise<PulseJournalNowLineMutationResultDto>;
|
|
815
|
+
protected processEditNowLine(response: Response): Promise<PulseJournalNowLineMutationResultDto>;
|
|
816
|
+
deleteNowLine(resourceId: string, lineId: string, eTag: string | null | undefined): Promise<PulseJournalNowLineMutationResultDto>;
|
|
817
|
+
protected processDeleteNowLine(response: Response): Promise<PulseJournalNowLineMutationResultDto>;
|
|
818
|
+
reorderNowLine(resourceId: string, lineId: string, request: ReorderPulseJournalLineRequest): Promise<PulseJournalNowLineMutationResultDto>;
|
|
819
|
+
protected processReorderNowLine(response: Response): Promise<PulseJournalNowLineMutationResultDto>;
|
|
820
|
+
createAlwaysLine(resourceId: string, request: CreatePulseJournalLineRequest): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
821
|
+
protected processCreateAlwaysLine(response: Response): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
822
|
+
editAlwaysLine(resourceId: string, lineId: string, request: EditPulseJournalLineRequest): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
823
|
+
protected processEditAlwaysLine(response: Response): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
824
|
+
deleteAlwaysLine(resourceId: string, lineId: string, eTag: string | null | undefined): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
825
|
+
protected processDeleteAlwaysLine(response: Response): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
826
|
+
reorderAlwaysLine(resourceId: string, lineId: string, request: ReorderPulseJournalLineRequest): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
827
|
+
protected processReorderAlwaysLine(response: Response): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
828
|
+
addAlwaysAttachment(resourceId: string, lineId: string, request: AddPulseJournalAttachmentRequest): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
829
|
+
protected processAddAlwaysAttachment(response: Response): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
830
|
+
removeAlwaysAttachment(resourceId: string, lineId: string, attachmentId: string, eTag: string | null | undefined): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
831
|
+
protected processRemoveAlwaysAttachment(response: Response): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
832
|
+
addAlwaysLink(resourceId: string, lineId: string, request: AddPulseJournalLinkRequest): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
833
|
+
protected processAddAlwaysLink(response: Response): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
834
|
+
removeAlwaysLink(resourceId: string, lineId: string, linkId: string, eTag: string | null | undefined): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
835
|
+
protected processRemoveAlwaysLink(response: Response): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
836
|
+
}
|
|
783
837
|
export interface IUtilizationClient {
|
|
784
838
|
getCompanyUtilization(request: UtilizationInputRequest): Promise<CompanyResourceUtilizationDto>;
|
|
785
839
|
/**
|
|
@@ -4693,6 +4747,95 @@ export interface UpdatePulseSettingsResource {
|
|
|
4693
4747
|
resourceCalendarEnabled: boolean;
|
|
4694
4748
|
factoryCalendarEnabled: boolean;
|
|
4695
4749
|
}
|
|
4750
|
+
export interface PulseJournalBoardsDto {
|
|
4751
|
+
now: PulseJournalNowBoardDto;
|
|
4752
|
+
always: PulseJournalAlwaysBoardDto;
|
|
4753
|
+
}
|
|
4754
|
+
export interface PulseJournalNowBoardDto {
|
|
4755
|
+
lines: PulseJournalLineDto[];
|
|
4756
|
+
eTag?: string | null;
|
|
4757
|
+
}
|
|
4758
|
+
export interface PulseJournalLineDto {
|
|
4759
|
+
id: string;
|
|
4760
|
+
text: string;
|
|
4761
|
+
displayOrder: number;
|
|
4762
|
+
created: Date;
|
|
4763
|
+
createdBy?: string | null;
|
|
4764
|
+
updated?: Date | null;
|
|
4765
|
+
updatedBy?: string | null;
|
|
4766
|
+
}
|
|
4767
|
+
export interface PulseJournalAlwaysBoardDto {
|
|
4768
|
+
lines: PulseJournalAlwaysLineDto[];
|
|
4769
|
+
eTag?: string | null;
|
|
4770
|
+
}
|
|
4771
|
+
export interface PulseJournalAlwaysLineDto extends PulseJournalLineDto {
|
|
4772
|
+
attachments: PulseJournalAttachmentDto[];
|
|
4773
|
+
links: PulseJournalLinkDto[];
|
|
4774
|
+
}
|
|
4775
|
+
export interface PulseJournalAttachmentDto {
|
|
4776
|
+
id: string;
|
|
4777
|
+
filename: string;
|
|
4778
|
+
url: string;
|
|
4779
|
+
created: Date;
|
|
4780
|
+
createdBy?: string | null;
|
|
4781
|
+
}
|
|
4782
|
+
export interface PulseJournalLinkDto {
|
|
4783
|
+
id: string;
|
|
4784
|
+
url: string;
|
|
4785
|
+
created: Date;
|
|
4786
|
+
createdBy?: string | null;
|
|
4787
|
+
}
|
|
4788
|
+
export interface PagedResultOfPulseJournalEventDto {
|
|
4789
|
+
results: PulseJournalEventDto[];
|
|
4790
|
+
continuationToken?: string | null;
|
|
4791
|
+
}
|
|
4792
|
+
export interface PulseJournalEventDto {
|
|
4793
|
+
id: string;
|
|
4794
|
+
board: PulseJournalBoardTypeDto;
|
|
4795
|
+
lineId: string;
|
|
4796
|
+
eventType: PulseJournalEventTypeDto;
|
|
4797
|
+
oldValue?: string | null;
|
|
4798
|
+
newValue?: string | null;
|
|
4799
|
+
created: Date;
|
|
4800
|
+
createdBy?: string | null;
|
|
4801
|
+
}
|
|
4802
|
+
export type PulseJournalBoardTypeDto = "Now" | "Always" | "Unknown";
|
|
4803
|
+
export type PulseJournalEventTypeDto = "LineAdded" | "LineEdited" | "LineMoved" | "LineRemoved" | "FixedInfoAdded" | "FixedInfoEdited" | "FixedInfoRemoved" | "AttachmentAdded" | "AttachmentRemoved" | "LinkAdded" | "LinkRemoved" | "Unknown";
|
|
4804
|
+
export interface UndoPulseJournalActionRequest {
|
|
4805
|
+
eventId: string;
|
|
4806
|
+
}
|
|
4807
|
+
export interface PulseJournalNowLineMutationResultDto {
|
|
4808
|
+
line?: PulseJournalLineDto | null;
|
|
4809
|
+
boardETag: string;
|
|
4810
|
+
eventId?: string | null;
|
|
4811
|
+
}
|
|
4812
|
+
export interface CreatePulseJournalLineRequest {
|
|
4813
|
+
text: string;
|
|
4814
|
+
displayBeforeId?: string | null;
|
|
4815
|
+
eTag?: string | null;
|
|
4816
|
+
}
|
|
4817
|
+
export interface EditPulseJournalLineRequest {
|
|
4818
|
+
text: string;
|
|
4819
|
+
eTag?: string | null;
|
|
4820
|
+
}
|
|
4821
|
+
export interface ReorderPulseJournalLineRequest {
|
|
4822
|
+
displayBeforeId?: string | null;
|
|
4823
|
+
eTag?: string | null;
|
|
4824
|
+
}
|
|
4825
|
+
export interface PulseJournalAlwaysLineMutationResultDto {
|
|
4826
|
+
line?: PulseJournalAlwaysLineDto | null;
|
|
4827
|
+
boardETag: string;
|
|
4828
|
+
eventId?: string | null;
|
|
4829
|
+
}
|
|
4830
|
+
export interface AddPulseJournalAttachmentRequest {
|
|
4831
|
+
uploadKey: string;
|
|
4832
|
+
filename: string;
|
|
4833
|
+
eTag?: string | null;
|
|
4834
|
+
}
|
|
4835
|
+
export interface AddPulseJournalLinkRequest {
|
|
4836
|
+
url: string;
|
|
4837
|
+
eTag?: string | null;
|
|
4838
|
+
}
|
|
4696
4839
|
export interface CompanyResourceUtilizationDto {
|
|
4697
4840
|
utilizationType: ResourceUtilizationTypeDto;
|
|
4698
4841
|
companyUtilization: UtilizationDetailsV2Dto;
|
|
@@ -8459,7 +8602,7 @@ export interface ImaSpecificationResultLineDto {
|
|
|
8459
8602
|
override?: ImaResultLineOverrideDto | null;
|
|
8460
8603
|
}
|
|
8461
8604
|
export type ImaUnitDto = "Millimeter" | "Centimeter" | "Meter" | "Inch" | "Kilogram" | "Gram" | "Tonne" | "Pound" | "Megapascal" | "NewtonPerSquareMillimeter" | "KilopoundPerSquareInch" | "PoundPerSquareInch" | "Bar" | "Ppm" | "Percentage" | "WeightPercentage" | "Joule" | "FootPound" | "Celsius" | "Fahrenheit" | "Kelvin" | "Minute" | "Hour" | "BrinellHardness" | "VickersHardness" | "RockwellCHardness" | "RockwellBHardness" | "FerriteNumber" | "FerriteVolumePercentage" | "ElongationPercentage" | "MillilitersPerHundredGrams";
|
|
8462
|
-
export type ImaSpecificationResultLineStatusDto = "NotFound" | "NotOk" | "Ok" | "NotSet";
|
|
8605
|
+
export type ImaSpecificationResultLineStatusDto = "NotFound" | "NotOk" | "Ok" | "NotRequired" | "NotSet";
|
|
8463
8606
|
export interface ImaChemicalAnalysisCompositeResultDto {
|
|
8464
8607
|
pren?: ImaSpecificationCalculatedResultLineDto | null;
|
|
8465
8608
|
pren22?: ImaSpecificationCalculatedResultLineDto | null;
|
|
@@ -8590,14 +8733,14 @@ export interface ImaHeatTreatmentCoolingResultLineDto {
|
|
|
8590
8733
|
status: ImaSpecificationResultLineStatusDto;
|
|
8591
8734
|
override?: ImaResultLineOverrideDto | null;
|
|
8592
8735
|
}
|
|
8593
|
-
export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "NotSet";
|
|
8736
|
+
export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "LiquidQuenching" | "NotSet";
|
|
8594
8737
|
export interface ImaDocumentTypesResultsDto {
|
|
8595
8738
|
ultrasonicControlCertificate?: ImaSupplementaryCheckResultDto | null;
|
|
8596
8739
|
radiologicalReport?: ImaSupplementaryCheckResultDto | null;
|
|
8597
8740
|
liquidPenetrantCertificate?: ImaSupplementaryCheckResultDto | null;
|
|
8598
8741
|
magneticParticle?: ImaSupplementaryCheckResultDto | null;
|
|
8599
8742
|
pmi?: ImaSupplementaryCheckResultDto | null;
|
|
8600
|
-
|
|
8743
|
+
dyePenetrantReport?: ImaSupplementaryCheckResultDto | null;
|
|
8601
8744
|
visualReport?: ImaSupplementaryCheckResultDto | null;
|
|
8602
8745
|
dimensionalReport?: ImaSupplementaryCheckResultDto | null;
|
|
8603
8746
|
microExaminationReport?: ImaSupplementaryCheckResultDto | null;
|
|
@@ -8606,7 +8749,6 @@ export interface ImaSupplementaryCheckResultDto {
|
|
|
8606
8749
|
heatNumbers?: string[];
|
|
8607
8750
|
status?: string | null;
|
|
8608
8751
|
errorString?: string | null;
|
|
8609
|
-
acceptable?: boolean | null;
|
|
8610
8752
|
standards: string[];
|
|
8611
8753
|
override?: ImaResultLineOverrideDto | null;
|
|
8612
8754
|
}
|
|
@@ -8796,7 +8938,7 @@ export interface ImaOverrideDocumentTypesResultsDto {
|
|
|
8796
8938
|
liquidPenetrantCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8797
8939
|
magneticParticle?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8798
8940
|
pmi?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8799
|
-
|
|
8941
|
+
dyePenetrantReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8800
8942
|
visualReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8801
8943
|
dimensionalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8802
8944
|
microExaminationReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
@@ -9087,7 +9229,7 @@ export interface ImaDocumentTypesSpecificationDto {
|
|
|
9087
9229
|
liquidPenetrantCertificate?: boolean;
|
|
9088
9230
|
magneticParticle?: boolean;
|
|
9089
9231
|
pmi?: boolean;
|
|
9090
|
-
|
|
9232
|
+
dyePenetrantReport?: boolean;
|
|
9091
9233
|
visualReport?: boolean;
|
|
9092
9234
|
dimensionalReport?: boolean;
|
|
9093
9235
|
microExaminationReport?: boolean;
|