@ignos/api-client 20260918.280.1 → 20260921.283.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.
@@ -2657,6 +2657,7 @@ export declare class MesProductionOrderClient extends AuthorizedApiBase implemen
2657
2657
  export interface IMesProductionScheduleClient {
2658
2658
  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>;
2659
2659
  postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
2660
+ postListProductionScheduleOperationsFromPlanner(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedProductionScheduleDto>;
2660
2661
  getAvailableProductionScheduleFilters(request: GetAvailableProductionScheduleFiltersRequest | undefined): Promise<ProductionScheduleFiltersDto>;
2661
2662
  listMyCurrentWorkActivities(): Promise<CurrentWorkActivityDto>;
2662
2663
  startOperations(request: StartOperations): Promise<void>;
@@ -2673,6 +2674,8 @@ export declare class MesProductionScheduleClient extends AuthorizedApiBase imple
2673
2674
  protected processListProductionScheduleOperations(response: Response): Promise<PagedResultOfProductionScheduleOperationDto>;
2674
2675
  postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
2675
2676
  protected processPostListProductionScheduleOperations(response: Response): Promise<PagedResultOfProductionScheduleOperationDto>;
2677
+ postListProductionScheduleOperationsFromPlanner(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedProductionScheduleDto>;
2678
+ protected processPostListProductionScheduleOperationsFromPlanner(response: Response): Promise<PagedProductionScheduleDto>;
2676
2679
  getAvailableProductionScheduleFilters(request: GetAvailableProductionScheduleFiltersRequest | undefined): Promise<ProductionScheduleFiltersDto>;
2677
2680
  protected processGetAvailableProductionScheduleFilters(response: Response): Promise<ProductionScheduleFiltersDto>;
2678
2681
  listMyCurrentWorkActivities(): Promise<CurrentWorkActivityDto>;
@@ -7665,6 +7668,7 @@ export interface PlannerPlanDto {
7665
7668
  isDraft: boolean;
7666
7669
  publishedETag?: string | null;
7667
7670
  weeklyCapacities: WeekCapacityDto[];
7671
+ continuationToken?: string | null;
7668
7672
  }
7669
7673
  export interface PlannerOperationDto {
7670
7674
  id: string;
@@ -7737,6 +7741,7 @@ export interface WeekCapacityDto {
7737
7741
  weekGroup: string;
7738
7742
  weekStart: Date;
7739
7743
  capacityHours: number;
7744
+ loadHours: number;
7740
7745
  }
7741
7746
  export interface PublishPlanRequest {
7742
7747
  /** ETag of the published plan the caller last read, used for optimistic
@@ -8074,6 +8079,9 @@ export interface ProductionScheduleOperationDto {
8074
8079
  programStatus?: ProgramStatus | null;
8075
8080
  hasNotes: boolean;
8076
8081
  notesUnread: boolean;
8082
+ sequenceNumber?: number | null;
8083
+ weekGroup?: string | null;
8084
+ isNewOperation?: boolean | null;
8077
8085
  }
8078
8086
  export interface SurroundingOperationDto {
8079
8087
  id: string;
@@ -8127,6 +8135,11 @@ export interface ListProductionScheduleOperationsRequest {
8127
8135
  before?: Date | null;
8128
8136
  includeDiscussionSummary?: boolean;
8129
8137
  }
8138
+ export interface PagedProductionScheduleDto {
8139
+ results: ProductionScheduleOperationDto[];
8140
+ weeklyCapacities: WeekCapacityDto[];
8141
+ continuationToken?: string | null;
8142
+ }
8130
8143
  export interface ProductionScheduleFiltersDto {
8131
8144
  partNumbers?: FilterValueWithQuantity[];
8132
8145
  bomPositions?: FilterValueWithQuantity[];
@@ -22618,6 +22618,45 @@ export class MesProductionScheduleClient extends AuthorizedApiBase {
22618
22618
  }
22619
22619
  return Promise.resolve(null);
22620
22620
  }
22621
+ postListProductionScheduleOperationsFromPlanner(request) {
22622
+ let url_ = this.baseUrl + "/mes/listproductionschedulefromplanner";
22623
+ url_ = url_.replace(/[?&]$/, "");
22624
+ const content_ = JSON.stringify(request);
22625
+ let options_ = {
22626
+ body: content_,
22627
+ method: "POST",
22628
+ headers: {
22629
+ "Content-Type": "application/json",
22630
+ "Accept": "application/json"
22631
+ }
22632
+ };
22633
+ return this.transformOptions(options_).then(transformedOptions_ => {
22634
+ return this.http.fetch(url_, transformedOptions_);
22635
+ }).then((_response) => {
22636
+ return this.processPostListProductionScheduleOperationsFromPlanner(_response);
22637
+ });
22638
+ }
22639
+ processPostListProductionScheduleOperationsFromPlanner(response) {
22640
+ const status = response.status;
22641
+ let _headers = {};
22642
+ if (response.headers && response.headers.forEach) {
22643
+ response.headers.forEach((v, k) => _headers[k] = v);
22644
+ }
22645
+ ;
22646
+ if (status === 200) {
22647
+ return response.text().then((_responseText) => {
22648
+ let result200 = null;
22649
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
22650
+ return result200;
22651
+ });
22652
+ }
22653
+ else if (status !== 200 && status !== 204) {
22654
+ return response.text().then((_responseText) => {
22655
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22656
+ });
22657
+ }
22658
+ return Promise.resolve(null);
22659
+ }
22621
22660
  getAvailableProductionScheduleFilters(request) {
22622
22661
  let url_ = this.baseUrl + "/mes/productionschedulefilters";
22623
22662
  url_ = url_.replace(/[?&]$/, "");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20260918.280.1",
3
+ "version": "20260921.283.1",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -23889,6 +23889,8 @@ export interface IMesProductionScheduleClient {
23889
23889
 
23890
23890
  postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
23891
23891
 
23892
+ postListProductionScheduleOperationsFromPlanner(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedProductionScheduleDto>;
23893
+
23892
23894
  getAvailableProductionScheduleFilters(request: GetAvailableProductionScheduleFiltersRequest | undefined): Promise<ProductionScheduleFiltersDto>;
23893
23895
 
23894
23896
  listMyCurrentWorkActivities(): Promise<CurrentWorkActivityDto>;
@@ -24010,6 +24012,45 @@ export class MesProductionScheduleClient extends AuthorizedApiBase implements IM
24010
24012
  return Promise.resolve<PagedResultOfProductionScheduleOperationDto>(null as any);
24011
24013
  }
24012
24014
 
24015
+ postListProductionScheduleOperationsFromPlanner(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedProductionScheduleDto> {
24016
+ let url_ = this.baseUrl + "/mes/listproductionschedulefromplanner";
24017
+ url_ = url_.replace(/[?&]$/, "");
24018
+
24019
+ const content_ = JSON.stringify(request);
24020
+
24021
+ let options_: RequestInit = {
24022
+ body: content_,
24023
+ method: "POST",
24024
+ headers: {
24025
+ "Content-Type": "application/json",
24026
+ "Accept": "application/json"
24027
+ }
24028
+ };
24029
+
24030
+ return this.transformOptions(options_).then(transformedOptions_ => {
24031
+ return this.http.fetch(url_, transformedOptions_);
24032
+ }).then((_response: Response) => {
24033
+ return this.processPostListProductionScheduleOperationsFromPlanner(_response);
24034
+ });
24035
+ }
24036
+
24037
+ protected processPostListProductionScheduleOperationsFromPlanner(response: Response): Promise<PagedProductionScheduleDto> {
24038
+ const status = response.status;
24039
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
24040
+ if (status === 200) {
24041
+ return response.text().then((_responseText) => {
24042
+ let result200: any = null;
24043
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PagedProductionScheduleDto;
24044
+ return result200;
24045
+ });
24046
+ } else if (status !== 200 && status !== 204) {
24047
+ return response.text().then((_responseText) => {
24048
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
24049
+ });
24050
+ }
24051
+ return Promise.resolve<PagedProductionScheduleDto>(null as any);
24052
+ }
24053
+
24013
24054
  getAvailableProductionScheduleFilters(request: GetAvailableProductionScheduleFiltersRequest | undefined): Promise<ProductionScheduleFiltersDto> {
24014
24055
  let url_ = this.baseUrl + "/mes/productionschedulefilters";
24015
24056
  url_ = url_.replace(/[?&]$/, "");
@@ -37163,6 +37204,7 @@ export interface PlannerPlanDto {
37163
37204
  isDraft: boolean;
37164
37205
  publishedETag?: string | null;
37165
37206
  weeklyCapacities: WeekCapacityDto[];
37207
+ continuationToken?: string | null;
37166
37208
  }
37167
37209
 
37168
37210
  export interface PlannerOperationDto {
@@ -37244,6 +37286,7 @@ export interface WeekCapacityDto {
37244
37286
  weekGroup: string;
37245
37287
  weekStart: Date;
37246
37288
  capacityHours: number;
37289
+ loadHours: number;
37247
37290
  }
37248
37291
 
37249
37292
  export interface PublishPlanRequest {
@@ -37610,6 +37653,9 @@ export interface ProductionScheduleOperationDto {
37610
37653
  programStatus?: ProgramStatus | null;
37611
37654
  hasNotes: boolean;
37612
37655
  notesUnread: boolean;
37656
+ sequenceNumber?: number | null;
37657
+ weekGroup?: string | null;
37658
+ isNewOperation?: boolean | null;
37613
37659
  }
37614
37660
 
37615
37661
  export interface SurroundingOperationDto {
@@ -37667,6 +37713,12 @@ export interface ListProductionScheduleOperationsRequest {
37667
37713
  includeDiscussionSummary?: boolean;
37668
37714
  }
37669
37715
 
37716
+ export interface PagedProductionScheduleDto {
37717
+ results: ProductionScheduleOperationDto[];
37718
+ weeklyCapacities: WeekCapacityDto[];
37719
+ continuationToken?: string | null;
37720
+ }
37721
+
37670
37722
  export interface ProductionScheduleFiltersDto {
37671
37723
  partNumbers?: FilterValueWithQuantity[];
37672
37724
  bomPositions?: FilterValueWithQuantity[];