@ignos/api-client 20260715.190.1-alpha → 20260721.191.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 +14 -8
- package/lib/ignosportal-api.js +5 -1
- package/package.json +1 -1
- package/src/ignosportal-api.ts +19 -9
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -2583,7 +2583,7 @@ export declare class MesProductionOrderClient extends AuthorizedApiBase implemen
|
|
|
2583
2583
|
protected processListProductionOrderActivities(response: Response): Promise<ProductionOrderOperationActivityDto[]>;
|
|
2584
2584
|
}
|
|
2585
2585
|
export interface IMesProductionScheduleClient {
|
|
2586
|
-
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>;
|
|
2586
|
+
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, includeDiscussionSummary: boolean | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2587
2587
|
postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2588
2588
|
getAvailableProductionScheduleFilters(request: GetAvailableProductionScheduleFiltersRequest | undefined): Promise<ProductionScheduleFiltersDto>;
|
|
2589
2589
|
listMyCurrentWorkActivities(): Promise<CurrentWorkActivityDto>;
|
|
@@ -2597,7 +2597,7 @@ export declare class MesProductionScheduleClient extends AuthorizedApiBase imple
|
|
|
2597
2597
|
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
2598
2598
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
2599
2599
|
});
|
|
2600
|
-
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>;
|
|
2600
|
+
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, includeDiscussionSummary: boolean | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2601
2601
|
protected processListProductionScheduleOperations(response: Response): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2602
2602
|
postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2603
2603
|
protected processPostListProductionScheduleOperations(response: Response): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
@@ -7393,6 +7393,7 @@ export interface PlannerPlanDto {
|
|
|
7393
7393
|
planSavedAt?: Date | null;
|
|
7394
7394
|
isDraft: boolean;
|
|
7395
7395
|
publishedETag?: string | null;
|
|
7396
|
+
weeklyCapacities: WeekCapacityDto[];
|
|
7396
7397
|
}
|
|
7397
7398
|
export interface PlannerOperationDto {
|
|
7398
7399
|
id: string;
|
|
@@ -7419,8 +7420,15 @@ export interface PlannerOperationDto {
|
|
|
7419
7420
|
isManuallyLocked: boolean;
|
|
7420
7421
|
weekGroup: string;
|
|
7421
7422
|
programStatus?: ProgramStatus | null;
|
|
7423
|
+
hasNotes?: boolean;
|
|
7424
|
+
notesUnread?: boolean;
|
|
7422
7425
|
}
|
|
7423
7426
|
export type ProgramStatus = "Blank" | "NotOk" | "Ok";
|
|
7427
|
+
export interface WeekCapacityDto {
|
|
7428
|
+
weekGroup: string;
|
|
7429
|
+
weekStart: Date;
|
|
7430
|
+
capacityHours: number;
|
|
7431
|
+
}
|
|
7424
7432
|
export interface PublishPlanRequest {
|
|
7425
7433
|
/** ETag of the published plan the caller last read, used for optimistic
|
|
7426
7434
|
concurrency. Null if the caller never observed a published plan. */
|
|
@@ -7437,11 +7445,6 @@ export interface PlannerSequenceInput {
|
|
|
7437
7445
|
[key: string]: string;
|
|
7438
7446
|
} | null;
|
|
7439
7447
|
}
|
|
7440
|
-
export interface WeekCapacityDto {
|
|
7441
|
-
weekGroup: string;
|
|
7442
|
-
weekStart: Date;
|
|
7443
|
-
capacityHours: number;
|
|
7444
|
-
}
|
|
7445
7448
|
export interface PlannerPlanEventDto {
|
|
7446
7449
|
id: string;
|
|
7447
7450
|
eventType: PlannerEventType;
|
|
@@ -7451,7 +7454,7 @@ export interface PlannerPlanEventDto {
|
|
|
7451
7454
|
operationCount: number;
|
|
7452
7455
|
lockedCount: number;
|
|
7453
7456
|
}
|
|
7454
|
-
export type PlannerEventType = "Published" | "DraftSaved" | "ResetToErp"
|
|
7457
|
+
export type PlannerEventType = "Published" | "DraftSaved" | "ResetToErp";
|
|
7455
7458
|
export interface SetProgramStatus {
|
|
7456
7459
|
workOrderId?: string;
|
|
7457
7460
|
operationNumber?: number;
|
|
@@ -7734,6 +7737,8 @@ export interface ProductionScheduleOperationDto {
|
|
|
7734
7737
|
productionStatus: OperationStatusDto;
|
|
7735
7738
|
setupStatus?: OperationStatusDto | null;
|
|
7736
7739
|
programStatus?: ProgramStatus | null;
|
|
7740
|
+
hasNotes: boolean;
|
|
7741
|
+
notesUnread: boolean;
|
|
7737
7742
|
}
|
|
7738
7743
|
export interface SurroundingOperationDto {
|
|
7739
7744
|
id: string;
|
|
@@ -7795,6 +7800,7 @@ export interface ListProductionScheduleOperationsRequest {
|
|
|
7795
7800
|
operationStatuses?: OperationStatusDto[] | null;
|
|
7796
7801
|
after?: Date | null;
|
|
7797
7802
|
before?: Date | null;
|
|
7803
|
+
includeDiscussionSummary?: boolean;
|
|
7798
7804
|
}
|
|
7799
7805
|
export interface ProductionScheduleFiltersDto {
|
|
7800
7806
|
partNumbers?: FilterValueWithQuantity[];
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -21562,7 +21562,7 @@ export class MesProductionScheduleClient extends AuthorizedApiBase {
|
|
|
21562
21562
|
this.http = http ? http : window;
|
|
21563
21563
|
this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
|
|
21564
21564
|
}
|
|
21565
|
-
listProductionScheduleOperations(resourceGroup, resourceId, departmentNumber, pageSize, continuationToken, workOrderId, projectId, partNumber, partName, material) {
|
|
21565
|
+
listProductionScheduleOperations(resourceGroup, resourceId, departmentNumber, pageSize, continuationToken, workOrderId, projectId, partNumber, partName, material, includeDiscussionSummary) {
|
|
21566
21566
|
let url_ = this.baseUrl + "/mes/productionschedule?";
|
|
21567
21567
|
if (resourceGroup !== undefined && resourceGroup !== null)
|
|
21568
21568
|
url_ += "resourceGroup=" + encodeURIComponent("" + resourceGroup) + "&";
|
|
@@ -21586,6 +21586,10 @@ export class MesProductionScheduleClient extends AuthorizedApiBase {
|
|
|
21586
21586
|
url_ += "partName=" + encodeURIComponent("" + partName) + "&";
|
|
21587
21587
|
if (material !== undefined && material !== null)
|
|
21588
21588
|
url_ += "material=" + encodeURIComponent("" + material) + "&";
|
|
21589
|
+
if (includeDiscussionSummary === null)
|
|
21590
|
+
throw new globalThis.Error("The parameter 'includeDiscussionSummary' cannot be null.");
|
|
21591
|
+
else if (includeDiscussionSummary !== undefined)
|
|
21592
|
+
url_ += "includeDiscussionSummary=" + encodeURIComponent("" + includeDiscussionSummary) + "&";
|
|
21589
21593
|
url_ = url_.replace(/[?&]$/, "");
|
|
21590
21594
|
let options_ = {
|
|
21591
21595
|
method: "GET",
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -23030,7 +23030,7 @@ export class MesProductionOrderClient extends AuthorizedApiBase implements IMesP
|
|
|
23030
23030
|
|
|
23031
23031
|
export interface IMesProductionScheduleClient {
|
|
23032
23032
|
|
|
23033
|
-
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>;
|
|
23033
|
+
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, includeDiscussionSummary: boolean | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
23034
23034
|
|
|
23035
23035
|
postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
23036
23036
|
|
|
@@ -23055,7 +23055,7 @@ export class MesProductionScheduleClient extends AuthorizedApiBase implements IM
|
|
|
23055
23055
|
this.baseUrl = baseUrl ?? "";
|
|
23056
23056
|
}
|
|
23057
23057
|
|
|
23058
|
-
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> {
|
|
23058
|
+
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, includeDiscussionSummary: boolean | undefined): Promise<PagedResultOfProductionScheduleOperationDto> {
|
|
23059
23059
|
let url_ = this.baseUrl + "/mes/productionschedule?";
|
|
23060
23060
|
if (resourceGroup !== undefined && resourceGroup !== null)
|
|
23061
23061
|
url_ += "resourceGroup=" + encodeURIComponent("" + resourceGroup) + "&";
|
|
@@ -23079,6 +23079,10 @@ export class MesProductionScheduleClient extends AuthorizedApiBase implements IM
|
|
|
23079
23079
|
url_ += "partName=" + encodeURIComponent("" + partName) + "&";
|
|
23080
23080
|
if (material !== undefined && material !== null)
|
|
23081
23081
|
url_ += "material=" + encodeURIComponent("" + material) + "&";
|
|
23082
|
+
if (includeDiscussionSummary === null)
|
|
23083
|
+
throw new globalThis.Error("The parameter 'includeDiscussionSummary' cannot be null.");
|
|
23084
|
+
else if (includeDiscussionSummary !== undefined)
|
|
23085
|
+
url_ += "includeDiscussionSummary=" + encodeURIComponent("" + includeDiscussionSummary) + "&";
|
|
23082
23086
|
url_ = url_.replace(/[?&]$/, "");
|
|
23083
23087
|
|
|
23084
23088
|
let options_: RequestInit = {
|
|
@@ -35644,6 +35648,7 @@ export interface PlannerPlanDto {
|
|
|
35644
35648
|
planSavedAt?: Date | null;
|
|
35645
35649
|
isDraft: boolean;
|
|
35646
35650
|
publishedETag?: string | null;
|
|
35651
|
+
weeklyCapacities: WeekCapacityDto[];
|
|
35647
35652
|
}
|
|
35648
35653
|
|
|
35649
35654
|
export interface PlannerOperationDto {
|
|
@@ -35671,10 +35676,18 @@ export interface PlannerOperationDto {
|
|
|
35671
35676
|
isManuallyLocked: boolean;
|
|
35672
35677
|
weekGroup: string;
|
|
35673
35678
|
programStatus?: ProgramStatus | null;
|
|
35679
|
+
hasNotes?: boolean;
|
|
35680
|
+
notesUnread?: boolean;
|
|
35674
35681
|
}
|
|
35675
35682
|
|
|
35676
35683
|
export type ProgramStatus = "Blank" | "NotOk" | "Ok";
|
|
35677
35684
|
|
|
35685
|
+
export interface WeekCapacityDto {
|
|
35686
|
+
weekGroup: string;
|
|
35687
|
+
weekStart: Date;
|
|
35688
|
+
capacityHours: number;
|
|
35689
|
+
}
|
|
35690
|
+
|
|
35678
35691
|
export interface PublishPlanRequest {
|
|
35679
35692
|
/** ETag of the published plan the caller last read, used for optimistic
|
|
35680
35693
|
concurrency. Null if the caller never observed a published plan. */
|
|
@@ -35691,12 +35704,6 @@ export interface PlannerSequenceInput {
|
|
|
35691
35704
|
weekGroups?: { [key: string]: string; } | null;
|
|
35692
35705
|
}
|
|
35693
35706
|
|
|
35694
|
-
export interface WeekCapacityDto {
|
|
35695
|
-
weekGroup: string;
|
|
35696
|
-
weekStart: Date;
|
|
35697
|
-
capacityHours: number;
|
|
35698
|
-
}
|
|
35699
|
-
|
|
35700
35707
|
export interface PlannerPlanEventDto {
|
|
35701
35708
|
id: string;
|
|
35702
35709
|
eventType: PlannerEventType;
|
|
@@ -35707,7 +35714,7 @@ export interface PlannerPlanEventDto {
|
|
|
35707
35714
|
lockedCount: number;
|
|
35708
35715
|
}
|
|
35709
35716
|
|
|
35710
|
-
export type PlannerEventType = "Published" | "DraftSaved" | "ResetToErp"
|
|
35717
|
+
export type PlannerEventType = "Published" | "DraftSaved" | "ResetToErp";
|
|
35711
35718
|
|
|
35712
35719
|
export interface SetProgramStatus {
|
|
35713
35720
|
workOrderId?: string;
|
|
@@ -36015,6 +36022,8 @@ export interface ProductionScheduleOperationDto {
|
|
|
36015
36022
|
productionStatus: OperationStatusDto;
|
|
36016
36023
|
setupStatus?: OperationStatusDto | null;
|
|
36017
36024
|
programStatus?: ProgramStatus | null;
|
|
36025
|
+
hasNotes: boolean;
|
|
36026
|
+
notesUnread: boolean;
|
|
36018
36027
|
}
|
|
36019
36028
|
|
|
36020
36029
|
export interface SurroundingOperationDto {
|
|
@@ -36082,6 +36091,7 @@ export interface ListProductionScheduleOperationsRequest {
|
|
|
36082
36091
|
operationStatuses?: OperationStatusDto[] | null;
|
|
36083
36092
|
after?: Date | null;
|
|
36084
36093
|
before?: Date | null;
|
|
36094
|
+
includeDiscussionSummary?: boolean;
|
|
36085
36095
|
}
|
|
36086
36096
|
|
|
36087
36097
|
export interface ProductionScheduleFiltersDto {
|