@ignos/api-client 20250904.0.12514 → 20250910.0.12568
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 +80 -32
- package/lib/ignosportal-api.js +308 -155
- package/package.json +1 -1
- package/src/ignosportal-api.ts +383 -184
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>;
|
|
@@ -2349,8 +2361,6 @@ export interface IMeasurementFormsInstancesClient {
|
|
|
2349
2361
|
removeSupplierFromMeasurmentFormInstance(id: string, supplierId: string): Promise<void>;
|
|
2350
2362
|
exportDimensionReport(id: string, request: ExportDimensionReportRequest): Promise<DownloadDto>;
|
|
2351
2363
|
exportDimensionReportValues(id: string): Promise<DownloadDto>;
|
|
2352
|
-
updateSchemaInstanceElements(id: string, schemaId: string, request: UpdateSchemaInstanceElementsRequest): Promise<void>;
|
|
2353
|
-
getSchemaInstanceElements(id: string, schemaId: string): Promise<SchemaInstanceElementDto[]>;
|
|
2354
2364
|
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
|
|
2355
2365
|
}
|
|
2356
2366
|
export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase implements IMeasurementFormsInstancesClient {
|
|
@@ -2418,10 +2428,6 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
|
|
|
2418
2428
|
protected processExportDimensionReport(response: Response): Promise<DownloadDto>;
|
|
2419
2429
|
exportDimensionReportValues(id: string): Promise<DownloadDto>;
|
|
2420
2430
|
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
2431
|
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
|
|
2426
2432
|
protected processToggleSchemaInstanceElementDocumentedExternallyOverride(response: Response): Promise<void>;
|
|
2427
2433
|
}
|
|
@@ -3097,6 +3103,8 @@ export declare class WorkOrderDatapoint implements IWorkOrderDatapoint {
|
|
|
3097
3103
|
subType?: string | null;
|
|
3098
3104
|
startTime: number;
|
|
3099
3105
|
endTime?: number | null;
|
|
3106
|
+
partName?: string | null;
|
|
3107
|
+
partNumber?: string | null;
|
|
3100
3108
|
metaData?: {
|
|
3101
3109
|
[key: string]: string;
|
|
3102
3110
|
} | null;
|
|
@@ -3112,6 +3120,8 @@ export interface IWorkOrderDatapoint {
|
|
|
3112
3120
|
subType?: string | null;
|
|
3113
3121
|
startTime: number;
|
|
3114
3122
|
endTime?: number | null;
|
|
3123
|
+
partName?: string | null;
|
|
3124
|
+
partNumber?: string | null;
|
|
3115
3125
|
metaData?: {
|
|
3116
3126
|
[key: string]: string;
|
|
3117
3127
|
} | null;
|
|
@@ -5753,8 +5763,11 @@ export declare class DowntimeReasonDto implements IDowntimeReasonDto {
|
|
|
5753
5763
|
id: string;
|
|
5754
5764
|
reason: string;
|
|
5755
5765
|
machineTypes: string[];
|
|
5766
|
+
machineGroups: string[];
|
|
5756
5767
|
reasonType: DowntimeReasonTypeDto;
|
|
5757
5768
|
description?: string | null;
|
|
5769
|
+
parentId?: string | null;
|
|
5770
|
+
displayOrder?: number | null;
|
|
5758
5771
|
constructor(data?: IDowntimeReasonDto);
|
|
5759
5772
|
init(_data?: any): void;
|
|
5760
5773
|
static fromJS(data: any): DowntimeReasonDto;
|
|
@@ -5764,14 +5777,20 @@ export interface IDowntimeReasonDto {
|
|
|
5764
5777
|
id: string;
|
|
5765
5778
|
reason: string;
|
|
5766
5779
|
machineTypes: string[];
|
|
5780
|
+
machineGroups: string[];
|
|
5767
5781
|
reasonType: DowntimeReasonTypeDto;
|
|
5768
5782
|
description?: string | null;
|
|
5783
|
+
parentId?: string | null;
|
|
5784
|
+
displayOrder?: number | null;
|
|
5769
5785
|
}
|
|
5770
5786
|
export declare class CreateDowntimeReason implements ICreateDowntimeReason {
|
|
5771
5787
|
reason: string;
|
|
5772
5788
|
machineTypes: string[];
|
|
5789
|
+
machineGroups?: string[] | null;
|
|
5773
5790
|
reasonType: DowntimeReasonTypeDto;
|
|
5774
5791
|
description?: string | null;
|
|
5792
|
+
parentId?: string | null;
|
|
5793
|
+
displayOrder?: number | null;
|
|
5775
5794
|
constructor(data?: ICreateDowntimeReason);
|
|
5776
5795
|
init(_data?: any): void;
|
|
5777
5796
|
static fromJS(data: any): CreateDowntimeReason;
|
|
@@ -5780,14 +5799,20 @@ export declare class CreateDowntimeReason implements ICreateDowntimeReason {
|
|
|
5780
5799
|
export interface ICreateDowntimeReason {
|
|
5781
5800
|
reason: string;
|
|
5782
5801
|
machineTypes: string[];
|
|
5802
|
+
machineGroups?: string[] | null;
|
|
5783
5803
|
reasonType: DowntimeReasonTypeDto;
|
|
5784
5804
|
description?: string | null;
|
|
5805
|
+
parentId?: string | null;
|
|
5806
|
+
displayOrder?: number | null;
|
|
5785
5807
|
}
|
|
5786
5808
|
export declare class UpdateDowntimeReasonRequest implements IUpdateDowntimeReasonRequest {
|
|
5787
5809
|
reason: string;
|
|
5788
5810
|
machineTypes: string[];
|
|
5811
|
+
machineGroups?: string[] | null;
|
|
5789
5812
|
reasonType: DowntimeReasonTypeDto;
|
|
5790
5813
|
description?: string | null;
|
|
5814
|
+
parentId?: string | null;
|
|
5815
|
+
displayOrder?: number | null;
|
|
5791
5816
|
constructor(data?: IUpdateDowntimeReasonRequest);
|
|
5792
5817
|
init(_data?: any): void;
|
|
5793
5818
|
static fromJS(data: any): UpdateDowntimeReasonRequest;
|
|
@@ -5796,8 +5821,11 @@ export declare class UpdateDowntimeReasonRequest implements IUpdateDowntimeReaso
|
|
|
5796
5821
|
export interface IUpdateDowntimeReasonRequest {
|
|
5797
5822
|
reason: string;
|
|
5798
5823
|
machineTypes: string[];
|
|
5824
|
+
machineGroups?: string[] | null;
|
|
5799
5825
|
reasonType: DowntimeReasonTypeDto;
|
|
5800
5826
|
description?: string | null;
|
|
5827
|
+
parentId?: string | null;
|
|
5828
|
+
displayOrder?: number | null;
|
|
5801
5829
|
}
|
|
5802
5830
|
export declare class MachineTypeDto implements IMachineTypeDto {
|
|
5803
5831
|
machineType: string;
|
|
@@ -5809,6 +5837,52 @@ export declare class MachineTypeDto implements IMachineTypeDto {
|
|
|
5809
5837
|
export interface IMachineTypeDto {
|
|
5810
5838
|
machineType: string;
|
|
5811
5839
|
}
|
|
5840
|
+
export declare class ParentTopicDto implements IParentTopicDto {
|
|
5841
|
+
id: string;
|
|
5842
|
+
name: string;
|
|
5843
|
+
description?: string | null;
|
|
5844
|
+
displayOrder?: number;
|
|
5845
|
+
subReasons?: DowntimeReasonDto[];
|
|
5846
|
+
constructor(data?: IParentTopicDto);
|
|
5847
|
+
init(_data?: any): void;
|
|
5848
|
+
static fromJS(data: any): ParentTopicDto;
|
|
5849
|
+
toJSON(data?: any): any;
|
|
5850
|
+
}
|
|
5851
|
+
export interface IParentTopicDto {
|
|
5852
|
+
id: string;
|
|
5853
|
+
name: string;
|
|
5854
|
+
description?: string | null;
|
|
5855
|
+
displayOrder?: number;
|
|
5856
|
+
subReasons?: DowntimeReasonDto[];
|
|
5857
|
+
}
|
|
5858
|
+
export declare class CreateParentTopicRequest implements ICreateParentTopicRequest {
|
|
5859
|
+
name: string;
|
|
5860
|
+
description?: string | null;
|
|
5861
|
+
displayOrder?: number | null;
|
|
5862
|
+
constructor(data?: ICreateParentTopicRequest);
|
|
5863
|
+
init(_data?: any): void;
|
|
5864
|
+
static fromJS(data: any): CreateParentTopicRequest;
|
|
5865
|
+
toJSON(data?: any): any;
|
|
5866
|
+
}
|
|
5867
|
+
export interface ICreateParentTopicRequest {
|
|
5868
|
+
name: string;
|
|
5869
|
+
description?: string | null;
|
|
5870
|
+
displayOrder?: number | null;
|
|
5871
|
+
}
|
|
5872
|
+
export declare class UpdateParentTopicRequest implements IUpdateParentTopicRequest {
|
|
5873
|
+
name: string;
|
|
5874
|
+
description?: string | null;
|
|
5875
|
+
displayOrder?: number | null;
|
|
5876
|
+
constructor(data?: IUpdateParentTopicRequest);
|
|
5877
|
+
init(_data?: any): void;
|
|
5878
|
+
static fromJS(data: any): UpdateParentTopicRequest;
|
|
5879
|
+
toJSON(data?: any): any;
|
|
5880
|
+
}
|
|
5881
|
+
export interface IUpdateParentTopicRequest {
|
|
5882
|
+
name: string;
|
|
5883
|
+
description?: string | null;
|
|
5884
|
+
displayOrder?: number | null;
|
|
5885
|
+
}
|
|
5812
5886
|
export declare class CreateDowntimePeriodReason implements ICreateDowntimePeriodReason {
|
|
5813
5887
|
reasonId: string;
|
|
5814
5888
|
assetId: number;
|
|
@@ -13685,32 +13759,6 @@ export interface IExportDimensionReportRequest {
|
|
|
13685
13759
|
workOrder?: string | null;
|
|
13686
13760
|
comment?: string | null;
|
|
13687
13761
|
}
|
|
13688
|
-
export declare class UpdateSchemaInstanceElementsRequest implements IUpdateSchemaInstanceElementsRequest {
|
|
13689
|
-
elements?: SchemaInstanceElementDto[] | null;
|
|
13690
|
-
constructor(data?: IUpdateSchemaInstanceElementsRequest);
|
|
13691
|
-
init(_data?: any): void;
|
|
13692
|
-
static fromJS(data: any): UpdateSchemaInstanceElementsRequest;
|
|
13693
|
-
toJSON(data?: any): any;
|
|
13694
|
-
}
|
|
13695
|
-
export interface IUpdateSchemaInstanceElementsRequest {
|
|
13696
|
-
elements?: SchemaInstanceElementDto[] | null;
|
|
13697
|
-
}
|
|
13698
|
-
export declare class SchemaInstanceElementDto implements ISchemaInstanceElementDto {
|
|
13699
|
-
elementId: string;
|
|
13700
|
-
balloonId?: string | null;
|
|
13701
|
-
reference: number;
|
|
13702
|
-
disabled: boolean;
|
|
13703
|
-
constructor(data?: ISchemaInstanceElementDto);
|
|
13704
|
-
init(_data?: any): void;
|
|
13705
|
-
static fromJS(data: any): SchemaInstanceElementDto;
|
|
13706
|
-
toJSON(data?: any): any;
|
|
13707
|
-
}
|
|
13708
|
-
export interface ISchemaInstanceElementDto {
|
|
13709
|
-
elementId: string;
|
|
13710
|
-
balloonId?: string | null;
|
|
13711
|
-
reference: number;
|
|
13712
|
-
disabled: boolean;
|
|
13713
|
-
}
|
|
13714
13762
|
export declare class ProductionCompanyDto implements IProductionCompanyDto {
|
|
13715
13763
|
id: string;
|
|
13716
13764
|
name: string;
|