@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/src/ignosportal-api.ts
CHANGED
|
@@ -6533,6 +6533,704 @@ export class PulseClient extends AuthorizedApiBase implements IPulseClient {
|
|
|
6533
6533
|
}
|
|
6534
6534
|
}
|
|
6535
6535
|
|
|
6536
|
+
export interface IPulseJournalClient {
|
|
6537
|
+
|
|
6538
|
+
getBoards(resourceId: string): Promise<PulseJournalBoardsDto>;
|
|
6539
|
+
|
|
6540
|
+
listHistory(resourceId: string, pageSize: number | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfPulseJournalEventDto>;
|
|
6541
|
+
|
|
6542
|
+
undo(resourceId: string, request: UndoPulseJournalActionRequest): Promise<PulseJournalBoardsDto>;
|
|
6543
|
+
|
|
6544
|
+
createNowLine(resourceId: string, request: CreatePulseJournalLineRequest): Promise<PulseJournalNowLineMutationResultDto>;
|
|
6545
|
+
|
|
6546
|
+
editNowLine(resourceId: string, lineId: string, request: EditPulseJournalLineRequest): Promise<PulseJournalNowLineMutationResultDto>;
|
|
6547
|
+
|
|
6548
|
+
deleteNowLine(resourceId: string, lineId: string, eTag: string | null | undefined): Promise<PulseJournalNowLineMutationResultDto>;
|
|
6549
|
+
|
|
6550
|
+
reorderNowLine(resourceId: string, lineId: string, request: ReorderPulseJournalLineRequest): Promise<PulseJournalNowLineMutationResultDto>;
|
|
6551
|
+
|
|
6552
|
+
createAlwaysLine(resourceId: string, request: CreatePulseJournalLineRequest): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
6553
|
+
|
|
6554
|
+
editAlwaysLine(resourceId: string, lineId: string, request: EditPulseJournalLineRequest): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
6555
|
+
|
|
6556
|
+
deleteAlwaysLine(resourceId: string, lineId: string, eTag: string | null | undefined): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
6557
|
+
|
|
6558
|
+
reorderAlwaysLine(resourceId: string, lineId: string, request: ReorderPulseJournalLineRequest): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
6559
|
+
|
|
6560
|
+
addAlwaysAttachment(resourceId: string, lineId: string, request: AddPulseJournalAttachmentRequest): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
6561
|
+
|
|
6562
|
+
removeAlwaysAttachment(resourceId: string, lineId: string, attachmentId: string, eTag: string | null | undefined): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
6563
|
+
|
|
6564
|
+
addAlwaysLink(resourceId: string, lineId: string, request: AddPulseJournalLinkRequest): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
6565
|
+
|
|
6566
|
+
removeAlwaysLink(resourceId: string, lineId: string, linkId: string, eTag: string | null | undefined): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
6567
|
+
}
|
|
6568
|
+
|
|
6569
|
+
export class PulseJournalClient extends AuthorizedApiBase implements IPulseJournalClient {
|
|
6570
|
+
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
6571
|
+
private baseUrl: string;
|
|
6572
|
+
|
|
6573
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
6574
|
+
super(configuration);
|
|
6575
|
+
this.http = http ? http : window as any;
|
|
6576
|
+
this.baseUrl = baseUrl ?? "";
|
|
6577
|
+
}
|
|
6578
|
+
|
|
6579
|
+
getBoards(resourceId: string): Promise<PulseJournalBoardsDto> {
|
|
6580
|
+
let url_ = this.baseUrl + "/pulsejournal/{resourceId}";
|
|
6581
|
+
if (resourceId === undefined || resourceId === null)
|
|
6582
|
+
throw new globalThis.Error("The parameter 'resourceId' must be defined.");
|
|
6583
|
+
url_ = url_.replace("{resourceId}", encodeURIComponent("" + resourceId));
|
|
6584
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
6585
|
+
|
|
6586
|
+
let options_: RequestInit = {
|
|
6587
|
+
method: "GET",
|
|
6588
|
+
headers: {
|
|
6589
|
+
"Accept": "application/json"
|
|
6590
|
+
}
|
|
6591
|
+
};
|
|
6592
|
+
|
|
6593
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
6594
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
6595
|
+
}).then((_response: Response) => {
|
|
6596
|
+
return this.processGetBoards(_response);
|
|
6597
|
+
});
|
|
6598
|
+
}
|
|
6599
|
+
|
|
6600
|
+
protected processGetBoards(response: Response): Promise<PulseJournalBoardsDto> {
|
|
6601
|
+
const status = response.status;
|
|
6602
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
6603
|
+
if (status === 200) {
|
|
6604
|
+
return response.text().then((_responseText) => {
|
|
6605
|
+
let result200: any = null;
|
|
6606
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PulseJournalBoardsDto;
|
|
6607
|
+
return result200;
|
|
6608
|
+
});
|
|
6609
|
+
} else if (status !== 200 && status !== 204) {
|
|
6610
|
+
return response.text().then((_responseText) => {
|
|
6611
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
6612
|
+
});
|
|
6613
|
+
}
|
|
6614
|
+
return Promise.resolve<PulseJournalBoardsDto>(null as any);
|
|
6615
|
+
}
|
|
6616
|
+
|
|
6617
|
+
listHistory(resourceId: string, pageSize: number | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfPulseJournalEventDto> {
|
|
6618
|
+
let url_ = this.baseUrl + "/pulsejournal/{resourceId}/history?";
|
|
6619
|
+
if (resourceId === undefined || resourceId === null)
|
|
6620
|
+
throw new globalThis.Error("The parameter 'resourceId' must be defined.");
|
|
6621
|
+
url_ = url_.replace("{resourceId}", encodeURIComponent("" + resourceId));
|
|
6622
|
+
if (pageSize !== undefined && pageSize !== null)
|
|
6623
|
+
url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
|
|
6624
|
+
if (continuationToken !== undefined && continuationToken !== null)
|
|
6625
|
+
url_ += "continuationToken=" + encodeURIComponent("" + continuationToken) + "&";
|
|
6626
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
6627
|
+
|
|
6628
|
+
let options_: RequestInit = {
|
|
6629
|
+
method: "GET",
|
|
6630
|
+
headers: {
|
|
6631
|
+
"Accept": "application/json"
|
|
6632
|
+
}
|
|
6633
|
+
};
|
|
6634
|
+
|
|
6635
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
6636
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
6637
|
+
}).then((_response: Response) => {
|
|
6638
|
+
return this.processListHistory(_response);
|
|
6639
|
+
});
|
|
6640
|
+
}
|
|
6641
|
+
|
|
6642
|
+
protected processListHistory(response: Response): Promise<PagedResultOfPulseJournalEventDto> {
|
|
6643
|
+
const status = response.status;
|
|
6644
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
6645
|
+
if (status === 200) {
|
|
6646
|
+
return response.text().then((_responseText) => {
|
|
6647
|
+
let result200: any = null;
|
|
6648
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PagedResultOfPulseJournalEventDto;
|
|
6649
|
+
return result200;
|
|
6650
|
+
});
|
|
6651
|
+
} else if (status !== 200 && status !== 204) {
|
|
6652
|
+
return response.text().then((_responseText) => {
|
|
6653
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
6654
|
+
});
|
|
6655
|
+
}
|
|
6656
|
+
return Promise.resolve<PagedResultOfPulseJournalEventDto>(null as any);
|
|
6657
|
+
}
|
|
6658
|
+
|
|
6659
|
+
undo(resourceId: string, request: UndoPulseJournalActionRequest): Promise<PulseJournalBoardsDto> {
|
|
6660
|
+
let url_ = this.baseUrl + "/pulsejournal/{resourceId}/undo";
|
|
6661
|
+
if (resourceId === undefined || resourceId === null)
|
|
6662
|
+
throw new globalThis.Error("The parameter 'resourceId' must be defined.");
|
|
6663
|
+
url_ = url_.replace("{resourceId}", encodeURIComponent("" + resourceId));
|
|
6664
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
6665
|
+
|
|
6666
|
+
const content_ = JSON.stringify(request);
|
|
6667
|
+
|
|
6668
|
+
let options_: RequestInit = {
|
|
6669
|
+
body: content_,
|
|
6670
|
+
method: "POST",
|
|
6671
|
+
headers: {
|
|
6672
|
+
"Content-Type": "application/json",
|
|
6673
|
+
"Accept": "application/json"
|
|
6674
|
+
}
|
|
6675
|
+
};
|
|
6676
|
+
|
|
6677
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
6678
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
6679
|
+
}).then((_response: Response) => {
|
|
6680
|
+
return this.processUndo(_response);
|
|
6681
|
+
});
|
|
6682
|
+
}
|
|
6683
|
+
|
|
6684
|
+
protected processUndo(response: Response): Promise<PulseJournalBoardsDto> {
|
|
6685
|
+
const status = response.status;
|
|
6686
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
6687
|
+
if (status === 200) {
|
|
6688
|
+
return response.text().then((_responseText) => {
|
|
6689
|
+
let result200: any = null;
|
|
6690
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PulseJournalBoardsDto;
|
|
6691
|
+
return result200;
|
|
6692
|
+
});
|
|
6693
|
+
} else if (status !== 200 && status !== 204) {
|
|
6694
|
+
return response.text().then((_responseText) => {
|
|
6695
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
6696
|
+
});
|
|
6697
|
+
}
|
|
6698
|
+
return Promise.resolve<PulseJournalBoardsDto>(null as any);
|
|
6699
|
+
}
|
|
6700
|
+
|
|
6701
|
+
createNowLine(resourceId: string, request: CreatePulseJournalLineRequest): Promise<PulseJournalNowLineMutationResultDto> {
|
|
6702
|
+
let url_ = this.baseUrl + "/pulsejournal/{resourceId}/now/lines";
|
|
6703
|
+
if (resourceId === undefined || resourceId === null)
|
|
6704
|
+
throw new globalThis.Error("The parameter 'resourceId' must be defined.");
|
|
6705
|
+
url_ = url_.replace("{resourceId}", encodeURIComponent("" + resourceId));
|
|
6706
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
6707
|
+
|
|
6708
|
+
const content_ = JSON.stringify(request);
|
|
6709
|
+
|
|
6710
|
+
let options_: RequestInit = {
|
|
6711
|
+
body: content_,
|
|
6712
|
+
method: "POST",
|
|
6713
|
+
headers: {
|
|
6714
|
+
"Content-Type": "application/json",
|
|
6715
|
+
"Accept": "application/json"
|
|
6716
|
+
}
|
|
6717
|
+
};
|
|
6718
|
+
|
|
6719
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
6720
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
6721
|
+
}).then((_response: Response) => {
|
|
6722
|
+
return this.processCreateNowLine(_response);
|
|
6723
|
+
});
|
|
6724
|
+
}
|
|
6725
|
+
|
|
6726
|
+
protected processCreateNowLine(response: Response): Promise<PulseJournalNowLineMutationResultDto> {
|
|
6727
|
+
const status = response.status;
|
|
6728
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
6729
|
+
if (status === 200) {
|
|
6730
|
+
return response.text().then((_responseText) => {
|
|
6731
|
+
let result200: any = null;
|
|
6732
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PulseJournalNowLineMutationResultDto;
|
|
6733
|
+
return result200;
|
|
6734
|
+
});
|
|
6735
|
+
} else if (status !== 200 && status !== 204) {
|
|
6736
|
+
return response.text().then((_responseText) => {
|
|
6737
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
6738
|
+
});
|
|
6739
|
+
}
|
|
6740
|
+
return Promise.resolve<PulseJournalNowLineMutationResultDto>(null as any);
|
|
6741
|
+
}
|
|
6742
|
+
|
|
6743
|
+
editNowLine(resourceId: string, lineId: string, request: EditPulseJournalLineRequest): Promise<PulseJournalNowLineMutationResultDto> {
|
|
6744
|
+
let url_ = this.baseUrl + "/pulsejournal/{resourceId}/now/lines/{lineId}";
|
|
6745
|
+
if (resourceId === undefined || resourceId === null)
|
|
6746
|
+
throw new globalThis.Error("The parameter 'resourceId' must be defined.");
|
|
6747
|
+
url_ = url_.replace("{resourceId}", encodeURIComponent("" + resourceId));
|
|
6748
|
+
if (lineId === undefined || lineId === null)
|
|
6749
|
+
throw new globalThis.Error("The parameter 'lineId' must be defined.");
|
|
6750
|
+
url_ = url_.replace("{lineId}", encodeURIComponent("" + lineId));
|
|
6751
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
6752
|
+
|
|
6753
|
+
const content_ = JSON.stringify(request);
|
|
6754
|
+
|
|
6755
|
+
let options_: RequestInit = {
|
|
6756
|
+
body: content_,
|
|
6757
|
+
method: "PUT",
|
|
6758
|
+
headers: {
|
|
6759
|
+
"Content-Type": "application/json",
|
|
6760
|
+
"Accept": "application/json"
|
|
6761
|
+
}
|
|
6762
|
+
};
|
|
6763
|
+
|
|
6764
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
6765
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
6766
|
+
}).then((_response: Response) => {
|
|
6767
|
+
return this.processEditNowLine(_response);
|
|
6768
|
+
});
|
|
6769
|
+
}
|
|
6770
|
+
|
|
6771
|
+
protected processEditNowLine(response: Response): Promise<PulseJournalNowLineMutationResultDto> {
|
|
6772
|
+
const status = response.status;
|
|
6773
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
6774
|
+
if (status === 200) {
|
|
6775
|
+
return response.text().then((_responseText) => {
|
|
6776
|
+
let result200: any = null;
|
|
6777
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PulseJournalNowLineMutationResultDto;
|
|
6778
|
+
return result200;
|
|
6779
|
+
});
|
|
6780
|
+
} else if (status !== 200 && status !== 204) {
|
|
6781
|
+
return response.text().then((_responseText) => {
|
|
6782
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
6783
|
+
});
|
|
6784
|
+
}
|
|
6785
|
+
return Promise.resolve<PulseJournalNowLineMutationResultDto>(null as any);
|
|
6786
|
+
}
|
|
6787
|
+
|
|
6788
|
+
deleteNowLine(resourceId: string, lineId: string, eTag: string | null | undefined): Promise<PulseJournalNowLineMutationResultDto> {
|
|
6789
|
+
let url_ = this.baseUrl + "/pulsejournal/{resourceId}/now/lines/{lineId}?";
|
|
6790
|
+
if (resourceId === undefined || resourceId === null)
|
|
6791
|
+
throw new globalThis.Error("The parameter 'resourceId' must be defined.");
|
|
6792
|
+
url_ = url_.replace("{resourceId}", encodeURIComponent("" + resourceId));
|
|
6793
|
+
if (lineId === undefined || lineId === null)
|
|
6794
|
+
throw new globalThis.Error("The parameter 'lineId' must be defined.");
|
|
6795
|
+
url_ = url_.replace("{lineId}", encodeURIComponent("" + lineId));
|
|
6796
|
+
if (eTag !== undefined && eTag !== null)
|
|
6797
|
+
url_ += "eTag=" + encodeURIComponent("" + eTag) + "&";
|
|
6798
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
6799
|
+
|
|
6800
|
+
let options_: RequestInit = {
|
|
6801
|
+
method: "DELETE",
|
|
6802
|
+
headers: {
|
|
6803
|
+
"Accept": "application/json"
|
|
6804
|
+
}
|
|
6805
|
+
};
|
|
6806
|
+
|
|
6807
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
6808
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
6809
|
+
}).then((_response: Response) => {
|
|
6810
|
+
return this.processDeleteNowLine(_response);
|
|
6811
|
+
});
|
|
6812
|
+
}
|
|
6813
|
+
|
|
6814
|
+
protected processDeleteNowLine(response: Response): Promise<PulseJournalNowLineMutationResultDto> {
|
|
6815
|
+
const status = response.status;
|
|
6816
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
6817
|
+
if (status === 200) {
|
|
6818
|
+
return response.text().then((_responseText) => {
|
|
6819
|
+
let result200: any = null;
|
|
6820
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PulseJournalNowLineMutationResultDto;
|
|
6821
|
+
return result200;
|
|
6822
|
+
});
|
|
6823
|
+
} else if (status !== 200 && status !== 204) {
|
|
6824
|
+
return response.text().then((_responseText) => {
|
|
6825
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
6826
|
+
});
|
|
6827
|
+
}
|
|
6828
|
+
return Promise.resolve<PulseJournalNowLineMutationResultDto>(null as any);
|
|
6829
|
+
}
|
|
6830
|
+
|
|
6831
|
+
reorderNowLine(resourceId: string, lineId: string, request: ReorderPulseJournalLineRequest): Promise<PulseJournalNowLineMutationResultDto> {
|
|
6832
|
+
let url_ = this.baseUrl + "/pulsejournal/{resourceId}/now/lines/{lineId}/reorder";
|
|
6833
|
+
if (resourceId === undefined || resourceId === null)
|
|
6834
|
+
throw new globalThis.Error("The parameter 'resourceId' must be defined.");
|
|
6835
|
+
url_ = url_.replace("{resourceId}", encodeURIComponent("" + resourceId));
|
|
6836
|
+
if (lineId === undefined || lineId === null)
|
|
6837
|
+
throw new globalThis.Error("The parameter 'lineId' must be defined.");
|
|
6838
|
+
url_ = url_.replace("{lineId}", encodeURIComponent("" + lineId));
|
|
6839
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
6840
|
+
|
|
6841
|
+
const content_ = JSON.stringify(request);
|
|
6842
|
+
|
|
6843
|
+
let options_: RequestInit = {
|
|
6844
|
+
body: content_,
|
|
6845
|
+
method: "POST",
|
|
6846
|
+
headers: {
|
|
6847
|
+
"Content-Type": "application/json",
|
|
6848
|
+
"Accept": "application/json"
|
|
6849
|
+
}
|
|
6850
|
+
};
|
|
6851
|
+
|
|
6852
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
6853
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
6854
|
+
}).then((_response: Response) => {
|
|
6855
|
+
return this.processReorderNowLine(_response);
|
|
6856
|
+
});
|
|
6857
|
+
}
|
|
6858
|
+
|
|
6859
|
+
protected processReorderNowLine(response: Response): Promise<PulseJournalNowLineMutationResultDto> {
|
|
6860
|
+
const status = response.status;
|
|
6861
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
6862
|
+
if (status === 200) {
|
|
6863
|
+
return response.text().then((_responseText) => {
|
|
6864
|
+
let result200: any = null;
|
|
6865
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PulseJournalNowLineMutationResultDto;
|
|
6866
|
+
return result200;
|
|
6867
|
+
});
|
|
6868
|
+
} else if (status !== 200 && status !== 204) {
|
|
6869
|
+
return response.text().then((_responseText) => {
|
|
6870
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
6871
|
+
});
|
|
6872
|
+
}
|
|
6873
|
+
return Promise.resolve<PulseJournalNowLineMutationResultDto>(null as any);
|
|
6874
|
+
}
|
|
6875
|
+
|
|
6876
|
+
createAlwaysLine(resourceId: string, request: CreatePulseJournalLineRequest): Promise<PulseJournalAlwaysLineMutationResultDto> {
|
|
6877
|
+
let url_ = this.baseUrl + "/pulsejournal/{resourceId}/always/lines";
|
|
6878
|
+
if (resourceId === undefined || resourceId === null)
|
|
6879
|
+
throw new globalThis.Error("The parameter 'resourceId' must be defined.");
|
|
6880
|
+
url_ = url_.replace("{resourceId}", encodeURIComponent("" + resourceId));
|
|
6881
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
6882
|
+
|
|
6883
|
+
const content_ = JSON.stringify(request);
|
|
6884
|
+
|
|
6885
|
+
let options_: RequestInit = {
|
|
6886
|
+
body: content_,
|
|
6887
|
+
method: "POST",
|
|
6888
|
+
headers: {
|
|
6889
|
+
"Content-Type": "application/json",
|
|
6890
|
+
"Accept": "application/json"
|
|
6891
|
+
}
|
|
6892
|
+
};
|
|
6893
|
+
|
|
6894
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
6895
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
6896
|
+
}).then((_response: Response) => {
|
|
6897
|
+
return this.processCreateAlwaysLine(_response);
|
|
6898
|
+
});
|
|
6899
|
+
}
|
|
6900
|
+
|
|
6901
|
+
protected processCreateAlwaysLine(response: Response): Promise<PulseJournalAlwaysLineMutationResultDto> {
|
|
6902
|
+
const status = response.status;
|
|
6903
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
6904
|
+
if (status === 200) {
|
|
6905
|
+
return response.text().then((_responseText) => {
|
|
6906
|
+
let result200: any = null;
|
|
6907
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PulseJournalAlwaysLineMutationResultDto;
|
|
6908
|
+
return result200;
|
|
6909
|
+
});
|
|
6910
|
+
} else if (status !== 200 && status !== 204) {
|
|
6911
|
+
return response.text().then((_responseText) => {
|
|
6912
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
6913
|
+
});
|
|
6914
|
+
}
|
|
6915
|
+
return Promise.resolve<PulseJournalAlwaysLineMutationResultDto>(null as any);
|
|
6916
|
+
}
|
|
6917
|
+
|
|
6918
|
+
editAlwaysLine(resourceId: string, lineId: string, request: EditPulseJournalLineRequest): Promise<PulseJournalAlwaysLineMutationResultDto> {
|
|
6919
|
+
let url_ = this.baseUrl + "/pulsejournal/{resourceId}/always/lines/{lineId}";
|
|
6920
|
+
if (resourceId === undefined || resourceId === null)
|
|
6921
|
+
throw new globalThis.Error("The parameter 'resourceId' must be defined.");
|
|
6922
|
+
url_ = url_.replace("{resourceId}", encodeURIComponent("" + resourceId));
|
|
6923
|
+
if (lineId === undefined || lineId === null)
|
|
6924
|
+
throw new globalThis.Error("The parameter 'lineId' must be defined.");
|
|
6925
|
+
url_ = url_.replace("{lineId}", encodeURIComponent("" + lineId));
|
|
6926
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
6927
|
+
|
|
6928
|
+
const content_ = JSON.stringify(request);
|
|
6929
|
+
|
|
6930
|
+
let options_: RequestInit = {
|
|
6931
|
+
body: content_,
|
|
6932
|
+
method: "PUT",
|
|
6933
|
+
headers: {
|
|
6934
|
+
"Content-Type": "application/json",
|
|
6935
|
+
"Accept": "application/json"
|
|
6936
|
+
}
|
|
6937
|
+
};
|
|
6938
|
+
|
|
6939
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
6940
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
6941
|
+
}).then((_response: Response) => {
|
|
6942
|
+
return this.processEditAlwaysLine(_response);
|
|
6943
|
+
});
|
|
6944
|
+
}
|
|
6945
|
+
|
|
6946
|
+
protected processEditAlwaysLine(response: Response): Promise<PulseJournalAlwaysLineMutationResultDto> {
|
|
6947
|
+
const status = response.status;
|
|
6948
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
6949
|
+
if (status === 200) {
|
|
6950
|
+
return response.text().then((_responseText) => {
|
|
6951
|
+
let result200: any = null;
|
|
6952
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PulseJournalAlwaysLineMutationResultDto;
|
|
6953
|
+
return result200;
|
|
6954
|
+
});
|
|
6955
|
+
} else if (status !== 200 && status !== 204) {
|
|
6956
|
+
return response.text().then((_responseText) => {
|
|
6957
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
6958
|
+
});
|
|
6959
|
+
}
|
|
6960
|
+
return Promise.resolve<PulseJournalAlwaysLineMutationResultDto>(null as any);
|
|
6961
|
+
}
|
|
6962
|
+
|
|
6963
|
+
deleteAlwaysLine(resourceId: string, lineId: string, eTag: string | null | undefined): Promise<PulseJournalAlwaysLineMutationResultDto> {
|
|
6964
|
+
let url_ = this.baseUrl + "/pulsejournal/{resourceId}/always/lines/{lineId}?";
|
|
6965
|
+
if (resourceId === undefined || resourceId === null)
|
|
6966
|
+
throw new globalThis.Error("The parameter 'resourceId' must be defined.");
|
|
6967
|
+
url_ = url_.replace("{resourceId}", encodeURIComponent("" + resourceId));
|
|
6968
|
+
if (lineId === undefined || lineId === null)
|
|
6969
|
+
throw new globalThis.Error("The parameter 'lineId' must be defined.");
|
|
6970
|
+
url_ = url_.replace("{lineId}", encodeURIComponent("" + lineId));
|
|
6971
|
+
if (eTag !== undefined && eTag !== null)
|
|
6972
|
+
url_ += "eTag=" + encodeURIComponent("" + eTag) + "&";
|
|
6973
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
6974
|
+
|
|
6975
|
+
let options_: RequestInit = {
|
|
6976
|
+
method: "DELETE",
|
|
6977
|
+
headers: {
|
|
6978
|
+
"Accept": "application/json"
|
|
6979
|
+
}
|
|
6980
|
+
};
|
|
6981
|
+
|
|
6982
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
6983
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
6984
|
+
}).then((_response: Response) => {
|
|
6985
|
+
return this.processDeleteAlwaysLine(_response);
|
|
6986
|
+
});
|
|
6987
|
+
}
|
|
6988
|
+
|
|
6989
|
+
protected processDeleteAlwaysLine(response: Response): Promise<PulseJournalAlwaysLineMutationResultDto> {
|
|
6990
|
+
const status = response.status;
|
|
6991
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
6992
|
+
if (status === 200) {
|
|
6993
|
+
return response.text().then((_responseText) => {
|
|
6994
|
+
let result200: any = null;
|
|
6995
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PulseJournalAlwaysLineMutationResultDto;
|
|
6996
|
+
return result200;
|
|
6997
|
+
});
|
|
6998
|
+
} else if (status !== 200 && status !== 204) {
|
|
6999
|
+
return response.text().then((_responseText) => {
|
|
7000
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
7001
|
+
});
|
|
7002
|
+
}
|
|
7003
|
+
return Promise.resolve<PulseJournalAlwaysLineMutationResultDto>(null as any);
|
|
7004
|
+
}
|
|
7005
|
+
|
|
7006
|
+
reorderAlwaysLine(resourceId: string, lineId: string, request: ReorderPulseJournalLineRequest): Promise<PulseJournalAlwaysLineMutationResultDto> {
|
|
7007
|
+
let url_ = this.baseUrl + "/pulsejournal/{resourceId}/always/lines/{lineId}/reorder";
|
|
7008
|
+
if (resourceId === undefined || resourceId === null)
|
|
7009
|
+
throw new globalThis.Error("The parameter 'resourceId' must be defined.");
|
|
7010
|
+
url_ = url_.replace("{resourceId}", encodeURIComponent("" + resourceId));
|
|
7011
|
+
if (lineId === undefined || lineId === null)
|
|
7012
|
+
throw new globalThis.Error("The parameter 'lineId' must be defined.");
|
|
7013
|
+
url_ = url_.replace("{lineId}", encodeURIComponent("" + lineId));
|
|
7014
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
7015
|
+
|
|
7016
|
+
const content_ = JSON.stringify(request);
|
|
7017
|
+
|
|
7018
|
+
let options_: RequestInit = {
|
|
7019
|
+
body: content_,
|
|
7020
|
+
method: "POST",
|
|
7021
|
+
headers: {
|
|
7022
|
+
"Content-Type": "application/json",
|
|
7023
|
+
"Accept": "application/json"
|
|
7024
|
+
}
|
|
7025
|
+
};
|
|
7026
|
+
|
|
7027
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
7028
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
7029
|
+
}).then((_response: Response) => {
|
|
7030
|
+
return this.processReorderAlwaysLine(_response);
|
|
7031
|
+
});
|
|
7032
|
+
}
|
|
7033
|
+
|
|
7034
|
+
protected processReorderAlwaysLine(response: Response): Promise<PulseJournalAlwaysLineMutationResultDto> {
|
|
7035
|
+
const status = response.status;
|
|
7036
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
7037
|
+
if (status === 200) {
|
|
7038
|
+
return response.text().then((_responseText) => {
|
|
7039
|
+
let result200: any = null;
|
|
7040
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PulseJournalAlwaysLineMutationResultDto;
|
|
7041
|
+
return result200;
|
|
7042
|
+
});
|
|
7043
|
+
} else if (status !== 200 && status !== 204) {
|
|
7044
|
+
return response.text().then((_responseText) => {
|
|
7045
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
7046
|
+
});
|
|
7047
|
+
}
|
|
7048
|
+
return Promise.resolve<PulseJournalAlwaysLineMutationResultDto>(null as any);
|
|
7049
|
+
}
|
|
7050
|
+
|
|
7051
|
+
addAlwaysAttachment(resourceId: string, lineId: string, request: AddPulseJournalAttachmentRequest): Promise<PulseJournalAlwaysLineMutationResultDto> {
|
|
7052
|
+
let url_ = this.baseUrl + "/pulsejournal/{resourceId}/always/lines/{lineId}/attachments";
|
|
7053
|
+
if (resourceId === undefined || resourceId === null)
|
|
7054
|
+
throw new globalThis.Error("The parameter 'resourceId' must be defined.");
|
|
7055
|
+
url_ = url_.replace("{resourceId}", encodeURIComponent("" + resourceId));
|
|
7056
|
+
if (lineId === undefined || lineId === null)
|
|
7057
|
+
throw new globalThis.Error("The parameter 'lineId' must be defined.");
|
|
7058
|
+
url_ = url_.replace("{lineId}", encodeURIComponent("" + lineId));
|
|
7059
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
7060
|
+
|
|
7061
|
+
const content_ = JSON.stringify(request);
|
|
7062
|
+
|
|
7063
|
+
let options_: RequestInit = {
|
|
7064
|
+
body: content_,
|
|
7065
|
+
method: "POST",
|
|
7066
|
+
headers: {
|
|
7067
|
+
"Content-Type": "application/json",
|
|
7068
|
+
"Accept": "application/json"
|
|
7069
|
+
}
|
|
7070
|
+
};
|
|
7071
|
+
|
|
7072
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
7073
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
7074
|
+
}).then((_response: Response) => {
|
|
7075
|
+
return this.processAddAlwaysAttachment(_response);
|
|
7076
|
+
});
|
|
7077
|
+
}
|
|
7078
|
+
|
|
7079
|
+
protected processAddAlwaysAttachment(response: Response): Promise<PulseJournalAlwaysLineMutationResultDto> {
|
|
7080
|
+
const status = response.status;
|
|
7081
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
7082
|
+
if (status === 200) {
|
|
7083
|
+
return response.text().then((_responseText) => {
|
|
7084
|
+
let result200: any = null;
|
|
7085
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PulseJournalAlwaysLineMutationResultDto;
|
|
7086
|
+
return result200;
|
|
7087
|
+
});
|
|
7088
|
+
} else if (status !== 200 && status !== 204) {
|
|
7089
|
+
return response.text().then((_responseText) => {
|
|
7090
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
7091
|
+
});
|
|
7092
|
+
}
|
|
7093
|
+
return Promise.resolve<PulseJournalAlwaysLineMutationResultDto>(null as any);
|
|
7094
|
+
}
|
|
7095
|
+
|
|
7096
|
+
removeAlwaysAttachment(resourceId: string, lineId: string, attachmentId: string, eTag: string | null | undefined): Promise<PulseJournalAlwaysLineMutationResultDto> {
|
|
7097
|
+
let url_ = this.baseUrl + "/pulsejournal/{resourceId}/always/lines/{lineId}/attachments/{attachmentId}?";
|
|
7098
|
+
if (resourceId === undefined || resourceId === null)
|
|
7099
|
+
throw new globalThis.Error("The parameter 'resourceId' must be defined.");
|
|
7100
|
+
url_ = url_.replace("{resourceId}", encodeURIComponent("" + resourceId));
|
|
7101
|
+
if (lineId === undefined || lineId === null)
|
|
7102
|
+
throw new globalThis.Error("The parameter 'lineId' must be defined.");
|
|
7103
|
+
url_ = url_.replace("{lineId}", encodeURIComponent("" + lineId));
|
|
7104
|
+
if (attachmentId === undefined || attachmentId === null)
|
|
7105
|
+
throw new globalThis.Error("The parameter 'attachmentId' must be defined.");
|
|
7106
|
+
url_ = url_.replace("{attachmentId}", encodeURIComponent("" + attachmentId));
|
|
7107
|
+
if (eTag !== undefined && eTag !== null)
|
|
7108
|
+
url_ += "eTag=" + encodeURIComponent("" + eTag) + "&";
|
|
7109
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
7110
|
+
|
|
7111
|
+
let options_: RequestInit = {
|
|
7112
|
+
method: "DELETE",
|
|
7113
|
+
headers: {
|
|
7114
|
+
"Accept": "application/json"
|
|
7115
|
+
}
|
|
7116
|
+
};
|
|
7117
|
+
|
|
7118
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
7119
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
7120
|
+
}).then((_response: Response) => {
|
|
7121
|
+
return this.processRemoveAlwaysAttachment(_response);
|
|
7122
|
+
});
|
|
7123
|
+
}
|
|
7124
|
+
|
|
7125
|
+
protected processRemoveAlwaysAttachment(response: Response): Promise<PulseJournalAlwaysLineMutationResultDto> {
|
|
7126
|
+
const status = response.status;
|
|
7127
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
7128
|
+
if (status === 200) {
|
|
7129
|
+
return response.text().then((_responseText) => {
|
|
7130
|
+
let result200: any = null;
|
|
7131
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PulseJournalAlwaysLineMutationResultDto;
|
|
7132
|
+
return result200;
|
|
7133
|
+
});
|
|
7134
|
+
} else if (status !== 200 && status !== 204) {
|
|
7135
|
+
return response.text().then((_responseText) => {
|
|
7136
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
7137
|
+
});
|
|
7138
|
+
}
|
|
7139
|
+
return Promise.resolve<PulseJournalAlwaysLineMutationResultDto>(null as any);
|
|
7140
|
+
}
|
|
7141
|
+
|
|
7142
|
+
addAlwaysLink(resourceId: string, lineId: string, request: AddPulseJournalLinkRequest): Promise<PulseJournalAlwaysLineMutationResultDto> {
|
|
7143
|
+
let url_ = this.baseUrl + "/pulsejournal/{resourceId}/always/lines/{lineId}/links";
|
|
7144
|
+
if (resourceId === undefined || resourceId === null)
|
|
7145
|
+
throw new globalThis.Error("The parameter 'resourceId' must be defined.");
|
|
7146
|
+
url_ = url_.replace("{resourceId}", encodeURIComponent("" + resourceId));
|
|
7147
|
+
if (lineId === undefined || lineId === null)
|
|
7148
|
+
throw new globalThis.Error("The parameter 'lineId' must be defined.");
|
|
7149
|
+
url_ = url_.replace("{lineId}", encodeURIComponent("" + lineId));
|
|
7150
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
7151
|
+
|
|
7152
|
+
const content_ = JSON.stringify(request);
|
|
7153
|
+
|
|
7154
|
+
let options_: RequestInit = {
|
|
7155
|
+
body: content_,
|
|
7156
|
+
method: "POST",
|
|
7157
|
+
headers: {
|
|
7158
|
+
"Content-Type": "application/json",
|
|
7159
|
+
"Accept": "application/json"
|
|
7160
|
+
}
|
|
7161
|
+
};
|
|
7162
|
+
|
|
7163
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
7164
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
7165
|
+
}).then((_response: Response) => {
|
|
7166
|
+
return this.processAddAlwaysLink(_response);
|
|
7167
|
+
});
|
|
7168
|
+
}
|
|
7169
|
+
|
|
7170
|
+
protected processAddAlwaysLink(response: Response): Promise<PulseJournalAlwaysLineMutationResultDto> {
|
|
7171
|
+
const status = response.status;
|
|
7172
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
7173
|
+
if (status === 200) {
|
|
7174
|
+
return response.text().then((_responseText) => {
|
|
7175
|
+
let result200: any = null;
|
|
7176
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PulseJournalAlwaysLineMutationResultDto;
|
|
7177
|
+
return result200;
|
|
7178
|
+
});
|
|
7179
|
+
} else if (status !== 200 && status !== 204) {
|
|
7180
|
+
return response.text().then((_responseText) => {
|
|
7181
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
7182
|
+
});
|
|
7183
|
+
}
|
|
7184
|
+
return Promise.resolve<PulseJournalAlwaysLineMutationResultDto>(null as any);
|
|
7185
|
+
}
|
|
7186
|
+
|
|
7187
|
+
removeAlwaysLink(resourceId: string, lineId: string, linkId: string, eTag: string | null | undefined): Promise<PulseJournalAlwaysLineMutationResultDto> {
|
|
7188
|
+
let url_ = this.baseUrl + "/pulsejournal/{resourceId}/always/lines/{lineId}/links/{linkId}?";
|
|
7189
|
+
if (resourceId === undefined || resourceId === null)
|
|
7190
|
+
throw new globalThis.Error("The parameter 'resourceId' must be defined.");
|
|
7191
|
+
url_ = url_.replace("{resourceId}", encodeURIComponent("" + resourceId));
|
|
7192
|
+
if (lineId === undefined || lineId === null)
|
|
7193
|
+
throw new globalThis.Error("The parameter 'lineId' must be defined.");
|
|
7194
|
+
url_ = url_.replace("{lineId}", encodeURIComponent("" + lineId));
|
|
7195
|
+
if (linkId === undefined || linkId === null)
|
|
7196
|
+
throw new globalThis.Error("The parameter 'linkId' must be defined.");
|
|
7197
|
+
url_ = url_.replace("{linkId}", encodeURIComponent("" + linkId));
|
|
7198
|
+
if (eTag !== undefined && eTag !== null)
|
|
7199
|
+
url_ += "eTag=" + encodeURIComponent("" + eTag) + "&";
|
|
7200
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
7201
|
+
|
|
7202
|
+
let options_: RequestInit = {
|
|
7203
|
+
method: "DELETE",
|
|
7204
|
+
headers: {
|
|
7205
|
+
"Accept": "application/json"
|
|
7206
|
+
}
|
|
7207
|
+
};
|
|
7208
|
+
|
|
7209
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
7210
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
7211
|
+
}).then((_response: Response) => {
|
|
7212
|
+
return this.processRemoveAlwaysLink(_response);
|
|
7213
|
+
});
|
|
7214
|
+
}
|
|
7215
|
+
|
|
7216
|
+
protected processRemoveAlwaysLink(response: Response): Promise<PulseJournalAlwaysLineMutationResultDto> {
|
|
7217
|
+
const status = response.status;
|
|
7218
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
7219
|
+
if (status === 200) {
|
|
7220
|
+
return response.text().then((_responseText) => {
|
|
7221
|
+
let result200: any = null;
|
|
7222
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PulseJournalAlwaysLineMutationResultDto;
|
|
7223
|
+
return result200;
|
|
7224
|
+
});
|
|
7225
|
+
} else if (status !== 200 && status !== 204) {
|
|
7226
|
+
return response.text().then((_responseText) => {
|
|
7227
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
7228
|
+
});
|
|
7229
|
+
}
|
|
7230
|
+
return Promise.resolve<PulseJournalAlwaysLineMutationResultDto>(null as any);
|
|
7231
|
+
}
|
|
7232
|
+
}
|
|
7233
|
+
|
|
6536
7234
|
export interface IUtilizationClient {
|
|
6537
7235
|
|
|
6538
7236
|
getCompanyUtilization(request: UtilizationInputRequest): Promise<CompanyResourceUtilizationDto>;
|
|
@@ -32732,6 +33430,114 @@ export interface UpdatePulseSettingsResource {
|
|
|
32732
33430
|
factoryCalendarEnabled: boolean;
|
|
32733
33431
|
}
|
|
32734
33432
|
|
|
33433
|
+
export interface PulseJournalBoardsDto {
|
|
33434
|
+
now: PulseJournalNowBoardDto;
|
|
33435
|
+
always: PulseJournalAlwaysBoardDto;
|
|
33436
|
+
}
|
|
33437
|
+
|
|
33438
|
+
export interface PulseJournalNowBoardDto {
|
|
33439
|
+
lines: PulseJournalLineDto[];
|
|
33440
|
+
eTag?: string | null;
|
|
33441
|
+
}
|
|
33442
|
+
|
|
33443
|
+
export interface PulseJournalLineDto {
|
|
33444
|
+
id: string;
|
|
33445
|
+
text: string;
|
|
33446
|
+
displayOrder: number;
|
|
33447
|
+
created: Date;
|
|
33448
|
+
createdBy?: string | null;
|
|
33449
|
+
updated?: Date | null;
|
|
33450
|
+
updatedBy?: string | null;
|
|
33451
|
+
}
|
|
33452
|
+
|
|
33453
|
+
export interface PulseJournalAlwaysBoardDto {
|
|
33454
|
+
lines: PulseJournalAlwaysLineDto[];
|
|
33455
|
+
eTag?: string | null;
|
|
33456
|
+
}
|
|
33457
|
+
|
|
33458
|
+
export interface PulseJournalAlwaysLineDto extends PulseJournalLineDto {
|
|
33459
|
+
attachments: PulseJournalAttachmentDto[];
|
|
33460
|
+
links: PulseJournalLinkDto[];
|
|
33461
|
+
}
|
|
33462
|
+
|
|
33463
|
+
export interface PulseJournalAttachmentDto {
|
|
33464
|
+
id: string;
|
|
33465
|
+
filename: string;
|
|
33466
|
+
url: string;
|
|
33467
|
+
created: Date;
|
|
33468
|
+
createdBy?: string | null;
|
|
33469
|
+
}
|
|
33470
|
+
|
|
33471
|
+
export interface PulseJournalLinkDto {
|
|
33472
|
+
id: string;
|
|
33473
|
+
url: string;
|
|
33474
|
+
created: Date;
|
|
33475
|
+
createdBy?: string | null;
|
|
33476
|
+
}
|
|
33477
|
+
|
|
33478
|
+
export interface PagedResultOfPulseJournalEventDto {
|
|
33479
|
+
results: PulseJournalEventDto[];
|
|
33480
|
+
continuationToken?: string | null;
|
|
33481
|
+
}
|
|
33482
|
+
|
|
33483
|
+
export interface PulseJournalEventDto {
|
|
33484
|
+
id: string;
|
|
33485
|
+
board: PulseJournalBoardTypeDto;
|
|
33486
|
+
lineId: string;
|
|
33487
|
+
eventType: PulseJournalEventTypeDto;
|
|
33488
|
+
oldValue?: string | null;
|
|
33489
|
+
newValue?: string | null;
|
|
33490
|
+
created: Date;
|
|
33491
|
+
createdBy?: string | null;
|
|
33492
|
+
}
|
|
33493
|
+
|
|
33494
|
+
export type PulseJournalBoardTypeDto = "Now" | "Always" | "Unknown";
|
|
33495
|
+
|
|
33496
|
+
export type PulseJournalEventTypeDto = "LineAdded" | "LineEdited" | "LineMoved" | "LineRemoved" | "FixedInfoAdded" | "FixedInfoEdited" | "FixedInfoRemoved" | "AttachmentAdded" | "AttachmentRemoved" | "LinkAdded" | "LinkRemoved" | "Unknown";
|
|
33497
|
+
|
|
33498
|
+
export interface UndoPulseJournalActionRequest {
|
|
33499
|
+
eventId: string;
|
|
33500
|
+
}
|
|
33501
|
+
|
|
33502
|
+
export interface PulseJournalNowLineMutationResultDto {
|
|
33503
|
+
line?: PulseJournalLineDto | null;
|
|
33504
|
+
boardETag: string;
|
|
33505
|
+
eventId?: string | null;
|
|
33506
|
+
}
|
|
33507
|
+
|
|
33508
|
+
export interface CreatePulseJournalLineRequest {
|
|
33509
|
+
text: string;
|
|
33510
|
+
displayBeforeId?: string | null;
|
|
33511
|
+
eTag?: string | null;
|
|
33512
|
+
}
|
|
33513
|
+
|
|
33514
|
+
export interface EditPulseJournalLineRequest {
|
|
33515
|
+
text: string;
|
|
33516
|
+
eTag?: string | null;
|
|
33517
|
+
}
|
|
33518
|
+
|
|
33519
|
+
export interface ReorderPulseJournalLineRequest {
|
|
33520
|
+
displayBeforeId?: string | null;
|
|
33521
|
+
eTag?: string | null;
|
|
33522
|
+
}
|
|
33523
|
+
|
|
33524
|
+
export interface PulseJournalAlwaysLineMutationResultDto {
|
|
33525
|
+
line?: PulseJournalAlwaysLineDto | null;
|
|
33526
|
+
boardETag: string;
|
|
33527
|
+
eventId?: string | null;
|
|
33528
|
+
}
|
|
33529
|
+
|
|
33530
|
+
export interface AddPulseJournalAttachmentRequest {
|
|
33531
|
+
uploadKey: string;
|
|
33532
|
+
filename: string;
|
|
33533
|
+
eTag?: string | null;
|
|
33534
|
+
}
|
|
33535
|
+
|
|
33536
|
+
export interface AddPulseJournalLinkRequest {
|
|
33537
|
+
url: string;
|
|
33538
|
+
eTag?: string | null;
|
|
33539
|
+
}
|
|
33540
|
+
|
|
32735
33541
|
export interface CompanyResourceUtilizationDto {
|
|
32736
33542
|
utilizationType: ResourceUtilizationTypeDto;
|
|
32737
33543
|
companyUtilization: UtilizationDetailsV2Dto;
|