@ignos/api-client 20260831.253.1 → 20260901.254.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 +143 -0
- package/lib/ignosportal-api.js +667 -0
- package/package.json +1 -1
- package/src/ignosportal-api.ts +806 -0
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;
|