@ignos/api-client 20260513.126.1-alpha → 20260518.128.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.
@@ -615,6 +615,48 @@ export declare class KpiAdminResourceClient extends AuthorizedApiBase implements
615
615
  updateCalendarSettings(cmd: UpdateCalendarSettingsCommand): Promise<CalendarSettingsDto>;
616
616
  protected processUpdateCalendarSettings(response: Response): Promise<CalendarSettingsDto>;
617
617
  }
618
+ export interface IKpiCalendarClient {
619
+ listCalendarDefinitions(): Promise<CalendarDefinitionDto[]>;
620
+ createCalendarDefinition(request: CreateCalendarDefinition): Promise<CalendarDefinitionDto>;
621
+ updateCalendarDefinition(id: string, request: UpdateCalendarDefinitionRequest): Promise<CalendarDefinitionDto>;
622
+ deleteCalendarDefinition(id: string): Promise<FileResponse>;
623
+ listResourceCalendarPeriods(): Promise<ResourceCalendarPeriodSchedulesDto>;
624
+ addResourceCalendarPeriod(request: AddResourceCalendarPeriod): Promise<ResourceCalendarPeriodDto>;
625
+ deleteResourceCalendarPeriods(request: DeleteResourceCalendarPeriod): Promise<FileResponse>;
626
+ updateResourceCalendarPeriod(resourceExternalId: string, effectiveFrom: string, request: UpdateResourceCalendarPeriodRequest): Promise<ResourceCalendarPeriodDto>;
627
+ bulkAddResourceCalendarPeriods(request: BulkAddResourceCalendarPeriods): Promise<ResourceCalendarPeriodDto[]>;
628
+ copyResourceCalendarPeriod(sourceResourceExternalId: string, sourceEffectiveFrom: string, request: CopyResourceCalendarPeriodRequest): Promise<ResourceCalendarPeriodDto>;
629
+ migrateCapacityToSchedules(): Promise<MigrationResultDto>;
630
+ }
631
+ export declare class KpiCalendarClient extends AuthorizedApiBase implements IKpiCalendarClient {
632
+ private http;
633
+ private baseUrl;
634
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
635
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
636
+ });
637
+ listCalendarDefinitions(): Promise<CalendarDefinitionDto[]>;
638
+ protected processListCalendarDefinitions(response: Response): Promise<CalendarDefinitionDto[]>;
639
+ createCalendarDefinition(request: CreateCalendarDefinition): Promise<CalendarDefinitionDto>;
640
+ protected processCreateCalendarDefinition(response: Response): Promise<CalendarDefinitionDto>;
641
+ updateCalendarDefinition(id: string, request: UpdateCalendarDefinitionRequest): Promise<CalendarDefinitionDto>;
642
+ protected processUpdateCalendarDefinition(response: Response): Promise<CalendarDefinitionDto>;
643
+ deleteCalendarDefinition(id: string): Promise<FileResponse>;
644
+ protected processDeleteCalendarDefinition(response: Response): Promise<FileResponse>;
645
+ listResourceCalendarPeriods(): Promise<ResourceCalendarPeriodSchedulesDto>;
646
+ protected processListResourceCalendarPeriods(response: Response): Promise<ResourceCalendarPeriodSchedulesDto>;
647
+ addResourceCalendarPeriod(request: AddResourceCalendarPeriod): Promise<ResourceCalendarPeriodDto>;
648
+ protected processAddResourceCalendarPeriod(response: Response): Promise<ResourceCalendarPeriodDto>;
649
+ deleteResourceCalendarPeriods(request: DeleteResourceCalendarPeriod): Promise<FileResponse>;
650
+ protected processDeleteResourceCalendarPeriods(response: Response): Promise<FileResponse>;
651
+ updateResourceCalendarPeriod(resourceExternalId: string, effectiveFrom: string, request: UpdateResourceCalendarPeriodRequest): Promise<ResourceCalendarPeriodDto>;
652
+ protected processUpdateResourceCalendarPeriod(response: Response): Promise<ResourceCalendarPeriodDto>;
653
+ bulkAddResourceCalendarPeriods(request: BulkAddResourceCalendarPeriods): Promise<ResourceCalendarPeriodDto[]>;
654
+ protected processBulkAddResourceCalendarPeriods(response: Response): Promise<ResourceCalendarPeriodDto[]>;
655
+ copyResourceCalendarPeriod(sourceResourceExternalId: string, sourceEffectiveFrom: string, request: CopyResourceCalendarPeriodRequest): Promise<ResourceCalendarPeriodDto>;
656
+ protected processCopyResourceCalendarPeriod(response: Response): Promise<ResourceCalendarPeriodDto>;
657
+ migrateCapacityToSchedules(): Promise<MigrationResultDto>;
658
+ protected processMigrateCapacityToSchedules(response: Response): Promise<MigrationResultDto>;
659
+ }
618
660
  export interface IKpiResourceClient {
619
661
  getResourceKpi(resourceExternalId: string | undefined, previousPeriodStartDate: Date | undefined, startDate: Date | undefined, endDate: Date | undefined, utcOffset: number | undefined): Promise<ResourceKpiDto>;
620
662
  getResourceDailyUptime(resourceExternalId: string | undefined, date: Date | undefined, utcOffset: number | undefined): Promise<ResourceDailyUptimeDto>;
@@ -3568,15 +3610,15 @@ export interface DowntimePeriodReasonDto {
3568
3610
  startTime: Date;
3569
3611
  endTime?: Date | null;
3570
3612
  assetId: number;
3571
- comment?: string | null;
3572
- companyId?: string | null;
3613
+ comment: string | null;
3614
+ companyId: string | null;
3573
3615
  reasonId: string;
3574
3616
  autoCompleteDowntime?: boolean | null;
3575
3617
  createdBy?: EmployeeDto | null;
3576
3618
  updatedBy?: EmployeeDto | null;
3577
- workOrderId?: string | null;
3578
- partNumber?: string | null;
3579
- partName?: string | null;
3619
+ workOrderId: string | null;
3620
+ partNumber: string | null;
3621
+ partName: string | null;
3580
3622
  }
3581
3623
  export type DowntimeReasonTypeDto = "Unplanned" | "Planned";
3582
3624
  export interface EmployeeDto {
@@ -3599,8 +3641,8 @@ export interface WorkOrderDatapoint {
3599
3641
  } | null;
3600
3642
  }
3601
3643
  export interface ProgramDatapoint {
3602
- timestamp?: number;
3603
- programValue?: string;
3644
+ timestamp: number;
3645
+ programValue: string;
3604
3646
  }
3605
3647
  export interface TimelineFilterDto {
3606
3648
  includeMachineState?: boolean | null;
@@ -3626,7 +3668,7 @@ export interface ListMachineUptimesTodayRequest {
3626
3668
  utcOffset?: number;
3627
3669
  }
3628
3670
  export interface PowerOnUtilizationList {
3629
- machines?: Machine[];
3671
+ machines: Machine[];
3630
3672
  }
3631
3673
  export interface Machine {
3632
3674
  externalId?: string;
@@ -4112,6 +4154,84 @@ export interface UpdateCalendarSettingsCommand {
4112
4154
  holidayHours?: number;
4113
4155
  defaultPerformancePercent?: number | null;
4114
4156
  }
4157
+ export interface CalendarDefinitionDto {
4158
+ id: string;
4159
+ name: string;
4160
+ hoursPerWeekday: {
4161
+ [key in DayOfWeek]?: number;
4162
+ };
4163
+ created?: Date | null;
4164
+ updatedBy?: string | null;
4165
+ }
4166
+ export interface CreateCalendarDefinition {
4167
+ name: string;
4168
+ hoursPerWeekday: {
4169
+ [key in DayOfWeek]?: number;
4170
+ };
4171
+ }
4172
+ export interface UpdateCalendarDefinitionRequest {
4173
+ name?: string | null;
4174
+ hoursPerWeekday?: {
4175
+ [key in DayOfWeek]?: number;
4176
+ } | null;
4177
+ }
4178
+ export interface ResourceCalendarPeriodSchedulesDto {
4179
+ groups: ResourceCalendarPeriodGroupDto[];
4180
+ ungroupedResources: ResourceCalendarPeriodsDto[];
4181
+ }
4182
+ export interface ResourceCalendarPeriodGroupDto {
4183
+ resourceGroupName: string;
4184
+ resources: ResourceCalendarPeriodsDto[];
4185
+ }
4186
+ export interface ResourceCalendarPeriodsDto {
4187
+ resourceExternalId: string;
4188
+ resourceName: string;
4189
+ periods: ResourceCalendarPeriodDto[];
4190
+ }
4191
+ export interface ResourceCalendarPeriodDto {
4192
+ resourceExternalId: string;
4193
+ calendarDefinitionId: string;
4194
+ calendarDefinitionName: string;
4195
+ effectiveFrom: string;
4196
+ effectiveTo?: string | null;
4197
+ targetPercent: number;
4198
+ comment?: string | null;
4199
+ }
4200
+ export interface AddResourceCalendarPeriod {
4201
+ resourceExternalId: string;
4202
+ calendarDefinitionId: string;
4203
+ effectiveFrom: string;
4204
+ targetPercent: number;
4205
+ comment?: string | null;
4206
+ }
4207
+ export interface UpdateResourceCalendarPeriodRequest {
4208
+ calendarDefinitionId?: string | null;
4209
+ targetPercent?: number | null;
4210
+ newEffectiveFrom?: string | null;
4211
+ comment?: string | null;
4212
+ }
4213
+ export interface DeleteResourceCalendarPeriod {
4214
+ periods: PeriodKey[];
4215
+ }
4216
+ export interface PeriodKey {
4217
+ resourceExternalId: string;
4218
+ effectiveFrom: string;
4219
+ }
4220
+ export interface BulkAddResourceCalendarPeriods {
4221
+ resourceExternalIds: string[];
4222
+ calendarDefinitionId: string;
4223
+ effectiveFrom: string;
4224
+ targetPercent: number;
4225
+ comment?: string | null;
4226
+ }
4227
+ export interface CopyResourceCalendarPeriodRequest {
4228
+ targetResourceExternalId: string;
4229
+ effectiveFrom: string;
4230
+ }
4231
+ export interface MigrationResultDto {
4232
+ created?: number;
4233
+ skipped?: number;
4234
+ }
4115
4235
  export interface ResourceKpiDto {
4116
4236
  uptimeToNow: number;
4117
4237
  uptimeToNowPreviousPeriod: number;
@@ -4125,13 +4245,13 @@ export interface ResourceDayKpiDto {
4125
4245
  utilizationGoal: number;
4126
4246
  }
4127
4247
  export interface ResourceDailyUptimeDto {
4128
- date?: Date;
4248
+ date: Date;
4129
4249
  historicUptimeDataPoints?: ResourceDailyUptimePointDto[] | null;
4130
4250
  todayUptimeDataPoints?: ResourceDailyUptimePointDto[] | null;
4131
4251
  }
4132
4252
  export interface ResourceDailyUptimePointDto {
4133
- date?: Date;
4134
- uptime?: number;
4253
+ date: Date;
4254
+ uptime: number;
4135
4255
  }
4136
4256
  export interface UptimeTrendDataPointDto {
4137
4257
  timestamp: Date;
@@ -4152,6 +4272,7 @@ export interface ApplicationResourcesResourceGroupDto {
4152
4272
  id: string;
4153
4273
  name: string;
4154
4274
  companyId?: string | null;
4275
+ department?: string | null;
4155
4276
  resources: ResourceGroupMemberDto[];
4156
4277
  }
4157
4278
  export interface ResourceGroupMemberDto {
@@ -4253,7 +4374,7 @@ export interface WorkorderOperationEventDto {
4253
4374
  isSetup: boolean;
4254
4375
  employee?: EmployeeDto | null;
4255
4376
  resourceId: string;
4256
- description?: string;
4377
+ description: string;
4257
4378
  part?: PartDto | null;
4258
4379
  workorderDescription?: string | null;
4259
4380
  operationDescription?: string | null;
@@ -4333,7 +4454,7 @@ export interface MachineDto {
4333
4454
  export interface CreateMachineWithoutResource {
4334
4455
  id: string;
4335
4456
  name: string;
4336
- description?: string | null;
4457
+ description: string | null;
4337
4458
  type: string;
4338
4459
  displayName?: string | null;
4339
4460
  manufacturer?: string | null;
@@ -4356,7 +4477,7 @@ export interface CreateResourceWithMachine {
4356
4477
  displayName?: string | null;
4357
4478
  machineId: string;
4358
4479
  machineName: string;
4359
- machineDescription?: string | null;
4480
+ machineDescription: string | null;
4360
4481
  machineType: string;
4361
4482
  manufacturer?: string | null;
4362
4483
  location?: string | null;
@@ -4484,13 +4605,13 @@ export interface MachineUtilizationDatapointListDto extends UtilizationDatapoint
4484
4605
  description?: string | null;
4485
4606
  }
4486
4607
  export interface CompanyResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
4487
- groups?: ResourceGroupUtilizationDatapointListDto[];
4488
- ungroupedResources?: ResourceUtilizationDatapointListDto[];
4608
+ groups: ResourceGroupUtilizationDatapointListDto[];
4609
+ ungroupedResources: ResourceUtilizationDatapointListDto[];
4489
4610
  }
4490
4611
  export interface ResourceGroupUtilizationDatapointListDto extends UtilizationDatapointListDto {
4491
4612
  groupId: string;
4492
4613
  groupName: string;
4493
- resources?: ResourceUtilizationDatapointListDto[];
4614
+ resources: ResourceUtilizationDatapointListDto[];
4494
4615
  }
4495
4616
  export interface ResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
4496
4617
  externalId: string;
@@ -4499,11 +4620,11 @@ export interface ResourceUtilizationDatapointListDto extends UtilizationDatapoin
4499
4620
  description?: string | null;
4500
4621
  }
4501
4622
  export interface CrossCompanyUtilizationDatapointListDto extends UtilizationDatapointListDto {
4502
- companies?: NamedCompanyUtilizationDatapointListDto[];
4623
+ companies: NamedCompanyUtilizationDatapointListDto[];
4503
4624
  }
4504
4625
  export interface CompanyUtilizationDatapointListDto extends UtilizationDatapointListDto {
4505
- groups?: MachineGroupUtilizationDatapointListDto[];
4506
- ungroupedMachines?: MachineUtilizationDatapointListDto[];
4626
+ groups: MachineGroupUtilizationDatapointListDto[];
4627
+ ungroupedMachines: MachineUtilizationDatapointListDto[];
4507
4628
  }
4508
4629
  export interface NamedCompanyUtilizationDatapointListDto extends CompanyUtilizationDatapointListDto {
4509
4630
  companyId: string;
@@ -4512,7 +4633,7 @@ export interface NamedCompanyUtilizationDatapointListDto extends CompanyUtilizat
4512
4633
  export interface MachineGroupUtilizationDatapointListDto extends UtilizationDatapointListDto {
4513
4634
  groupId: string;
4514
4635
  groupName: string;
4515
- machines?: MachineUtilizationDatapointListDto[];
4636
+ machines: MachineUtilizationDatapointListDto[];
4516
4637
  }
4517
4638
  export interface CrossCompanyResourceUtilizationDto {
4518
4639
  utilizationType: ResourceUtilizationTypeDto;
@@ -4524,7 +4645,7 @@ export interface NamedCompanyResourceUtilizationDto extends CompanyResourceUtili
4524
4645
  companyName: string;
4525
4646
  }
4526
4647
  export interface CrossCompanyResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
4527
- companies?: NamedCompanyResourceUtilizationDatapointListDto[];
4648
+ companies: NamedCompanyResourceUtilizationDatapointListDto[];
4528
4649
  }
4529
4650
  export interface NamedCompanyResourceUtilizationDatapointListDto extends CompanyResourceUtilizationDatapointListDto {
4530
4651
  companyId: string;
@@ -4724,8 +4845,8 @@ export interface CreateMrbTemplateRequest {
4724
4845
  pdfFilename?: string | null;
4725
4846
  }
4726
4847
  export interface UpdateMrbTemplate {
4727
- id?: string;
4728
- title?: string;
4848
+ id: string;
4849
+ title: string;
4729
4850
  tableOfContents?: MrbTemplateTableOfContentsDto | null;
4730
4851
  elements?: MrbTemplateUpdateElementDto[];
4731
4852
  contentIndicator?: string | null;
@@ -4814,10 +4935,6 @@ export interface TraceListItemDto {
4814
4935
  consumptions: TraceItemConsumptionDto[];
4815
4936
  }
4816
4937
  export interface TraceItemConsumptionDto {
4817
- updated?: Date | null;
4818
- updatedBy?: string | null;
4819
- updatedById?: string | null;
4820
- updateType?: TraceUpdateType | null;
4821
4938
  sourceWorkOrder?: string | null;
4822
4939
  sourceSequence?: string | null;
4823
4940
  traceNumber?: string | null;
@@ -4828,7 +4945,6 @@ export interface TraceItemConsumptionDto {
4828
4945
  reference?: string | null;
4829
4946
  label: string;
4830
4947
  }
4831
- export type TraceUpdateType = "None" | "User" | "System";
4832
4948
  export interface TraceMaterialDetailDto {
4833
4949
  materialLine: number;
4834
4950
  operation?: number | null;
@@ -4933,7 +5049,7 @@ export interface TraceWorkOrderListDto {
4933
5049
  id: string;
4934
5050
  part: PartDto;
4935
5051
  quantity: number;
4936
- unit?: string | null;
5052
+ unit: string | null;
4937
5053
  status: WorkorderStatus;
4938
5054
  plannedStart?: Date | null;
4939
5055
  plannedEnd?: Date | null;
@@ -5345,13 +5461,13 @@ export interface MachineDayKpiDto {
5345
5461
  utilizationGoal: number;
5346
5462
  }
5347
5463
  export interface MachineDailyUptimeDto {
5348
- date?: Date;
5464
+ date: Date;
5349
5465
  historicUptimeDataPoints?: MachineDailyUptimePointDto[] | null;
5350
5466
  todayUptimeDataPoints?: MachineDailyUptimePointDto[] | null;
5351
5467
  }
5352
5468
  export interface MachineDailyUptimePointDto {
5353
- date?: Date;
5354
- uptime?: number;
5469
+ date: Date;
5470
+ uptime: number;
5355
5471
  }
5356
5472
  export interface MachineGroupDto {
5357
5473
  id: string;
@@ -5691,8 +5807,8 @@ export interface TransferToMachineRequest {
5691
5807
  programs?: ProgramSelectionRequest[] | null;
5692
5808
  }
5693
5809
  export interface ProgramSelectionRequest {
5694
- id?: string;
5695
- version?: number;
5810
+ id: string;
5811
+ version: number;
5696
5812
  }
5697
5813
  export interface UploadCamFileDto {
5698
5814
  uploadUrl: string;
@@ -6040,7 +6156,7 @@ export interface MarkdownNotesDto {
6040
6156
  }
6041
6157
  export interface SaveMarkdownNotes {
6042
6158
  id: string;
6043
- markdown?: string;
6159
+ markdown: string;
6044
6160
  }
6045
6161
  export interface CncToolTypeDto {
6046
6162
  id: string;
@@ -6213,7 +6329,7 @@ export interface UpdateKeepSettings {
6213
6329
  }
6214
6330
  export interface FixtureListDto {
6215
6331
  results: FixtureDto[];
6216
- continuationToken?: string | null;
6332
+ continuationToken: string | null;
6217
6333
  }
6218
6334
  export interface FixtureDto {
6219
6335
  fixtureId: string;
@@ -6501,7 +6617,7 @@ export interface UpdateMachineInactivitySubscription {
6501
6617
  export interface IntegrationCredentialDto {
6502
6618
  type: CredentialTypeDto;
6503
6619
  id: string;
6504
- name?: string;
6620
+ name: string;
6505
6621
  clientId?: string | null;
6506
6622
  expirationDate?: Date | null;
6507
6623
  activationDate?: Date | null;
@@ -6650,7 +6766,7 @@ export interface BookingParcelDto {
6650
6766
  materialPartName?: string | null;
6651
6767
  materialPartNumber?: string | null;
6652
6768
  covered: MaterialCoveredDto;
6653
- item?: BookingItemDto;
6769
+ item: BookingItemDto;
6654
6770
  }
6655
6771
  export type MaterialCoveredDto = "NotDefined" | "NotCovered" | "Covered";
6656
6772
  export interface BookingItemDto {
@@ -6691,11 +6807,11 @@ export type BookingTaskDto = "MyTasks" | "OthersTasks";
6691
6807
  export type BookingCreatedByDto = "MyBookings" | "OthersBookings";
6692
6808
  export type BookingOrderDto = "Ascending" | "Descending";
6693
6809
  export interface BookingFilterResultsDto {
6694
- bookingStatus?: BookingStatusResultsDto[];
6695
- transportKind?: TransportKindResultsDto[];
6696
- parcelKind?: ParcelKindResultsDto[];
6697
- fromLocations?: LocationZoneGroupDto[];
6698
- toLocations?: LocationZoneGroupDto[];
6810
+ bookingStatus: BookingStatusResultsDto[];
6811
+ transportKind: TransportKindResultsDto[];
6812
+ parcelKind: ParcelKindResultsDto[];
6813
+ fromLocations: LocationZoneGroupDto[];
6814
+ toLocations: LocationZoneGroupDto[];
6699
6815
  }
6700
6816
  export interface BookingStatusResultsDto {
6701
6817
  bookingStatus?: BookingStatusDto;
@@ -6781,23 +6897,23 @@ export interface BookingStatusUpdateDto {
6781
6897
  deliveryExceptionComment?: string | null;
6782
6898
  }
6783
6899
  export interface MoveInfoscreenDto {
6784
- id?: string;
6785
- name?: string;
6786
- slug?: string;
6787
- fromZoneIds?: string[];
6788
- fromLocationIds?: string[];
6789
- toZoneIds?: string[];
6790
- toLocationIds?: string[];
6900
+ id: string;
6901
+ name: string;
6902
+ slug: string;
6903
+ fromZoneIds: string[];
6904
+ fromLocationIds: string[];
6905
+ toZoneIds: string[];
6906
+ toLocationIds: string[];
6791
6907
  }
6792
6908
  export interface CreateMoveInfoscreenRequestDto {
6793
- name?: string;
6909
+ name: string;
6794
6910
  fromZoneIds?: string[];
6795
6911
  fromLocationIds?: string[];
6796
6912
  toZoneIds?: string[];
6797
6913
  toLocationIds?: string[];
6798
6914
  }
6799
6915
  export interface UpdateMoveInfoscreenRequestDto {
6800
- name?: string;
6916
+ name: string;
6801
6917
  fromZoneIds?: string[];
6802
6918
  fromLocationIds?: string[];
6803
6919
  toZoneIds?: string[];
@@ -6853,15 +6969,15 @@ export interface MoveSubscriptionDto {
6853
6969
  }
6854
6970
  export interface MoveSubscriptionZoneDto {
6855
6971
  zoneId: string;
6856
- bookingFromLocation?: boolean;
6857
- bookingToLocation?: boolean;
6858
- locationChange?: boolean;
6972
+ bookingFromLocation: boolean;
6973
+ bookingToLocation: boolean;
6974
+ locationChange: boolean;
6859
6975
  }
6860
6976
  export interface MoveSubscriptionLocationDto {
6861
6977
  locationId: string;
6862
- bookingFromLocation?: boolean;
6863
- bookingToLocation?: boolean;
6864
- locationChange?: boolean;
6978
+ bookingFromLocation: boolean;
6979
+ bookingToLocation: boolean;
6980
+ locationChange: boolean;
6865
6981
  }
6866
6982
  export interface UpdateNotifications {
6867
6983
  enabledNotifications: boolean;
@@ -6871,15 +6987,15 @@ export interface UpdateNotifications {
6871
6987
  }
6872
6988
  export interface MoveSubscriptionZoneUpdateDto {
6873
6989
  zoneId: string;
6874
- bookingFromLocation?: boolean;
6875
- bookingToLocation?: boolean;
6876
- locationChange?: boolean;
6990
+ bookingFromLocation: boolean;
6991
+ bookingToLocation: boolean;
6992
+ locationChange: boolean;
6877
6993
  }
6878
6994
  export interface MoveSubscriptionLocationUpdateDto {
6879
6995
  locationId: string;
6880
- bookingFromLocation?: boolean;
6881
- bookingToLocation?: boolean;
6882
- locationChange?: boolean;
6996
+ bookingFromLocation: boolean;
6997
+ bookingToLocation: boolean;
6998
+ locationChange: boolean;
6883
6999
  }
6884
7000
  export interface SearchParcelDto {
6885
7001
  parcelId: string;
@@ -6921,7 +7037,7 @@ export interface TrackingHistoryDto {
6921
7037
  materialPartName?: string | null;
6922
7038
  materialPartNumber?: string | null;
6923
7039
  category?: string | null;
6924
- currentTracking?: TrackingEventDto | null;
7040
+ currentTracking: TrackingEventDto | null;
6925
7041
  trackingEvents: TrackingEventDto[];
6926
7042
  suggestions?: SuggestionsItemDto | null;
6927
7043
  }
@@ -6969,7 +7085,7 @@ export interface TrackingHistoryFlattenedDto {
6969
7085
  materialPartName?: string | null;
6970
7086
  materialPartNumber?: string | null;
6971
7087
  category?: string | null;
6972
- currentTracking?: TrackingEventDto | null;
7088
+ currentTracking: TrackingEventDto | null;
6973
7089
  trackingEvents: TrackingEventDto[];
6974
7090
  }
6975
7091
  export interface TrackingParcelRequestListDto {
@@ -7028,26 +7144,26 @@ export interface EngineeringChangeOrdersDto {
7028
7144
  engineeringChangeOrders?: EngineeringChangeOrderDto[];
7029
7145
  }
7030
7146
  export interface AddMesLink {
7031
- uri?: string;
7032
- name?: string;
7033
- type?: MesLinkTypeDto;
7147
+ uri: string;
7148
+ name: string;
7149
+ type: MesLinkTypeDto;
7034
7150
  openInNewTab?: boolean;
7035
7151
  description?: string | null;
7036
7152
  }
7037
7153
  export type MesLinkTypeDto = "Static" | "Operation" | "WorkOrder";
7038
7154
  export interface MesLinkDto {
7039
- id?: string;
7040
- uri?: string;
7041
- name?: string;
7042
- type?: MesLinkTypeDto;
7043
- openInNewTab?: boolean;
7155
+ id: string;
7156
+ uri: string;
7157
+ name: string;
7158
+ type: MesLinkTypeDto;
7159
+ openInNewTab: boolean;
7044
7160
  description?: string | null;
7045
7161
  }
7046
7162
  export interface UpdateMesLink {
7047
- id?: string;
7048
- uri?: string;
7049
- name?: string;
7050
- type?: MesLinkTypeDto;
7163
+ id: string;
7164
+ uri: string;
7165
+ name: string;
7166
+ type: MesLinkTypeDto;
7051
7167
  openInNewTab?: boolean;
7052
7168
  description?: string | null;
7053
7169
  moveLinkRequest?: MoveLinkRequest | null;
@@ -7136,7 +7252,7 @@ export interface WorkOrderAttachmentDto {
7136
7252
  }
7137
7253
  export interface DrawingDto {
7138
7254
  drawingNumber: string;
7139
- revision?: string;
7255
+ revision: string;
7140
7256
  status: string;
7141
7257
  files: DrawingFileDto[];
7142
7258
  }
@@ -7152,20 +7268,20 @@ export interface OrderReferenceDto {
7152
7268
  }
7153
7269
  export type OrderReferenceTypeDto = "ProductionOrder" | "PurchaseOrder" | "SalesOrder";
7154
7270
  export interface ProductionOrderBomDto {
7155
- position?: string;
7271
+ position: string;
7156
7272
  lineNumber: number;
7157
7273
  part: PartDto;
7158
- dimension?: string;
7274
+ dimension: string;
7159
7275
  operation: number;
7160
- operationName?: string;
7276
+ operationName: string;
7161
7277
  warehouse?: string | null;
7162
7278
  fixedLocation?: string | null;
7163
- fixedLocations?: string[];
7164
- unit?: string;
7279
+ fixedLocations: string[];
7280
+ unit: string;
7165
7281
  quantityPerPart: number;
7166
7282
  totalRequiredQuantity: number;
7167
7283
  usedQuantity: number;
7168
- availableQuantity?: number | null;
7284
+ availableQuantity: number | null;
7169
7285
  drawing?: DrawingDto | null;
7170
7286
  orderReference?: OrderReferenceDto | null;
7171
7287
  status: MaterialStatus;
@@ -7178,19 +7294,19 @@ export interface InventoryDto {
7178
7294
  siteId: string;
7179
7295
  warehouseId: string;
7180
7296
  locationId: string;
7181
- batchNumber?: string;
7182
- vendorBatch?: string;
7297
+ batchNumber: string;
7298
+ vendorBatch: string;
7183
7299
  available: number;
7184
7300
  }
7185
7301
  export interface PickListSuggestionDto {
7186
- position?: string;
7302
+ position: string;
7187
7303
  lineNumber: number;
7188
7304
  part: PartDto;
7189
- dimension?: string;
7305
+ dimension: string;
7190
7306
  operation: number;
7191
- warehouse?: string;
7192
- fixedLocation?: string;
7193
- unit?: string;
7307
+ warehouse: string;
7308
+ fixedLocation: string;
7309
+ unit: string;
7194
7310
  orderReference?: OrderReferenceDto | null;
7195
7311
  quantityPerPart: number;
7196
7312
  totalRequiredQuantity: number;
@@ -7244,7 +7360,7 @@ export interface NonConformanceAttachmentDto {
7244
7360
  export interface WorkCenterDto {
7245
7361
  id: string;
7246
7362
  name: string;
7247
- workCenterType?: string;
7363
+ workCenterType: string;
7248
7364
  department?: DepartmentDto | null;
7249
7365
  }
7250
7366
  export interface MaterialPickListResultDto {
@@ -7361,7 +7477,7 @@ export interface SurroundingOperationDto {
7361
7477
  }
7362
7478
  export interface OperationPrerequisitesDto {
7363
7479
  drawing?: boolean | null;
7364
- materials?: MaterialsPrerequisiteDto;
7480
+ materials: MaterialsPrerequisiteDto;
7365
7481
  cncProgram?: boolean | null;
7366
7482
  }
7367
7483
  export interface MaterialsPrerequisiteDto {
@@ -7493,12 +7609,12 @@ export interface ReportOperationProgress {
7493
7609
  export interface ReportOperationProgressDto {
7494
7610
  workOrder: string;
7495
7611
  operationNumber: number;
7496
- resource?: string;
7612
+ resource: string;
7497
7613
  goodQuantity?: number | null;
7498
7614
  errorQuantity?: number | null;
7499
7615
  errorCause?: ErrorCauseDto | null;
7500
- nextStatus?: NextOperationStatusDto;
7501
- workType?: WorkTypeDto;
7616
+ nextStatus: NextOperationStatusDto;
7617
+ workType: WorkTypeDto;
7502
7618
  }
7503
7619
  export type ErrorCauseDto = "None" | "Material" | "Machine" | "OperatingStaff";
7504
7620
  export type NextOperationStatusDto = "InProgress" | "Stopped" | "Completed";
@@ -7862,7 +7978,7 @@ export interface ImaMaterialCheckDto {
7862
7978
  updatedBy: string;
7863
7979
  updatedById: string;
7864
7980
  updatedByName: string;
7865
- isDeleted?: boolean;
7981
+ isDeleted: boolean;
7866
7982
  certificateTypeResults: ImaCertificateTypeResultsDto;
7867
7983
  specificationResults: ImaSpecificationResultsDto;
7868
7984
  }
@@ -8221,7 +8337,7 @@ export interface PurchaseOrderMaterialLineDetailsDto {
8221
8337
  typeOfCertificate?: string | null;
8222
8338
  }
8223
8339
  export interface Part {
8224
- partNumber?: string;
8340
+ partNumber: string;
8225
8341
  partRevision?: string | null;
8226
8342
  partName?: string | null;
8227
8343
  customerPartNumber?: string | null;
@@ -9410,13 +9526,13 @@ export interface CreateWorkOrderMapping {
9410
9526
  newWorkOrderId: string;
9411
9527
  }
9412
9528
  export interface WorkorderDiscussionMessageDto {
9413
- id?: string;
9414
- workorderId?: string;
9415
- companyId?: string;
9416
- content?: string;
9529
+ id: string;
9530
+ workorderId: string;
9531
+ companyId: string;
9532
+ content: string;
9417
9533
  contentParts?: WorkOrderDiscussionContent[] | null;
9418
- senderUpn?: string;
9419
- senderName?: string;
9534
+ senderUpn: string;
9535
+ senderName: string;
9420
9536
  operationId?: string | null;
9421
9537
  operationName?: string | null;
9422
9538
  resourceId?: string | null;
@@ -9434,10 +9550,10 @@ export interface AddDiscussionMessageRequest {
9434
9550
  resourceId?: string | null;
9435
9551
  }
9436
9552
  export interface WorkorderDiscussionReadStatusDto {
9437
- workorderId?: string;
9553
+ workorderId: string;
9438
9554
  operationId?: string | null;
9439
9555
  resourceId?: string | null;
9440
- userUpn?: string;
9556
+ userUpn: string;
9441
9557
  lastRead?: Date;
9442
9558
  }
9443
9559
  export interface SetDiscussionLastReadRequest {