@ignos/api-client 20260519.130.1 → 20260521.132.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 +130 -120
- package/lib/ignosportal-api.js +37 -1
- package/package.json +1 -1
- package/src/ignosportal-api.ts +167 -121
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ export declare class CountriesClient extends AuthorizedApiBase implements ICount
|
|
|
30
30
|
}
|
|
31
31
|
export interface ICustomersClient {
|
|
32
32
|
getCurrentCustomer(): Promise<CurrentCustomerDto>;
|
|
33
|
+
listAvailableTenants(): Promise<AvailableTenantDto[]>;
|
|
33
34
|
/**
|
|
34
35
|
* Upsert a customer.
|
|
35
36
|
* @param id Customer id
|
|
@@ -76,6 +77,8 @@ export declare class CustomersClient extends AuthorizedApiBase implements ICusto
|
|
|
76
77
|
});
|
|
77
78
|
getCurrentCustomer(): Promise<CurrentCustomerDto>;
|
|
78
79
|
protected processGetCurrentCustomer(response: Response): Promise<CurrentCustomerDto>;
|
|
80
|
+
listAvailableTenants(): Promise<AvailableTenantDto[]>;
|
|
81
|
+
protected processListAvailableTenants(response: Response): Promise<AvailableTenantDto[]>;
|
|
79
82
|
/**
|
|
80
83
|
* Upsert a customer.
|
|
81
84
|
* @param id Customer id
|
|
@@ -3448,6 +3451,13 @@ export interface CurrentCustomerDto {
|
|
|
3448
3451
|
name?: string | null;
|
|
3449
3452
|
logoUrl?: string | null;
|
|
3450
3453
|
}
|
|
3454
|
+
export interface AvailableTenantDto {
|
|
3455
|
+
tenantId?: string;
|
|
3456
|
+
name?: string | null;
|
|
3457
|
+
environment?: TenantEnvironmentDto;
|
|
3458
|
+
isRecommended?: boolean;
|
|
3459
|
+
}
|
|
3460
|
+
export type TenantEnvironmentDto = "Prod" | "QA" | "Test" | "Dev";
|
|
3451
3461
|
export interface GuestLoginInfoDto {
|
|
3452
3462
|
tenantId?: string;
|
|
3453
3463
|
customerName?: string;
|
|
@@ -3610,15 +3620,15 @@ export interface DowntimePeriodReasonDto {
|
|
|
3610
3620
|
startTime: Date;
|
|
3611
3621
|
endTime?: Date | null;
|
|
3612
3622
|
assetId: number;
|
|
3613
|
-
comment
|
|
3614
|
-
companyId
|
|
3623
|
+
comment: string | null;
|
|
3624
|
+
companyId: string | null;
|
|
3615
3625
|
reasonId: string;
|
|
3616
3626
|
autoCompleteDowntime?: boolean | null;
|
|
3617
3627
|
createdBy?: EmployeeDto | null;
|
|
3618
3628
|
updatedBy?: EmployeeDto | null;
|
|
3619
|
-
workOrderId
|
|
3620
|
-
partNumber
|
|
3621
|
-
partName
|
|
3629
|
+
workOrderId: string | null;
|
|
3630
|
+
partNumber: string | null;
|
|
3631
|
+
partName: string | null;
|
|
3622
3632
|
}
|
|
3623
3633
|
export type DowntimeReasonTypeDto = "Unplanned" | "Planned";
|
|
3624
3634
|
export interface EmployeeDto {
|
|
@@ -3641,8 +3651,8 @@ export interface WorkOrderDatapoint {
|
|
|
3641
3651
|
} | null;
|
|
3642
3652
|
}
|
|
3643
3653
|
export interface ProgramDatapoint {
|
|
3644
|
-
timestamp
|
|
3645
|
-
programValue
|
|
3654
|
+
timestamp: number;
|
|
3655
|
+
programValue: string;
|
|
3646
3656
|
}
|
|
3647
3657
|
export interface TimelineFilterDto {
|
|
3648
3658
|
includeMachineState?: boolean | null;
|
|
@@ -3668,7 +3678,7 @@ export interface ListMachineUptimesTodayRequest {
|
|
|
3668
3678
|
utcOffset?: number;
|
|
3669
3679
|
}
|
|
3670
3680
|
export interface PowerOnUtilizationList {
|
|
3671
|
-
machines
|
|
3681
|
+
machines: Machine[];
|
|
3672
3682
|
}
|
|
3673
3683
|
export interface Machine {
|
|
3674
3684
|
externalId?: string;
|
|
@@ -4156,9 +4166,9 @@ export interface UpdateCalendarSettingsCommand {
|
|
|
4156
4166
|
defaultPerformancePercent?: number | null;
|
|
4157
4167
|
}
|
|
4158
4168
|
export interface CalendarDefinitionDto {
|
|
4159
|
-
id
|
|
4160
|
-
name
|
|
4161
|
-
hoursPerWeekday
|
|
4169
|
+
id: string;
|
|
4170
|
+
name: string;
|
|
4171
|
+
hoursPerWeekday: {
|
|
4162
4172
|
[key in DayOfWeek]?: number;
|
|
4163
4173
|
};
|
|
4164
4174
|
created?: Date | null;
|
|
@@ -4177,25 +4187,25 @@ export interface UpdateCalendarDefinitionRequest {
|
|
|
4177
4187
|
} | null;
|
|
4178
4188
|
}
|
|
4179
4189
|
export interface ResourceCalendarPeriodSchedulesDto {
|
|
4180
|
-
groups
|
|
4181
|
-
ungroupedResources
|
|
4190
|
+
groups: ResourceCalendarPeriodGroupDto[];
|
|
4191
|
+
ungroupedResources: ResourceCalendarPeriodsDto[];
|
|
4182
4192
|
}
|
|
4183
4193
|
export interface ResourceCalendarPeriodGroupDto {
|
|
4184
|
-
resourceGroupName
|
|
4185
|
-
resources
|
|
4194
|
+
resourceGroupName: string;
|
|
4195
|
+
resources: ResourceCalendarPeriodsDto[];
|
|
4186
4196
|
}
|
|
4187
4197
|
export interface ResourceCalendarPeriodsDto {
|
|
4188
|
-
resourceExternalId
|
|
4189
|
-
resourceName
|
|
4190
|
-
periods
|
|
4198
|
+
resourceExternalId: string;
|
|
4199
|
+
resourceName: string;
|
|
4200
|
+
periods: ResourceCalendarPeriodDto[];
|
|
4191
4201
|
}
|
|
4192
4202
|
export interface ResourceCalendarPeriodDto {
|
|
4193
|
-
resourceExternalId
|
|
4194
|
-
calendarDefinitionId
|
|
4195
|
-
calendarDefinitionName
|
|
4196
|
-
effectiveFrom
|
|
4203
|
+
resourceExternalId: string;
|
|
4204
|
+
calendarDefinitionId: string;
|
|
4205
|
+
calendarDefinitionName: string;
|
|
4206
|
+
effectiveFrom: string;
|
|
4197
4207
|
effectiveTo?: string | null;
|
|
4198
|
-
targetPercent
|
|
4208
|
+
targetPercent: number;
|
|
4199
4209
|
comment?: string | null;
|
|
4200
4210
|
}
|
|
4201
4211
|
export interface AddResourceCalendarPeriod {
|
|
@@ -4215,8 +4225,8 @@ export interface DeleteResourceCalendarPeriod {
|
|
|
4215
4225
|
periods: PeriodKey[];
|
|
4216
4226
|
}
|
|
4217
4227
|
export interface PeriodKey {
|
|
4218
|
-
resourceExternalId
|
|
4219
|
-
effectiveFrom
|
|
4228
|
+
resourceExternalId: string;
|
|
4229
|
+
effectiveFrom: string;
|
|
4220
4230
|
}
|
|
4221
4231
|
export interface BulkAddResourceCalendarPeriods {
|
|
4222
4232
|
resourceExternalIds: string[];
|
|
@@ -4246,13 +4256,13 @@ export interface ResourceDayKpiDto {
|
|
|
4246
4256
|
utilizationGoal: number;
|
|
4247
4257
|
}
|
|
4248
4258
|
export interface ResourceDailyUptimeDto {
|
|
4249
|
-
date
|
|
4259
|
+
date: Date;
|
|
4250
4260
|
historicUptimeDataPoints?: ResourceDailyUptimePointDto[] | null;
|
|
4251
4261
|
todayUptimeDataPoints?: ResourceDailyUptimePointDto[] | null;
|
|
4252
4262
|
}
|
|
4253
4263
|
export interface ResourceDailyUptimePointDto {
|
|
4254
|
-
date
|
|
4255
|
-
uptime
|
|
4264
|
+
date: Date;
|
|
4265
|
+
uptime: number;
|
|
4256
4266
|
}
|
|
4257
4267
|
export interface UptimeTrendDataPointDto {
|
|
4258
4268
|
timestamp: Date;
|
|
@@ -4375,7 +4385,7 @@ export interface WorkorderOperationEventDto {
|
|
|
4375
4385
|
isSetup: boolean;
|
|
4376
4386
|
employee?: EmployeeDto | null;
|
|
4377
4387
|
resourceId: string;
|
|
4378
|
-
description
|
|
4388
|
+
description: string;
|
|
4379
4389
|
part?: PartDto | null;
|
|
4380
4390
|
workorderDescription?: string | null;
|
|
4381
4391
|
operationDescription?: string | null;
|
|
@@ -4455,7 +4465,7 @@ export interface MachineDto {
|
|
|
4455
4465
|
export interface CreateMachineWithoutResource {
|
|
4456
4466
|
id: string;
|
|
4457
4467
|
name: string;
|
|
4458
|
-
description
|
|
4468
|
+
description: string | null;
|
|
4459
4469
|
type: string;
|
|
4460
4470
|
displayName?: string | null;
|
|
4461
4471
|
manufacturer?: string | null;
|
|
@@ -4478,7 +4488,7 @@ export interface CreateResourceWithMachine {
|
|
|
4478
4488
|
displayName?: string | null;
|
|
4479
4489
|
machineId: string;
|
|
4480
4490
|
machineName: string;
|
|
4481
|
-
machineDescription
|
|
4491
|
+
machineDescription: string | null;
|
|
4482
4492
|
machineType: string;
|
|
4483
4493
|
manufacturer?: string | null;
|
|
4484
4494
|
location?: string | null;
|
|
@@ -4606,13 +4616,13 @@ export interface MachineUtilizationDatapointListDto extends UtilizationDatapoint
|
|
|
4606
4616
|
description?: string | null;
|
|
4607
4617
|
}
|
|
4608
4618
|
export interface CompanyResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4609
|
-
groups
|
|
4610
|
-
ungroupedResources
|
|
4619
|
+
groups: ResourceGroupUtilizationDatapointListDto[];
|
|
4620
|
+
ungroupedResources: ResourceUtilizationDatapointListDto[];
|
|
4611
4621
|
}
|
|
4612
4622
|
export interface ResourceGroupUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4613
4623
|
groupId: string;
|
|
4614
4624
|
groupName: string;
|
|
4615
|
-
resources
|
|
4625
|
+
resources: ResourceUtilizationDatapointListDto[];
|
|
4616
4626
|
}
|
|
4617
4627
|
export interface ResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4618
4628
|
externalId: string;
|
|
@@ -4621,11 +4631,11 @@ export interface ResourceUtilizationDatapointListDto extends UtilizationDatapoin
|
|
|
4621
4631
|
description?: string | null;
|
|
4622
4632
|
}
|
|
4623
4633
|
export interface CrossCompanyUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4624
|
-
companies
|
|
4634
|
+
companies: NamedCompanyUtilizationDatapointListDto[];
|
|
4625
4635
|
}
|
|
4626
4636
|
export interface CompanyUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4627
|
-
groups
|
|
4628
|
-
ungroupedMachines
|
|
4637
|
+
groups: MachineGroupUtilizationDatapointListDto[];
|
|
4638
|
+
ungroupedMachines: MachineUtilizationDatapointListDto[];
|
|
4629
4639
|
}
|
|
4630
4640
|
export interface NamedCompanyUtilizationDatapointListDto extends CompanyUtilizationDatapointListDto {
|
|
4631
4641
|
companyId: string;
|
|
@@ -4634,7 +4644,7 @@ export interface NamedCompanyUtilizationDatapointListDto extends CompanyUtilizat
|
|
|
4634
4644
|
export interface MachineGroupUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4635
4645
|
groupId: string;
|
|
4636
4646
|
groupName: string;
|
|
4637
|
-
machines
|
|
4647
|
+
machines: MachineUtilizationDatapointListDto[];
|
|
4638
4648
|
}
|
|
4639
4649
|
export interface CrossCompanyResourceUtilizationDto {
|
|
4640
4650
|
utilizationType: ResourceUtilizationTypeDto;
|
|
@@ -4646,7 +4656,7 @@ export interface NamedCompanyResourceUtilizationDto extends CompanyResourceUtili
|
|
|
4646
4656
|
companyName: string;
|
|
4647
4657
|
}
|
|
4648
4658
|
export interface CrossCompanyResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4649
|
-
companies
|
|
4659
|
+
companies: NamedCompanyResourceUtilizationDatapointListDto[];
|
|
4650
4660
|
}
|
|
4651
4661
|
export interface NamedCompanyResourceUtilizationDatapointListDto extends CompanyResourceUtilizationDatapointListDto {
|
|
4652
4662
|
companyId: string;
|
|
@@ -4846,8 +4856,8 @@ export interface CreateMrbTemplateRequest {
|
|
|
4846
4856
|
pdfFilename?: string | null;
|
|
4847
4857
|
}
|
|
4848
4858
|
export interface UpdateMrbTemplate {
|
|
4849
|
-
id
|
|
4850
|
-
title
|
|
4859
|
+
id: string;
|
|
4860
|
+
title: string;
|
|
4851
4861
|
tableOfContents?: MrbTemplateTableOfContentsDto | null;
|
|
4852
4862
|
elements?: MrbTemplateUpdateElementDto[];
|
|
4853
4863
|
contentIndicator?: string | null;
|
|
@@ -5055,7 +5065,7 @@ export interface TraceWorkOrderListDto {
|
|
|
5055
5065
|
id: string;
|
|
5056
5066
|
part: PartDto;
|
|
5057
5067
|
quantity: number;
|
|
5058
|
-
unit
|
|
5068
|
+
unit: string | null;
|
|
5059
5069
|
status: WorkorderStatus;
|
|
5060
5070
|
plannedStart?: Date | null;
|
|
5061
5071
|
plannedEnd?: Date | null;
|
|
@@ -5467,13 +5477,13 @@ export interface MachineDayKpiDto {
|
|
|
5467
5477
|
utilizationGoal: number;
|
|
5468
5478
|
}
|
|
5469
5479
|
export interface MachineDailyUptimeDto {
|
|
5470
|
-
date
|
|
5480
|
+
date: Date;
|
|
5471
5481
|
historicUptimeDataPoints?: MachineDailyUptimePointDto[] | null;
|
|
5472
5482
|
todayUptimeDataPoints?: MachineDailyUptimePointDto[] | null;
|
|
5473
5483
|
}
|
|
5474
5484
|
export interface MachineDailyUptimePointDto {
|
|
5475
|
-
date
|
|
5476
|
-
uptime
|
|
5485
|
+
date: Date;
|
|
5486
|
+
uptime: number;
|
|
5477
5487
|
}
|
|
5478
5488
|
export interface MachineGroupDto {
|
|
5479
5489
|
id: string;
|
|
@@ -5813,8 +5823,8 @@ export interface TransferToMachineRequest {
|
|
|
5813
5823
|
programs?: ProgramSelectionRequest[] | null;
|
|
5814
5824
|
}
|
|
5815
5825
|
export interface ProgramSelectionRequest {
|
|
5816
|
-
id
|
|
5817
|
-
version
|
|
5826
|
+
id: string;
|
|
5827
|
+
version: number;
|
|
5818
5828
|
}
|
|
5819
5829
|
export interface UploadCamFileDto {
|
|
5820
5830
|
uploadUrl: string;
|
|
@@ -6162,7 +6172,7 @@ export interface MarkdownNotesDto {
|
|
|
6162
6172
|
}
|
|
6163
6173
|
export interface SaveMarkdownNotes {
|
|
6164
6174
|
id: string;
|
|
6165
|
-
markdown
|
|
6175
|
+
markdown: string;
|
|
6166
6176
|
}
|
|
6167
6177
|
export interface CncToolTypeDto {
|
|
6168
6178
|
id: string;
|
|
@@ -6335,7 +6345,7 @@ export interface UpdateKeepSettings {
|
|
|
6335
6345
|
}
|
|
6336
6346
|
export interface FixtureListDto {
|
|
6337
6347
|
results: FixtureDto[];
|
|
6338
|
-
continuationToken
|
|
6348
|
+
continuationToken: string | null;
|
|
6339
6349
|
}
|
|
6340
6350
|
export interface FixtureDto {
|
|
6341
6351
|
fixtureId: string;
|
|
@@ -6623,7 +6633,7 @@ export interface UpdateMachineInactivitySubscription {
|
|
|
6623
6633
|
export interface IntegrationCredentialDto {
|
|
6624
6634
|
type: CredentialTypeDto;
|
|
6625
6635
|
id: string;
|
|
6626
|
-
name
|
|
6636
|
+
name: string;
|
|
6627
6637
|
clientId?: string | null;
|
|
6628
6638
|
expirationDate?: Date | null;
|
|
6629
6639
|
activationDate?: Date | null;
|
|
@@ -6772,7 +6782,7 @@ export interface BookingParcelDto {
|
|
|
6772
6782
|
materialPartName?: string | null;
|
|
6773
6783
|
materialPartNumber?: string | null;
|
|
6774
6784
|
covered: MaterialCoveredDto;
|
|
6775
|
-
item
|
|
6785
|
+
item: BookingItemDto;
|
|
6776
6786
|
}
|
|
6777
6787
|
export type MaterialCoveredDto = "NotDefined" | "NotCovered" | "Covered";
|
|
6778
6788
|
export interface BookingItemDto {
|
|
@@ -6813,11 +6823,11 @@ export type BookingTaskDto = "MyTasks" | "OthersTasks";
|
|
|
6813
6823
|
export type BookingCreatedByDto = "MyBookings" | "OthersBookings";
|
|
6814
6824
|
export type BookingOrderDto = "Ascending" | "Descending";
|
|
6815
6825
|
export interface BookingFilterResultsDto {
|
|
6816
|
-
bookingStatus
|
|
6817
|
-
transportKind
|
|
6818
|
-
parcelKind
|
|
6819
|
-
fromLocations
|
|
6820
|
-
toLocations
|
|
6826
|
+
bookingStatus: BookingStatusResultsDto[];
|
|
6827
|
+
transportKind: TransportKindResultsDto[];
|
|
6828
|
+
parcelKind: ParcelKindResultsDto[];
|
|
6829
|
+
fromLocations: LocationZoneGroupDto[];
|
|
6830
|
+
toLocations: LocationZoneGroupDto[];
|
|
6821
6831
|
}
|
|
6822
6832
|
export interface BookingStatusResultsDto {
|
|
6823
6833
|
bookingStatus?: BookingStatusDto;
|
|
@@ -6903,23 +6913,23 @@ export interface BookingStatusUpdateDto {
|
|
|
6903
6913
|
deliveryExceptionComment?: string | null;
|
|
6904
6914
|
}
|
|
6905
6915
|
export interface MoveInfoscreenDto {
|
|
6906
|
-
id
|
|
6907
|
-
name
|
|
6908
|
-
slug
|
|
6909
|
-
fromZoneIds
|
|
6910
|
-
fromLocationIds
|
|
6911
|
-
toZoneIds
|
|
6912
|
-
toLocationIds
|
|
6916
|
+
id: string;
|
|
6917
|
+
name: string;
|
|
6918
|
+
slug: string;
|
|
6919
|
+
fromZoneIds: string[];
|
|
6920
|
+
fromLocationIds: string[];
|
|
6921
|
+
toZoneIds: string[];
|
|
6922
|
+
toLocationIds: string[];
|
|
6913
6923
|
}
|
|
6914
6924
|
export interface CreateMoveInfoscreenRequestDto {
|
|
6915
|
-
name
|
|
6925
|
+
name: string;
|
|
6916
6926
|
fromZoneIds?: string[];
|
|
6917
6927
|
fromLocationIds?: string[];
|
|
6918
6928
|
toZoneIds?: string[];
|
|
6919
6929
|
toLocationIds?: string[];
|
|
6920
6930
|
}
|
|
6921
6931
|
export interface UpdateMoveInfoscreenRequestDto {
|
|
6922
|
-
name
|
|
6932
|
+
name: string;
|
|
6923
6933
|
fromZoneIds?: string[];
|
|
6924
6934
|
fromLocationIds?: string[];
|
|
6925
6935
|
toZoneIds?: string[];
|
|
@@ -6975,15 +6985,15 @@ export interface MoveSubscriptionDto {
|
|
|
6975
6985
|
}
|
|
6976
6986
|
export interface MoveSubscriptionZoneDto {
|
|
6977
6987
|
zoneId: string;
|
|
6978
|
-
bookingFromLocation
|
|
6979
|
-
bookingToLocation
|
|
6980
|
-
locationChange
|
|
6988
|
+
bookingFromLocation: boolean;
|
|
6989
|
+
bookingToLocation: boolean;
|
|
6990
|
+
locationChange: boolean;
|
|
6981
6991
|
}
|
|
6982
6992
|
export interface MoveSubscriptionLocationDto {
|
|
6983
6993
|
locationId: string;
|
|
6984
|
-
bookingFromLocation
|
|
6985
|
-
bookingToLocation
|
|
6986
|
-
locationChange
|
|
6994
|
+
bookingFromLocation: boolean;
|
|
6995
|
+
bookingToLocation: boolean;
|
|
6996
|
+
locationChange: boolean;
|
|
6987
6997
|
}
|
|
6988
6998
|
export interface UpdateNotifications {
|
|
6989
6999
|
enabledNotifications: boolean;
|
|
@@ -6993,15 +7003,15 @@ export interface UpdateNotifications {
|
|
|
6993
7003
|
}
|
|
6994
7004
|
export interface MoveSubscriptionZoneUpdateDto {
|
|
6995
7005
|
zoneId: string;
|
|
6996
|
-
bookingFromLocation
|
|
6997
|
-
bookingToLocation
|
|
6998
|
-
locationChange
|
|
7006
|
+
bookingFromLocation: boolean;
|
|
7007
|
+
bookingToLocation: boolean;
|
|
7008
|
+
locationChange: boolean;
|
|
6999
7009
|
}
|
|
7000
7010
|
export interface MoveSubscriptionLocationUpdateDto {
|
|
7001
7011
|
locationId: string;
|
|
7002
|
-
bookingFromLocation
|
|
7003
|
-
bookingToLocation
|
|
7004
|
-
locationChange
|
|
7012
|
+
bookingFromLocation: boolean;
|
|
7013
|
+
bookingToLocation: boolean;
|
|
7014
|
+
locationChange: boolean;
|
|
7005
7015
|
}
|
|
7006
7016
|
export interface SearchParcelDto {
|
|
7007
7017
|
parcelId: string;
|
|
@@ -7043,7 +7053,7 @@ export interface TrackingHistoryDto {
|
|
|
7043
7053
|
materialPartName?: string | null;
|
|
7044
7054
|
materialPartNumber?: string | null;
|
|
7045
7055
|
category?: string | null;
|
|
7046
|
-
currentTracking
|
|
7056
|
+
currentTracking: TrackingEventDto | null;
|
|
7047
7057
|
trackingEvents: TrackingEventDto[];
|
|
7048
7058
|
suggestions?: SuggestionsItemDto | null;
|
|
7049
7059
|
}
|
|
@@ -7091,7 +7101,7 @@ export interface TrackingHistoryFlattenedDto {
|
|
|
7091
7101
|
materialPartName?: string | null;
|
|
7092
7102
|
materialPartNumber?: string | null;
|
|
7093
7103
|
category?: string | null;
|
|
7094
|
-
currentTracking
|
|
7104
|
+
currentTracking: TrackingEventDto | null;
|
|
7095
7105
|
trackingEvents: TrackingEventDto[];
|
|
7096
7106
|
}
|
|
7097
7107
|
export interface TrackingParcelRequestListDto {
|
|
@@ -7150,26 +7160,26 @@ export interface EngineeringChangeOrdersDto {
|
|
|
7150
7160
|
engineeringChangeOrders?: EngineeringChangeOrderDto[];
|
|
7151
7161
|
}
|
|
7152
7162
|
export interface AddMesLink {
|
|
7153
|
-
uri
|
|
7154
|
-
name
|
|
7155
|
-
type
|
|
7163
|
+
uri: string;
|
|
7164
|
+
name: string;
|
|
7165
|
+
type: MesLinkTypeDto;
|
|
7156
7166
|
openInNewTab?: boolean;
|
|
7157
7167
|
description?: string | null;
|
|
7158
7168
|
}
|
|
7159
7169
|
export type MesLinkTypeDto = "Static" | "Operation" | "WorkOrder";
|
|
7160
7170
|
export interface MesLinkDto {
|
|
7161
|
-
id
|
|
7162
|
-
uri
|
|
7163
|
-
name
|
|
7164
|
-
type
|
|
7165
|
-
openInNewTab
|
|
7171
|
+
id: string;
|
|
7172
|
+
uri: string;
|
|
7173
|
+
name: string;
|
|
7174
|
+
type: MesLinkTypeDto;
|
|
7175
|
+
openInNewTab: boolean;
|
|
7166
7176
|
description?: string | null;
|
|
7167
7177
|
}
|
|
7168
7178
|
export interface UpdateMesLink {
|
|
7169
|
-
id
|
|
7170
|
-
uri
|
|
7171
|
-
name
|
|
7172
|
-
type
|
|
7179
|
+
id: string;
|
|
7180
|
+
uri: string;
|
|
7181
|
+
name: string;
|
|
7182
|
+
type: MesLinkTypeDto;
|
|
7173
7183
|
openInNewTab?: boolean;
|
|
7174
7184
|
description?: string | null;
|
|
7175
7185
|
moveLinkRequest?: MoveLinkRequest | null;
|
|
@@ -7258,7 +7268,7 @@ export interface WorkOrderAttachmentDto {
|
|
|
7258
7268
|
}
|
|
7259
7269
|
export interface DrawingDto {
|
|
7260
7270
|
drawingNumber: string;
|
|
7261
|
-
revision
|
|
7271
|
+
revision: string;
|
|
7262
7272
|
status: string;
|
|
7263
7273
|
files: DrawingFileDto[];
|
|
7264
7274
|
}
|
|
@@ -7274,20 +7284,20 @@ export interface OrderReferenceDto {
|
|
|
7274
7284
|
}
|
|
7275
7285
|
export type OrderReferenceTypeDto = "ProductionOrder" | "PurchaseOrder" | "SalesOrder";
|
|
7276
7286
|
export interface ProductionOrderBomDto {
|
|
7277
|
-
position
|
|
7287
|
+
position: string;
|
|
7278
7288
|
lineNumber: number;
|
|
7279
7289
|
part: PartDto;
|
|
7280
|
-
dimension
|
|
7290
|
+
dimension: string;
|
|
7281
7291
|
operation: number;
|
|
7282
|
-
operationName
|
|
7292
|
+
operationName: string;
|
|
7283
7293
|
warehouse?: string | null;
|
|
7284
7294
|
fixedLocation?: string | null;
|
|
7285
|
-
fixedLocations
|
|
7286
|
-
unit
|
|
7295
|
+
fixedLocations: string[];
|
|
7296
|
+
unit: string;
|
|
7287
7297
|
quantityPerPart: number;
|
|
7288
7298
|
totalRequiredQuantity: number;
|
|
7289
7299
|
usedQuantity: number;
|
|
7290
|
-
availableQuantity
|
|
7300
|
+
availableQuantity: number | null;
|
|
7291
7301
|
drawing?: DrawingDto | null;
|
|
7292
7302
|
orderReference?: OrderReferenceDto | null;
|
|
7293
7303
|
status: MaterialStatus;
|
|
@@ -7300,19 +7310,19 @@ export interface InventoryDto {
|
|
|
7300
7310
|
siteId: string;
|
|
7301
7311
|
warehouseId: string;
|
|
7302
7312
|
locationId: string;
|
|
7303
|
-
batchNumber
|
|
7304
|
-
vendorBatch
|
|
7313
|
+
batchNumber: string;
|
|
7314
|
+
vendorBatch: string;
|
|
7305
7315
|
available: number;
|
|
7306
7316
|
}
|
|
7307
7317
|
export interface PickListSuggestionDto {
|
|
7308
|
-
position
|
|
7318
|
+
position: string;
|
|
7309
7319
|
lineNumber: number;
|
|
7310
7320
|
part: PartDto;
|
|
7311
|
-
dimension
|
|
7321
|
+
dimension: string;
|
|
7312
7322
|
operation: number;
|
|
7313
|
-
warehouse
|
|
7314
|
-
fixedLocation
|
|
7315
|
-
unit
|
|
7323
|
+
warehouse: string;
|
|
7324
|
+
fixedLocation: string;
|
|
7325
|
+
unit: string;
|
|
7316
7326
|
orderReference?: OrderReferenceDto | null;
|
|
7317
7327
|
quantityPerPart: number;
|
|
7318
7328
|
totalRequiredQuantity: number;
|
|
@@ -7366,7 +7376,7 @@ export interface NonConformanceAttachmentDto {
|
|
|
7366
7376
|
export interface WorkCenterDto {
|
|
7367
7377
|
id: string;
|
|
7368
7378
|
name: string;
|
|
7369
|
-
workCenterType
|
|
7379
|
+
workCenterType: string;
|
|
7370
7380
|
department?: DepartmentDto | null;
|
|
7371
7381
|
}
|
|
7372
7382
|
export interface MaterialPickListResultDto {
|
|
@@ -7483,7 +7493,7 @@ export interface SurroundingOperationDto {
|
|
|
7483
7493
|
}
|
|
7484
7494
|
export interface OperationPrerequisitesDto {
|
|
7485
7495
|
drawing?: boolean | null;
|
|
7486
|
-
materials
|
|
7496
|
+
materials: MaterialsPrerequisiteDto;
|
|
7487
7497
|
cncProgram?: boolean | null;
|
|
7488
7498
|
}
|
|
7489
7499
|
export interface MaterialsPrerequisiteDto {
|
|
@@ -7615,12 +7625,12 @@ export interface ReportOperationProgress {
|
|
|
7615
7625
|
export interface ReportOperationProgressDto {
|
|
7616
7626
|
workOrder: string;
|
|
7617
7627
|
operationNumber: number;
|
|
7618
|
-
resource
|
|
7628
|
+
resource: string;
|
|
7619
7629
|
goodQuantity?: number | null;
|
|
7620
7630
|
errorQuantity?: number | null;
|
|
7621
7631
|
errorCause?: ErrorCauseDto | null;
|
|
7622
|
-
nextStatus
|
|
7623
|
-
workType
|
|
7632
|
+
nextStatus: NextOperationStatusDto;
|
|
7633
|
+
workType: WorkTypeDto;
|
|
7624
7634
|
}
|
|
7625
7635
|
export type ErrorCauseDto = "None" | "Material" | "Machine" | "OperatingStaff";
|
|
7626
7636
|
export type NextOperationStatusDto = "InProgress" | "Stopped" | "Completed";
|
|
@@ -7984,7 +7994,7 @@ export interface ImaMaterialCheckDto {
|
|
|
7984
7994
|
updatedBy: string;
|
|
7985
7995
|
updatedById: string;
|
|
7986
7996
|
updatedByName: string;
|
|
7987
|
-
isDeleted
|
|
7997
|
+
isDeleted: boolean;
|
|
7988
7998
|
certificateTypeResults: ImaCertificateTypeResultsDto;
|
|
7989
7999
|
specificationResults: ImaSpecificationResultsDto;
|
|
7990
8000
|
}
|
|
@@ -8343,7 +8353,7 @@ export interface PurchaseOrderMaterialLineDetailsDto {
|
|
|
8343
8353
|
typeOfCertificate?: string | null;
|
|
8344
8354
|
}
|
|
8345
8355
|
export interface Part {
|
|
8346
|
-
partNumber
|
|
8356
|
+
partNumber: string;
|
|
8347
8357
|
partRevision?: string | null;
|
|
8348
8358
|
partName?: string | null;
|
|
8349
8359
|
customerPartNumber?: string | null;
|
|
@@ -9532,13 +9542,13 @@ export interface CreateWorkOrderMapping {
|
|
|
9532
9542
|
newWorkOrderId: string;
|
|
9533
9543
|
}
|
|
9534
9544
|
export interface WorkorderDiscussionMessageDto {
|
|
9535
|
-
id
|
|
9536
|
-
workorderId
|
|
9537
|
-
companyId
|
|
9538
|
-
content
|
|
9545
|
+
id: string;
|
|
9546
|
+
workorderId: string;
|
|
9547
|
+
companyId: string;
|
|
9548
|
+
content: string;
|
|
9539
9549
|
contentParts?: WorkOrderDiscussionContent[] | null;
|
|
9540
|
-
senderUpn
|
|
9541
|
-
senderName
|
|
9550
|
+
senderUpn: string;
|
|
9551
|
+
senderName: string;
|
|
9542
9552
|
operationId?: string | null;
|
|
9543
9553
|
operationName?: string | null;
|
|
9544
9554
|
resourceId?: string | null;
|
|
@@ -9556,10 +9566,10 @@ export interface AddDiscussionMessageRequest {
|
|
|
9556
9566
|
resourceId?: string | null;
|
|
9557
9567
|
}
|
|
9558
9568
|
export interface WorkorderDiscussionReadStatusDto {
|
|
9559
|
-
workorderId
|
|
9569
|
+
workorderId: string;
|
|
9560
9570
|
operationId?: string | null;
|
|
9561
9571
|
resourceId?: string | null;
|
|
9562
|
-
userUpn
|
|
9572
|
+
userUpn: string;
|
|
9563
9573
|
lastRead?: Date;
|
|
9564
9574
|
}
|
|
9565
9575
|
export interface SetDiscussionLastReadRequest {
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//----------------------
|
|
2
2
|
// <auto-generated>
|
|
3
|
-
// Generated using the NSwag toolchain v14.
|
|
3
|
+
// Generated using the NSwag toolchain v14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org)
|
|
4
4
|
// </auto-generated>
|
|
5
5
|
//----------------------
|
|
6
6
|
/* eslint-disable */
|
|
@@ -154,6 +154,42 @@ export class CustomersClient extends AuthorizedApiBase {
|
|
|
154
154
|
}
|
|
155
155
|
return Promise.resolve(null);
|
|
156
156
|
}
|
|
157
|
+
listAvailableTenants() {
|
|
158
|
+
let url_ = this.baseUrl + "/customers/available-tenants";
|
|
159
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
160
|
+
let options_ = {
|
|
161
|
+
method: "GET",
|
|
162
|
+
headers: {
|
|
163
|
+
"Accept": "application/json"
|
|
164
|
+
}
|
|
165
|
+
};
|
|
166
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
167
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
168
|
+
}).then((_response) => {
|
|
169
|
+
return this.processListAvailableTenants(_response);
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
processListAvailableTenants(response) {
|
|
173
|
+
const status = response.status;
|
|
174
|
+
let _headers = {};
|
|
175
|
+
if (response.headers && response.headers.forEach) {
|
|
176
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
177
|
+
}
|
|
178
|
+
;
|
|
179
|
+
if (status === 200) {
|
|
180
|
+
return response.text().then((_responseText) => {
|
|
181
|
+
let result200 = null;
|
|
182
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
183
|
+
return result200;
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
else if (status !== 200 && status !== 204) {
|
|
187
|
+
return response.text().then((_responseText) => {
|
|
188
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
return Promise.resolve(null);
|
|
192
|
+
}
|
|
157
193
|
/**
|
|
158
194
|
* Upsert a customer.
|
|
159
195
|
* @param id Customer id
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//----------------------
|
|
2
2
|
// <auto-generated>
|
|
3
|
-
// Generated using the NSwag toolchain v14.
|
|
3
|
+
// Generated using the NSwag toolchain v14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org)
|
|
4
4
|
// </auto-generated>
|
|
5
5
|
//----------------------
|
|
6
6
|
|
|
@@ -141,6 +141,8 @@ export interface ICustomersClient {
|
|
|
141
141
|
|
|
142
142
|
getCurrentCustomer(): Promise<CurrentCustomerDto>;
|
|
143
143
|
|
|
144
|
+
listAvailableTenants(): Promise<AvailableTenantDto[]>;
|
|
145
|
+
|
|
144
146
|
/**
|
|
145
147
|
* Upsert a customer.
|
|
146
148
|
* @param id Customer id
|
|
@@ -232,6 +234,41 @@ export class CustomersClient extends AuthorizedApiBase implements ICustomersClie
|
|
|
232
234
|
return Promise.resolve<CurrentCustomerDto>(null as any);
|
|
233
235
|
}
|
|
234
236
|
|
|
237
|
+
listAvailableTenants(): Promise<AvailableTenantDto[]> {
|
|
238
|
+
let url_ = this.baseUrl + "/customers/available-tenants";
|
|
239
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
240
|
+
|
|
241
|
+
let options_: RequestInit = {
|
|
242
|
+
method: "GET",
|
|
243
|
+
headers: {
|
|
244
|
+
"Accept": "application/json"
|
|
245
|
+
}
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
249
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
250
|
+
}).then((_response: Response) => {
|
|
251
|
+
return this.processListAvailableTenants(_response);
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
protected processListAvailableTenants(response: Response): Promise<AvailableTenantDto[]> {
|
|
256
|
+
const status = response.status;
|
|
257
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
258
|
+
if (status === 200) {
|
|
259
|
+
return response.text().then((_responseText) => {
|
|
260
|
+
let result200: any = null;
|
|
261
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as AvailableTenantDto[];
|
|
262
|
+
return result200;
|
|
263
|
+
});
|
|
264
|
+
} else if (status !== 200 && status !== 204) {
|
|
265
|
+
return response.text().then((_responseText) => {
|
|
266
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
267
|
+
});
|
|
268
|
+
}
|
|
269
|
+
return Promise.resolve<AvailableTenantDto[]>(null as any);
|
|
270
|
+
}
|
|
271
|
+
|
|
235
272
|
/**
|
|
236
273
|
* Upsert a customer.
|
|
237
274
|
* @param id Customer id
|
|
@@ -30166,6 +30203,15 @@ export interface CurrentCustomerDto {
|
|
|
30166
30203
|
logoUrl?: string | null;
|
|
30167
30204
|
}
|
|
30168
30205
|
|
|
30206
|
+
export interface AvailableTenantDto {
|
|
30207
|
+
tenantId?: string;
|
|
30208
|
+
name?: string | null;
|
|
30209
|
+
environment?: TenantEnvironmentDto;
|
|
30210
|
+
isRecommended?: boolean;
|
|
30211
|
+
}
|
|
30212
|
+
|
|
30213
|
+
export type TenantEnvironmentDto = "Prod" | "QA" | "Test" | "Dev";
|
|
30214
|
+
|
|
30169
30215
|
export interface GuestLoginInfoDto {
|
|
30170
30216
|
tenantId?: string;
|
|
30171
30217
|
customerName?: string;
|
|
@@ -30357,15 +30403,15 @@ export interface DowntimePeriodReasonDto {
|
|
|
30357
30403
|
startTime: Date;
|
|
30358
30404
|
endTime?: Date | null;
|
|
30359
30405
|
assetId: number;
|
|
30360
|
-
comment
|
|
30361
|
-
companyId
|
|
30406
|
+
comment: string | null;
|
|
30407
|
+
companyId: string | null;
|
|
30362
30408
|
reasonId: string;
|
|
30363
30409
|
autoCompleteDowntime?: boolean | null;
|
|
30364
30410
|
createdBy?: EmployeeDto | null;
|
|
30365
30411
|
updatedBy?: EmployeeDto | null;
|
|
30366
|
-
workOrderId
|
|
30367
|
-
partNumber
|
|
30368
|
-
partName
|
|
30412
|
+
workOrderId: string | null;
|
|
30413
|
+
partNumber: string | null;
|
|
30414
|
+
partName: string | null;
|
|
30369
30415
|
}
|
|
30370
30416
|
|
|
30371
30417
|
export type DowntimeReasonTypeDto = "Unplanned" | "Planned";
|
|
@@ -30390,8 +30436,8 @@ export interface WorkOrderDatapoint {
|
|
|
30390
30436
|
}
|
|
30391
30437
|
|
|
30392
30438
|
export interface ProgramDatapoint {
|
|
30393
|
-
timestamp
|
|
30394
|
-
programValue
|
|
30439
|
+
timestamp: number;
|
|
30440
|
+
programValue: string;
|
|
30395
30441
|
}
|
|
30396
30442
|
|
|
30397
30443
|
export interface TimelineFilterDto {
|
|
@@ -30423,7 +30469,7 @@ export interface ListMachineUptimesTodayRequest {
|
|
|
30423
30469
|
}
|
|
30424
30470
|
|
|
30425
30471
|
export interface PowerOnUtilizationList {
|
|
30426
|
-
machines
|
|
30472
|
+
machines: Machine[];
|
|
30427
30473
|
}
|
|
30428
30474
|
|
|
30429
30475
|
export interface Machine {
|
|
@@ -30990,9 +31036,9 @@ export interface UpdateCalendarSettingsCommand {
|
|
|
30990
31036
|
}
|
|
30991
31037
|
|
|
30992
31038
|
export interface CalendarDefinitionDto {
|
|
30993
|
-
id
|
|
30994
|
-
name
|
|
30995
|
-
hoursPerWeekday
|
|
31039
|
+
id: string;
|
|
31040
|
+
name: string;
|
|
31041
|
+
hoursPerWeekday: { [key in DayOfWeek]?: number; };
|
|
30996
31042
|
created?: Date | null;
|
|
30997
31043
|
updatedBy?: string | null;
|
|
30998
31044
|
}
|
|
@@ -31008,28 +31054,28 @@ export interface UpdateCalendarDefinitionRequest {
|
|
|
31008
31054
|
}
|
|
31009
31055
|
|
|
31010
31056
|
export interface ResourceCalendarPeriodSchedulesDto {
|
|
31011
|
-
groups
|
|
31012
|
-
ungroupedResources
|
|
31057
|
+
groups: ResourceCalendarPeriodGroupDto[];
|
|
31058
|
+
ungroupedResources: ResourceCalendarPeriodsDto[];
|
|
31013
31059
|
}
|
|
31014
31060
|
|
|
31015
31061
|
export interface ResourceCalendarPeriodGroupDto {
|
|
31016
|
-
resourceGroupName
|
|
31017
|
-
resources
|
|
31062
|
+
resourceGroupName: string;
|
|
31063
|
+
resources: ResourceCalendarPeriodsDto[];
|
|
31018
31064
|
}
|
|
31019
31065
|
|
|
31020
31066
|
export interface ResourceCalendarPeriodsDto {
|
|
31021
|
-
resourceExternalId
|
|
31022
|
-
resourceName
|
|
31023
|
-
periods
|
|
31067
|
+
resourceExternalId: string;
|
|
31068
|
+
resourceName: string;
|
|
31069
|
+
periods: ResourceCalendarPeriodDto[];
|
|
31024
31070
|
}
|
|
31025
31071
|
|
|
31026
31072
|
export interface ResourceCalendarPeriodDto {
|
|
31027
|
-
resourceExternalId
|
|
31028
|
-
calendarDefinitionId
|
|
31029
|
-
calendarDefinitionName
|
|
31030
|
-
effectiveFrom
|
|
31073
|
+
resourceExternalId: string;
|
|
31074
|
+
calendarDefinitionId: string;
|
|
31075
|
+
calendarDefinitionName: string;
|
|
31076
|
+
effectiveFrom: string;
|
|
31031
31077
|
effectiveTo?: string | null;
|
|
31032
|
-
targetPercent
|
|
31078
|
+
targetPercent: number;
|
|
31033
31079
|
comment?: string | null;
|
|
31034
31080
|
}
|
|
31035
31081
|
|
|
@@ -31053,8 +31099,8 @@ export interface DeleteResourceCalendarPeriod {
|
|
|
31053
31099
|
}
|
|
31054
31100
|
|
|
31055
31101
|
export interface PeriodKey {
|
|
31056
|
-
resourceExternalId
|
|
31057
|
-
effectiveFrom
|
|
31102
|
+
resourceExternalId: string;
|
|
31103
|
+
effectiveFrom: string;
|
|
31058
31104
|
}
|
|
31059
31105
|
|
|
31060
31106
|
export interface BulkAddResourceCalendarPeriods {
|
|
@@ -31090,14 +31136,14 @@ export interface ResourceDayKpiDto {
|
|
|
31090
31136
|
}
|
|
31091
31137
|
|
|
31092
31138
|
export interface ResourceDailyUptimeDto {
|
|
31093
|
-
date
|
|
31139
|
+
date: Date;
|
|
31094
31140
|
historicUptimeDataPoints?: ResourceDailyUptimePointDto[] | null;
|
|
31095
31141
|
todayUptimeDataPoints?: ResourceDailyUptimePointDto[] | null;
|
|
31096
31142
|
}
|
|
31097
31143
|
|
|
31098
31144
|
export interface ResourceDailyUptimePointDto {
|
|
31099
|
-
date
|
|
31100
|
-
uptime
|
|
31145
|
+
date: Date;
|
|
31146
|
+
uptime: number;
|
|
31101
31147
|
}
|
|
31102
31148
|
|
|
31103
31149
|
export interface UptimeTrendDataPointDto {
|
|
@@ -31237,7 +31283,7 @@ export interface WorkorderOperationEventDto {
|
|
|
31237
31283
|
isSetup: boolean;
|
|
31238
31284
|
employee?: EmployeeDto | null;
|
|
31239
31285
|
resourceId: string;
|
|
31240
|
-
description
|
|
31286
|
+
description: string;
|
|
31241
31287
|
part?: PartDto | null;
|
|
31242
31288
|
workorderDescription?: string | null;
|
|
31243
31289
|
operationDescription?: string | null;
|
|
@@ -31330,7 +31376,7 @@ export interface MachineDto {
|
|
|
31330
31376
|
export interface CreateMachineWithoutResource {
|
|
31331
31377
|
id: string;
|
|
31332
31378
|
name: string;
|
|
31333
|
-
description
|
|
31379
|
+
description: string | null;
|
|
31334
31380
|
type: string;
|
|
31335
31381
|
displayName?: string | null;
|
|
31336
31382
|
manufacturer?: string | null;
|
|
@@ -31355,7 +31401,7 @@ export interface CreateResourceWithMachine {
|
|
|
31355
31401
|
displayName?: string | null;
|
|
31356
31402
|
machineId: string;
|
|
31357
31403
|
machineName: string;
|
|
31358
|
-
machineDescription
|
|
31404
|
+
machineDescription: string | null;
|
|
31359
31405
|
machineType: string;
|
|
31360
31406
|
manufacturer?: string | null;
|
|
31361
31407
|
location?: string | null;
|
|
@@ -31505,14 +31551,14 @@ export interface MachineUtilizationDatapointListDto extends UtilizationDatapoint
|
|
|
31505
31551
|
}
|
|
31506
31552
|
|
|
31507
31553
|
export interface CompanyResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
31508
|
-
groups
|
|
31509
|
-
ungroupedResources
|
|
31554
|
+
groups: ResourceGroupUtilizationDatapointListDto[];
|
|
31555
|
+
ungroupedResources: ResourceUtilizationDatapointListDto[];
|
|
31510
31556
|
}
|
|
31511
31557
|
|
|
31512
31558
|
export interface ResourceGroupUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
31513
31559
|
groupId: string;
|
|
31514
31560
|
groupName: string;
|
|
31515
|
-
resources
|
|
31561
|
+
resources: ResourceUtilizationDatapointListDto[];
|
|
31516
31562
|
}
|
|
31517
31563
|
|
|
31518
31564
|
export interface ResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
@@ -31523,12 +31569,12 @@ export interface ResourceUtilizationDatapointListDto extends UtilizationDatapoin
|
|
|
31523
31569
|
}
|
|
31524
31570
|
|
|
31525
31571
|
export interface CrossCompanyUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
31526
|
-
companies
|
|
31572
|
+
companies: NamedCompanyUtilizationDatapointListDto[];
|
|
31527
31573
|
}
|
|
31528
31574
|
|
|
31529
31575
|
export interface CompanyUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
31530
|
-
groups
|
|
31531
|
-
ungroupedMachines
|
|
31576
|
+
groups: MachineGroupUtilizationDatapointListDto[];
|
|
31577
|
+
ungroupedMachines: MachineUtilizationDatapointListDto[];
|
|
31532
31578
|
}
|
|
31533
31579
|
|
|
31534
31580
|
export interface NamedCompanyUtilizationDatapointListDto extends CompanyUtilizationDatapointListDto {
|
|
@@ -31539,7 +31585,7 @@ export interface NamedCompanyUtilizationDatapointListDto extends CompanyUtilizat
|
|
|
31539
31585
|
export interface MachineGroupUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
31540
31586
|
groupId: string;
|
|
31541
31587
|
groupName: string;
|
|
31542
|
-
machines
|
|
31588
|
+
machines: MachineUtilizationDatapointListDto[];
|
|
31543
31589
|
}
|
|
31544
31590
|
|
|
31545
31591
|
export interface CrossCompanyResourceUtilizationDto {
|
|
@@ -31554,7 +31600,7 @@ export interface NamedCompanyResourceUtilizationDto extends CompanyResourceUtili
|
|
|
31554
31600
|
}
|
|
31555
31601
|
|
|
31556
31602
|
export interface CrossCompanyResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
31557
|
-
companies
|
|
31603
|
+
companies: NamedCompanyResourceUtilizationDatapointListDto[];
|
|
31558
31604
|
}
|
|
31559
31605
|
|
|
31560
31606
|
export interface NamedCompanyResourceUtilizationDatapointListDto extends CompanyResourceUtilizationDatapointListDto {
|
|
@@ -31784,8 +31830,8 @@ export interface CreateMrbTemplateRequest {
|
|
|
31784
31830
|
}
|
|
31785
31831
|
|
|
31786
31832
|
export interface UpdateMrbTemplate {
|
|
31787
|
-
id
|
|
31788
|
-
title
|
|
31833
|
+
id: string;
|
|
31834
|
+
title: string;
|
|
31789
31835
|
tableOfContents?: MrbTemplateTableOfContentsDto | null;
|
|
31790
31836
|
elements?: MrbTemplateUpdateElementDto[];
|
|
31791
31837
|
contentIndicator?: string | null;
|
|
@@ -32022,7 +32068,7 @@ export interface TraceWorkOrderListDto {
|
|
|
32022
32068
|
id: string;
|
|
32023
32069
|
part: PartDto;
|
|
32024
32070
|
quantity: number;
|
|
32025
|
-
unit
|
|
32071
|
+
unit: string | null;
|
|
32026
32072
|
status: WorkorderStatus;
|
|
32027
32073
|
plannedStart?: Date | null;
|
|
32028
32074
|
plannedEnd?: Date | null;
|
|
@@ -32494,14 +32540,14 @@ export interface MachineDayKpiDto {
|
|
|
32494
32540
|
}
|
|
32495
32541
|
|
|
32496
32542
|
export interface MachineDailyUptimeDto {
|
|
32497
|
-
date
|
|
32543
|
+
date: Date;
|
|
32498
32544
|
historicUptimeDataPoints?: MachineDailyUptimePointDto[] | null;
|
|
32499
32545
|
todayUptimeDataPoints?: MachineDailyUptimePointDto[] | null;
|
|
32500
32546
|
}
|
|
32501
32547
|
|
|
32502
32548
|
export interface MachineDailyUptimePointDto {
|
|
32503
|
-
date
|
|
32504
|
-
uptime
|
|
32549
|
+
date: Date;
|
|
32550
|
+
uptime: number;
|
|
32505
32551
|
}
|
|
32506
32552
|
|
|
32507
32553
|
export interface MachineGroupDto {
|
|
@@ -32898,8 +32944,8 @@ export interface TransferToMachineRequest {
|
|
|
32898
32944
|
}
|
|
32899
32945
|
|
|
32900
32946
|
export interface ProgramSelectionRequest {
|
|
32901
|
-
id
|
|
32902
|
-
version
|
|
32947
|
+
id: string;
|
|
32948
|
+
version: number;
|
|
32903
32949
|
}
|
|
32904
32950
|
|
|
32905
32951
|
export interface UploadCamFileDto {
|
|
@@ -33291,7 +33337,7 @@ export interface MarkdownNotesDto {
|
|
|
33291
33337
|
|
|
33292
33338
|
export interface SaveMarkdownNotes {
|
|
33293
33339
|
id: string;
|
|
33294
|
-
markdown
|
|
33340
|
+
markdown: string;
|
|
33295
33341
|
}
|
|
33296
33342
|
|
|
33297
33343
|
export interface CncToolTypeDto {
|
|
@@ -33477,7 +33523,7 @@ export interface UpdateKeepSettings {
|
|
|
33477
33523
|
|
|
33478
33524
|
export interface FixtureListDto {
|
|
33479
33525
|
results: FixtureDto[];
|
|
33480
|
-
continuationToken
|
|
33526
|
+
continuationToken: string | null;
|
|
33481
33527
|
}
|
|
33482
33528
|
|
|
33483
33529
|
export interface FixtureDto {
|
|
@@ -33802,7 +33848,7 @@ export interface UpdateMachineInactivitySubscription {
|
|
|
33802
33848
|
export interface IntegrationCredentialDto {
|
|
33803
33849
|
type: CredentialTypeDto;
|
|
33804
33850
|
id: string;
|
|
33805
|
-
name
|
|
33851
|
+
name: string;
|
|
33806
33852
|
clientId?: string | null;
|
|
33807
33853
|
expirationDate?: Date | null;
|
|
33808
33854
|
activationDate?: Date | null;
|
|
@@ -33971,7 +34017,7 @@ export interface BookingParcelDto {
|
|
|
33971
34017
|
materialPartName?: string | null;
|
|
33972
34018
|
materialPartNumber?: string | null;
|
|
33973
34019
|
covered: MaterialCoveredDto;
|
|
33974
|
-
item
|
|
34020
|
+
item: BookingItemDto;
|
|
33975
34021
|
}
|
|
33976
34022
|
|
|
33977
34023
|
export type MaterialCoveredDto = "NotDefined" | "NotCovered" | "Covered";
|
|
@@ -34021,11 +34067,11 @@ export type BookingCreatedByDto = "MyBookings" | "OthersBookings";
|
|
|
34021
34067
|
export type BookingOrderDto = "Ascending" | "Descending";
|
|
34022
34068
|
|
|
34023
34069
|
export interface BookingFilterResultsDto {
|
|
34024
|
-
bookingStatus
|
|
34025
|
-
transportKind
|
|
34026
|
-
parcelKind
|
|
34027
|
-
fromLocations
|
|
34028
|
-
toLocations
|
|
34070
|
+
bookingStatus: BookingStatusResultsDto[];
|
|
34071
|
+
transportKind: TransportKindResultsDto[];
|
|
34072
|
+
parcelKind: ParcelKindResultsDto[];
|
|
34073
|
+
fromLocations: LocationZoneGroupDto[];
|
|
34074
|
+
toLocations: LocationZoneGroupDto[];
|
|
34029
34075
|
}
|
|
34030
34076
|
|
|
34031
34077
|
export interface BookingStatusResultsDto {
|
|
@@ -34123,17 +34169,17 @@ export interface BookingStatusUpdateDto {
|
|
|
34123
34169
|
}
|
|
34124
34170
|
|
|
34125
34171
|
export interface MoveInfoscreenDto {
|
|
34126
|
-
id
|
|
34127
|
-
name
|
|
34128
|
-
slug
|
|
34129
|
-
fromZoneIds
|
|
34130
|
-
fromLocationIds
|
|
34131
|
-
toZoneIds
|
|
34132
|
-
toLocationIds
|
|
34172
|
+
id: string;
|
|
34173
|
+
name: string;
|
|
34174
|
+
slug: string;
|
|
34175
|
+
fromZoneIds: string[];
|
|
34176
|
+
fromLocationIds: string[];
|
|
34177
|
+
toZoneIds: string[];
|
|
34178
|
+
toLocationIds: string[];
|
|
34133
34179
|
}
|
|
34134
34180
|
|
|
34135
34181
|
export interface CreateMoveInfoscreenRequestDto {
|
|
34136
|
-
name
|
|
34182
|
+
name: string;
|
|
34137
34183
|
fromZoneIds?: string[];
|
|
34138
34184
|
fromLocationIds?: string[];
|
|
34139
34185
|
toZoneIds?: string[];
|
|
@@ -34141,7 +34187,7 @@ export interface CreateMoveInfoscreenRequestDto {
|
|
|
34141
34187
|
}
|
|
34142
34188
|
|
|
34143
34189
|
export interface UpdateMoveInfoscreenRequestDto {
|
|
34144
|
-
name
|
|
34190
|
+
name: string;
|
|
34145
34191
|
fromZoneIds?: string[];
|
|
34146
34192
|
fromLocationIds?: string[];
|
|
34147
34193
|
toZoneIds?: string[];
|
|
@@ -34208,16 +34254,16 @@ export interface MoveSubscriptionDto {
|
|
|
34208
34254
|
|
|
34209
34255
|
export interface MoveSubscriptionZoneDto {
|
|
34210
34256
|
zoneId: string;
|
|
34211
|
-
bookingFromLocation
|
|
34212
|
-
bookingToLocation
|
|
34213
|
-
locationChange
|
|
34257
|
+
bookingFromLocation: boolean;
|
|
34258
|
+
bookingToLocation: boolean;
|
|
34259
|
+
locationChange: boolean;
|
|
34214
34260
|
}
|
|
34215
34261
|
|
|
34216
34262
|
export interface MoveSubscriptionLocationDto {
|
|
34217
34263
|
locationId: string;
|
|
34218
|
-
bookingFromLocation
|
|
34219
|
-
bookingToLocation
|
|
34220
|
-
locationChange
|
|
34264
|
+
bookingFromLocation: boolean;
|
|
34265
|
+
bookingToLocation: boolean;
|
|
34266
|
+
locationChange: boolean;
|
|
34221
34267
|
}
|
|
34222
34268
|
|
|
34223
34269
|
export interface UpdateNotifications {
|
|
@@ -34229,16 +34275,16 @@ export interface UpdateNotifications {
|
|
|
34229
34275
|
|
|
34230
34276
|
export interface MoveSubscriptionZoneUpdateDto {
|
|
34231
34277
|
zoneId: string;
|
|
34232
|
-
bookingFromLocation
|
|
34233
|
-
bookingToLocation
|
|
34234
|
-
locationChange
|
|
34278
|
+
bookingFromLocation: boolean;
|
|
34279
|
+
bookingToLocation: boolean;
|
|
34280
|
+
locationChange: boolean;
|
|
34235
34281
|
}
|
|
34236
34282
|
|
|
34237
34283
|
export interface MoveSubscriptionLocationUpdateDto {
|
|
34238
34284
|
locationId: string;
|
|
34239
|
-
bookingFromLocation
|
|
34240
|
-
bookingToLocation
|
|
34241
|
-
locationChange
|
|
34285
|
+
bookingFromLocation: boolean;
|
|
34286
|
+
bookingToLocation: boolean;
|
|
34287
|
+
locationChange: boolean;
|
|
34242
34288
|
}
|
|
34243
34289
|
|
|
34244
34290
|
export interface SearchParcelDto {
|
|
@@ -34286,7 +34332,7 @@ export interface TrackingHistoryDto {
|
|
|
34286
34332
|
materialPartName?: string | null;
|
|
34287
34333
|
materialPartNumber?: string | null;
|
|
34288
34334
|
category?: string | null;
|
|
34289
|
-
currentTracking
|
|
34335
|
+
currentTracking: TrackingEventDto | null;
|
|
34290
34336
|
trackingEvents: TrackingEventDto[];
|
|
34291
34337
|
suggestions?: SuggestionsItemDto | null;
|
|
34292
34338
|
}
|
|
@@ -34339,7 +34385,7 @@ export interface TrackingHistoryFlattenedDto {
|
|
|
34339
34385
|
materialPartName?: string | null;
|
|
34340
34386
|
materialPartNumber?: string | null;
|
|
34341
34387
|
category?: string | null;
|
|
34342
|
-
currentTracking
|
|
34388
|
+
currentTracking: TrackingEventDto | null;
|
|
34343
34389
|
trackingEvents: TrackingEventDto[];
|
|
34344
34390
|
}
|
|
34345
34391
|
|
|
@@ -34409,9 +34455,9 @@ export interface EngineeringChangeOrdersDto {
|
|
|
34409
34455
|
}
|
|
34410
34456
|
|
|
34411
34457
|
export interface AddMesLink {
|
|
34412
|
-
uri
|
|
34413
|
-
name
|
|
34414
|
-
type
|
|
34458
|
+
uri: string;
|
|
34459
|
+
name: string;
|
|
34460
|
+
type: MesLinkTypeDto;
|
|
34415
34461
|
openInNewTab?: boolean;
|
|
34416
34462
|
description?: string | null;
|
|
34417
34463
|
}
|
|
@@ -34419,19 +34465,19 @@ export interface AddMesLink {
|
|
|
34419
34465
|
export type MesLinkTypeDto = "Static" | "Operation" | "WorkOrder";
|
|
34420
34466
|
|
|
34421
34467
|
export interface MesLinkDto {
|
|
34422
|
-
id
|
|
34423
|
-
uri
|
|
34424
|
-
name
|
|
34425
|
-
type
|
|
34426
|
-
openInNewTab
|
|
34468
|
+
id: string;
|
|
34469
|
+
uri: string;
|
|
34470
|
+
name: string;
|
|
34471
|
+
type: MesLinkTypeDto;
|
|
34472
|
+
openInNewTab: boolean;
|
|
34427
34473
|
description?: string | null;
|
|
34428
34474
|
}
|
|
34429
34475
|
|
|
34430
34476
|
export interface UpdateMesLink {
|
|
34431
|
-
id
|
|
34432
|
-
uri
|
|
34433
|
-
name
|
|
34434
|
-
type
|
|
34477
|
+
id: string;
|
|
34478
|
+
uri: string;
|
|
34479
|
+
name: string;
|
|
34480
|
+
type: MesLinkTypeDto;
|
|
34435
34481
|
openInNewTab?: boolean;
|
|
34436
34482
|
description?: string | null;
|
|
34437
34483
|
moveLinkRequest?: MoveLinkRequest | null;
|
|
@@ -34528,7 +34574,7 @@ export interface WorkOrderAttachmentDto {
|
|
|
34528
34574
|
|
|
34529
34575
|
export interface DrawingDto {
|
|
34530
34576
|
drawingNumber: string;
|
|
34531
|
-
revision
|
|
34577
|
+
revision: string;
|
|
34532
34578
|
status: string;
|
|
34533
34579
|
files: DrawingFileDto[];
|
|
34534
34580
|
}
|
|
@@ -34548,20 +34594,20 @@ export interface OrderReferenceDto {
|
|
|
34548
34594
|
export type OrderReferenceTypeDto = "ProductionOrder" | "PurchaseOrder" | "SalesOrder";
|
|
34549
34595
|
|
|
34550
34596
|
export interface ProductionOrderBomDto {
|
|
34551
|
-
position
|
|
34597
|
+
position: string;
|
|
34552
34598
|
lineNumber: number;
|
|
34553
34599
|
part: PartDto;
|
|
34554
|
-
dimension
|
|
34600
|
+
dimension: string;
|
|
34555
34601
|
operation: number;
|
|
34556
|
-
operationName
|
|
34602
|
+
operationName: string;
|
|
34557
34603
|
warehouse?: string | null;
|
|
34558
34604
|
fixedLocation?: string | null;
|
|
34559
|
-
fixedLocations
|
|
34560
|
-
unit
|
|
34605
|
+
fixedLocations: string[];
|
|
34606
|
+
unit: string;
|
|
34561
34607
|
quantityPerPart: number;
|
|
34562
34608
|
totalRequiredQuantity: number;
|
|
34563
34609
|
usedQuantity: number;
|
|
34564
|
-
availableQuantity
|
|
34610
|
+
availableQuantity: number | null;
|
|
34565
34611
|
drawing?: DrawingDto | null;
|
|
34566
34612
|
orderReference?: OrderReferenceDto | null;
|
|
34567
34613
|
status: MaterialStatus;
|
|
@@ -34575,20 +34621,20 @@ export interface InventoryDto {
|
|
|
34575
34621
|
siteId: string;
|
|
34576
34622
|
warehouseId: string;
|
|
34577
34623
|
locationId: string;
|
|
34578
|
-
batchNumber
|
|
34579
|
-
vendorBatch
|
|
34624
|
+
batchNumber: string;
|
|
34625
|
+
vendorBatch: string;
|
|
34580
34626
|
available: number;
|
|
34581
34627
|
}
|
|
34582
34628
|
|
|
34583
34629
|
export interface PickListSuggestionDto {
|
|
34584
|
-
position
|
|
34630
|
+
position: string;
|
|
34585
34631
|
lineNumber: number;
|
|
34586
34632
|
part: PartDto;
|
|
34587
|
-
dimension
|
|
34633
|
+
dimension: string;
|
|
34588
34634
|
operation: number;
|
|
34589
|
-
warehouse
|
|
34590
|
-
fixedLocation
|
|
34591
|
-
unit
|
|
34635
|
+
warehouse: string;
|
|
34636
|
+
fixedLocation: string;
|
|
34637
|
+
unit: string;
|
|
34592
34638
|
orderReference?: OrderReferenceDto | null;
|
|
34593
34639
|
quantityPerPart: number;
|
|
34594
34640
|
totalRequiredQuantity: number;
|
|
@@ -34647,7 +34693,7 @@ export interface NonConformanceAttachmentDto {
|
|
|
34647
34693
|
export interface WorkCenterDto {
|
|
34648
34694
|
id: string;
|
|
34649
34695
|
name: string;
|
|
34650
|
-
workCenterType
|
|
34696
|
+
workCenterType: string;
|
|
34651
34697
|
department?: DepartmentDto | null;
|
|
34652
34698
|
}
|
|
34653
34699
|
|
|
@@ -34774,7 +34820,7 @@ export interface SurroundingOperationDto {
|
|
|
34774
34820
|
|
|
34775
34821
|
export interface OperationPrerequisitesDto {
|
|
34776
34822
|
drawing?: boolean | null;
|
|
34777
|
-
materials
|
|
34823
|
+
materials: MaterialsPrerequisiteDto;
|
|
34778
34824
|
cncProgram?: boolean | null;
|
|
34779
34825
|
}
|
|
34780
34826
|
|
|
@@ -34922,12 +34968,12 @@ export interface ReportOperationProgress {
|
|
|
34922
34968
|
export interface ReportOperationProgressDto {
|
|
34923
34969
|
workOrder: string;
|
|
34924
34970
|
operationNumber: number;
|
|
34925
|
-
resource
|
|
34971
|
+
resource: string;
|
|
34926
34972
|
goodQuantity?: number | null;
|
|
34927
34973
|
errorQuantity?: number | null;
|
|
34928
34974
|
errorCause?: ErrorCauseDto | null;
|
|
34929
|
-
nextStatus
|
|
34930
|
-
workType
|
|
34975
|
+
nextStatus: NextOperationStatusDto;
|
|
34976
|
+
workType: WorkTypeDto;
|
|
34931
34977
|
}
|
|
34932
34978
|
|
|
34933
34979
|
export type ErrorCauseDto = "None" | "Material" | "Machine" | "OperatingStaff";
|
|
@@ -35338,7 +35384,7 @@ export interface ImaMaterialCheckDto {
|
|
|
35338
35384
|
updatedBy: string;
|
|
35339
35385
|
updatedById: string;
|
|
35340
35386
|
updatedByName: string;
|
|
35341
|
-
isDeleted
|
|
35387
|
+
isDeleted: boolean;
|
|
35342
35388
|
certificateTypeResults: ImaCertificateTypeResultsDto;
|
|
35343
35389
|
specificationResults: ImaSpecificationResultsDto;
|
|
35344
35390
|
}
|
|
@@ -35748,7 +35794,7 @@ export interface PurchaseOrderMaterialLineDetailsDto {
|
|
|
35748
35794
|
}
|
|
35749
35795
|
|
|
35750
35796
|
export interface Part {
|
|
35751
|
-
partNumber
|
|
35797
|
+
partNumber: string;
|
|
35752
35798
|
partRevision?: string | null;
|
|
35753
35799
|
partName?: string | null;
|
|
35754
35800
|
customerPartNumber?: string | null;
|
|
@@ -37089,13 +37135,13 @@ export interface CreateWorkOrderMapping {
|
|
|
37089
37135
|
}
|
|
37090
37136
|
|
|
37091
37137
|
export interface WorkorderDiscussionMessageDto {
|
|
37092
|
-
id
|
|
37093
|
-
workorderId
|
|
37094
|
-
companyId
|
|
37095
|
-
content
|
|
37138
|
+
id: string;
|
|
37139
|
+
workorderId: string;
|
|
37140
|
+
companyId: string;
|
|
37141
|
+
content: string;
|
|
37096
37142
|
contentParts?: WorkOrderDiscussionContent[] | null;
|
|
37097
|
-
senderUpn
|
|
37098
|
-
senderName
|
|
37143
|
+
senderUpn: string;
|
|
37144
|
+
senderName: string;
|
|
37099
37145
|
operationId?: string | null;
|
|
37100
37146
|
operationName?: string | null;
|
|
37101
37147
|
resourceId?: string | null;
|
|
@@ -37117,10 +37163,10 @@ export interface AddDiscussionMessageRequest {
|
|
|
37117
37163
|
}
|
|
37118
37164
|
|
|
37119
37165
|
export interface WorkorderDiscussionReadStatusDto {
|
|
37120
|
-
workorderId
|
|
37166
|
+
workorderId: string;
|
|
37121
37167
|
operationId?: string | null;
|
|
37122
37168
|
resourceId?: string | null;
|
|
37123
|
-
userUpn
|
|
37169
|
+
userUpn: string;
|
|
37124
37170
|
lastRead?: Date;
|
|
37125
37171
|
}
|
|
37126
37172
|
|