@ignos/api-client 20261015.307.1-alpha → 20261016.309.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.
@@ -2535,7 +2535,7 @@ export interface IMesPlannerClient {
2535
2535
  publish(resourceGroupId: string, request: PublishPlanRequest): Promise<PlannerPlanDto>;
2536
2536
  updateSequence(resourceGroupId: string, sequence: PlannerSequenceInput): Promise<PlannerPlanDto>;
2537
2537
  reset(resourceGroupId: string): Promise<PlannerPlanDto>;
2538
- saveDraft(resourceGroupId: string, sequence: PlannerSequenceInput): Promise<PlannerPlanDto>;
2538
+ saveDraft(resourceGroupId: string, request: SaveDraftRequest): Promise<PlannerPlanDto>;
2539
2539
  discardDraft(resourceGroupId: string): Promise<PlannerPlanDto>;
2540
2540
  getCapacity(resourceGroupId: string, from: Date | undefined, to: Date | undefined): Promise<WeekCapacityDto[]>;
2541
2541
  getVersions(resourceGroupId: string): Promise<PlannerPlanEventDto[]>;
@@ -2556,7 +2556,7 @@ export declare class MesPlannerClient extends AuthorizedApiBase implements IMesP
2556
2556
  protected processUpdateSequence(response: Response): Promise<PlannerPlanDto>;
2557
2557
  reset(resourceGroupId: string): Promise<PlannerPlanDto>;
2558
2558
  protected processReset(response: Response): Promise<PlannerPlanDto>;
2559
- saveDraft(resourceGroupId: string, sequence: PlannerSequenceInput): Promise<PlannerPlanDto>;
2559
+ saveDraft(resourceGroupId: string, request: SaveDraftRequest): Promise<PlannerPlanDto>;
2560
2560
  protected processSaveDraft(response: Response): Promise<PlannerPlanDto>;
2561
2561
  discardDraft(resourceGroupId: string): Promise<PlannerPlanDto>;
2562
2562
  protected processDiscardDraft(response: Response): Promise<PlannerPlanDto>;
@@ -4104,7 +4104,9 @@ export interface MoveAppSettings {
4104
4104
  export interface EngageAppSettings {
4105
4105
  myResourceGroup?: string;
4106
4106
  favoriteResourceGroups?: string[] | null;
4107
+ scheduleViewMode?: ScheduleViewMode | null;
4107
4108
  }
4109
+ export type ScheduleViewMode = "Flat" | "Grouped";
4108
4110
  export interface UploadInfoDto {
4109
4111
  baseUrl?: string | null;
4110
4112
  key?: string | null;
@@ -7816,6 +7818,10 @@ export interface PlannerSequenceInput {
7816
7818
  [key: string]: string;
7817
7819
  } | null;
7818
7820
  }
7821
+ /** A superset of PlannerSequenceInput, so a bare sequence body still binds. */
7822
+ export interface SaveDraftRequest extends PlannerSequenceInput {
7823
+ comment?: string | null;
7824
+ }
7819
7825
  export interface PlannerPlanEventDto {
7820
7826
  id: string;
7821
7827
  eventType: PlannerEventType;
@@ -8141,6 +8147,7 @@ export interface ProductionScheduleOperationDto {
8141
8147
  sequenceNumber?: number | null;
8142
8148
  weekGroup?: string | null;
8143
8149
  isNewOperation?: boolean | null;
8150
+ lockType?: PlannerLockType | null;
8144
8151
  }
8145
8152
  export type MaterialPickStatus = "NotRequired" | "NotStarted" | "Started" | "Completed" | "Unknown";
8146
8153
  export interface ListProductionScheduleOperationsRequest {
@@ -21607,13 +21607,13 @@ export class MesPlannerClient extends AuthorizedApiBase {
21607
21607
  }
21608
21608
  return Promise.resolve(null);
21609
21609
  }
21610
- saveDraft(resourceGroupId, sequence) {
21610
+ saveDraft(resourceGroupId, request) {
21611
21611
  let url_ = this.baseUrl + "/mes/planner/plan/{resourceGroupId}/draft";
21612
21612
  if (resourceGroupId === undefined || resourceGroupId === null)
21613
21613
  throw new globalThis.Error("The parameter 'resourceGroupId' must be defined.");
21614
21614
  url_ = url_.replace("{resourceGroupId}", encodeURIComponent("" + resourceGroupId));
21615
21615
  url_ = url_.replace(/[?&]$/, "");
21616
- const content_ = JSON.stringify(sequence);
21616
+ const content_ = JSON.stringify(request);
21617
21617
  let options_ = {
21618
21618
  body: content_,
21619
21619
  method: "POST",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20261015.307.1-alpha",
3
+ "version": "20261016.309.1",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -22760,7 +22760,7 @@ export interface IMesPlannerClient {
22760
22760
 
22761
22761
  reset(resourceGroupId: string): Promise<PlannerPlanDto>;
22762
22762
 
22763
- saveDraft(resourceGroupId: string, sequence: PlannerSequenceInput): Promise<PlannerPlanDto>;
22763
+ saveDraft(resourceGroupId: string, request: SaveDraftRequest): Promise<PlannerPlanDto>;
22764
22764
 
22765
22765
  discardDraft(resourceGroupId: string): Promise<PlannerPlanDto>;
22766
22766
 
@@ -22944,14 +22944,14 @@ export class MesPlannerClient extends AuthorizedApiBase implements IMesPlannerCl
22944
22944
  return Promise.resolve<PlannerPlanDto>(null as any);
22945
22945
  }
22946
22946
 
22947
- saveDraft(resourceGroupId: string, sequence: PlannerSequenceInput): Promise<PlannerPlanDto> {
22947
+ saveDraft(resourceGroupId: string, request: SaveDraftRequest): Promise<PlannerPlanDto> {
22948
22948
  let url_ = this.baseUrl + "/mes/planner/plan/{resourceGroupId}/draft";
22949
22949
  if (resourceGroupId === undefined || resourceGroupId === null)
22950
22950
  throw new globalThis.Error("The parameter 'resourceGroupId' must be defined.");
22951
22951
  url_ = url_.replace("{resourceGroupId}", encodeURIComponent("" + resourceGroupId));
22952
22952
  url_ = url_.replace(/[?&]$/, "");
22953
22953
 
22954
- const content_ = JSON.stringify(sequence);
22954
+ const content_ = JSON.stringify(request);
22955
22955
 
22956
22956
  let options_: RequestInit = {
22957
22957
  body: content_,
@@ -33250,8 +33250,11 @@ export interface MoveAppSettings {
33250
33250
  export interface EngageAppSettings {
33251
33251
  myResourceGroup?: string;
33252
33252
  favoriteResourceGroups?: string[] | null;
33253
+ scheduleViewMode?: ScheduleViewMode | null;
33253
33254
  }
33254
33255
 
33256
+ export type ScheduleViewMode = "Flat" | "Grouped";
33257
+
33255
33258
  export interface UploadInfoDto {
33256
33259
  baseUrl?: string | null;
33257
33260
  key?: string | null;
@@ -37498,6 +37501,11 @@ export interface PlannerSequenceInput {
37498
37501
  weekGroups?: { [key: string]: string; } | null;
37499
37502
  }
37500
37503
 
37504
+ /** A superset of PlannerSequenceInput, so a bare sequence body still binds. */
37505
+ export interface SaveDraftRequest extends PlannerSequenceInput {
37506
+ comment?: string | null;
37507
+ }
37508
+
37501
37509
  export interface PlannerPlanEventDto {
37502
37510
  id: string;
37503
37511
  eventType: PlannerEventType;
@@ -37851,6 +37859,7 @@ export interface ProductionScheduleOperationDto {
37851
37859
  sequenceNumber?: number | null;
37852
37860
  weekGroup?: string | null;
37853
37861
  isNewOperation?: boolean | null;
37862
+ lockType?: PlannerLockType | null;
37854
37863
  }
37855
37864
 
37856
37865
  export type MaterialPickStatus = "NotRequired" | "NotStarted" | "Started" | "Completed" | "Unknown";