@ignos/api-client 20260427.120.1 → 20260505.121.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.
- package/lib/ignosportal-api.d.ts +65 -87
- package/lib/ignosportal-api.js +16 -48
- package/package.json +1 -1
- package/src/ignosportal-api.ts +89 -126
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -163,7 +163,7 @@ export interface ISpatialClient {
|
|
|
163
163
|
updateResource(externalId: string, request: UpdateResourceRequest): Promise<ApplicationSpatialResourceDto>;
|
|
164
164
|
deleteResource(externalId: string): Promise<void>;
|
|
165
165
|
getFactory(): Promise<FactoryDto>;
|
|
166
|
-
|
|
166
|
+
upsertFactory(request: UpsertFactory): Promise<FactoryDto>;
|
|
167
167
|
deleteFactory(): Promise<void>;
|
|
168
168
|
}
|
|
169
169
|
export declare class SpatialClient extends AuthorizedApiBase implements ISpatialClient {
|
|
@@ -204,8 +204,8 @@ export declare class SpatialClient extends AuthorizedApiBase implements ISpatial
|
|
|
204
204
|
protected processDeleteResource(response: Response): Promise<void>;
|
|
205
205
|
getFactory(): Promise<FactoryDto>;
|
|
206
206
|
protected processGetFactory(response: Response): Promise<FactoryDto>;
|
|
207
|
-
|
|
208
|
-
protected
|
|
207
|
+
upsertFactory(request: UpsertFactory): Promise<FactoryDto>;
|
|
208
|
+
protected processUpsertFactory(response: Response): Promise<FactoryDto>;
|
|
209
209
|
deleteFactory(): Promise<void>;
|
|
210
210
|
protected processDeleteFactory(response: Response): Promise<void>;
|
|
211
211
|
}
|
|
@@ -748,14 +748,7 @@ export declare class PulseClient extends AuthorizedApiBase implements IPulseClie
|
|
|
748
748
|
protected processUpdatePulseSettingsResource(response: Response): Promise<PulseSettingsResourceDto>;
|
|
749
749
|
}
|
|
750
750
|
export interface IUtilizationClient {
|
|
751
|
-
|
|
752
|
-
* @param utilizationType (optional)
|
|
753
|
-
* @param startTime (optional)
|
|
754
|
-
* @param endTime (optional)
|
|
755
|
-
* @param ianaTimeZone (optional)
|
|
756
|
-
* @deprecated
|
|
757
|
-
*/
|
|
758
|
-
getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyUtilizationDto>;
|
|
751
|
+
getCompanyUtilization(request: UtilizationInputRequest): Promise<CompanyResourceUtilizationDto>;
|
|
759
752
|
/**
|
|
760
753
|
* @param utilizationType (optional)
|
|
761
754
|
* @param startTime (optional)
|
|
@@ -774,14 +767,7 @@ export interface IUtilizationClient {
|
|
|
774
767
|
* @deprecated
|
|
775
768
|
*/
|
|
776
769
|
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto>;
|
|
777
|
-
|
|
778
|
-
* @param utilizationType (optional)
|
|
779
|
-
* @param startTime (optional)
|
|
780
|
-
* @param endTime (optional)
|
|
781
|
-
* @param ianaTimeZone (optional)
|
|
782
|
-
* @deprecated
|
|
783
|
-
*/
|
|
784
|
-
getCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyUtilizationDatapointListDto>;
|
|
770
|
+
getCompanyUtilizationDatapoints(request: UtilizationInputRequest): Promise<CompanyResourceUtilizationDatapointListDto>;
|
|
785
771
|
/**
|
|
786
772
|
* @param utilizationType (optional)
|
|
787
773
|
* @param startTime (optional)
|
|
@@ -802,15 +788,8 @@ export declare class UtilizationClient extends AuthorizedApiBase implements IUti
|
|
|
802
788
|
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
803
789
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
804
790
|
});
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
* @param startTime (optional)
|
|
808
|
-
* @param endTime (optional)
|
|
809
|
-
* @param ianaTimeZone (optional)
|
|
810
|
-
* @deprecated
|
|
811
|
-
*/
|
|
812
|
-
getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyUtilizationDto>;
|
|
813
|
-
protected processGetCompanyUtilization(response: Response): Promise<CompanyUtilizationDto>;
|
|
791
|
+
getCompanyUtilization(request: UtilizationInputRequest): Promise<CompanyResourceUtilizationDto>;
|
|
792
|
+
protected processGetCompanyUtilization(response: Response): Promise<CompanyResourceUtilizationDto>;
|
|
814
793
|
/**
|
|
815
794
|
* @param utilizationType (optional)
|
|
816
795
|
* @param startTime (optional)
|
|
@@ -831,15 +810,8 @@ export declare class UtilizationClient extends AuthorizedApiBase implements IUti
|
|
|
831
810
|
*/
|
|
832
811
|
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto>;
|
|
833
812
|
protected processGetUtilizationDatapoints(response: Response): Promise<MachineUtilizationDatapointListDto>;
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
* @param startTime (optional)
|
|
837
|
-
* @param endTime (optional)
|
|
838
|
-
* @param ianaTimeZone (optional)
|
|
839
|
-
* @deprecated
|
|
840
|
-
*/
|
|
841
|
-
getCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyUtilizationDatapointListDto>;
|
|
842
|
-
protected processGetCompanyUtilizationDatapoints(response: Response): Promise<CompanyUtilizationDatapointListDto>;
|
|
813
|
+
getCompanyUtilizationDatapoints(request: UtilizationInputRequest): Promise<CompanyResourceUtilizationDatapointListDto>;
|
|
814
|
+
protected processGetCompanyUtilizationDatapoints(response: Response): Promise<CompanyResourceUtilizationDatapointListDto>;
|
|
843
815
|
/**
|
|
844
816
|
* @param utilizationType (optional)
|
|
845
817
|
* @param startTime (optional)
|
|
@@ -3509,7 +3481,7 @@ export interface Point {
|
|
|
3509
3481
|
bbox?: number[];
|
|
3510
3482
|
[key: string]: any;
|
|
3511
3483
|
}
|
|
3512
|
-
export interface
|
|
3484
|
+
export interface UpsertFactory {
|
|
3513
3485
|
centerPoint?: Point;
|
|
3514
3486
|
}
|
|
3515
3487
|
export interface UtilizationListDto {
|
|
@@ -4438,11 +4410,11 @@ export interface UpdatePulseSettingsResource {
|
|
|
4438
4410
|
resourceCalendarEnabled: boolean;
|
|
4439
4411
|
factoryCalendarEnabled: boolean;
|
|
4440
4412
|
}
|
|
4441
|
-
export interface
|
|
4442
|
-
utilizationType:
|
|
4413
|
+
export interface CompanyResourceUtilizationDto {
|
|
4414
|
+
utilizationType: ResourceUtilizationTypeDto;
|
|
4443
4415
|
companyUtilization: UtilizationDetailsV2Dto;
|
|
4444
|
-
groups:
|
|
4445
|
-
|
|
4416
|
+
groups: ResourceGroupUtilizationV2Dto[];
|
|
4417
|
+
ungroupedResources: ResourceUtilizationV3Dto[];
|
|
4446
4418
|
}
|
|
4447
4419
|
export interface UtilizationDetailsV2Dto {
|
|
4448
4420
|
utilizationPercent?: number | null;
|
|
@@ -4455,26 +4427,51 @@ export interface UtilizationDetailsV2Dto {
|
|
|
4455
4427
|
totalTimeInMilliseconds?: number | null;
|
|
4456
4428
|
performancePercent?: number | null;
|
|
4457
4429
|
}
|
|
4458
|
-
export interface
|
|
4430
|
+
export interface ResourceGroupUtilizationV2Dto {
|
|
4459
4431
|
name: string;
|
|
4460
4432
|
utilization: UtilizationDetailsV2Dto;
|
|
4461
|
-
|
|
4433
|
+
resources: ResourceUtilizationV3Dto[];
|
|
4462
4434
|
}
|
|
4463
|
-
export interface
|
|
4435
|
+
export interface ResourceUtilizationV3Dto {
|
|
4464
4436
|
id?: number;
|
|
4465
4437
|
name: string;
|
|
4466
4438
|
description?: string | null;
|
|
4467
4439
|
utilization: UtilizationDetailsV2Dto;
|
|
4468
4440
|
}
|
|
4441
|
+
export interface UtilizationInputRequest {
|
|
4442
|
+
utilizationType?: ResourceUtilizationTypeDto;
|
|
4443
|
+
startTime: Date;
|
|
4444
|
+
endTime?: Date | null;
|
|
4445
|
+
ianaTimeZone?: string | null;
|
|
4446
|
+
resourceExternalIds?: string[] | null;
|
|
4447
|
+
resourceGroupNames?: string[] | null;
|
|
4448
|
+
}
|
|
4469
4449
|
export interface CrossCompanyUtilizationDto {
|
|
4470
4450
|
utilizationType: UtilizationTypeDto;
|
|
4471
4451
|
crossCompanyUtilization: UtilizationDetailsV2Dto;
|
|
4472
4452
|
companies: NamedCompanyUtilizationDto[];
|
|
4473
4453
|
}
|
|
4454
|
+
export interface CompanyUtilizationDto {
|
|
4455
|
+
utilizationType: UtilizationTypeDto;
|
|
4456
|
+
companyUtilization: UtilizationDetailsV2Dto;
|
|
4457
|
+
groups: MachineGroupUtilizationV2Dto[];
|
|
4458
|
+
ungroupedMachines: MachineUtilizationV3Dto[];
|
|
4459
|
+
}
|
|
4474
4460
|
export interface NamedCompanyUtilizationDto extends CompanyUtilizationDto {
|
|
4475
4461
|
companyId: string;
|
|
4476
4462
|
companyName: string;
|
|
4477
4463
|
}
|
|
4464
|
+
export interface MachineGroupUtilizationV2Dto {
|
|
4465
|
+
name: string;
|
|
4466
|
+
utilization: UtilizationDetailsV2Dto;
|
|
4467
|
+
machines: MachineUtilizationV3Dto[];
|
|
4468
|
+
}
|
|
4469
|
+
export interface MachineUtilizationV3Dto {
|
|
4470
|
+
id?: number;
|
|
4471
|
+
name: string;
|
|
4472
|
+
description?: string | null;
|
|
4473
|
+
utilization: UtilizationDetailsV2Dto;
|
|
4474
|
+
}
|
|
4478
4475
|
export interface UtilizationDatapointListDto {
|
|
4479
4476
|
datapoints?: NumericNullableValueWithTimestamp[];
|
|
4480
4477
|
trendDatapoints?: NumericNullableValueWithTimestamp[];
|
|
@@ -4486,38 +4483,36 @@ export interface MachineUtilizationDatapointListDto extends UtilizationDatapoint
|
|
|
4486
4483
|
name: string;
|
|
4487
4484
|
description?: string | null;
|
|
4488
4485
|
}
|
|
4489
|
-
export interface
|
|
4490
|
-
groups?:
|
|
4491
|
-
|
|
4486
|
+
export interface CompanyResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4487
|
+
groups?: ResourceGroupUtilizationDatapointListDto[];
|
|
4488
|
+
ungroupedResources?: ResourceUtilizationDatapointListDto[];
|
|
4492
4489
|
}
|
|
4493
|
-
export interface
|
|
4490
|
+
export interface ResourceGroupUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4494
4491
|
groupId: string;
|
|
4495
4492
|
groupName: string;
|
|
4496
|
-
|
|
4493
|
+
resources?: ResourceUtilizationDatapointListDto[];
|
|
4494
|
+
}
|
|
4495
|
+
export interface ResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4496
|
+
externalId: string;
|
|
4497
|
+
id: number;
|
|
4498
|
+
name: string;
|
|
4499
|
+
description?: string | null;
|
|
4497
4500
|
}
|
|
4498
4501
|
export interface CrossCompanyUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4499
4502
|
companies?: NamedCompanyUtilizationDatapointListDto[];
|
|
4500
4503
|
}
|
|
4504
|
+
export interface CompanyUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4505
|
+
groups?: MachineGroupUtilizationDatapointListDto[];
|
|
4506
|
+
ungroupedMachines?: MachineUtilizationDatapointListDto[];
|
|
4507
|
+
}
|
|
4501
4508
|
export interface NamedCompanyUtilizationDatapointListDto extends CompanyUtilizationDatapointListDto {
|
|
4502
4509
|
companyId: string;
|
|
4503
4510
|
companyName: string;
|
|
4504
4511
|
}
|
|
4505
|
-
export interface
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
ungroupedResources: ResourceUtilizationV3Dto[];
|
|
4510
|
-
}
|
|
4511
|
-
export interface ResourceGroupUtilizationV2Dto {
|
|
4512
|
-
name: string;
|
|
4513
|
-
utilization: UtilizationDetailsV2Dto;
|
|
4514
|
-
resources: ResourceUtilizationV3Dto[];
|
|
4515
|
-
}
|
|
4516
|
-
export interface ResourceUtilizationV3Dto {
|
|
4517
|
-
id?: number;
|
|
4518
|
-
name: string;
|
|
4519
|
-
description?: string | null;
|
|
4520
|
-
utilization: UtilizationDetailsV2Dto;
|
|
4512
|
+
export interface MachineGroupUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4513
|
+
groupId: string;
|
|
4514
|
+
groupName: string;
|
|
4515
|
+
machines?: MachineUtilizationDatapointListDto[];
|
|
4521
4516
|
}
|
|
4522
4517
|
export interface CrossCompanyResourceUtilizationDto {
|
|
4523
4518
|
utilizationType: ResourceUtilizationTypeDto;
|
|
@@ -4528,21 +4523,6 @@ export interface NamedCompanyResourceUtilizationDto extends CompanyResourceUtili
|
|
|
4528
4523
|
companyId: string;
|
|
4529
4524
|
companyName: string;
|
|
4530
4525
|
}
|
|
4531
|
-
export interface ResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4532
|
-
externalId: string;
|
|
4533
|
-
id: number;
|
|
4534
|
-
name: string;
|
|
4535
|
-
description?: string | null;
|
|
4536
|
-
}
|
|
4537
|
-
export interface CompanyResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4538
|
-
groups?: ResourceGroupUtilizationDatapointListDto[];
|
|
4539
|
-
ungroupedResources?: ResourceUtilizationDatapointListDto[];
|
|
4540
|
-
}
|
|
4541
|
-
export interface ResourceGroupUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4542
|
-
groupId: string;
|
|
4543
|
-
groupName: string;
|
|
4544
|
-
resources?: ResourceUtilizationDatapointListDto[];
|
|
4545
|
-
}
|
|
4546
4526
|
export interface CrossCompanyResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4547
4527
|
companies?: NamedCompanyResourceUtilizationDatapointListDto[];
|
|
4548
4528
|
}
|
|
@@ -7881,7 +7861,7 @@ export interface ImaMaterialCheckDto {
|
|
|
7881
7861
|
specificationResults: ImaSpecificationResultsDto;
|
|
7882
7862
|
}
|
|
7883
7863
|
export type ImaSpecificationStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
7884
|
-
export type ImaMaterialCheckStatus = "Processing" | "Draft" | "Approved" | "Rejected" | "NotSet";
|
|
7864
|
+
export type ImaMaterialCheckStatus = "Processing" | "Draft" | "Approved" | "Rejected" | "Failed" | "NotSet";
|
|
7885
7865
|
export interface ImaCertificateTypeResultsDto extends ImaCdfEntityReadBase {
|
|
7886
7866
|
manufacturer: ImaCertificateTypeManufacturerResultsDto;
|
|
7887
7867
|
signature: ImaCertificateTypeSignatureResultsDto;
|
|
@@ -8003,11 +7983,9 @@ export interface ImaSpecificationMechanicalResultsDto extends ImaCdfEntityReadBa
|
|
|
8003
7983
|
export interface ImaSpecificationFerriteResultsDto extends ImaCdfEntityReadBase {
|
|
8004
7984
|
ferriteContent?: ImaSpecificationFerriteResultLineDto | null;
|
|
8005
7985
|
}
|
|
8006
|
-
export interface ImaSpecificationFerriteResultLineDto {
|
|
8007
|
-
|
|
8008
|
-
|
|
8009
|
-
specificationValue2?: string | null;
|
|
8010
|
-
specificationSymbol?: string | null;
|
|
7986
|
+
export interface ImaSpecificationFerriteResultLineDto extends ImaCdfEntityReadBase {
|
|
7987
|
+
specificationMin?: number | null;
|
|
7988
|
+
specificationMax?: number | null;
|
|
8011
7989
|
readValue?: string | null;
|
|
8012
7990
|
status: ImaSpecificationResultLineStatus;
|
|
8013
7991
|
override?: ImaResultLineOverrideDto | null;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -1203,13 +1203,13 @@ export class SpatialClient extends AuthorizedApiBase {
|
|
|
1203
1203
|
}
|
|
1204
1204
|
return Promise.resolve(null);
|
|
1205
1205
|
}
|
|
1206
|
-
|
|
1206
|
+
upsertFactory(request) {
|
|
1207
1207
|
let url_ = this.baseUrl + "/spatial/factory";
|
|
1208
1208
|
url_ = url_.replace(/[?&]$/, "");
|
|
1209
1209
|
const content_ = JSON.stringify(request);
|
|
1210
1210
|
let options_ = {
|
|
1211
1211
|
body: content_,
|
|
1212
|
-
method: "
|
|
1212
|
+
method: "POST",
|
|
1213
1213
|
headers: {
|
|
1214
1214
|
"Content-Type": "application/json",
|
|
1215
1215
|
"Accept": "application/json"
|
|
@@ -1218,10 +1218,10 @@ export class SpatialClient extends AuthorizedApiBase {
|
|
|
1218
1218
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
1219
1219
|
return this.http.fetch(url_, transformedOptions_);
|
|
1220
1220
|
}).then((_response) => {
|
|
1221
|
-
return this.
|
|
1221
|
+
return this.processUpsertFactory(_response);
|
|
1222
1222
|
});
|
|
1223
1223
|
}
|
|
1224
|
-
|
|
1224
|
+
processUpsertFactory(response) {
|
|
1225
1225
|
const status = response.status;
|
|
1226
1226
|
let _headers = {};
|
|
1227
1227
|
if (response.headers && response.headers.forEach) {
|
|
@@ -5651,31 +5651,15 @@ export class UtilizationClient extends AuthorizedApiBase {
|
|
|
5651
5651
|
this.http = http ? http : window;
|
|
5652
5652
|
this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
|
|
5653
5653
|
}
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
* @param startTime (optional)
|
|
5657
|
-
* @param endTime (optional)
|
|
5658
|
-
* @param ianaTimeZone (optional)
|
|
5659
|
-
* @deprecated
|
|
5660
|
-
*/
|
|
5661
|
-
getCompanyUtilization(utilizationType, startTime, endTime, ianaTimeZone) {
|
|
5662
|
-
let url_ = this.baseUrl + "/utilization?";
|
|
5663
|
-
if (utilizationType === null)
|
|
5664
|
-
throw new globalThis.Error("The parameter 'utilizationType' cannot be null.");
|
|
5665
|
-
else if (utilizationType !== undefined)
|
|
5666
|
-
url_ += "utilizationType=" + encodeURIComponent("" + utilizationType) + "&";
|
|
5667
|
-
if (startTime === null)
|
|
5668
|
-
throw new globalThis.Error("The parameter 'startTime' cannot be null.");
|
|
5669
|
-
else if (startTime !== undefined)
|
|
5670
|
-
url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&";
|
|
5671
|
-
if (endTime !== undefined && endTime !== null)
|
|
5672
|
-
url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&";
|
|
5673
|
-
if (ianaTimeZone !== undefined && ianaTimeZone !== null)
|
|
5674
|
-
url_ += "ianaTimeZone=" + encodeURIComponent("" + ianaTimeZone) + "&";
|
|
5654
|
+
getCompanyUtilization(request) {
|
|
5655
|
+
let url_ = this.baseUrl + "/utilization";
|
|
5675
5656
|
url_ = url_.replace(/[?&]$/, "");
|
|
5657
|
+
const content_ = JSON.stringify(request);
|
|
5676
5658
|
let options_ = {
|
|
5677
|
-
|
|
5659
|
+
body: content_,
|
|
5660
|
+
method: "POST",
|
|
5678
5661
|
headers: {
|
|
5662
|
+
"Content-Type": "application/json",
|
|
5679
5663
|
"Accept": "application/json"
|
|
5680
5664
|
}
|
|
5681
5665
|
};
|
|
@@ -5822,31 +5806,15 @@ export class UtilizationClient extends AuthorizedApiBase {
|
|
|
5822
5806
|
}
|
|
5823
5807
|
return Promise.resolve(null);
|
|
5824
5808
|
}
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
* @param startTime (optional)
|
|
5828
|
-
* @param endTime (optional)
|
|
5829
|
-
* @param ianaTimeZone (optional)
|
|
5830
|
-
* @deprecated
|
|
5831
|
-
*/
|
|
5832
|
-
getCompanyUtilizationDatapoints(utilizationType, startTime, endTime, ianaTimeZone) {
|
|
5833
|
-
let url_ = this.baseUrl + "/utilization/datapoints/company?";
|
|
5834
|
-
if (utilizationType === null)
|
|
5835
|
-
throw new globalThis.Error("The parameter 'utilizationType' cannot be null.");
|
|
5836
|
-
else if (utilizationType !== undefined)
|
|
5837
|
-
url_ += "utilizationType=" + encodeURIComponent("" + utilizationType) + "&";
|
|
5838
|
-
if (startTime === null)
|
|
5839
|
-
throw new globalThis.Error("The parameter 'startTime' cannot be null.");
|
|
5840
|
-
else if (startTime !== undefined)
|
|
5841
|
-
url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&";
|
|
5842
|
-
if (endTime !== undefined && endTime !== null)
|
|
5843
|
-
url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&";
|
|
5844
|
-
if (ianaTimeZone !== undefined && ianaTimeZone !== null)
|
|
5845
|
-
url_ += "ianaTimeZone=" + encodeURIComponent("" + ianaTimeZone) + "&";
|
|
5809
|
+
getCompanyUtilizationDatapoints(request) {
|
|
5810
|
+
let url_ = this.baseUrl + "/utilization/datapoints/company";
|
|
5846
5811
|
url_ = url_.replace(/[?&]$/, "");
|
|
5812
|
+
const content_ = JSON.stringify(request);
|
|
5847
5813
|
let options_ = {
|
|
5848
|
-
|
|
5814
|
+
body: content_,
|
|
5815
|
+
method: "POST",
|
|
5849
5816
|
headers: {
|
|
5817
|
+
"Content-Type": "application/json",
|
|
5850
5818
|
"Accept": "application/json"
|
|
5851
5819
|
}
|
|
5852
5820
|
};
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -701,7 +701,7 @@ export interface ISpatialClient {
|
|
|
701
701
|
|
|
702
702
|
getFactory(): Promise<FactoryDto>;
|
|
703
703
|
|
|
704
|
-
|
|
704
|
+
upsertFactory(request: UpsertFactory): Promise<FactoryDto>;
|
|
705
705
|
|
|
706
706
|
deleteFactory(): Promise<void>;
|
|
707
707
|
}
|
|
@@ -1331,7 +1331,7 @@ export class SpatialClient extends AuthorizedApiBase implements ISpatialClient {
|
|
|
1331
1331
|
return Promise.resolve<FactoryDto>(null as any);
|
|
1332
1332
|
}
|
|
1333
1333
|
|
|
1334
|
-
|
|
1334
|
+
upsertFactory(request: UpsertFactory): Promise<FactoryDto> {
|
|
1335
1335
|
let url_ = this.baseUrl + "/spatial/factory";
|
|
1336
1336
|
url_ = url_.replace(/[?&]$/, "");
|
|
1337
1337
|
|
|
@@ -1339,7 +1339,7 @@ export class SpatialClient extends AuthorizedApiBase implements ISpatialClient {
|
|
|
1339
1339
|
|
|
1340
1340
|
let options_: RequestInit = {
|
|
1341
1341
|
body: content_,
|
|
1342
|
-
method: "
|
|
1342
|
+
method: "POST",
|
|
1343
1343
|
headers: {
|
|
1344
1344
|
"Content-Type": "application/json",
|
|
1345
1345
|
"Accept": "application/json"
|
|
@@ -1349,11 +1349,11 @@ export class SpatialClient extends AuthorizedApiBase implements ISpatialClient {
|
|
|
1349
1349
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
1350
1350
|
return this.http.fetch(url_, transformedOptions_);
|
|
1351
1351
|
}).then((_response: Response) => {
|
|
1352
|
-
return this.
|
|
1352
|
+
return this.processUpsertFactory(_response);
|
|
1353
1353
|
});
|
|
1354
1354
|
}
|
|
1355
1355
|
|
|
1356
|
-
protected
|
|
1356
|
+
protected processUpsertFactory(response: Response): Promise<FactoryDto> {
|
|
1357
1357
|
const status = response.status;
|
|
1358
1358
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
1359
1359
|
if (status === 200) {
|
|
@@ -6075,14 +6075,7 @@ export class PulseClient extends AuthorizedApiBase implements IPulseClient {
|
|
|
6075
6075
|
|
|
6076
6076
|
export interface IUtilizationClient {
|
|
6077
6077
|
|
|
6078
|
-
|
|
6079
|
-
* @param utilizationType (optional)
|
|
6080
|
-
* @param startTime (optional)
|
|
6081
|
-
* @param endTime (optional)
|
|
6082
|
-
* @param ianaTimeZone (optional)
|
|
6083
|
-
* @deprecated
|
|
6084
|
-
*/
|
|
6085
|
-
getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyUtilizationDto>;
|
|
6078
|
+
getCompanyUtilization(request: UtilizationInputRequest): Promise<CompanyResourceUtilizationDto>;
|
|
6086
6079
|
|
|
6087
6080
|
/**
|
|
6088
6081
|
* @param utilizationType (optional)
|
|
@@ -6104,14 +6097,7 @@ export interface IUtilizationClient {
|
|
|
6104
6097
|
*/
|
|
6105
6098
|
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto>;
|
|
6106
6099
|
|
|
6107
|
-
|
|
6108
|
-
* @param utilizationType (optional)
|
|
6109
|
-
* @param startTime (optional)
|
|
6110
|
-
* @param endTime (optional)
|
|
6111
|
-
* @param ianaTimeZone (optional)
|
|
6112
|
-
* @deprecated
|
|
6113
|
-
*/
|
|
6114
|
-
getCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyUtilizationDatapointListDto>;
|
|
6100
|
+
getCompanyUtilizationDatapoints(request: UtilizationInputRequest): Promise<CompanyResourceUtilizationDatapointListDto>;
|
|
6115
6101
|
|
|
6116
6102
|
/**
|
|
6117
6103
|
* @param utilizationType (optional)
|
|
@@ -6143,32 +6129,17 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
|
|
|
6143
6129
|
this.baseUrl = baseUrl ?? "";
|
|
6144
6130
|
}
|
|
6145
6131
|
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
* @param startTime (optional)
|
|
6149
|
-
* @param endTime (optional)
|
|
6150
|
-
* @param ianaTimeZone (optional)
|
|
6151
|
-
* @deprecated
|
|
6152
|
-
*/
|
|
6153
|
-
getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyUtilizationDto> {
|
|
6154
|
-
let url_ = this.baseUrl + "/utilization?";
|
|
6155
|
-
if (utilizationType === null)
|
|
6156
|
-
throw new globalThis.Error("The parameter 'utilizationType' cannot be null.");
|
|
6157
|
-
else if (utilizationType !== undefined)
|
|
6158
|
-
url_ += "utilizationType=" + encodeURIComponent("" + utilizationType) + "&";
|
|
6159
|
-
if (startTime === null)
|
|
6160
|
-
throw new globalThis.Error("The parameter 'startTime' cannot be null.");
|
|
6161
|
-
else if (startTime !== undefined)
|
|
6162
|
-
url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&";
|
|
6163
|
-
if (endTime !== undefined && endTime !== null)
|
|
6164
|
-
url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&";
|
|
6165
|
-
if (ianaTimeZone !== undefined && ianaTimeZone !== null)
|
|
6166
|
-
url_ += "ianaTimeZone=" + encodeURIComponent("" + ianaTimeZone) + "&";
|
|
6132
|
+
getCompanyUtilization(request: UtilizationInputRequest): Promise<CompanyResourceUtilizationDto> {
|
|
6133
|
+
let url_ = this.baseUrl + "/utilization";
|
|
6167
6134
|
url_ = url_.replace(/[?&]$/, "");
|
|
6168
6135
|
|
|
6136
|
+
const content_ = JSON.stringify(request);
|
|
6137
|
+
|
|
6169
6138
|
let options_: RequestInit = {
|
|
6170
|
-
|
|
6139
|
+
body: content_,
|
|
6140
|
+
method: "POST",
|
|
6171
6141
|
headers: {
|
|
6142
|
+
"Content-Type": "application/json",
|
|
6172
6143
|
"Accept": "application/json"
|
|
6173
6144
|
}
|
|
6174
6145
|
};
|
|
@@ -6180,13 +6151,13 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
|
|
|
6180
6151
|
});
|
|
6181
6152
|
}
|
|
6182
6153
|
|
|
6183
|
-
protected processGetCompanyUtilization(response: Response): Promise<
|
|
6154
|
+
protected processGetCompanyUtilization(response: Response): Promise<CompanyResourceUtilizationDto> {
|
|
6184
6155
|
const status = response.status;
|
|
6185
6156
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
6186
6157
|
if (status === 200) {
|
|
6187
6158
|
return response.text().then((_responseText) => {
|
|
6188
6159
|
let result200: any = null;
|
|
6189
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as
|
|
6160
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as CompanyResourceUtilizationDto;
|
|
6190
6161
|
return result200;
|
|
6191
6162
|
});
|
|
6192
6163
|
} else if (status !== 200 && status !== 204) {
|
|
@@ -6194,7 +6165,7 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
|
|
|
6194
6165
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
6195
6166
|
});
|
|
6196
6167
|
}
|
|
6197
|
-
return Promise.resolve<
|
|
6168
|
+
return Promise.resolve<CompanyResourceUtilizationDto>(null as any);
|
|
6198
6169
|
}
|
|
6199
6170
|
|
|
6200
6171
|
/**
|
|
@@ -6311,32 +6282,17 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
|
|
|
6311
6282
|
return Promise.resolve<MachineUtilizationDatapointListDto>(null as any);
|
|
6312
6283
|
}
|
|
6313
6284
|
|
|
6314
|
-
|
|
6315
|
-
|
|
6316
|
-
* @param startTime (optional)
|
|
6317
|
-
* @param endTime (optional)
|
|
6318
|
-
* @param ianaTimeZone (optional)
|
|
6319
|
-
* @deprecated
|
|
6320
|
-
*/
|
|
6321
|
-
getCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyUtilizationDatapointListDto> {
|
|
6322
|
-
let url_ = this.baseUrl + "/utilization/datapoints/company?";
|
|
6323
|
-
if (utilizationType === null)
|
|
6324
|
-
throw new globalThis.Error("The parameter 'utilizationType' cannot be null.");
|
|
6325
|
-
else if (utilizationType !== undefined)
|
|
6326
|
-
url_ += "utilizationType=" + encodeURIComponent("" + utilizationType) + "&";
|
|
6327
|
-
if (startTime === null)
|
|
6328
|
-
throw new globalThis.Error("The parameter 'startTime' cannot be null.");
|
|
6329
|
-
else if (startTime !== undefined)
|
|
6330
|
-
url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&";
|
|
6331
|
-
if (endTime !== undefined && endTime !== null)
|
|
6332
|
-
url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&";
|
|
6333
|
-
if (ianaTimeZone !== undefined && ianaTimeZone !== null)
|
|
6334
|
-
url_ += "ianaTimeZone=" + encodeURIComponent("" + ianaTimeZone) + "&";
|
|
6285
|
+
getCompanyUtilizationDatapoints(request: UtilizationInputRequest): Promise<CompanyResourceUtilizationDatapointListDto> {
|
|
6286
|
+
let url_ = this.baseUrl + "/utilization/datapoints/company";
|
|
6335
6287
|
url_ = url_.replace(/[?&]$/, "");
|
|
6336
6288
|
|
|
6289
|
+
const content_ = JSON.stringify(request);
|
|
6290
|
+
|
|
6337
6291
|
let options_: RequestInit = {
|
|
6338
|
-
|
|
6292
|
+
body: content_,
|
|
6293
|
+
method: "POST",
|
|
6339
6294
|
headers: {
|
|
6295
|
+
"Content-Type": "application/json",
|
|
6340
6296
|
"Accept": "application/json"
|
|
6341
6297
|
}
|
|
6342
6298
|
};
|
|
@@ -6348,13 +6304,13 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
|
|
|
6348
6304
|
});
|
|
6349
6305
|
}
|
|
6350
6306
|
|
|
6351
|
-
protected processGetCompanyUtilizationDatapoints(response: Response): Promise<
|
|
6307
|
+
protected processGetCompanyUtilizationDatapoints(response: Response): Promise<CompanyResourceUtilizationDatapointListDto> {
|
|
6352
6308
|
const status = response.status;
|
|
6353
6309
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
6354
6310
|
if (status === 200) {
|
|
6355
6311
|
return response.text().then((_responseText) => {
|
|
6356
6312
|
let result200: any = null;
|
|
6357
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as
|
|
6313
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as CompanyResourceUtilizationDatapointListDto;
|
|
6358
6314
|
return result200;
|
|
6359
6315
|
});
|
|
6360
6316
|
} else if (status !== 200 && status !== 204) {
|
|
@@ -6362,7 +6318,7 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
|
|
|
6362
6318
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
6363
6319
|
});
|
|
6364
6320
|
}
|
|
6365
|
-
return Promise.resolve<
|
|
6321
|
+
return Promise.resolve<CompanyResourceUtilizationDatapointListDto>(null as any);
|
|
6366
6322
|
}
|
|
6367
6323
|
|
|
6368
6324
|
/**
|
|
@@ -29828,7 +29784,7 @@ export interface Point {
|
|
|
29828
29784
|
[key: string]: any;
|
|
29829
29785
|
}
|
|
29830
29786
|
|
|
29831
|
-
export interface
|
|
29787
|
+
export interface UpsertFactory {
|
|
29832
29788
|
centerPoint?: Point;
|
|
29833
29789
|
}
|
|
29834
29790
|
|
|
@@ -30902,11 +30858,11 @@ export interface UpdatePulseSettingsResource {
|
|
|
30902
30858
|
factoryCalendarEnabled: boolean;
|
|
30903
30859
|
}
|
|
30904
30860
|
|
|
30905
|
-
export interface
|
|
30906
|
-
utilizationType:
|
|
30861
|
+
export interface CompanyResourceUtilizationDto {
|
|
30862
|
+
utilizationType: ResourceUtilizationTypeDto;
|
|
30907
30863
|
companyUtilization: UtilizationDetailsV2Dto;
|
|
30908
|
-
groups:
|
|
30909
|
-
|
|
30864
|
+
groups: ResourceGroupUtilizationV2Dto[];
|
|
30865
|
+
ungroupedResources: ResourceUtilizationV3Dto[];
|
|
30910
30866
|
}
|
|
30911
30867
|
|
|
30912
30868
|
export interface UtilizationDetailsV2Dto {
|
|
@@ -30921,30 +30877,59 @@ export interface UtilizationDetailsV2Dto {
|
|
|
30921
30877
|
performancePercent?: number | null;
|
|
30922
30878
|
}
|
|
30923
30879
|
|
|
30924
|
-
export interface
|
|
30880
|
+
export interface ResourceGroupUtilizationV2Dto {
|
|
30925
30881
|
name: string;
|
|
30926
30882
|
utilization: UtilizationDetailsV2Dto;
|
|
30927
|
-
|
|
30883
|
+
resources: ResourceUtilizationV3Dto[];
|
|
30928
30884
|
}
|
|
30929
30885
|
|
|
30930
|
-
export interface
|
|
30886
|
+
export interface ResourceUtilizationV3Dto {
|
|
30931
30887
|
id?: number;
|
|
30932
30888
|
name: string;
|
|
30933
30889
|
description?: string | null;
|
|
30934
30890
|
utilization: UtilizationDetailsV2Dto;
|
|
30935
30891
|
}
|
|
30936
30892
|
|
|
30893
|
+
export interface UtilizationInputRequest {
|
|
30894
|
+
utilizationType?: ResourceUtilizationTypeDto;
|
|
30895
|
+
startTime: Date;
|
|
30896
|
+
endTime?: Date | null;
|
|
30897
|
+
ianaTimeZone?: string | null;
|
|
30898
|
+
resourceExternalIds?: string[] | null;
|
|
30899
|
+
resourceGroupNames?: string[] | null;
|
|
30900
|
+
}
|
|
30901
|
+
|
|
30937
30902
|
export interface CrossCompanyUtilizationDto {
|
|
30938
30903
|
utilizationType: UtilizationTypeDto;
|
|
30939
30904
|
crossCompanyUtilization: UtilizationDetailsV2Dto;
|
|
30940
30905
|
companies: NamedCompanyUtilizationDto[];
|
|
30941
30906
|
}
|
|
30942
30907
|
|
|
30908
|
+
export interface CompanyUtilizationDto {
|
|
30909
|
+
utilizationType: UtilizationTypeDto;
|
|
30910
|
+
companyUtilization: UtilizationDetailsV2Dto;
|
|
30911
|
+
groups: MachineGroupUtilizationV2Dto[];
|
|
30912
|
+
ungroupedMachines: MachineUtilizationV3Dto[];
|
|
30913
|
+
}
|
|
30914
|
+
|
|
30943
30915
|
export interface NamedCompanyUtilizationDto extends CompanyUtilizationDto {
|
|
30944
30916
|
companyId: string;
|
|
30945
30917
|
companyName: string;
|
|
30946
30918
|
}
|
|
30947
30919
|
|
|
30920
|
+
export interface MachineGroupUtilizationV2Dto {
|
|
30921
|
+
name: string;
|
|
30922
|
+
utilization: UtilizationDetailsV2Dto;
|
|
30923
|
+
machines: MachineUtilizationV3Dto[];
|
|
30924
|
+
}
|
|
30925
|
+
|
|
30926
|
+
export interface MachineUtilizationV3Dto {
|
|
30927
|
+
id?: number;
|
|
30928
|
+
name: string;
|
|
30929
|
+
description?: string | null;
|
|
30930
|
+
utilization: UtilizationDetailsV2Dto;
|
|
30931
|
+
}
|
|
30932
|
+
|
|
30948
30933
|
export interface UtilizationDatapointListDto {
|
|
30949
30934
|
datapoints?: NumericNullableValueWithTimestamp[];
|
|
30950
30935
|
trendDatapoints?: NumericNullableValueWithTimestamp[];
|
|
@@ -30958,44 +30943,42 @@ export interface MachineUtilizationDatapointListDto extends UtilizationDatapoint
|
|
|
30958
30943
|
description?: string | null;
|
|
30959
30944
|
}
|
|
30960
30945
|
|
|
30961
|
-
export interface
|
|
30962
|
-
groups?:
|
|
30963
|
-
|
|
30946
|
+
export interface CompanyResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
30947
|
+
groups?: ResourceGroupUtilizationDatapointListDto[];
|
|
30948
|
+
ungroupedResources?: ResourceUtilizationDatapointListDto[];
|
|
30964
30949
|
}
|
|
30965
30950
|
|
|
30966
|
-
export interface
|
|
30951
|
+
export interface ResourceGroupUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
30967
30952
|
groupId: string;
|
|
30968
30953
|
groupName: string;
|
|
30969
|
-
|
|
30954
|
+
resources?: ResourceUtilizationDatapointListDto[];
|
|
30955
|
+
}
|
|
30956
|
+
|
|
30957
|
+
export interface ResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
30958
|
+
externalId: string;
|
|
30959
|
+
id: number;
|
|
30960
|
+
name: string;
|
|
30961
|
+
description?: string | null;
|
|
30970
30962
|
}
|
|
30971
30963
|
|
|
30972
30964
|
export interface CrossCompanyUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
30973
30965
|
companies?: NamedCompanyUtilizationDatapointListDto[];
|
|
30974
30966
|
}
|
|
30975
30967
|
|
|
30968
|
+
export interface CompanyUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
30969
|
+
groups?: MachineGroupUtilizationDatapointListDto[];
|
|
30970
|
+
ungroupedMachines?: MachineUtilizationDatapointListDto[];
|
|
30971
|
+
}
|
|
30972
|
+
|
|
30976
30973
|
export interface NamedCompanyUtilizationDatapointListDto extends CompanyUtilizationDatapointListDto {
|
|
30977
30974
|
companyId: string;
|
|
30978
30975
|
companyName: string;
|
|
30979
30976
|
}
|
|
30980
30977
|
|
|
30981
|
-
export interface
|
|
30982
|
-
|
|
30983
|
-
|
|
30984
|
-
|
|
30985
|
-
ungroupedResources: ResourceUtilizationV3Dto[];
|
|
30986
|
-
}
|
|
30987
|
-
|
|
30988
|
-
export interface ResourceGroupUtilizationV2Dto {
|
|
30989
|
-
name: string;
|
|
30990
|
-
utilization: UtilizationDetailsV2Dto;
|
|
30991
|
-
resources: ResourceUtilizationV3Dto[];
|
|
30992
|
-
}
|
|
30993
|
-
|
|
30994
|
-
export interface ResourceUtilizationV3Dto {
|
|
30995
|
-
id?: number;
|
|
30996
|
-
name: string;
|
|
30997
|
-
description?: string | null;
|
|
30998
|
-
utilization: UtilizationDetailsV2Dto;
|
|
30978
|
+
export interface MachineGroupUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
30979
|
+
groupId: string;
|
|
30980
|
+
groupName: string;
|
|
30981
|
+
machines?: MachineUtilizationDatapointListDto[];
|
|
30999
30982
|
}
|
|
31000
30983
|
|
|
31001
30984
|
export interface CrossCompanyResourceUtilizationDto {
|
|
@@ -31009,24 +30992,6 @@ export interface NamedCompanyResourceUtilizationDto extends CompanyResourceUtili
|
|
|
31009
30992
|
companyName: string;
|
|
31010
30993
|
}
|
|
31011
30994
|
|
|
31012
|
-
export interface ResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
31013
|
-
externalId: string;
|
|
31014
|
-
id: number;
|
|
31015
|
-
name: string;
|
|
31016
|
-
description?: string | null;
|
|
31017
|
-
}
|
|
31018
|
-
|
|
31019
|
-
export interface CompanyResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
31020
|
-
groups?: ResourceGroupUtilizationDatapointListDto[];
|
|
31021
|
-
ungroupedResources?: ResourceUtilizationDatapointListDto[];
|
|
31022
|
-
}
|
|
31023
|
-
|
|
31024
|
-
export interface ResourceGroupUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
31025
|
-
groupId: string;
|
|
31026
|
-
groupName: string;
|
|
31027
|
-
resources?: ResourceUtilizationDatapointListDto[];
|
|
31028
|
-
}
|
|
31029
|
-
|
|
31030
30995
|
export interface CrossCompanyResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
31031
30996
|
companies?: NamedCompanyResourceUtilizationDatapointListDto[];
|
|
31032
30997
|
}
|
|
@@ -34812,7 +34777,7 @@ export interface ImaMaterialCheckDto {
|
|
|
34812
34777
|
|
|
34813
34778
|
export type ImaSpecificationStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
34814
34779
|
|
|
34815
|
-
export type ImaMaterialCheckStatus = "Processing" | "Draft" | "Approved" | "Rejected" | "NotSet";
|
|
34780
|
+
export type ImaMaterialCheckStatus = "Processing" | "Draft" | "Approved" | "Rejected" | "Failed" | "NotSet";
|
|
34816
34781
|
|
|
34817
34782
|
export interface ImaCertificateTypeResultsDto extends ImaCdfEntityReadBase {
|
|
34818
34783
|
manufacturer: ImaCertificateTypeManufacturerResultsDto;
|
|
@@ -34952,11 +34917,9 @@ export interface ImaSpecificationFerriteResultsDto extends ImaCdfEntityReadBase
|
|
|
34952
34917
|
ferriteContent?: ImaSpecificationFerriteResultLineDto | null;
|
|
34953
34918
|
}
|
|
34954
34919
|
|
|
34955
|
-
export interface ImaSpecificationFerriteResultLineDto {
|
|
34956
|
-
|
|
34957
|
-
|
|
34958
|
-
specificationValue2?: string | null;
|
|
34959
|
-
specificationSymbol?: string | null;
|
|
34920
|
+
export interface ImaSpecificationFerriteResultLineDto extends ImaCdfEntityReadBase {
|
|
34921
|
+
specificationMin?: number | null;
|
|
34922
|
+
specificationMax?: number | null;
|
|
34960
34923
|
readValue?: string | null;
|
|
34961
34924
|
status: ImaSpecificationResultLineStatus;
|
|
34962
34925
|
override?: ImaResultLineOverrideDto | null;
|