@ignos/api-client 20250805.0.12279-alpha → 20250806.0.12308-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
CHANGED
|
@@ -2627,7 +2627,7 @@ export interface IWorkordersClient {
|
|
|
2627
2627
|
addDiscussionMessage(id: string, request: AddDiscussionMessageRequest): Promise<WorkorderDiscussionMessageDto>;
|
|
2628
2628
|
updateMessage(id: string, messageId: string, content: string): Promise<FileResponse>;
|
|
2629
2629
|
deleteMessage(id: string, messageId: string): Promise<FileResponse>;
|
|
2630
|
-
getLastRead(id: string, operationId: string | null | undefined, resourceId: string | null | undefined
|
|
2630
|
+
getLastRead(id: string, operationId: string | null | undefined, resourceId: string | null | undefined): Promise<WorkorderDiscussionReadStatusDto>;
|
|
2631
2631
|
setLastRead(id: string, request: SetDiscussionLastRead): Promise<void>;
|
|
2632
2632
|
}
|
|
2633
2633
|
export declare class WorkordersClient extends AuthorizedApiBase implements IWorkordersClient {
|
|
@@ -2766,7 +2766,7 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
|
|
|
2766
2766
|
protected processUpdateMessage(response: Response): Promise<FileResponse>;
|
|
2767
2767
|
deleteMessage(id: string, messageId: string): Promise<FileResponse>;
|
|
2768
2768
|
protected processDeleteMessage(response: Response): Promise<FileResponse>;
|
|
2769
|
-
getLastRead(id: string, operationId: string | null | undefined, resourceId: string | null | undefined
|
|
2769
|
+
getLastRead(id: string, operationId: string | null | undefined, resourceId: string | null | undefined): Promise<WorkorderDiscussionReadStatusDto>;
|
|
2770
2770
|
protected processGetLastRead(response: Response): Promise<WorkorderDiscussionReadStatusDto>;
|
|
2771
2771
|
setLastRead(id: string, request: SetDiscussionLastRead): Promise<void>;
|
|
2772
2772
|
protected processSetLastRead(response: Response): Promise<void>;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -22908,7 +22908,7 @@ export class WorkordersClient extends AuthorizedApiBase {
|
|
|
22908
22908
|
}
|
|
22909
22909
|
return Promise.resolve(null);
|
|
22910
22910
|
}
|
|
22911
|
-
getLastRead(id, operationId, resourceId
|
|
22911
|
+
getLastRead(id, operationId, resourceId) {
|
|
22912
22912
|
let url_ = this.baseUrl + "/erp/workorders/{id}/discussion/last-read?";
|
|
22913
22913
|
if (id === undefined || id === null)
|
|
22914
22914
|
throw new Error("The parameter 'id' must be defined.");
|
|
@@ -22917,8 +22917,6 @@ export class WorkordersClient extends AuthorizedApiBase {
|
|
|
22917
22917
|
url_ += "operationId=" + encodeURIComponent("" + operationId) + "&";
|
|
22918
22918
|
if (resourceId !== undefined && resourceId !== null)
|
|
22919
22919
|
url_ += "resourceId=" + encodeURIComponent("" + resourceId) + "&";
|
|
22920
|
-
if (userUpn !== undefined && userUpn !== null)
|
|
22921
|
-
url_ += "userUpn=" + encodeURIComponent("" + userUpn) + "&";
|
|
22922
22920
|
url_ = url_.replace(/[?&]$/, "");
|
|
22923
22921
|
let options_ = {
|
|
22924
22922
|
method: "GET",
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -23192,7 +23192,7 @@ export interface IWorkordersClient {
|
|
|
23192
23192
|
|
|
23193
23193
|
deleteMessage(id: string, messageId: string): Promise<FileResponse>;
|
|
23194
23194
|
|
|
23195
|
-
getLastRead(id: string, operationId: string | null | undefined, resourceId: string | null | undefined
|
|
23195
|
+
getLastRead(id: string, operationId: string | null | undefined, resourceId: string | null | undefined): Promise<WorkorderDiscussionReadStatusDto>;
|
|
23196
23196
|
|
|
23197
23197
|
setLastRead(id: string, request: SetDiscussionLastRead): Promise<void>;
|
|
23198
23198
|
}
|
|
@@ -24457,7 +24457,7 @@ export class WorkordersClient extends AuthorizedApiBase implements IWorkordersCl
|
|
|
24457
24457
|
return Promise.resolve<FileResponse>(null as any);
|
|
24458
24458
|
}
|
|
24459
24459
|
|
|
24460
|
-
getLastRead(id: string, operationId: string | null | undefined, resourceId: string | null | undefined
|
|
24460
|
+
getLastRead(id: string, operationId: string | null | undefined, resourceId: string | null | undefined): Promise<WorkorderDiscussionReadStatusDto> {
|
|
24461
24461
|
let url_ = this.baseUrl + "/erp/workorders/{id}/discussion/last-read?";
|
|
24462
24462
|
if (id === undefined || id === null)
|
|
24463
24463
|
throw new Error("The parameter 'id' must be defined.");
|
|
@@ -24466,8 +24466,6 @@ export class WorkordersClient extends AuthorizedApiBase implements IWorkordersCl
|
|
|
24466
24466
|
url_ += "operationId=" + encodeURIComponent("" + operationId) + "&";
|
|
24467
24467
|
if (resourceId !== undefined && resourceId !== null)
|
|
24468
24468
|
url_ += "resourceId=" + encodeURIComponent("" + resourceId) + "&";
|
|
24469
|
-
if (userUpn !== undefined && userUpn !== null)
|
|
24470
|
-
url_ += "userUpn=" + encodeURIComponent("" + userUpn) + "&";
|
|
24471
24469
|
url_ = url_.replace(/[?&]$/, "");
|
|
24472
24470
|
|
|
24473
24471
|
let options_: RequestInit = {
|