@ignos/api-client 20260318.79.1 → 20260319.81.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.
@@ -2327,6 +2327,7 @@ export interface IMesLinksClient {
2327
2327
  listUnmappedMesLinks(): Promise<MesLinkDto[]>;
2328
2328
  updateMesLink(id: string, request: UpdateMesLink): Promise<FileResponse>;
2329
2329
  deleteMesLink(id: string): Promise<void>;
2330
+ getMesLinkPlaceholders(): Promise<MesLinkPlaceholdersDto>;
2330
2331
  }
2331
2332
  export declare class MesLinksClient extends AuthorizedApiBase implements IMesLinksClient {
2332
2333
  private http;
@@ -2344,6 +2345,8 @@ export declare class MesLinksClient extends AuthorizedApiBase implements IMesLin
2344
2345
  protected processUpdateMesLink(response: Response): Promise<FileResponse>;
2345
2346
  deleteMesLink(id: string): Promise<void>;
2346
2347
  protected processDeleteMesLink(response: Response): Promise<void>;
2348
+ getMesLinkPlaceholders(): Promise<MesLinkPlaceholdersDto>;
2349
+ protected processGetMesLinkPlaceholders(response: Response): Promise<MesLinkPlaceholdersDto>;
2347
2350
  }
2348
2351
  export interface IMesOrMoveClient {
2349
2352
  getPrintableLabels(request: GeneratePrintableLabel): Promise<DownloadDto>;
@@ -6362,6 +6365,10 @@ export interface WorkspaceDto {
6362
6365
  widgetSettings: {
6363
6366
  [key: string]: string;
6364
6367
  };
6368
+ isSystemManaged?: boolean;
6369
+ systemManagedKind?: string | null;
6370
+ sourceTemplateId?: string | null;
6371
+ sourceMachineId?: string | null;
6365
6372
  }
6366
6373
  export interface WorkspaceWidgetDto {
6367
6374
  id: string;
@@ -6824,10 +6831,11 @@ export interface EngineeringChangeOrdersDto {
6824
6831
  engineeringChangeOrders?: EngineeringChangeOrderDto[];
6825
6832
  }
6826
6833
  export interface AddMesLink {
6827
- uri?: string | null;
6828
- name?: string | null;
6834
+ uri?: string;
6835
+ name?: string;
6829
6836
  type?: MesLinkTypeDto;
6830
- companyId?: string | null;
6837
+ openInNewTab?: boolean | null;
6838
+ description?: string | null;
6831
6839
  }
6832
6840
  export type MesLinkTypeDto = "Static" | "Operation" | "WorkOrder";
6833
6841
  export interface MesLinkDto {
@@ -6835,14 +6843,22 @@ export interface MesLinkDto {
6835
6843
  uri?: string;
6836
6844
  name?: string;
6837
6845
  type?: MesLinkTypeDto;
6838
- companyId?: string;
6846
+ openInNewTab?: boolean;
6847
+ description?: string | null;
6839
6848
  }
6840
6849
  export interface UpdateMesLink {
6841
- id?: string | null;
6842
- uri?: string | null;
6843
- name?: string | null;
6850
+ id?: string;
6851
+ uri?: string;
6852
+ name?: string;
6844
6853
  type?: MesLinkTypeDto;
6845
- companyId?: string | null;
6854
+ openInNewTab?: boolean | null;
6855
+ description?: string | null;
6856
+ displayBeforeId?: string | null;
6857
+ }
6858
+ export interface MesLinkPlaceholdersDto {
6859
+ static: string[];
6860
+ workOrder: string[];
6861
+ operation: string[];
6846
6862
  }
6847
6863
  export interface GeneratePrintableLabel {
6848
6864
  labelIds: LabelId[];
@@ -19028,6 +19028,42 @@ export class MesLinksClient extends AuthorizedApiBase {
19028
19028
  }
19029
19029
  return Promise.resolve(null);
19030
19030
  }
19031
+ getMesLinkPlaceholders() {
19032
+ let url_ = this.baseUrl + "/mes/links/placeholders";
19033
+ url_ = url_.replace(/[?&]$/, "");
19034
+ let options_ = {
19035
+ method: "GET",
19036
+ headers: {
19037
+ "Accept": "application/json"
19038
+ }
19039
+ };
19040
+ return this.transformOptions(options_).then(transformedOptions_ => {
19041
+ return this.http.fetch(url_, transformedOptions_);
19042
+ }).then((_response) => {
19043
+ return this.processGetMesLinkPlaceholders(_response);
19044
+ });
19045
+ }
19046
+ processGetMesLinkPlaceholders(response) {
19047
+ const status = response.status;
19048
+ let _headers = {};
19049
+ if (response.headers && response.headers.forEach) {
19050
+ response.headers.forEach((v, k) => _headers[k] = v);
19051
+ }
19052
+ ;
19053
+ if (status === 200) {
19054
+ return response.text().then((_responseText) => {
19055
+ let result200 = null;
19056
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
19057
+ return result200;
19058
+ });
19059
+ }
19060
+ else if (status !== 200 && status !== 204) {
19061
+ return response.text().then((_responseText) => {
19062
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
19063
+ });
19064
+ }
19065
+ return Promise.resolve(null);
19066
+ }
19031
19067
  }
19032
19068
  export class MesOrMoveClient extends AuthorizedApiBase {
19033
19069
  constructor(configuration, baseUrl, http) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20260318.79.1",
3
+ "version": "20260319.81.1",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -20160,6 +20160,8 @@ export interface IMesLinksClient {
20160
20160
  updateMesLink(id: string, request: UpdateMesLink): Promise<FileResponse>;
20161
20161
 
20162
20162
  deleteMesLink(id: string): Promise<void>;
20163
+
20164
+ getMesLinkPlaceholders(): Promise<MesLinkPlaceholdersDto>;
20163
20165
  }
20164
20166
 
20165
20167
  export class MesLinksClient extends AuthorizedApiBase implements IMesLinksClient {
@@ -20365,6 +20367,41 @@ export class MesLinksClient extends AuthorizedApiBase implements IMesLinksClient
20365
20367
  }
20366
20368
  return Promise.resolve<void>(null as any);
20367
20369
  }
20370
+
20371
+ getMesLinkPlaceholders(): Promise<MesLinkPlaceholdersDto> {
20372
+ let url_ = this.baseUrl + "/mes/links/placeholders";
20373
+ url_ = url_.replace(/[?&]$/, "");
20374
+
20375
+ let options_: RequestInit = {
20376
+ method: "GET",
20377
+ headers: {
20378
+ "Accept": "application/json"
20379
+ }
20380
+ };
20381
+
20382
+ return this.transformOptions(options_).then(transformedOptions_ => {
20383
+ return this.http.fetch(url_, transformedOptions_);
20384
+ }).then((_response: Response) => {
20385
+ return this.processGetMesLinkPlaceholders(_response);
20386
+ });
20387
+ }
20388
+
20389
+ protected processGetMesLinkPlaceholders(response: Response): Promise<MesLinkPlaceholdersDto> {
20390
+ const status = response.status;
20391
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
20392
+ if (status === 200) {
20393
+ return response.text().then((_responseText) => {
20394
+ let result200: any = null;
20395
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MesLinkPlaceholdersDto;
20396
+ return result200;
20397
+ });
20398
+ } else if (status !== 200 && status !== 204) {
20399
+ return response.text().then((_responseText) => {
20400
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
20401
+ });
20402
+ }
20403
+ return Promise.resolve<MesLinkPlaceholdersDto>(null as any);
20404
+ }
20368
20405
  }
20369
20406
 
20370
20407
  export interface IMesOrMoveClient {
@@ -32094,6 +32131,10 @@ export interface WorkspaceDto {
32094
32131
  settings: string;
32095
32132
  widgets: WorkspaceWidgetDto[];
32096
32133
  widgetSettings: { [key: string]: string; };
32134
+ isSystemManaged?: boolean;
32135
+ systemManagedKind?: string | null;
32136
+ sourceTemplateId?: string | null;
32137
+ sourceMachineId?: string | null;
32097
32138
  }
32098
32139
 
32099
32140
  export interface WorkspaceWidgetDto {
@@ -32632,10 +32673,11 @@ export interface EngineeringChangeOrdersDto {
32632
32673
  }
32633
32674
 
32634
32675
  export interface AddMesLink {
32635
- uri?: string | null;
32636
- name?: string | null;
32676
+ uri?: string;
32677
+ name?: string;
32637
32678
  type?: MesLinkTypeDto;
32638
- companyId?: string | null;
32679
+ openInNewTab?: boolean | null;
32680
+ description?: string | null;
32639
32681
  }
32640
32682
 
32641
32683
  export type MesLinkTypeDto = "Static" | "Operation" | "WorkOrder";
@@ -32645,15 +32687,24 @@ export interface MesLinkDto {
32645
32687
  uri?: string;
32646
32688
  name?: string;
32647
32689
  type?: MesLinkTypeDto;
32648
- companyId?: string;
32690
+ openInNewTab?: boolean;
32691
+ description?: string | null;
32649
32692
  }
32650
32693
 
32651
32694
  export interface UpdateMesLink {
32652
- id?: string | null;
32653
- uri?: string | null;
32654
- name?: string | null;
32695
+ id?: string;
32696
+ uri?: string;
32697
+ name?: string;
32655
32698
  type?: MesLinkTypeDto;
32656
- companyId?: string | null;
32699
+ openInNewTab?: boolean | null;
32700
+ description?: string | null;
32701
+ displayBeforeId?: string | null;
32702
+ }
32703
+
32704
+ export interface MesLinkPlaceholdersDto {
32705
+ static: string[];
32706
+ workOrder: string[];
32707
+ operation: string[];
32657
32708
  }
32658
32709
 
32659
32710
  export interface GeneratePrintableLabel {