@ignos/api-client 20260216.51.1-alpha → 20260218.53.1-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 +33 -4
- package/lib/ignosportal-api.js +45 -8
- package/package.json +1 -1
- package/src/ignosportal-api.ts +80 -12
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -312,6 +312,7 @@ export declare class MeClient extends AuthorizedApiBase implements IMeClient {
|
|
|
312
312
|
export interface IUsersClient {
|
|
313
313
|
listUsers(pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfUserDto>;
|
|
314
314
|
postListUsers(request: ListUsersRequest | undefined): Promise<PagedResultOfUserDto>;
|
|
315
|
+
listUsersNotSeenAfter(request: ListUsersNotSeenAfterRequest): Promise<PagedResultOfUserDto>;
|
|
315
316
|
}
|
|
316
317
|
export declare class UsersClient extends AuthorizedApiBase implements IUsersClient {
|
|
317
318
|
private http;
|
|
@@ -323,6 +324,8 @@ export declare class UsersClient extends AuthorizedApiBase implements IUsersClie
|
|
|
323
324
|
protected processListUsers(response: Response): Promise<PagedResultOfUserDto>;
|
|
324
325
|
postListUsers(request: ListUsersRequest | undefined): Promise<PagedResultOfUserDto>;
|
|
325
326
|
protected processPostListUsers(response: Response): Promise<PagedResultOfUserDto>;
|
|
327
|
+
listUsersNotSeenAfter(request: ListUsersNotSeenAfterRequest): Promise<PagedResultOfUserDto>;
|
|
328
|
+
protected processListUsersNotSeenAfter(response: Response): Promise<PagedResultOfUserDto>;
|
|
326
329
|
}
|
|
327
330
|
export interface IUserAppSettingsClient {
|
|
328
331
|
getRouteCardUserSettings(): Promise<RouteCardAppSettings>;
|
|
@@ -3185,7 +3188,7 @@ export declare class MaterialCertificateChecksClient extends AuthorizedApiBase i
|
|
|
3185
3188
|
}
|
|
3186
3189
|
export interface IMaterialCertificateSpecificationsClient {
|
|
3187
3190
|
listSpecifications(): Promise<AmcSpecificationLiteDto[]>;
|
|
3188
|
-
getSpecification(specificationId: string, version: number): Promise<AmcSpecificationDto>;
|
|
3191
|
+
getSpecification(specificationId: string, version: number | null | undefined): Promise<AmcSpecificationDto>;
|
|
3189
3192
|
createSpecifications(specificationsRequest: CreateAmcSpecificationDto): Promise<AmcSpecificationDto>;
|
|
3190
3193
|
updateSpecifications(specificationsRequest: UpdateAmcSpecificationDto): Promise<AmcSpecificationDto>;
|
|
3191
3194
|
deleteMaterialCertificateTypes(materialCertificateSpecificationId: string, version: string): Promise<void>;
|
|
@@ -3198,7 +3201,7 @@ export declare class MaterialCertificateSpecificationsClient extends AuthorizedA
|
|
|
3198
3201
|
});
|
|
3199
3202
|
listSpecifications(): Promise<AmcSpecificationLiteDto[]>;
|
|
3200
3203
|
protected processListSpecifications(response: Response): Promise<AmcSpecificationLiteDto[]>;
|
|
3201
|
-
getSpecification(specificationId: string, version: number): Promise<AmcSpecificationDto>;
|
|
3204
|
+
getSpecification(specificationId: string, version: number | null | undefined): Promise<AmcSpecificationDto>;
|
|
3202
3205
|
protected processGetSpecification(response: Response): Promise<AmcSpecificationDto>;
|
|
3203
3206
|
createSpecifications(specificationsRequest: CreateAmcSpecificationDto): Promise<AmcSpecificationDto>;
|
|
3204
3207
|
protected processCreateSpecifications(response: Response): Promise<AmcSpecificationDto>;
|
|
@@ -3209,7 +3212,7 @@ export declare class MaterialCertificateSpecificationsClient extends AuthorizedA
|
|
|
3209
3212
|
}
|
|
3210
3213
|
export interface IMaterialCertificateTypesClient {
|
|
3211
3214
|
listMaterialCertificateTypes(): Promise<AmcTypeLiteDto[]>;
|
|
3212
|
-
getMaterialCertificateTypes(typeId: string, version: number): Promise<AmcTypeDto>;
|
|
3215
|
+
getMaterialCertificateTypes(typeId: string, version: number | null | undefined): Promise<AmcTypeDto>;
|
|
3213
3216
|
createMaterialCertificateTypes(certificatesTypesRequest: CreateAmcTypeRequestDto): Promise<AmcTypeDto>;
|
|
3214
3217
|
updateMaterialCertificateTypes(certificatesTypesRequest: UpdateAmcTypeDto): Promise<AmcTypeDto>;
|
|
3215
3218
|
deleteMaterialCertificateTypes(materialCertificateTypeId: string, version: number): Promise<void>;
|
|
@@ -3222,7 +3225,7 @@ export declare class MaterialCertificateTypesClient extends AuthorizedApiBase im
|
|
|
3222
3225
|
});
|
|
3223
3226
|
listMaterialCertificateTypes(): Promise<AmcTypeLiteDto[]>;
|
|
3224
3227
|
protected processListMaterialCertificateTypes(response: Response): Promise<AmcTypeLiteDto[]>;
|
|
3225
|
-
getMaterialCertificateTypes(typeId: string, version: number): Promise<AmcTypeDto>;
|
|
3228
|
+
getMaterialCertificateTypes(typeId: string, version: number | null | undefined): Promise<AmcTypeDto>;
|
|
3226
3229
|
protected processGetMaterialCertificateTypes(response: Response): Promise<AmcTypeDto>;
|
|
3227
3230
|
createMaterialCertificateTypes(certificatesTypesRequest: CreateAmcTypeRequestDto): Promise<AmcTypeDto>;
|
|
3228
3231
|
protected processCreateMaterialCertificateTypes(response: Response): Promise<AmcTypeDto>;
|
|
@@ -3341,6 +3344,9 @@ export interface DowntimePeriodReasonDto {
|
|
|
3341
3344
|
autoCompleteDowntime?: boolean | null;
|
|
3342
3345
|
createdBy?: EmployeeDto | null;
|
|
3343
3346
|
updatedBy?: EmployeeDto | null;
|
|
3347
|
+
workOrderId?: string | null;
|
|
3348
|
+
partNumber?: string | null;
|
|
3349
|
+
partName?: string | null;
|
|
3344
3350
|
}
|
|
3345
3351
|
export type DowntimeReasonTypeDto = "Unplanned" | "Planned";
|
|
3346
3352
|
export interface EmployeeDto {
|
|
@@ -3479,6 +3485,11 @@ export interface ListUsersRequest {
|
|
|
3479
3485
|
filter?: string | null;
|
|
3480
3486
|
continuationToken?: string | null;
|
|
3481
3487
|
}
|
|
3488
|
+
export interface ListUsersNotSeenAfterRequest {
|
|
3489
|
+
notSeenAfter: Date;
|
|
3490
|
+
pageSize?: number | null;
|
|
3491
|
+
continuationToken?: string | null;
|
|
3492
|
+
}
|
|
3482
3493
|
export interface RouteCardAppSettings {
|
|
3483
3494
|
includeDrawingInRouteCardPrint?: boolean;
|
|
3484
3495
|
routeCardPrintInLandscapeOrientation?: boolean;
|
|
@@ -3747,6 +3758,9 @@ export interface CreateDowntimePeriodReason {
|
|
|
3747
3758
|
endTime?: Date | null;
|
|
3748
3759
|
autoCompleteDowntime?: boolean | null;
|
|
3749
3760
|
comment?: string | null;
|
|
3761
|
+
workOrderId?: string | null;
|
|
3762
|
+
partNumber?: string | null;
|
|
3763
|
+
partName?: string | null;
|
|
3750
3764
|
}
|
|
3751
3765
|
export interface IgnosPortalControllersResourcesApiModelsUpdateDowntimePeriodReasonRequest {
|
|
3752
3766
|
reasonId?: string | null;
|
|
@@ -3755,6 +3769,9 @@ export interface IgnosPortalControllersResourcesApiModelsUpdateDowntimePeriodRea
|
|
|
3755
3769
|
endTime?: Date | null;
|
|
3756
3770
|
autoCompleteDowntime?: boolean | null;
|
|
3757
3771
|
comment?: string | null;
|
|
3772
|
+
workOrderId?: string | null;
|
|
3773
|
+
partNumber?: string | null;
|
|
3774
|
+
partName?: string | null;
|
|
3758
3775
|
}
|
|
3759
3776
|
export interface TopDowntimeReasonsDto {
|
|
3760
3777
|
planned: DowntimeReasonCountDto[];
|
|
@@ -3846,6 +3863,7 @@ export interface CalendarSettingsDto {
|
|
|
3846
3863
|
};
|
|
3847
3864
|
halfDayHours?: number;
|
|
3848
3865
|
holidayHours?: number;
|
|
3866
|
+
defaultPerformanceFraction?: number;
|
|
3849
3867
|
}
|
|
3850
3868
|
export type DayOfWeek = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
3851
3869
|
export interface UpdateCalendarSettingsCommand {
|
|
@@ -3854,6 +3872,7 @@ export interface UpdateCalendarSettingsCommand {
|
|
|
3854
3872
|
};
|
|
3855
3873
|
halfDayHours?: number;
|
|
3856
3874
|
holidayHours?: number;
|
|
3875
|
+
defaultPerformanceFraction?: number;
|
|
3857
3876
|
}
|
|
3858
3877
|
export interface ResourceKpiDto {
|
|
3859
3878
|
uptimeToNow: number;
|
|
@@ -8752,6 +8771,7 @@ export type AmcSpecificationStatus = "Draft" | "Released" | "Expired" | "Rejecte
|
|
|
8752
8771
|
export interface AmcSpecificationDto {
|
|
8753
8772
|
specificationId: string;
|
|
8754
8773
|
version: number;
|
|
8774
|
+
allVersions: AmcSpecificationVersionDto[];
|
|
8755
8775
|
name: string;
|
|
8756
8776
|
number: string;
|
|
8757
8777
|
revision: string;
|
|
@@ -8769,6 +8789,10 @@ export interface AmcSpecificationDto {
|
|
|
8769
8789
|
ferriteSpecification: AmcFerriteSpecificationDto;
|
|
8770
8790
|
heatSpecification: AmcHeatTreatmentSpecificationDto;
|
|
8771
8791
|
}
|
|
8792
|
+
export interface AmcSpecificationVersionDto {
|
|
8793
|
+
version?: number;
|
|
8794
|
+
status?: AmcSpecificationStatus;
|
|
8795
|
+
}
|
|
8772
8796
|
export interface AmcChemistrySpecificationDto {
|
|
8773
8797
|
carbon?: AmcSpecificationLineDto | null;
|
|
8774
8798
|
manganese?: AmcSpecificationLineDto | null;
|
|
@@ -8853,6 +8877,7 @@ export type AmcTypeStatus = "Draft" | "Released" | "Expired" | "Rejected";
|
|
|
8853
8877
|
export interface AmcTypeDto {
|
|
8854
8878
|
typeId: string;
|
|
8855
8879
|
version: number;
|
|
8880
|
+
allVersions: AmcTypeVersionDto[];
|
|
8856
8881
|
name: string;
|
|
8857
8882
|
revision: string;
|
|
8858
8883
|
status: AmcTypeStatus;
|
|
@@ -8865,6 +8890,10 @@ export interface AmcTypeDto {
|
|
|
8865
8890
|
updatedById?: string | null;
|
|
8866
8891
|
checks: AmcTypeChecksDto;
|
|
8867
8892
|
}
|
|
8893
|
+
export interface AmcTypeVersionDto {
|
|
8894
|
+
version?: number;
|
|
8895
|
+
status?: AmcTypeStatus;
|
|
8896
|
+
}
|
|
8868
8897
|
export interface AmcTypeChecksDto {
|
|
8869
8898
|
manufacturer: AmcTypeManufacturerChecksDto;
|
|
8870
8899
|
signature: AmcTypeSignatureChecksDto;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -1786,6 +1786,45 @@ export class UsersClient extends AuthorizedApiBase {
|
|
|
1786
1786
|
}
|
|
1787
1787
|
return Promise.resolve(null);
|
|
1788
1788
|
}
|
|
1789
|
+
listUsersNotSeenAfter(request) {
|
|
1790
|
+
let url_ = this.baseUrl + "/users/listdetails";
|
|
1791
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
1792
|
+
const content_ = JSON.stringify(request);
|
|
1793
|
+
let options_ = {
|
|
1794
|
+
body: content_,
|
|
1795
|
+
method: "POST",
|
|
1796
|
+
headers: {
|
|
1797
|
+
"Content-Type": "application/json",
|
|
1798
|
+
"Accept": "application/json"
|
|
1799
|
+
}
|
|
1800
|
+
};
|
|
1801
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
1802
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
1803
|
+
}).then((_response) => {
|
|
1804
|
+
return this.processListUsersNotSeenAfter(_response);
|
|
1805
|
+
});
|
|
1806
|
+
}
|
|
1807
|
+
processListUsersNotSeenAfter(response) {
|
|
1808
|
+
const status = response.status;
|
|
1809
|
+
let _headers = {};
|
|
1810
|
+
if (response.headers && response.headers.forEach) {
|
|
1811
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
1812
|
+
}
|
|
1813
|
+
;
|
|
1814
|
+
if (status === 200) {
|
|
1815
|
+
return response.text().then((_responseText) => {
|
|
1816
|
+
let result200 = null;
|
|
1817
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1818
|
+
return result200;
|
|
1819
|
+
});
|
|
1820
|
+
}
|
|
1821
|
+
else if (status !== 200 && status !== 204) {
|
|
1822
|
+
return response.text().then((_responseText) => {
|
|
1823
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
1824
|
+
});
|
|
1825
|
+
}
|
|
1826
|
+
return Promise.resolve(null);
|
|
1827
|
+
}
|
|
1789
1828
|
}
|
|
1790
1829
|
export class UserAppSettingsClient extends AuthorizedApiBase {
|
|
1791
1830
|
constructor(configuration, baseUrl, http) {
|
|
@@ -25702,13 +25741,12 @@ export class MaterialCertificateSpecificationsClient extends AuthorizedApiBase {
|
|
|
25702
25741
|
return Promise.resolve(null);
|
|
25703
25742
|
}
|
|
25704
25743
|
getSpecification(specificationId, version) {
|
|
25705
|
-
let url_ = this.baseUrl + "/material-certificate/specifications/{specificationId}
|
|
25744
|
+
let url_ = this.baseUrl + "/material-certificate/specifications/{specificationId}?";
|
|
25706
25745
|
if (specificationId === undefined || specificationId === null)
|
|
25707
25746
|
throw new globalThis.Error("The parameter 'specificationId' must be defined.");
|
|
25708
25747
|
url_ = url_.replace("{specificationId}", encodeURIComponent("" + specificationId));
|
|
25709
|
-
if (version
|
|
25710
|
-
|
|
25711
|
-
url_ = url_.replace("{version}", encodeURIComponent("" + version));
|
|
25748
|
+
if (version !== undefined && version !== null)
|
|
25749
|
+
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
25712
25750
|
url_ = url_.replace(/[?&]$/, "");
|
|
25713
25751
|
let options_ = {
|
|
25714
25752
|
method: "GET",
|
|
@@ -25903,13 +25941,12 @@ export class MaterialCertificateTypesClient extends AuthorizedApiBase {
|
|
|
25903
25941
|
return Promise.resolve(null);
|
|
25904
25942
|
}
|
|
25905
25943
|
getMaterialCertificateTypes(typeId, version) {
|
|
25906
|
-
let url_ = this.baseUrl + "/material-certificate/types/{typeId}
|
|
25944
|
+
let url_ = this.baseUrl + "/material-certificate/types/{typeId}?";
|
|
25907
25945
|
if (typeId === undefined || typeId === null)
|
|
25908
25946
|
throw new globalThis.Error("The parameter 'typeId' must be defined.");
|
|
25909
25947
|
url_ = url_.replace("{typeId}", encodeURIComponent("" + typeId));
|
|
25910
|
-
if (version
|
|
25911
|
-
|
|
25912
|
-
url_ = url_.replace("{version}", encodeURIComponent("" + version));
|
|
25948
|
+
if (version !== undefined && version !== null)
|
|
25949
|
+
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
25913
25950
|
url_ = url_.replace(/[?&]$/, "");
|
|
25914
25951
|
let options_ = {
|
|
25915
25952
|
method: "GET",
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -1878,6 +1878,8 @@ export interface IUsersClient {
|
|
|
1878
1878
|
listUsers(pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfUserDto>;
|
|
1879
1879
|
|
|
1880
1880
|
postListUsers(request: ListUsersRequest | undefined): Promise<PagedResultOfUserDto>;
|
|
1881
|
+
|
|
1882
|
+
listUsersNotSeenAfter(request: ListUsersNotSeenAfterRequest): Promise<PagedResultOfUserDto>;
|
|
1881
1883
|
}
|
|
1882
1884
|
|
|
1883
1885
|
export class UsersClient extends AuthorizedApiBase implements IUsersClient {
|
|
@@ -1971,6 +1973,45 @@ export class UsersClient extends AuthorizedApiBase implements IUsersClient {
|
|
|
1971
1973
|
}
|
|
1972
1974
|
return Promise.resolve<PagedResultOfUserDto>(null as any);
|
|
1973
1975
|
}
|
|
1976
|
+
|
|
1977
|
+
listUsersNotSeenAfter(request: ListUsersNotSeenAfterRequest): Promise<PagedResultOfUserDto> {
|
|
1978
|
+
let url_ = this.baseUrl + "/users/listdetails";
|
|
1979
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
1980
|
+
|
|
1981
|
+
const content_ = JSON.stringify(request);
|
|
1982
|
+
|
|
1983
|
+
let options_: RequestInit = {
|
|
1984
|
+
body: content_,
|
|
1985
|
+
method: "POST",
|
|
1986
|
+
headers: {
|
|
1987
|
+
"Content-Type": "application/json",
|
|
1988
|
+
"Accept": "application/json"
|
|
1989
|
+
}
|
|
1990
|
+
};
|
|
1991
|
+
|
|
1992
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
1993
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
1994
|
+
}).then((_response: Response) => {
|
|
1995
|
+
return this.processListUsersNotSeenAfter(_response);
|
|
1996
|
+
});
|
|
1997
|
+
}
|
|
1998
|
+
|
|
1999
|
+
protected processListUsersNotSeenAfter(response: Response): Promise<PagedResultOfUserDto> {
|
|
2000
|
+
const status = response.status;
|
|
2001
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
2002
|
+
if (status === 200) {
|
|
2003
|
+
return response.text().then((_responseText) => {
|
|
2004
|
+
let result200: any = null;
|
|
2005
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PagedResultOfUserDto;
|
|
2006
|
+
return result200;
|
|
2007
|
+
});
|
|
2008
|
+
} else if (status !== 200 && status !== 204) {
|
|
2009
|
+
return response.text().then((_responseText) => {
|
|
2010
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
2011
|
+
});
|
|
2012
|
+
}
|
|
2013
|
+
return Promise.resolve<PagedResultOfUserDto>(null as any);
|
|
2014
|
+
}
|
|
1974
2015
|
}
|
|
1975
2016
|
|
|
1976
2017
|
export interface IUserAppSettingsClient {
|
|
@@ -27468,7 +27509,7 @@ export interface IMaterialCertificateSpecificationsClient {
|
|
|
27468
27509
|
|
|
27469
27510
|
listSpecifications(): Promise<AmcSpecificationLiteDto[]>;
|
|
27470
27511
|
|
|
27471
|
-
getSpecification(specificationId: string, version: number): Promise<AmcSpecificationDto>;
|
|
27512
|
+
getSpecification(specificationId: string, version: number | null | undefined): Promise<AmcSpecificationDto>;
|
|
27472
27513
|
|
|
27473
27514
|
createSpecifications(specificationsRequest: CreateAmcSpecificationDto): Promise<AmcSpecificationDto>;
|
|
27474
27515
|
|
|
@@ -27522,14 +27563,13 @@ export class MaterialCertificateSpecificationsClient extends AuthorizedApiBase i
|
|
|
27522
27563
|
return Promise.resolve<AmcSpecificationLiteDto[]>(null as any);
|
|
27523
27564
|
}
|
|
27524
27565
|
|
|
27525
|
-
getSpecification(specificationId: string, version: number): Promise<AmcSpecificationDto> {
|
|
27526
|
-
let url_ = this.baseUrl + "/material-certificate/specifications/{specificationId}
|
|
27566
|
+
getSpecification(specificationId: string, version: number | null | undefined): Promise<AmcSpecificationDto> {
|
|
27567
|
+
let url_ = this.baseUrl + "/material-certificate/specifications/{specificationId}?";
|
|
27527
27568
|
if (specificationId === undefined || specificationId === null)
|
|
27528
27569
|
throw new globalThis.Error("The parameter 'specificationId' must be defined.");
|
|
27529
27570
|
url_ = url_.replace("{specificationId}", encodeURIComponent("" + specificationId));
|
|
27530
|
-
if (version
|
|
27531
|
-
|
|
27532
|
-
url_ = url_.replace("{version}", encodeURIComponent("" + version));
|
|
27571
|
+
if (version !== undefined && version !== null)
|
|
27572
|
+
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
27533
27573
|
url_ = url_.replace(/[?&]$/, "");
|
|
27534
27574
|
|
|
27535
27575
|
let options_: RequestInit = {
|
|
@@ -27684,7 +27724,7 @@ export interface IMaterialCertificateTypesClient {
|
|
|
27684
27724
|
|
|
27685
27725
|
listMaterialCertificateTypes(): Promise<AmcTypeLiteDto[]>;
|
|
27686
27726
|
|
|
27687
|
-
getMaterialCertificateTypes(typeId: string, version: number): Promise<AmcTypeDto>;
|
|
27727
|
+
getMaterialCertificateTypes(typeId: string, version: number | null | undefined): Promise<AmcTypeDto>;
|
|
27688
27728
|
|
|
27689
27729
|
createMaterialCertificateTypes(certificatesTypesRequest: CreateAmcTypeRequestDto): Promise<AmcTypeDto>;
|
|
27690
27730
|
|
|
@@ -27738,14 +27778,13 @@ export class MaterialCertificateTypesClient extends AuthorizedApiBase implements
|
|
|
27738
27778
|
return Promise.resolve<AmcTypeLiteDto[]>(null as any);
|
|
27739
27779
|
}
|
|
27740
27780
|
|
|
27741
|
-
getMaterialCertificateTypes(typeId: string, version: number): Promise<AmcTypeDto> {
|
|
27742
|
-
let url_ = this.baseUrl + "/material-certificate/types/{typeId}
|
|
27781
|
+
getMaterialCertificateTypes(typeId: string, version: number | null | undefined): Promise<AmcTypeDto> {
|
|
27782
|
+
let url_ = this.baseUrl + "/material-certificate/types/{typeId}?";
|
|
27743
27783
|
if (typeId === undefined || typeId === null)
|
|
27744
27784
|
throw new globalThis.Error("The parameter 'typeId' must be defined.");
|
|
27745
27785
|
url_ = url_.replace("{typeId}", encodeURIComponent("" + typeId));
|
|
27746
|
-
if (version
|
|
27747
|
-
|
|
27748
|
-
url_ = url_.replace("{version}", encodeURIComponent("" + version));
|
|
27786
|
+
if (version !== undefined && version !== null)
|
|
27787
|
+
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
27749
27788
|
url_ = url_.replace(/[?&]$/, "");
|
|
27750
27789
|
|
|
27751
27790
|
let options_: RequestInit = {
|
|
@@ -28023,6 +28062,9 @@ export interface DowntimePeriodReasonDto {
|
|
|
28023
28062
|
autoCompleteDowntime?: boolean | null;
|
|
28024
28063
|
createdBy?: EmployeeDto | null;
|
|
28025
28064
|
updatedBy?: EmployeeDto | null;
|
|
28065
|
+
workOrderId?: string | null;
|
|
28066
|
+
partNumber?: string | null;
|
|
28067
|
+
partName?: string | null;
|
|
28026
28068
|
}
|
|
28027
28069
|
|
|
28028
28070
|
export type DowntimeReasonTypeDto = "Unplanned" | "Planned";
|
|
@@ -28185,6 +28227,12 @@ export interface ListUsersRequest {
|
|
|
28185
28227
|
continuationToken?: string | null;
|
|
28186
28228
|
}
|
|
28187
28229
|
|
|
28230
|
+
export interface ListUsersNotSeenAfterRequest {
|
|
28231
|
+
notSeenAfter: Date;
|
|
28232
|
+
pageSize?: number | null;
|
|
28233
|
+
continuationToken?: string | null;
|
|
28234
|
+
}
|
|
28235
|
+
|
|
28188
28236
|
export interface RouteCardAppSettings {
|
|
28189
28237
|
includeDrawingInRouteCardPrint?: boolean;
|
|
28190
28238
|
routeCardPrintInLandscapeOrientation?: boolean;
|
|
@@ -28496,6 +28544,9 @@ export interface CreateDowntimePeriodReason {
|
|
|
28496
28544
|
endTime?: Date | null;
|
|
28497
28545
|
autoCompleteDowntime?: boolean | null;
|
|
28498
28546
|
comment?: string | null;
|
|
28547
|
+
workOrderId?: string | null;
|
|
28548
|
+
partNumber?: string | null;
|
|
28549
|
+
partName?: string | null;
|
|
28499
28550
|
}
|
|
28500
28551
|
|
|
28501
28552
|
export interface IgnosPortalControllersResourcesApiModelsUpdateDowntimePeriodReasonRequest {
|
|
@@ -28505,6 +28556,9 @@ export interface IgnosPortalControllersResourcesApiModelsUpdateDowntimePeriodRea
|
|
|
28505
28556
|
endTime?: Date | null;
|
|
28506
28557
|
autoCompleteDowntime?: boolean | null;
|
|
28507
28558
|
comment?: string | null;
|
|
28559
|
+
workOrderId?: string | null;
|
|
28560
|
+
partNumber?: string | null;
|
|
28561
|
+
partName?: string | null;
|
|
28508
28562
|
}
|
|
28509
28563
|
|
|
28510
28564
|
export interface TopDowntimeReasonsDto {
|
|
@@ -28611,6 +28665,7 @@ export interface CalendarSettingsDto {
|
|
|
28611
28665
|
defaultHoursPerWeekday?: { [key in DayOfWeek]?: number; };
|
|
28612
28666
|
halfDayHours?: number;
|
|
28613
28667
|
holidayHours?: number;
|
|
28668
|
+
defaultPerformanceFraction?: number;
|
|
28614
28669
|
}
|
|
28615
28670
|
|
|
28616
28671
|
export type DayOfWeek = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
@@ -28619,6 +28674,7 @@ export interface UpdateCalendarSettingsCommand {
|
|
|
28619
28674
|
defaultHoursPerWeekday?: { [key in DayOfWeek]?: number; };
|
|
28620
28675
|
halfDayHours?: number;
|
|
28621
28676
|
holidayHours?: number;
|
|
28677
|
+
defaultPerformanceFraction?: number;
|
|
28622
28678
|
}
|
|
28623
28679
|
|
|
28624
28680
|
export interface ResourceKpiDto {
|
|
@@ -34183,6 +34239,7 @@ export type AmcSpecificationStatus = "Draft" | "Released" | "Expired" | "Rejecte
|
|
|
34183
34239
|
export interface AmcSpecificationDto {
|
|
34184
34240
|
specificationId: string;
|
|
34185
34241
|
version: number;
|
|
34242
|
+
allVersions: AmcSpecificationVersionDto[];
|
|
34186
34243
|
name: string;
|
|
34187
34244
|
number: string;
|
|
34188
34245
|
revision: string;
|
|
@@ -34201,6 +34258,11 @@ export interface AmcSpecificationDto {
|
|
|
34201
34258
|
heatSpecification: AmcHeatTreatmentSpecificationDto;
|
|
34202
34259
|
}
|
|
34203
34260
|
|
|
34261
|
+
export interface AmcSpecificationVersionDto {
|
|
34262
|
+
version?: number;
|
|
34263
|
+
status?: AmcSpecificationStatus;
|
|
34264
|
+
}
|
|
34265
|
+
|
|
34204
34266
|
export interface AmcChemistrySpecificationDto {
|
|
34205
34267
|
carbon?: AmcSpecificationLineDto | null;
|
|
34206
34268
|
manganese?: AmcSpecificationLineDto | null;
|
|
@@ -34298,6 +34360,7 @@ export type AmcTypeStatus = "Draft" | "Released" | "Expired" | "Rejected";
|
|
|
34298
34360
|
export interface AmcTypeDto {
|
|
34299
34361
|
typeId: string;
|
|
34300
34362
|
version: number;
|
|
34363
|
+
allVersions: AmcTypeVersionDto[];
|
|
34301
34364
|
name: string;
|
|
34302
34365
|
revision: string;
|
|
34303
34366
|
status: AmcTypeStatus;
|
|
@@ -34311,6 +34374,11 @@ export interface AmcTypeDto {
|
|
|
34311
34374
|
checks: AmcTypeChecksDto;
|
|
34312
34375
|
}
|
|
34313
34376
|
|
|
34377
|
+
export interface AmcTypeVersionDto {
|
|
34378
|
+
version?: number;
|
|
34379
|
+
status?: AmcTypeStatus;
|
|
34380
|
+
}
|
|
34381
|
+
|
|
34314
34382
|
export interface AmcTypeChecksDto {
|
|
34315
34383
|
manufacturer: AmcTypeManufacturerChecksDto;
|
|
34316
34384
|
signature: AmcTypeSignatureChecksDto;
|