@ignos/api-client 20250904.0.12514 → 20250910.0.12573-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 +108 -24
- package/lib/ignosportal-api.js +344 -79
- package/package.json +1 -1
- package/src/ignosportal-api.ts +444 -100
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -749,6 +749,10 @@ export interface IDowntimeReasonsAdminClient {
|
|
|
749
749
|
updateDowntimeReason(id: string, request: UpdateDowntimeReasonRequest): Promise<DowntimeReasonDto>;
|
|
750
750
|
deleteDowntimeReason(id: string): Promise<void>;
|
|
751
751
|
listMachineTypes(): Promise<MachineTypeDto[]>;
|
|
752
|
+
listParentTopics(): Promise<ParentTopicDto[]>;
|
|
753
|
+
createParentTopic(request: CreateParentTopicRequest): Promise<ParentTopicDto>;
|
|
754
|
+
updateParentTopic(id: string, request: UpdateParentTopicRequest): Promise<ParentTopicDto>;
|
|
755
|
+
deleteParentTopic(id: string): Promise<void>;
|
|
752
756
|
}
|
|
753
757
|
export declare class DowntimeReasonsAdminClient extends AuthorizedApiBase implements IDowntimeReasonsAdminClient {
|
|
754
758
|
private http;
|
|
@@ -767,6 +771,14 @@ export declare class DowntimeReasonsAdminClient extends AuthorizedApiBase implem
|
|
|
767
771
|
protected processDeleteDowntimeReason(response: Response): Promise<void>;
|
|
768
772
|
listMachineTypes(): Promise<MachineTypeDto[]>;
|
|
769
773
|
protected processListMachineTypes(response: Response): Promise<MachineTypeDto[]>;
|
|
774
|
+
listParentTopics(): Promise<ParentTopicDto[]>;
|
|
775
|
+
protected processListParentTopics(response: Response): Promise<ParentTopicDto[]>;
|
|
776
|
+
createParentTopic(request: CreateParentTopicRequest): Promise<ParentTopicDto>;
|
|
777
|
+
protected processCreateParentTopic(response: Response): Promise<ParentTopicDto>;
|
|
778
|
+
updateParentTopic(id: string, request: UpdateParentTopicRequest): Promise<ParentTopicDto>;
|
|
779
|
+
protected processUpdateParentTopic(response: Response): Promise<ParentTopicDto>;
|
|
780
|
+
deleteParentTopic(id: string): Promise<void>;
|
|
781
|
+
protected processDeleteParentTopic(response: Response): Promise<void>;
|
|
770
782
|
}
|
|
771
783
|
export interface IDowntimeReasonsClient {
|
|
772
784
|
createDowntimePeriodReason(request: CreateDowntimePeriodReason): Promise<DowntimePeriodReasonDto>;
|
|
@@ -2347,10 +2359,12 @@ export interface IMeasurementFormsInstancesClient {
|
|
|
2347
2359
|
listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
2348
2360
|
upsertSupplierToMeasurmentFormInstance(id: string, supplierId: string, request: UpsertSupplierToMeasurementFormInstanceRequest): Promise<void>;
|
|
2349
2361
|
removeSupplierFromMeasurmentFormInstance(id: string, supplierId: string): Promise<void>;
|
|
2362
|
+
/**
|
|
2363
|
+
* @deprecated
|
|
2364
|
+
*/
|
|
2350
2365
|
exportDimensionReport(id: string, request: ExportDimensionReportRequest): Promise<DownloadDto>;
|
|
2366
|
+
exportDimensionReportV2(id: string, request: ExportDimensionReportV2Request): Promise<DownloadDto>;
|
|
2351
2367
|
exportDimensionReportValues(id: string): Promise<DownloadDto>;
|
|
2352
|
-
updateSchemaInstanceElements(id: string, schemaId: string, request: UpdateSchemaInstanceElementsRequest): Promise<void>;
|
|
2353
|
-
getSchemaInstanceElements(id: string, schemaId: string): Promise<SchemaInstanceElementDto[]>;
|
|
2354
2368
|
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
|
|
2355
2369
|
}
|
|
2356
2370
|
export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase implements IMeasurementFormsInstancesClient {
|
|
@@ -2414,14 +2428,15 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
|
|
|
2414
2428
|
protected processUpsertSupplierToMeasurmentFormInstance(response: Response): Promise<void>;
|
|
2415
2429
|
removeSupplierFromMeasurmentFormInstance(id: string, supplierId: string): Promise<void>;
|
|
2416
2430
|
protected processRemoveSupplierFromMeasurmentFormInstance(response: Response): Promise<void>;
|
|
2431
|
+
/**
|
|
2432
|
+
* @deprecated
|
|
2433
|
+
*/
|
|
2417
2434
|
exportDimensionReport(id: string, request: ExportDimensionReportRequest): Promise<DownloadDto>;
|
|
2418
2435
|
protected processExportDimensionReport(response: Response): Promise<DownloadDto>;
|
|
2436
|
+
exportDimensionReportV2(id: string, request: ExportDimensionReportV2Request): Promise<DownloadDto>;
|
|
2437
|
+
protected processExportDimensionReportV2(response: Response): Promise<DownloadDto>;
|
|
2419
2438
|
exportDimensionReportValues(id: string): Promise<DownloadDto>;
|
|
2420
2439
|
protected processExportDimensionReportValues(response: Response): Promise<DownloadDto>;
|
|
2421
|
-
updateSchemaInstanceElements(id: string, schemaId: string, request: UpdateSchemaInstanceElementsRequest): Promise<void>;
|
|
2422
|
-
protected processUpdateSchemaInstanceElements(response: Response): Promise<void>;
|
|
2423
|
-
getSchemaInstanceElements(id: string, schemaId: string): Promise<SchemaInstanceElementDto[]>;
|
|
2424
|
-
protected processGetSchemaInstanceElements(response: Response): Promise<SchemaInstanceElementDto[]>;
|
|
2425
2440
|
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
|
|
2426
2441
|
protected processToggleSchemaInstanceElementDocumentedExternallyOverride(response: Response): Promise<void>;
|
|
2427
2442
|
}
|
|
@@ -5753,8 +5768,11 @@ export declare class DowntimeReasonDto implements IDowntimeReasonDto {
|
|
|
5753
5768
|
id: string;
|
|
5754
5769
|
reason: string;
|
|
5755
5770
|
machineTypes: string[];
|
|
5771
|
+
machineGroups: string[];
|
|
5756
5772
|
reasonType: DowntimeReasonTypeDto;
|
|
5757
5773
|
description?: string | null;
|
|
5774
|
+
parentId?: string | null;
|
|
5775
|
+
displayOrder?: number | null;
|
|
5758
5776
|
constructor(data?: IDowntimeReasonDto);
|
|
5759
5777
|
init(_data?: any): void;
|
|
5760
5778
|
static fromJS(data: any): DowntimeReasonDto;
|
|
@@ -5764,14 +5782,20 @@ export interface IDowntimeReasonDto {
|
|
|
5764
5782
|
id: string;
|
|
5765
5783
|
reason: string;
|
|
5766
5784
|
machineTypes: string[];
|
|
5785
|
+
machineGroups: string[];
|
|
5767
5786
|
reasonType: DowntimeReasonTypeDto;
|
|
5768
5787
|
description?: string | null;
|
|
5788
|
+
parentId?: string | null;
|
|
5789
|
+
displayOrder?: number | null;
|
|
5769
5790
|
}
|
|
5770
5791
|
export declare class CreateDowntimeReason implements ICreateDowntimeReason {
|
|
5771
5792
|
reason: string;
|
|
5772
5793
|
machineTypes: string[];
|
|
5794
|
+
machineGroups?: string[] | null;
|
|
5773
5795
|
reasonType: DowntimeReasonTypeDto;
|
|
5774
5796
|
description?: string | null;
|
|
5797
|
+
parentId?: string | null;
|
|
5798
|
+
displayOrder?: number | null;
|
|
5775
5799
|
constructor(data?: ICreateDowntimeReason);
|
|
5776
5800
|
init(_data?: any): void;
|
|
5777
5801
|
static fromJS(data: any): CreateDowntimeReason;
|
|
@@ -5780,14 +5804,20 @@ export declare class CreateDowntimeReason implements ICreateDowntimeReason {
|
|
|
5780
5804
|
export interface ICreateDowntimeReason {
|
|
5781
5805
|
reason: string;
|
|
5782
5806
|
machineTypes: string[];
|
|
5807
|
+
machineGroups?: string[] | null;
|
|
5783
5808
|
reasonType: DowntimeReasonTypeDto;
|
|
5784
5809
|
description?: string | null;
|
|
5810
|
+
parentId?: string | null;
|
|
5811
|
+
displayOrder?: number | null;
|
|
5785
5812
|
}
|
|
5786
5813
|
export declare class UpdateDowntimeReasonRequest implements IUpdateDowntimeReasonRequest {
|
|
5787
5814
|
reason: string;
|
|
5788
5815
|
machineTypes: string[];
|
|
5816
|
+
machineGroups?: string[] | null;
|
|
5789
5817
|
reasonType: DowntimeReasonTypeDto;
|
|
5790
5818
|
description?: string | null;
|
|
5819
|
+
parentId?: string | null;
|
|
5820
|
+
displayOrder?: number | null;
|
|
5791
5821
|
constructor(data?: IUpdateDowntimeReasonRequest);
|
|
5792
5822
|
init(_data?: any): void;
|
|
5793
5823
|
static fromJS(data: any): UpdateDowntimeReasonRequest;
|
|
@@ -5796,8 +5826,11 @@ export declare class UpdateDowntimeReasonRequest implements IUpdateDowntimeReaso
|
|
|
5796
5826
|
export interface IUpdateDowntimeReasonRequest {
|
|
5797
5827
|
reason: string;
|
|
5798
5828
|
machineTypes: string[];
|
|
5829
|
+
machineGroups?: string[] | null;
|
|
5799
5830
|
reasonType: DowntimeReasonTypeDto;
|
|
5800
5831
|
description?: string | null;
|
|
5832
|
+
parentId?: string | null;
|
|
5833
|
+
displayOrder?: number | null;
|
|
5801
5834
|
}
|
|
5802
5835
|
export declare class MachineTypeDto implements IMachineTypeDto {
|
|
5803
5836
|
machineType: string;
|
|
@@ -5809,6 +5842,52 @@ export declare class MachineTypeDto implements IMachineTypeDto {
|
|
|
5809
5842
|
export interface IMachineTypeDto {
|
|
5810
5843
|
machineType: string;
|
|
5811
5844
|
}
|
|
5845
|
+
export declare class ParentTopicDto implements IParentTopicDto {
|
|
5846
|
+
id: string;
|
|
5847
|
+
name: string;
|
|
5848
|
+
description?: string | null;
|
|
5849
|
+
displayOrder?: number;
|
|
5850
|
+
subReasons?: DowntimeReasonDto[];
|
|
5851
|
+
constructor(data?: IParentTopicDto);
|
|
5852
|
+
init(_data?: any): void;
|
|
5853
|
+
static fromJS(data: any): ParentTopicDto;
|
|
5854
|
+
toJSON(data?: any): any;
|
|
5855
|
+
}
|
|
5856
|
+
export interface IParentTopicDto {
|
|
5857
|
+
id: string;
|
|
5858
|
+
name: string;
|
|
5859
|
+
description?: string | null;
|
|
5860
|
+
displayOrder?: number;
|
|
5861
|
+
subReasons?: DowntimeReasonDto[];
|
|
5862
|
+
}
|
|
5863
|
+
export declare class CreateParentTopicRequest implements ICreateParentTopicRequest {
|
|
5864
|
+
name: string;
|
|
5865
|
+
description?: string | null;
|
|
5866
|
+
displayOrder?: number | null;
|
|
5867
|
+
constructor(data?: ICreateParentTopicRequest);
|
|
5868
|
+
init(_data?: any): void;
|
|
5869
|
+
static fromJS(data: any): CreateParentTopicRequest;
|
|
5870
|
+
toJSON(data?: any): any;
|
|
5871
|
+
}
|
|
5872
|
+
export interface ICreateParentTopicRequest {
|
|
5873
|
+
name: string;
|
|
5874
|
+
description?: string | null;
|
|
5875
|
+
displayOrder?: number | null;
|
|
5876
|
+
}
|
|
5877
|
+
export declare class UpdateParentTopicRequest implements IUpdateParentTopicRequest {
|
|
5878
|
+
name: string;
|
|
5879
|
+
description?: string | null;
|
|
5880
|
+
displayOrder?: number | null;
|
|
5881
|
+
constructor(data?: IUpdateParentTopicRequest);
|
|
5882
|
+
init(_data?: any): void;
|
|
5883
|
+
static fromJS(data: any): UpdateParentTopicRequest;
|
|
5884
|
+
toJSON(data?: any): any;
|
|
5885
|
+
}
|
|
5886
|
+
export interface IUpdateParentTopicRequest {
|
|
5887
|
+
name: string;
|
|
5888
|
+
description?: string | null;
|
|
5889
|
+
displayOrder?: number | null;
|
|
5890
|
+
}
|
|
5812
5891
|
export declare class CreateDowntimePeriodReason implements ICreateDowntimePeriodReason {
|
|
5813
5892
|
reasonId: string;
|
|
5814
5893
|
assetId: number;
|
|
@@ -13685,31 +13764,36 @@ export interface IExportDimensionReportRequest {
|
|
|
13685
13764
|
workOrder?: string | null;
|
|
13686
13765
|
comment?: string | null;
|
|
13687
13766
|
}
|
|
13688
|
-
export declare class
|
|
13689
|
-
|
|
13690
|
-
|
|
13767
|
+
export declare class ExportDimensionReportV2Request implements IExportDimensionReportV2Request {
|
|
13768
|
+
tenantId?: string;
|
|
13769
|
+
type?: DimensionReportType;
|
|
13770
|
+
extras?: DimensionReportExtras | null;
|
|
13771
|
+
specificSerialNumbers?: string[] | null;
|
|
13772
|
+
constructor(data?: IExportDimensionReportV2Request);
|
|
13691
13773
|
init(_data?: any): void;
|
|
13692
|
-
static fromJS(data: any):
|
|
13774
|
+
static fromJS(data: any): ExportDimensionReportV2Request;
|
|
13693
13775
|
toJSON(data?: any): any;
|
|
13694
13776
|
}
|
|
13695
|
-
export interface
|
|
13696
|
-
|
|
13777
|
+
export interface IExportDimensionReportV2Request {
|
|
13778
|
+
tenantId?: string;
|
|
13779
|
+
type?: DimensionReportType;
|
|
13780
|
+
extras?: DimensionReportExtras | null;
|
|
13781
|
+
specificSerialNumbers?: string[] | null;
|
|
13697
13782
|
}
|
|
13698
|
-
export
|
|
13699
|
-
|
|
13700
|
-
|
|
13701
|
-
|
|
13702
|
-
|
|
13703
|
-
constructor(data?:
|
|
13783
|
+
export type DimensionReportType = 0 | 1 | 2 | 3;
|
|
13784
|
+
export declare class DimensionReportExtras implements IDimensionReportExtras {
|
|
13785
|
+
customerPO?: string | null;
|
|
13786
|
+
workOrderNumber?: string | null;
|
|
13787
|
+
comment?: string | null;
|
|
13788
|
+
constructor(data?: IDimensionReportExtras);
|
|
13704
13789
|
init(_data?: any): void;
|
|
13705
|
-
static fromJS(data: any):
|
|
13790
|
+
static fromJS(data: any): DimensionReportExtras;
|
|
13706
13791
|
toJSON(data?: any): any;
|
|
13707
13792
|
}
|
|
13708
|
-
export interface
|
|
13709
|
-
|
|
13710
|
-
|
|
13711
|
-
|
|
13712
|
-
disabled: boolean;
|
|
13793
|
+
export interface IDimensionReportExtras {
|
|
13794
|
+
customerPO?: string | null;
|
|
13795
|
+
workOrderNumber?: string | null;
|
|
13796
|
+
comment?: string | null;
|
|
13713
13797
|
}
|
|
13714
13798
|
export declare class ProductionCompanyDto implements IProductionCompanyDto {
|
|
13715
13799
|
id: string;
|