@ignos/api-client 20260130.0.13921-alpha → 20260130.0.13925-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.
@@ -150,6 +150,80 @@ export declare class PresentationClient extends AuthorizedApiBase implements IPr
150
150
  getComponentSettings(componentId: string): Promise<ComponentSettingsDto>;
151
151
  protected processGetComponentSettings(response: Response): Promise<ComponentSettingsDto>;
152
152
  }
153
+ export interface IMachineUtilizationClient {
154
+ /**
155
+ * Get machine utilization data. Historic utilizations start from now, whereas the start for current utilization is
156
+ calculated based on startTimeToday or utcOffset. An UTC offset is
157
+ obtained either from startTimeToday, utcOffset or the server's local
158
+ time zone. The current utilization is calculated starting from the start of the current date offset from UTC
159
+ by the offset used. Pass in utcOffset to avoid problems relating to clock drift between
160
+ client and server
161
+ * @param assetId (optional)
162
+ * @param favorites (optional)
163
+ * @param startTimeToday (optional) UTC offset for start of today's utilization is extracted from this value
164
+ * @param utcOffset (optional) Explicit UTC offset for start of today's utilization
165
+ */
166
+ getMachineUtilizations(assetId: number | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined): Promise<UtilizationListDto>;
167
+ getMachineUtilization(id: number, startTime: Date | undefined, endTime: Date | null | undefined): Promise<UtilizationDetailsDto>;
168
+ /**
169
+ * @param startTime (optional)
170
+ * @param endTime (optional)
171
+ * @deprecated
172
+ */
173
+ getUtilizationDetailsForMachine(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
174
+ getResourceTimelines(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined, filter: TimelineFilterDto | undefined): Promise<TimelinesDto>;
175
+ listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
176
+ getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
177
+ listMachineUptimesToday(request: ListMachineUptimesTodayRequest): Promise<MachineUptimesAggregateDto>;
178
+ listPowerOnUtilizationDatapoints(id: number | null | undefined, externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
179
+ getFactoryUtilization(): Promise<PowerOnUtilizationDto>;
180
+ getProgramTimeline(id: string, startTime: Date | undefined, endTime: Date | undefined): Promise<ProgramDatapoint[]>;
181
+ }
182
+ export declare class MachineUtilizationClient extends AuthorizedApiBase implements IMachineUtilizationClient {
183
+ private http;
184
+ private baseUrl;
185
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
186
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
187
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
188
+ });
189
+ /**
190
+ * Get machine utilization data. Historic utilizations start from now, whereas the start for current utilization is
191
+ calculated based on startTimeToday or utcOffset. An UTC offset is
192
+ obtained either from startTimeToday, utcOffset or the server's local
193
+ time zone. The current utilization is calculated starting from the start of the current date offset from UTC
194
+ by the offset used. Pass in utcOffset to avoid problems relating to clock drift between
195
+ client and server
196
+ * @param assetId (optional)
197
+ * @param favorites (optional)
198
+ * @param startTimeToday (optional) UTC offset for start of today's utilization is extracted from this value
199
+ * @param utcOffset (optional) Explicit UTC offset for start of today's utilization
200
+ */
201
+ getMachineUtilizations(assetId: number | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined): Promise<UtilizationListDto>;
202
+ protected processGetMachineUtilizations(response: Response): Promise<UtilizationListDto>;
203
+ getMachineUtilization(id: number, startTime: Date | undefined, endTime: Date | null | undefined): Promise<UtilizationDetailsDto>;
204
+ protected processGetMachineUtilization(response: Response): Promise<UtilizationDetailsDto>;
205
+ /**
206
+ * @param startTime (optional)
207
+ * @param endTime (optional)
208
+ * @deprecated
209
+ */
210
+ getUtilizationDetailsForMachine(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
211
+ protected processGetUtilizationDetailsForMachine(response: Response): Promise<MachineStatesSummaryDto>;
212
+ getResourceTimelines(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined, filter: TimelineFilterDto | undefined): Promise<TimelinesDto>;
213
+ protected processGetResourceTimelines(response: Response): Promise<TimelinesDto>;
214
+ listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
215
+ protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
216
+ getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
217
+ protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
218
+ listMachineUptimesToday(request: ListMachineUptimesTodayRequest): Promise<MachineUptimesAggregateDto>;
219
+ protected processListMachineUptimesToday(response: Response): Promise<MachineUptimesAggregateDto>;
220
+ listPowerOnUtilizationDatapoints(id: number | null | undefined, externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
221
+ protected processListPowerOnUtilizationDatapoints(response: Response): Promise<PowerOnUtilizationList>;
222
+ getFactoryUtilization(): Promise<PowerOnUtilizationDto>;
223
+ protected processGetFactoryUtilization(response: Response): Promise<PowerOnUtilizationDto>;
224
+ getProgramTimeline(id: string, startTime: Date | undefined, endTime: Date | undefined): Promise<ProgramDatapoint[]>;
225
+ protected processGetProgramTimeline(response: Response): Promise<ProgramDatapoint[]>;
226
+ }
153
227
  export interface IResourceUtilizationClient {
154
228
  /**
155
229
  * Get resource utilization data. Historic utilizations start from now, whereas the start for current utilization is
@@ -529,6 +603,10 @@ export interface IResourcesClient {
529
603
  createResourceWithResource(request: CreateResourceWithMachine): Promise<void>;
530
604
  createResourceInResourceGroup(request: CreateResourceInResourceGroup): Promise<void>;
531
605
  deleteMachine(id: number): Promise<void>;
606
+ /**
607
+ * @deprecated
608
+ */
609
+ listAllMachines(): Promise<MachineDto[]>;
532
610
  listAllResources(): Promise<ApplicationResourcesResourceDto[]>;
533
611
  }
534
612
  export declare class ResourcesClient extends AuthorizedApiBase implements IResourcesClient {
@@ -578,10 +656,23 @@ export declare class ResourcesClient extends AuthorizedApiBase implements IResou
578
656
  protected processCreateResourceInResourceGroup(response: Response): Promise<void>;
579
657
  deleteMachine(id: number): Promise<void>;
580
658
  protected processDeleteMachine(response: Response): Promise<void>;
659
+ /**
660
+ * @deprecated
661
+ */
662
+ listAllMachines(): Promise<MachineDto[]>;
663
+ protected processListAllMachines(response: Response): Promise<MachineDto[]>;
581
664
  listAllResources(): Promise<ApplicationResourcesResourceDto[]>;
582
665
  protected processListAllResources(response: Response): Promise<ApplicationResourcesResourceDto[]>;
583
666
  }
584
667
  export interface IPulseClient {
668
+ /**
669
+ * @deprecated
670
+ */
671
+ getPulseSettings(): Promise<PulseSettingsDto>;
672
+ /**
673
+ * @deprecated
674
+ */
675
+ updatePulseSettings(request: UpdatePulseSettings): Promise<PulseSettingsDto>;
585
676
  getPulseSettingsResource(): Promise<PulseSettingsResourceDto>;
586
677
  updatePulseSettingsResource(request: UpdatePulseSettingsResource): Promise<PulseSettingsResourceDto>;
587
678
  }
@@ -592,12 +683,64 @@ export declare class PulseClient extends AuthorizedApiBase implements IPulseClie
592
683
  constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
593
684
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
594
685
  });
686
+ /**
687
+ * @deprecated
688
+ */
689
+ getPulseSettings(): Promise<PulseSettingsDto>;
690
+ protected processGetPulseSettings(response: Response): Promise<PulseSettingsDto>;
691
+ /**
692
+ * @deprecated
693
+ */
694
+ updatePulseSettings(request: UpdatePulseSettings): Promise<PulseSettingsDto>;
695
+ protected processUpdatePulseSettings(response: Response): Promise<PulseSettingsDto>;
595
696
  getPulseSettingsResource(): Promise<PulseSettingsResourceDto>;
596
697
  protected processGetPulseSettingsResource(response: Response): Promise<PulseSettingsResourceDto>;
597
698
  updatePulseSettingsResource(request: UpdatePulseSettingsResource): Promise<PulseSettingsResourceDto>;
598
699
  protected processUpdatePulseSettingsResource(response: Response): Promise<PulseSettingsResourceDto>;
599
700
  }
600
701
  export interface IUtilizationClient {
702
+ /**
703
+ * @param utilizationType (optional)
704
+ * @param startTime (optional)
705
+ * @param endTime (optional)
706
+ * @param ianaTimeZone (optional)
707
+ * @deprecated
708
+ */
709
+ getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyUtilizationDto>;
710
+ /**
711
+ * @param utilizationType (optional)
712
+ * @param startTime (optional)
713
+ * @param endTime (optional)
714
+ * @param ianaTimeZone (optional)
715
+ * @deprecated
716
+ */
717
+ getCrossCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyUtilizationDto>;
718
+ /**
719
+ * @param utilizationType (optional)
720
+ * @param startTime (optional)
721
+ * @param endTime (optional)
722
+ * @param ianaTimeZone (optional)
723
+ * @param assetId (optional)
724
+ * @param assetExternalId (optional)
725
+ * @deprecated
726
+ */
727
+ getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto>;
728
+ /**
729
+ * @param utilizationType (optional)
730
+ * @param startTime (optional)
731
+ * @param endTime (optional)
732
+ * @param ianaTimeZone (optional)
733
+ * @deprecated
734
+ */
735
+ getCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyUtilizationDatapointListDto>;
736
+ /**
737
+ * @param utilizationType (optional)
738
+ * @param startTime (optional)
739
+ * @param endTime (optional)
740
+ * @param ianaTimeZone (optional)
741
+ * @deprecated
742
+ */
743
+ getCrossCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyUtilizationDatapointListDto>;
601
744
  getCompanyResourceUtilization(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyResourceUtilizationDto>;
602
745
  getCrossCompanyResourceUtilization(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyResourceUtilizationDto>;
603
746
  getResourceUtilizationDatapoints(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<ResourceUtilizationDatapointListDto>;
@@ -611,6 +754,53 @@ export declare class UtilizationClient extends AuthorizedApiBase implements IUti
611
754
  constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
612
755
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
613
756
  });
757
+ /**
758
+ * @param utilizationType (optional)
759
+ * @param startTime (optional)
760
+ * @param endTime (optional)
761
+ * @param ianaTimeZone (optional)
762
+ * @deprecated
763
+ */
764
+ getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyUtilizationDto>;
765
+ protected processGetCompanyUtilization(response: Response): Promise<CompanyUtilizationDto>;
766
+ /**
767
+ * @param utilizationType (optional)
768
+ * @param startTime (optional)
769
+ * @param endTime (optional)
770
+ * @param ianaTimeZone (optional)
771
+ * @deprecated
772
+ */
773
+ getCrossCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyUtilizationDto>;
774
+ protected processGetCrossCompanyUtilization(response: Response): Promise<CrossCompanyUtilizationDto>;
775
+ /**
776
+ * @param utilizationType (optional)
777
+ * @param startTime (optional)
778
+ * @param endTime (optional)
779
+ * @param ianaTimeZone (optional)
780
+ * @param assetId (optional)
781
+ * @param assetExternalId (optional)
782
+ * @deprecated
783
+ */
784
+ getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto>;
785
+ protected processGetUtilizationDatapoints(response: Response): Promise<MachineUtilizationDatapointListDto>;
786
+ /**
787
+ * @param utilizationType (optional)
788
+ * @param startTime (optional)
789
+ * @param endTime (optional)
790
+ * @param ianaTimeZone (optional)
791
+ * @deprecated
792
+ */
793
+ getCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyUtilizationDatapointListDto>;
794
+ protected processGetCompanyUtilizationDatapoints(response: Response): Promise<CompanyUtilizationDatapointListDto>;
795
+ /**
796
+ * @param utilizationType (optional)
797
+ * @param startTime (optional)
798
+ * @param endTime (optional)
799
+ * @param ianaTimeZone (optional)
800
+ * @deprecated
801
+ */
802
+ getCrossCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyUtilizationDatapointListDto>;
803
+ protected processGetCrossCompanyUtilizationDatapoints(response: Response): Promise<CrossCompanyUtilizationDatapointListDto>;
614
804
  getCompanyResourceUtilization(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyResourceUtilizationDto>;
615
805
  protected processGetCompanyResourceUtilization(response: Response): Promise<CompanyResourceUtilizationDto>;
616
806
  getCrossCompanyResourceUtilization(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyResourceUtilizationDto>;
@@ -936,8 +1126,157 @@ export declare class MeasuringToolsClient extends AuthorizedApiBase implements I
936
1126
  getMeasuringToolSettings(): Promise<MeasuringToolSettingsDto>;
937
1127
  protected processGetMeasuringToolSettings(response: Response): Promise<MeasuringToolSettingsDto>;
938
1128
  }
1129
+ export interface IDowntimeReasonsAdminClient {
1130
+ listDowntimeReasons(): Promise<DowntimeReasonDto[]>;
1131
+ createDowntimeReason(request: CreateDowntimeReason): Promise<DowntimeReasonDto>;
1132
+ updateDowntimeReason(id: string, request: UpdateDowntimeReasonRequest): Promise<DowntimeReasonDto>;
1133
+ deleteDowntimeReason(id: string): Promise<void>;
1134
+ listMachineTypes(): Promise<MachineTypeDto[]>;
1135
+ listParentTopics(): Promise<ParentTopicDto[]>;
1136
+ createParentTopic(request: CreateParentTopicRequest): Promise<ParentTopicDto>;
1137
+ updateParentTopic(id: string, request: UpdateParentTopicRequest): Promise<ParentTopicDto>;
1138
+ deleteParentTopic(id: string): Promise<void>;
1139
+ }
1140
+ export declare class DowntimeReasonsAdminClient extends AuthorizedApiBase implements IDowntimeReasonsAdminClient {
1141
+ private http;
1142
+ private baseUrl;
1143
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
1144
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1145
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1146
+ });
1147
+ listDowntimeReasons(): Promise<DowntimeReasonDto[]>;
1148
+ protected processListDowntimeReasons(response: Response): Promise<DowntimeReasonDto[]>;
1149
+ createDowntimeReason(request: CreateDowntimeReason): Promise<DowntimeReasonDto>;
1150
+ protected processCreateDowntimeReason(response: Response): Promise<DowntimeReasonDto>;
1151
+ updateDowntimeReason(id: string, request: UpdateDowntimeReasonRequest): Promise<DowntimeReasonDto>;
1152
+ protected processUpdateDowntimeReason(response: Response): Promise<DowntimeReasonDto>;
1153
+ deleteDowntimeReason(id: string): Promise<void>;
1154
+ protected processDeleteDowntimeReason(response: Response): Promise<void>;
1155
+ listMachineTypes(): Promise<MachineTypeDto[]>;
1156
+ protected processListMachineTypes(response: Response): Promise<MachineTypeDto[]>;
1157
+ listParentTopics(): Promise<ParentTopicDto[]>;
1158
+ protected processListParentTopics(response: Response): Promise<ParentTopicDto[]>;
1159
+ createParentTopic(request: CreateParentTopicRequest): Promise<ParentTopicDto>;
1160
+ protected processCreateParentTopic(response: Response): Promise<ParentTopicDto>;
1161
+ updateParentTopic(id: string, request: UpdateParentTopicRequest): Promise<ParentTopicDto>;
1162
+ protected processUpdateParentTopic(response: Response): Promise<ParentTopicDto>;
1163
+ deleteParentTopic(id: string): Promise<void>;
1164
+ protected processDeleteParentTopic(response: Response): Promise<void>;
1165
+ }
1166
+ export interface IDowntimeReasonsClient {
1167
+ createDowntimePeriodReason(request: CreateDowntimePeriodReason): Promise<DowntimePeriodReasonDto>;
1168
+ updateDowntimePeriodReason(id: number, request: UpdateDowntimePeriodReasonRequest): Promise<DowntimePeriodReasonDto>;
1169
+ deleteDowntimeReason(id: number): Promise<void>;
1170
+ listDowntimeReasonsForMachine(id: number): Promise<DowntimeReasonDto[]>;
1171
+ listDowntimeReasonsHierarchyForMachine(id: number): Promise<ParentTopicDto[]>;
1172
+ listActiveDowntimeReasonsForMachine(id: number): Promise<DowntimePeriodReasonDto[]>;
1173
+ listTopDowntimeReasons(start: Date | null | undefined, end: Date | null | undefined): Promise<TopDowntimeReasonsDto>;
1174
+ listTopDowntimeReasonsForResources(request: ListTopDowntimeReasonsForResourcesRequest): Promise<TopDowntimeReasonsDto>;
1175
+ createReport(request: CreateDowntimeReasonsReportRequest | undefined): Promise<DowntimeReasonsReportDto>;
1176
+ exportReportToCsv(request: CreateDowntimeReasonsReportRequest | undefined): Promise<DowntimeReasonsReportCsvDto>;
1177
+ }
1178
+ export declare class DowntimeReasonsClient extends AuthorizedApiBase implements IDowntimeReasonsClient {
1179
+ private http;
1180
+ private baseUrl;
1181
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
1182
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1183
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1184
+ });
1185
+ createDowntimePeriodReason(request: CreateDowntimePeriodReason): Promise<DowntimePeriodReasonDto>;
1186
+ protected processCreateDowntimePeriodReason(response: Response): Promise<DowntimePeriodReasonDto>;
1187
+ updateDowntimePeriodReason(id: number, request: UpdateDowntimePeriodReasonRequest): Promise<DowntimePeriodReasonDto>;
1188
+ protected processUpdateDowntimePeriodReason(response: Response): Promise<DowntimePeriodReasonDto>;
1189
+ deleteDowntimeReason(id: number): Promise<void>;
1190
+ protected processDeleteDowntimeReason(response: Response): Promise<void>;
1191
+ listDowntimeReasonsForMachine(id: number): Promise<DowntimeReasonDto[]>;
1192
+ protected processListDowntimeReasonsForMachine(response: Response): Promise<DowntimeReasonDto[]>;
1193
+ listDowntimeReasonsHierarchyForMachine(id: number): Promise<ParentTopicDto[]>;
1194
+ protected processListDowntimeReasonsHierarchyForMachine(response: Response): Promise<ParentTopicDto[]>;
1195
+ listActiveDowntimeReasonsForMachine(id: number): Promise<DowntimePeriodReasonDto[]>;
1196
+ protected processListActiveDowntimeReasonsForMachine(response: Response): Promise<DowntimePeriodReasonDto[]>;
1197
+ listTopDowntimeReasons(start: Date | null | undefined, end: Date | null | undefined): Promise<TopDowntimeReasonsDto>;
1198
+ protected processListTopDowntimeReasons(response: Response): Promise<TopDowntimeReasonsDto>;
1199
+ listTopDowntimeReasonsForResources(request: ListTopDowntimeReasonsForResourcesRequest): Promise<TopDowntimeReasonsDto>;
1200
+ protected processListTopDowntimeReasonsForResources(response: Response): Promise<TopDowntimeReasonsDto>;
1201
+ createReport(request: CreateDowntimeReasonsReportRequest | undefined): Promise<DowntimeReasonsReportDto>;
1202
+ protected processCreateReport(response: Response): Promise<DowntimeReasonsReportDto>;
1203
+ exportReportToCsv(request: CreateDowntimeReasonsReportRequest | undefined): Promise<DowntimeReasonsReportCsvDto>;
1204
+ protected processExportReportToCsv(response: Response): Promise<DowntimeReasonsReportCsvDto>;
1205
+ }
1206
+ export interface IKpiAdminClient {
1207
+ getMachineCapacityAdmin(): Promise<MachineGroupCapacityDto[]>;
1208
+ updateMachineCapacityAdmin(request: UpdateMachinesCapacity): Promise<MachineCapacityDto>;
1209
+ getCalendarCapacityAdmin(startDate: Date | undefined, endDate: Date | undefined): Promise<CalendarDayDto[]>;
1210
+ updateCalendarCapacityAdmin(request: UpdateCalendarCapacity): Promise<CalendarCapacityDto>;
1211
+ getCalendarSettings(): Promise<CalendarSettingsDto>;
1212
+ updateCalendarSettings(cmd: UpdateCalendarSettingsCommand): Promise<CalendarSettingsDto>;
1213
+ }
1214
+ export declare class KpiAdminClient extends AuthorizedApiBase implements IKpiAdminClient {
1215
+ private http;
1216
+ private baseUrl;
1217
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
1218
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1219
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1220
+ });
1221
+ getMachineCapacityAdmin(): Promise<MachineGroupCapacityDto[]>;
1222
+ protected processGetMachineCapacityAdmin(response: Response): Promise<MachineGroupCapacityDto[]>;
1223
+ updateMachineCapacityAdmin(request: UpdateMachinesCapacity): Promise<MachineCapacityDto>;
1224
+ protected processUpdateMachineCapacityAdmin(response: Response): Promise<MachineCapacityDto>;
1225
+ getCalendarCapacityAdmin(startDate: Date | undefined, endDate: Date | undefined): Promise<CalendarDayDto[]>;
1226
+ protected processGetCalendarCapacityAdmin(response: Response): Promise<CalendarDayDto[]>;
1227
+ updateCalendarCapacityAdmin(request: UpdateCalendarCapacity): Promise<CalendarCapacityDto>;
1228
+ protected processUpdateCalendarCapacityAdmin(response: Response): Promise<CalendarCapacityDto>;
1229
+ getCalendarSettings(): Promise<CalendarSettingsDto>;
1230
+ protected processGetCalendarSettings(response: Response): Promise<CalendarSettingsDto>;
1231
+ updateCalendarSettings(cmd: UpdateCalendarSettingsCommand): Promise<CalendarSettingsDto>;
1232
+ protected processUpdateCalendarSettings(response: Response): Promise<CalendarSettingsDto>;
1233
+ }
1234
+ export interface IKpiClient {
1235
+ getMachineKpi(machineExternalId: string | undefined, previousPeriodStartDate: Date | undefined, startDate: Date | undefined, endDate: Date | undefined, utcOffset: number | undefined): Promise<MachineKpiDto>;
1236
+ getMachineDailyUptime(machineExternalId: string | undefined, date: Date | undefined, utcOffset: number | undefined): Promise<MachineDailyUptimeDto>;
1237
+ getUptimeNormalTrend(assetId: number | null | undefined, assetExternalId: string | null | undefined, date: Date | null | undefined, utcOffset: number | null | undefined): Promise<UptimeTrendDataPointDto[]>;
1238
+ }
1239
+ export declare class KpiClient extends AuthorizedApiBase implements IKpiClient {
1240
+ private http;
1241
+ private baseUrl;
1242
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
1243
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1244
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1245
+ });
1246
+ getMachineKpi(machineExternalId: string | undefined, previousPeriodStartDate: Date | undefined, startDate: Date | undefined, endDate: Date | undefined, utcOffset: number | undefined): Promise<MachineKpiDto>;
1247
+ protected processGetMachineKpi(response: Response): Promise<MachineKpiDto>;
1248
+ getMachineDailyUptime(machineExternalId: string | undefined, date: Date | undefined, utcOffset: number | undefined): Promise<MachineDailyUptimeDto>;
1249
+ protected processGetMachineDailyUptime(response: Response): Promise<MachineDailyUptimeDto>;
1250
+ getUptimeNormalTrend(assetId: number | null | undefined, assetExternalId: string | null | undefined, date: Date | null | undefined, utcOffset: number | null | undefined): Promise<UptimeTrendDataPointDto[]>;
1251
+ protected processGetUptimeNormalTrend(response: Response): Promise<UptimeTrendDataPointDto[]>;
1252
+ }
939
1253
  export interface IMachinesClient {
1254
+ listMachines(onlyConnectedMachines: boolean | undefined): Promise<MachineDto[]>;
1255
+ listMachineGroups(): Promise<MachineGroupDto[]>;
1256
+ createMachineGroup(request: CreateMachineGroup): Promise<CreateMachineGroupResponse>;
1257
+ updateMachineGroup(id: string, request: UpdateMachineGroup): Promise<void>;
1258
+ deleteMachineGroup(id: string): Promise<void>;
1259
+ listCurrentMachineStates(assetId: number | null | undefined): Promise<MachineStateListDto>;
1260
+ listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
1261
+ listLastDowntimeMachineStates(id: number, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
1262
+ getMachineStateWithDowntimePeriods(id: number, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
1263
+ getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
1264
+ listMachineErpData(): Promise<MachineErpDataListDto>;
1265
+ getMachineErpData(id: number): Promise<MachineErpDataDto>;
1266
+ /**
1267
+ * @param startTime (optional)
1268
+ * @param endTime (optional)
1269
+ * @deprecated
1270
+ */
1271
+ getWorkOrderTimeline(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<WorkOrderDatapoint[]>;
1272
+ getMachineUtilizationSummary(): Promise<UtilizationSummaryDto>;
1273
+ getCrossCompanyUtilizationSummary(): Promise<CrossCompanyUtilizationSummaryDto>;
940
1274
  listCurrentMachineOperators(machineExternalId: string | null | undefined, operatorNameQuery: string | null | undefined): Promise<OperatorAndMachineDto[]>;
1275
+ createMachineWithoutResource(request: CreateMachineWithoutResource): Promise<void>;
1276
+ createResourceWithoutMachine(request: CreateResourceWithoutMachine): Promise<void>;
1277
+ createResourceWithMachine(request: CreateResourceWithMachine): Promise<void>;
1278
+ createResourceInResourceGroup(request: CreateResourceInResourceGroup): Promise<void>;
1279
+ deleteMachine(id: number): Promise<void>;
941
1280
  }
942
1281
  export declare class MachinesClient extends AuthorizedApiBase implements IMachinesClient {
943
1282
  private http;
@@ -946,8 +1285,53 @@ export declare class MachinesClient extends AuthorizedApiBase implements IMachin
946
1285
  constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
947
1286
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
948
1287
  });
1288
+ listMachines(onlyConnectedMachines: boolean | undefined): Promise<MachineDto[]>;
1289
+ protected processListMachines(response: Response): Promise<MachineDto[]>;
1290
+ listMachineGroups(): Promise<MachineGroupDto[]>;
1291
+ protected processListMachineGroups(response: Response): Promise<MachineGroupDto[]>;
1292
+ createMachineGroup(request: CreateMachineGroup): Promise<CreateMachineGroupResponse>;
1293
+ protected processCreateMachineGroup(response: Response): Promise<CreateMachineGroupResponse>;
1294
+ updateMachineGroup(id: string, request: UpdateMachineGroup): Promise<void>;
1295
+ protected processUpdateMachineGroup(response: Response): Promise<void>;
1296
+ deleteMachineGroup(id: string): Promise<void>;
1297
+ protected processDeleteMachineGroup(response: Response): Promise<void>;
1298
+ listCurrentMachineStates(assetId: number | null | undefined): Promise<MachineStateListDto>;
1299
+ protected processListCurrentMachineStates(response: Response): Promise<MachineStateListDto>;
1300
+ listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
1301
+ protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
1302
+ listLastDowntimeMachineStates(id: number, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
1303
+ protected processListLastDowntimeMachineStates(response: Response): Promise<DowntimeMachineStateDto[]>;
1304
+ getMachineStateWithDowntimePeriods(id: number, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
1305
+ protected processGetMachineStateWithDowntimePeriods(response: Response): Promise<DowntimeMachineStateDto>;
1306
+ getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
1307
+ protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
1308
+ listMachineErpData(): Promise<MachineErpDataListDto>;
1309
+ protected processListMachineErpData(response: Response): Promise<MachineErpDataListDto>;
1310
+ getMachineErpData(id: number): Promise<MachineErpDataDto>;
1311
+ protected processGetMachineErpData(response: Response): Promise<MachineErpDataDto>;
1312
+ /**
1313
+ * @param startTime (optional)
1314
+ * @param endTime (optional)
1315
+ * @deprecated
1316
+ */
1317
+ getWorkOrderTimeline(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<WorkOrderDatapoint[]>;
1318
+ protected processGetWorkOrderTimeline(response: Response): Promise<WorkOrderDatapoint[]>;
1319
+ getMachineUtilizationSummary(): Promise<UtilizationSummaryDto>;
1320
+ protected processGetMachineUtilizationSummary(response: Response): Promise<UtilizationSummaryDto>;
1321
+ getCrossCompanyUtilizationSummary(): Promise<CrossCompanyUtilizationSummaryDto>;
1322
+ protected processGetCrossCompanyUtilizationSummary(response: Response): Promise<CrossCompanyUtilizationSummaryDto>;
949
1323
  listCurrentMachineOperators(machineExternalId: string | null | undefined, operatorNameQuery: string | null | undefined): Promise<OperatorAndMachineDto[]>;
950
1324
  protected processListCurrentMachineOperators(response: Response): Promise<OperatorAndMachineDto[]>;
1325
+ createMachineWithoutResource(request: CreateMachineWithoutResource): Promise<void>;
1326
+ protected processCreateMachineWithoutResource(response: Response): Promise<void>;
1327
+ createResourceWithoutMachine(request: CreateResourceWithoutMachine): Promise<void>;
1328
+ protected processCreateResourceWithoutMachine(response: Response): Promise<void>;
1329
+ createResourceWithMachine(request: CreateResourceWithMachine): Promise<void>;
1330
+ protected processCreateResourceWithMachine(response: Response): Promise<void>;
1331
+ createResourceInResourceGroup(request: CreateResourceInResourceGroup): Promise<void>;
1332
+ protected processCreateResourceInResourceGroup(response: Response): Promise<void>;
1333
+ deleteMachine(id: number): Promise<void>;
1334
+ protected processDeleteMachine(response: Response): Promise<void>;
951
1335
  }
952
1336
  export interface ILinksClient {
953
1337
  getAllLinks(scope: string | null | undefined): Promise<LinkDto[]>;
@@ -1063,137 +1447,41 @@ export declare class DocumentTypesClient extends AuthorizedApiBase implements ID
1063
1447
  listDocumentGenerators(): Promise<DocumentGeneratorTypeDto[]>;
1064
1448
  protected processListDocumentGenerators(response: Response): Promise<DocumentGeneratorTypeDto[]>;
1065
1449
  }
1066
- export interface IExternalAccessClient {
1067
- listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
1068
- createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
1069
- updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
1070
- deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
1071
- listRoles(): Promise<ExternalRoleDto[]>;
1072
- listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
1073
- deleteCompanyCustomer(tenantId: string): Promise<void>;
1450
+ export interface ICncFileTransferClient {
1451
+ startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
1452
+ startCncMachineOperationTransferToMachine(id: string): Promise<CncMachineTransferDto>;
1453
+ getTransferStatus(id: string): Promise<CncMachineTransferDto>;
1454
+ createUploadCamTransferInfo(request: UploadCamFileRequest): Promise<UploadCamFileDto>;
1455
+ getCamTransfer(path: string | undefined): Promise<CamTransferDto>;
1456
+ startCamTransferToMachine(request: StartCamTransferToMachine): Promise<CncMachineTransferDto>;
1457
+ startCamTransferToMachineFromTempUpload(request: StartCamTransferToMachineFromTempUpload): Promise<CncMachineTransferDto>;
1074
1458
  }
1075
- export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
1459
+ export declare class CncFileTransferClient extends AuthorizedApiBase implements ICncFileTransferClient {
1076
1460
  private http;
1077
1461
  private baseUrl;
1078
1462
  protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
1079
1463
  constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1080
1464
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1081
1465
  });
1082
- listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
1083
- protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
1084
- createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
1085
- protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
1086
- updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
1087
- protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
1088
- deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
1089
- protected processDeleteCompanyUser(response: Response): Promise<void>;
1090
- listRoles(): Promise<ExternalRoleDto[]>;
1091
- protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
1092
- listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
1093
- protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
1094
- deleteCompanyCustomer(tenantId: string): Promise<void>;
1095
- protected processDeleteCompanyCustomer(response: Response): Promise<void>;
1466
+ startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
1467
+ protected processStartCncMachineOperationTransferToCloud(response: Response): Promise<CncMachineTransferDto>;
1468
+ startCncMachineOperationTransferToMachine(id: string): Promise<CncMachineTransferDto>;
1469
+ protected processStartCncMachineOperationTransferToMachine(response: Response): Promise<CncMachineTransferDto>;
1470
+ getTransferStatus(id: string): Promise<CncMachineTransferDto>;
1471
+ protected processGetTransferStatus(response: Response): Promise<CncMachineTransferDto>;
1472
+ createUploadCamTransferInfo(request: UploadCamFileRequest): Promise<UploadCamFileDto>;
1473
+ protected processCreateUploadCamTransferInfo(response: Response): Promise<UploadCamFileDto>;
1474
+ getCamTransfer(path: string | undefined): Promise<CamTransferDto>;
1475
+ protected processGetCamTransfer(response: Response): Promise<CamTransferDto>;
1476
+ startCamTransferToMachine(request: StartCamTransferToMachine): Promise<CncMachineTransferDto>;
1477
+ protected processStartCamTransferToMachine(response: Response): Promise<CncMachineTransferDto>;
1478
+ startCamTransferToMachineFromTempUpload(request: StartCamTransferToMachineFromTempUpload): Promise<CncMachineTransferDto>;
1479
+ protected processStartCamTransferToMachineFromTempUpload(response: Response): Promise<CncMachineTransferDto>;
1096
1480
  }
1097
- export interface IExternalClient {
1098
- listInvites(): Promise<InviteDto[]>;
1099
- acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
1100
- listCompanies(): Promise<CompanyDto[]>;
1101
- }
1102
- export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
1103
- private http;
1104
- private baseUrl;
1105
- protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
1106
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1107
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1108
- });
1109
- listInvites(): Promise<InviteDto[]>;
1110
- protected processListInvites(response: Response): Promise<InviteDto[]>;
1111
- acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
1112
- protected processAcceptSupplierInvite(response: Response): Promise<CompanyDto>;
1113
- listCompanies(): Promise<CompanyDto[]>;
1114
- protected processListCompanies(response: Response): Promise<CompanyDto[]>;
1115
- }
1116
- export interface ISuppliersClient {
1117
- listSupplierInvites(): Promise<SupplierInviteDto[]>;
1118
- createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
1119
- deleteSupplierInvite(id: string): Promise<void>;
1120
- listSuppliers(): Promise<ExternalSupplierDto[]>;
1121
- deleteSupplier(id: string): Promise<void>;
1122
- importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
1123
- /**
1124
- * Creates a mapping between old supplier id and new supplier id.
1125
- */
1126
- createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
1127
- /**
1128
- * Delete all supplier mappings between old supplier ids and new supplier ids.
1129
- */
1130
- deleteSupplierMappings(): Promise<void>;
1131
- }
1132
- export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
1133
- private http;
1134
- private baseUrl;
1135
- protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
1136
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1137
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1138
- });
1139
- listSupplierInvites(): Promise<SupplierInviteDto[]>;
1140
- protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
1141
- createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
1142
- protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
1143
- deleteSupplierInvite(id: string): Promise<void>;
1144
- protected processDeleteSupplierInvite(response: Response): Promise<void>;
1145
- listSuppliers(): Promise<ExternalSupplierDto[]>;
1146
- protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
1147
- deleteSupplier(id: string): Promise<void>;
1148
- protected processDeleteSupplier(response: Response): Promise<void>;
1149
- importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
1150
- protected processImportSupplier(response: Response): Promise<ExternalSupplierDto>;
1151
- /**
1152
- * Creates a mapping between old supplier id and new supplier id.
1153
- */
1154
- createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
1155
- protected processCreateSupplierMapping(response: Response): Promise<void>;
1156
- /**
1157
- * Delete all supplier mappings between old supplier ids and new supplier ids.
1158
- */
1159
- deleteSupplierMappings(): Promise<void>;
1160
- protected processDeleteSupplierMappings(response: Response): Promise<void>;
1161
- }
1162
- export interface ICncFileTransferClient {
1163
- startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
1164
- startCncMachineOperationTransferToMachine(id: string): Promise<CncMachineTransferDto>;
1165
- getTransferStatus(id: string): Promise<CncMachineTransferDto>;
1166
- createUploadCamTransferInfo(request: UploadCamFileRequest): Promise<UploadCamFileDto>;
1167
- getCamTransfer(path: string | undefined): Promise<CamTransferDto>;
1168
- startCamTransferToMachine(request: StartCamTransferToMachine): Promise<CncMachineTransferDto>;
1169
- startCamTransferToMachineFromTempUpload(request: StartCamTransferToMachineFromTempUpload): Promise<CncMachineTransferDto>;
1170
- }
1171
- export declare class CncFileTransferClient extends AuthorizedApiBase implements ICncFileTransferClient {
1172
- private http;
1173
- private baseUrl;
1174
- protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
1175
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1176
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1177
- });
1178
- startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
1179
- protected processStartCncMachineOperationTransferToCloud(response: Response): Promise<CncMachineTransferDto>;
1180
- startCncMachineOperationTransferToMachine(id: string): Promise<CncMachineTransferDto>;
1181
- protected processStartCncMachineOperationTransferToMachine(response: Response): Promise<CncMachineTransferDto>;
1182
- getTransferStatus(id: string): Promise<CncMachineTransferDto>;
1183
- protected processGetTransferStatus(response: Response): Promise<CncMachineTransferDto>;
1184
- createUploadCamTransferInfo(request: UploadCamFileRequest): Promise<UploadCamFileDto>;
1185
- protected processCreateUploadCamTransferInfo(response: Response): Promise<UploadCamFileDto>;
1186
- getCamTransfer(path: string | undefined): Promise<CamTransferDto>;
1187
- protected processGetCamTransfer(response: Response): Promise<CamTransferDto>;
1188
- startCamTransferToMachine(request: StartCamTransferToMachine): Promise<CncMachineTransferDto>;
1189
- protected processStartCamTransferToMachine(response: Response): Promise<CncMachineTransferDto>;
1190
- startCamTransferToMachineFromTempUpload(request: StartCamTransferToMachineFromTempUpload): Promise<CncMachineTransferDto>;
1191
- protected processStartCamTransferToMachineFromTempUpload(response: Response): Promise<CncMachineTransferDto>;
1192
- }
1193
- export interface ICncSetupAgentClient {
1194
- getCncAgentConfig(agentId: string | null | undefined, agentVersion: string | null | undefined): Promise<AgentConfigDto>;
1195
- createUploadProgramsInfo(id: string, request: UploadFileRequest): Promise<UploadFileDto[]>;
1196
- setTransferStatus(id: string, request: SetTransferStatusRequest): Promise<void>;
1481
+ export interface ICncSetupAgentClient {
1482
+ getCncAgentConfig(agentId: string | null | undefined, agentVersion: string | null | undefined): Promise<AgentConfigDto>;
1483
+ createUploadProgramsInfo(id: string, request: UploadFileRequest): Promise<UploadFileDto[]>;
1484
+ setTransferStatus(id: string, request: SetTransferStatusRequest): Promise<void>;
1197
1485
  }
1198
1486
  export declare class CncSetupAgentClient extends AuthorizedApiBase implements ICncSetupAgentClient {
1199
1487
  private http;
@@ -1504,6 +1792,10 @@ export interface IAssetsClient {
1504
1792
  getAssetById(id: number): Promise<AssetDto>;
1505
1793
  updateAsset(id: number, request: UpdateAssetRequest): Promise<AssetDto>;
1506
1794
  getAssetStructureById(id: number): Promise<AssetStructureDto>;
1795
+ /**
1796
+ * @deprecated
1797
+ */
1798
+ listMachines(): Promise<MachineDto[]>;
1507
1799
  }
1508
1800
  export declare class AssetsClient extends AuthorizedApiBase implements IAssetsClient {
1509
1801
  private http;
@@ -1524,6 +1816,11 @@ export declare class AssetsClient extends AuthorizedApiBase implements IAssetsCl
1524
1816
  protected processUpdateAsset(response: Response): Promise<AssetDto>;
1525
1817
  getAssetStructureById(id: number): Promise<AssetStructureDto>;
1526
1818
  protected processGetAssetStructureById(response: Response): Promise<AssetStructureDto>;
1819
+ /**
1820
+ * @deprecated
1821
+ */
1822
+ listMachines(): Promise<MachineDto[]>;
1823
+ protected processListMachines(response: Response): Promise<MachineDto[]>;
1527
1824
  }
1528
1825
  export interface IAlertsClient {
1529
1826
  alertNotificationAccess(): Promise<AlertNotificationAccessDto>;
@@ -2832,77 +3129,104 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
2832
3129
  generateContentPartsForDiscussions(): Promise<WorkorderDiscussionMessageDto[]>;
2833
3130
  protected processGenerateContentPartsForDiscussions(response: Response): Promise<WorkorderDiscussionMessageDto[]>;
2834
3131
  }
2835
- export interface IMaterialCertificateChecksClient {
2836
- listMaterialCertificateChecks(request: AmcCheckListRequestDto): Promise<AmcCheckListDto>;
2837
- getMaterialCertificateCheck(materialCertificateCheckId: string): Promise<AmcResultDto>;
2838
- processMaterialCertificate(certificatesRequest: ProcessAmcCheckRequestDto): Promise<void>;
2839
- updateMaterialCertificate(certificatesRequest: UpdateAmcResultRequestDto): Promise<AmcResultDto>;
3132
+ export interface IExternalAccessClient {
3133
+ listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
3134
+ createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
3135
+ updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
3136
+ deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
3137
+ listRoles(): Promise<ExternalRoleDto[]>;
3138
+ listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
3139
+ deleteCompanyCustomer(tenantId: string): Promise<void>;
2840
3140
  }
2841
- export declare class MaterialCertificateChecksClient extends AuthorizedApiBase implements IMaterialCertificateChecksClient {
3141
+ export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
2842
3142
  private http;
2843
3143
  private baseUrl;
2844
3144
  protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
2845
3145
  constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2846
3146
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2847
3147
  });
2848
- listMaterialCertificateChecks(request: AmcCheckListRequestDto): Promise<AmcCheckListDto>;
2849
- protected processListMaterialCertificateChecks(response: Response): Promise<AmcCheckListDto>;
2850
- getMaterialCertificateCheck(materialCertificateCheckId: string): Promise<AmcResultDto>;
2851
- protected processGetMaterialCertificateCheck(response: Response): Promise<AmcResultDto>;
2852
- processMaterialCertificate(certificatesRequest: ProcessAmcCheckRequestDto): Promise<void>;
2853
- protected processProcessMaterialCertificate(response: Response): Promise<void>;
2854
- updateMaterialCertificate(certificatesRequest: UpdateAmcResultRequestDto): Promise<AmcResultDto>;
2855
- protected processUpdateMaterialCertificate(response: Response): Promise<AmcResultDto>;
2856
- }
2857
- export interface IMaterialCertificateSpecificationsClient {
2858
- listSpecifications(): Promise<AmcSpecificationLiteDto[]>;
2859
- getSpecification(specificationsId: string | undefined, version: number, specificationId: string): Promise<AmcSpecificationDto>;
2860
- createSpecifications(specificationsRequest: CreateAmcSpecificationDto): Promise<AmcSpecificationDto>;
2861
- updateSpecifications(specificationsRequest: UpdateAmcSpecificationDto): Promise<AmcSpecificationDto>;
2862
- deleteMaterialCertificateTypes(materialCertificateSpecificationId: string): Promise<void>;
2863
- }
2864
- export declare class MaterialCertificateSpecificationsClient extends AuthorizedApiBase implements IMaterialCertificateSpecificationsClient {
3148
+ listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
3149
+ protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
3150
+ createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
3151
+ protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
3152
+ updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
3153
+ protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
3154
+ deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
3155
+ protected processDeleteCompanyUser(response: Response): Promise<void>;
3156
+ listRoles(): Promise<ExternalRoleDto[]>;
3157
+ protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
3158
+ listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
3159
+ protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
3160
+ deleteCompanyCustomer(tenantId: string): Promise<void>;
3161
+ protected processDeleteCompanyCustomer(response: Response): Promise<void>;
3162
+ }
3163
+ export interface IExternalClient {
3164
+ listCompanies(): Promise<CompanyDto[]>;
3165
+ getCompany(id: string): Promise<CompanyDto>;
3166
+ getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
3167
+ acceptSupplierInvite(request: AcceptSupplierInvite): Promise<SupplierInviteDto>;
3168
+ }
3169
+ export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
2865
3170
  private http;
2866
3171
  private baseUrl;
2867
3172
  protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
2868
3173
  constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2869
3174
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2870
3175
  });
2871
- listSpecifications(): Promise<AmcSpecificationLiteDto[]>;
2872
- protected processListSpecifications(response: Response): Promise<AmcSpecificationLiteDto[]>;
2873
- getSpecification(specificationsId: string | undefined, version: number, specificationId: string): Promise<AmcSpecificationDto>;
2874
- protected processGetSpecification(response: Response): Promise<AmcSpecificationDto>;
2875
- createSpecifications(specificationsRequest: CreateAmcSpecificationDto): Promise<AmcSpecificationDto>;
2876
- protected processCreateSpecifications(response: Response): Promise<AmcSpecificationDto>;
2877
- updateSpecifications(specificationsRequest: UpdateAmcSpecificationDto): Promise<AmcSpecificationDto>;
2878
- protected processUpdateSpecifications(response: Response): Promise<AmcSpecificationDto>;
2879
- deleteMaterialCertificateTypes(materialCertificateSpecificationId: string): Promise<void>;
2880
- protected processDeleteMaterialCertificateTypes(response: Response): Promise<void>;
2881
- }
2882
- export interface IMaterialCertificateTypesClient {
2883
- listMaterialCertificateTypes(): Promise<AmcTypeLiteDto[]>;
2884
- getMaterialCertificateTypes(typeId: string, version: number): Promise<AmcTypeDto>;
2885
- createMaterialCertificateTypes(certificatesTypesRequest: CreateAmcTypeRequestDto): Promise<AmcTypeDto>;
2886
- updateMaterialCertificateTypes(certificatesTypesRequest: UpdateAmcTypeDto): Promise<AmcTypeDto>;
2887
- deleteMaterialCertificateTypes(materialCertificateTypeId: string): Promise<void>;
2888
- }
2889
- export declare class MaterialCertificateTypesClient extends AuthorizedApiBase implements IMaterialCertificateTypesClient {
3176
+ listCompanies(): Promise<CompanyDto[]>;
3177
+ protected processListCompanies(response: Response): Promise<CompanyDto[]>;
3178
+ getCompany(id: string): Promise<CompanyDto>;
3179
+ protected processGetCompany(response: Response): Promise<CompanyDto>;
3180
+ getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
3181
+ protected processGetCurrentSupplierInvite(response: Response): Promise<SupplierInviteDto>;
3182
+ acceptSupplierInvite(request: AcceptSupplierInvite): Promise<SupplierInviteDto>;
3183
+ protected processAcceptSupplierInvite(response: Response): Promise<SupplierInviteDto>;
3184
+ }
3185
+ export interface ISuppliersClient {
3186
+ listSupplierInvites(): Promise<SupplierInviteDto[]>;
3187
+ createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
3188
+ deleteSupplierInvite(id: string): Promise<void>;
3189
+ listSuppliers(): Promise<ExternalSupplierDto[]>;
3190
+ deleteSupplier(id: string): Promise<void>;
3191
+ /**
3192
+ * Creates a mapping between old supplier id and new supplier id.
3193
+ */
3194
+ createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
3195
+ /**
3196
+ * Delete all supplier mappings between old supplier ids and new supplier ids.
3197
+ */
3198
+ deleteSupplierMappings(): Promise<void>;
3199
+ getSupplierCompany(id: string): Promise<CompanyDto>;
3200
+ }
3201
+ export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
2890
3202
  private http;
2891
3203
  private baseUrl;
2892
3204
  protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
2893
3205
  constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2894
3206
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2895
3207
  });
2896
- listMaterialCertificateTypes(): Promise<AmcTypeLiteDto[]>;
2897
- protected processListMaterialCertificateTypes(response: Response): Promise<AmcTypeLiteDto[]>;
2898
- getMaterialCertificateTypes(typeId: string, version: number): Promise<AmcTypeDto>;
2899
- protected processGetMaterialCertificateTypes(response: Response): Promise<AmcTypeDto>;
2900
- createMaterialCertificateTypes(certificatesTypesRequest: CreateAmcTypeRequestDto): Promise<AmcTypeDto>;
2901
- protected processCreateMaterialCertificateTypes(response: Response): Promise<AmcTypeDto>;
2902
- updateMaterialCertificateTypes(certificatesTypesRequest: UpdateAmcTypeDto): Promise<AmcTypeDto>;
2903
- protected processUpdateMaterialCertificateTypes(response: Response): Promise<AmcTypeDto>;
2904
- deleteMaterialCertificateTypes(materialCertificateTypeId: string): Promise<void>;
2905
- protected processDeleteMaterialCertificateTypes(response: Response): Promise<void>;
3208
+ listSupplierInvites(): Promise<SupplierInviteDto[]>;
3209
+ protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
3210
+ createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
3211
+ protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
3212
+ deleteSupplierInvite(id: string): Promise<void>;
3213
+ protected processDeleteSupplierInvite(response: Response): Promise<void>;
3214
+ listSuppliers(): Promise<ExternalSupplierDto[]>;
3215
+ protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
3216
+ deleteSupplier(id: string): Promise<void>;
3217
+ protected processDeleteSupplier(response: Response): Promise<void>;
3218
+ /**
3219
+ * Creates a mapping between old supplier id and new supplier id.
3220
+ */
3221
+ createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
3222
+ protected processCreateSupplierMapping(response: Response): Promise<void>;
3223
+ /**
3224
+ * Delete all supplier mappings between old supplier ids and new supplier ids.
3225
+ */
3226
+ deleteSupplierMappings(): Promise<void>;
3227
+ protected processDeleteSupplierMappings(response: Response): Promise<void>;
3228
+ getSupplierCompany(id: string): Promise<CompanyDto>;
3229
+ protected processGetSupplierCompany(response: Response): Promise<CompanyDto>;
2906
3230
  }
2907
3231
  export declare class AzureRegionDto implements IAzureRegionDto {
2908
3232
  displayName: string;
@@ -2968,17 +3292,17 @@ export interface IComponentSettingsDto {
2968
3292
  componentId?: string | null;
2969
3293
  disabledFields?: string[] | null;
2970
3294
  }
2971
- export declare class ResourceUtilizationListDto implements IResourceUtilizationListDto {
2972
- resources?: ResourceUtilizationDto[] | null;
2973
- constructor(data?: IResourceUtilizationListDto);
3295
+ export declare class UtilizationListDto implements IUtilizationListDto {
3296
+ machines?: MachineUtilizationDto[] | null;
3297
+ constructor(data?: IUtilizationListDto);
2974
3298
  init(_data?: any): void;
2975
- static fromJS(data: any): ResourceUtilizationListDto;
3299
+ static fromJS(data: any): UtilizationListDto;
2976
3300
  toJSON(data?: any): any;
2977
3301
  }
2978
- export interface IResourceUtilizationListDto {
2979
- resources?: ResourceUtilizationDto[] | null;
3302
+ export interface IUtilizationListDto {
3303
+ machines?: MachineUtilizationDto[] | null;
2980
3304
  }
2981
- export declare class ResourceUtilizationDto implements IResourceUtilizationDto {
3305
+ export declare class MachineUtilizationDto implements IMachineUtilizationDto {
2982
3306
  assetId: number;
2983
3307
  name: string;
2984
3308
  description?: string | null;
@@ -2987,12 +3311,12 @@ export declare class ResourceUtilizationDto implements IResourceUtilizationDto {
2987
3311
  startTime?: Date;
2988
3312
  workorder?: UtilizationWorkorderDto | null;
2989
3313
  powerOn?: PowerOnUtilizationDto | null;
2990
- constructor(data?: IResourceUtilizationDto);
3314
+ constructor(data?: IMachineUtilizationDto);
2991
3315
  init(_data?: any): void;
2992
- static fromJS(data: any): ResourceUtilizationDto;
3316
+ static fromJS(data: any): MachineUtilizationDto;
2993
3317
  toJSON(data?: any): any;
2994
3318
  }
2995
- export interface IResourceUtilizationDto {
3319
+ export interface IMachineUtilizationDto {
2996
3320
  assetId: number;
2997
3321
  name: string;
2998
3322
  description?: string | null;
@@ -3079,26 +3403,50 @@ export interface IPowerOnUtilizationDto extends IUtilizationAveragesDto {
3079
3403
  powerOnUtilization?: number | null;
3080
3404
  comparedToAverage?: number | null;
3081
3405
  }
3082
- export declare class ResourceUtilizationDetailsDto implements IResourceUtilizationDetailsDto {
3083
- resourceId: number;
3084
- resourceName: string;
3406
+ export declare class UtilizationDetailsDto implements IUtilizationDetailsDto {
3407
+ machineId: number;
3408
+ machineName: string;
3085
3409
  machineStateText?: string | null;
3086
3410
  machineState?: MachineState | null;
3087
3411
  startTime?: Date | null;
3088
3412
  powerOnUtilization?: number | null;
3089
- constructor(data?: IResourceUtilizationDetailsDto);
3413
+ constructor(data?: IUtilizationDetailsDto);
3090
3414
  init(_data?: any): void;
3091
- static fromJS(data: any): ResourceUtilizationDetailsDto;
3415
+ static fromJS(data: any): UtilizationDetailsDto;
3092
3416
  toJSON(data?: any): any;
3093
3417
  }
3094
- export interface IResourceUtilizationDetailsDto {
3095
- resourceId: number;
3096
- resourceName: string;
3418
+ export interface IUtilizationDetailsDto {
3419
+ machineId: number;
3420
+ machineName: string;
3097
3421
  machineStateText?: string | null;
3098
3422
  machineState?: MachineState | null;
3099
3423
  startTime?: Date | null;
3100
3424
  powerOnUtilization?: number | null;
3101
3425
  }
3426
+ export declare class MachineStatesSummaryDto implements IMachineStatesSummaryDto {
3427
+ states: StateDto[];
3428
+ constructor(data?: IMachineStatesSummaryDto);
3429
+ init(_data?: any): void;
3430
+ static fromJS(data: any): MachineStatesSummaryDto;
3431
+ toJSON(data?: any): any;
3432
+ }
3433
+ export interface IMachineStatesSummaryDto {
3434
+ states: StateDto[];
3435
+ }
3436
+ export declare class StateDto implements IStateDto {
3437
+ state: string;
3438
+ machineState: MachineState;
3439
+ seconds: number;
3440
+ constructor(data?: IStateDto);
3441
+ init(_data?: any): void;
3442
+ static fromJS(data: any): StateDto;
3443
+ toJSON(data?: any): any;
3444
+ }
3445
+ export interface IStateDto {
3446
+ state: string;
3447
+ machineState: MachineState;
3448
+ seconds: number;
3449
+ }
3102
3450
  export declare class TimelinesDto implements ITimelinesDto {
3103
3451
  machineStateTimeline: MachineStateDatapoint[];
3104
3452
  workorderTimeline: WorkOrderDatapoint[];
@@ -3244,78 +3592,54 @@ export interface ITimelineFilterDto {
3244
3592
  includeDowntimeReasons?: boolean | null;
3245
3593
  includeProgram?: boolean | null;
3246
3594
  }
3247
- export declare class MachineStatesSummaryDto implements IMachineStatesSummaryDto {
3248
- states: StateDto[];
3249
- constructor(data?: IMachineStatesSummaryDto);
3250
- init(_data?: any): void;
3251
- static fromJS(data: any): MachineStatesSummaryDto;
3252
- toJSON(data?: any): any;
3253
- }
3254
- export interface IMachineStatesSummaryDto {
3255
- states: StateDto[];
3256
- }
3257
- export declare class StateDto implements IStateDto {
3258
- state: string;
3259
- machineState: MachineState;
3260
- seconds: number;
3261
- constructor(data?: IStateDto);
3262
- init(_data?: any): void;
3263
- static fromJS(data: any): StateDto;
3264
- toJSON(data?: any): any;
3265
- }
3266
- export interface IStateDto {
3267
- state: string;
3268
- machineState: MachineState;
3269
- seconds: number;
3270
- }
3271
- export declare class ResourceUptimesAggregateDto implements IResourceUptimesAggregateDto {
3272
- resourceUptimes: ResourceUptimeDto[];
3273
- sum: ResourceUptimeSumDto;
3274
- constructor(data?: IResourceUptimesAggregateDto);
3595
+ export declare class MachineUptimesAggregateDto implements IMachineUptimesAggregateDto {
3596
+ machineUptimes: MachineUptimeDto[];
3597
+ sum: MachineUptimeSumDto;
3598
+ constructor(data?: IMachineUptimesAggregateDto);
3275
3599
  init(_data?: any): void;
3276
- static fromJS(data: any): ResourceUptimesAggregateDto;
3600
+ static fromJS(data: any): MachineUptimesAggregateDto;
3277
3601
  toJSON(data?: any): any;
3278
3602
  }
3279
- export interface IResourceUptimesAggregateDto {
3280
- resourceUptimes: ResourceUptimeDto[];
3281
- sum: ResourceUptimeSumDto;
3603
+ export interface IMachineUptimesAggregateDto {
3604
+ machineUptimes: MachineUptimeDto[];
3605
+ sum: MachineUptimeSumDto;
3282
3606
  }
3283
- export declare class ResourceUptimeDto implements IResourceUptimeDto {
3607
+ export declare class MachineUptimeDto implements IMachineUptimeDto {
3284
3608
  assetExternalId: string;
3285
3609
  percent: number;
3286
3610
  numberOfSeconds: number;
3287
- constructor(data?: IResourceUptimeDto);
3611
+ constructor(data?: IMachineUptimeDto);
3288
3612
  init(_data?: any): void;
3289
- static fromJS(data: any): ResourceUptimeDto;
3613
+ static fromJS(data: any): MachineUptimeDto;
3290
3614
  toJSON(data?: any): any;
3291
3615
  }
3292
- export interface IResourceUptimeDto {
3616
+ export interface IMachineUptimeDto {
3293
3617
  assetExternalId: string;
3294
3618
  percent: number;
3295
3619
  numberOfSeconds: number;
3296
3620
  }
3297
- export declare class ResourceUptimeSumDto implements IResourceUptimeSumDto {
3621
+ export declare class MachineUptimeSumDto implements IMachineUptimeSumDto {
3298
3622
  percent: number;
3299
3623
  numberOfSeconds: number;
3300
- constructor(data?: IResourceUptimeSumDto);
3624
+ constructor(data?: IMachineUptimeSumDto);
3301
3625
  init(_data?: any): void;
3302
- static fromJS(data: any): ResourceUptimeSumDto;
3626
+ static fromJS(data: any): MachineUptimeSumDto;
3303
3627
  toJSON(data?: any): any;
3304
3628
  }
3305
- export interface IResourceUptimeSumDto {
3629
+ export interface IMachineUptimeSumDto {
3306
3630
  percent: number;
3307
3631
  numberOfSeconds: number;
3308
3632
  }
3309
- export declare class ListResourceUptimesTodayRequest implements IListResourceUptimesTodayRequest {
3310
- resourceExternalIds?: string[] | null;
3633
+ export declare class ListMachineUptimesTodayRequest implements IListMachineUptimesTodayRequest {
3634
+ machineExternalIds?: string[] | null;
3311
3635
  utcOffset?: number;
3312
- constructor(data?: IListResourceUptimesTodayRequest);
3636
+ constructor(data?: IListMachineUptimesTodayRequest);
3313
3637
  init(_data?: any): void;
3314
- static fromJS(data: any): ListResourceUptimesTodayRequest;
3638
+ static fromJS(data: any): ListMachineUptimesTodayRequest;
3315
3639
  toJSON(data?: any): any;
3316
3640
  }
3317
- export interface IListResourceUptimesTodayRequest {
3318
- resourceExternalIds?: string[] | null;
3641
+ export interface IListMachineUptimesTodayRequest {
3642
+ machineExternalIds?: string[] | null;
3319
3643
  utcOffset?: number;
3320
3644
  }
3321
3645
  export declare class PowerOnUtilizationList implements IPowerOnUtilizationList {
@@ -3358,11 +3682,115 @@ export interface INumericNullableValueWithTimestamp {
3358
3682
  timestamp?: number;
3359
3683
  value?: number | null;
3360
3684
  }
3361
- export declare class UserAppDto implements IUserAppDto {
3362
- key: string;
3363
- name: string;
3364
- description?: string | null;
3365
- directAccess: boolean;
3685
+ export declare class ResourceUtilizationListDto implements IResourceUtilizationListDto {
3686
+ resources?: ResourceUtilizationDto[] | null;
3687
+ constructor(data?: IResourceUtilizationListDto);
3688
+ init(_data?: any): void;
3689
+ static fromJS(data: any): ResourceUtilizationListDto;
3690
+ toJSON(data?: any): any;
3691
+ }
3692
+ export interface IResourceUtilizationListDto {
3693
+ resources?: ResourceUtilizationDto[] | null;
3694
+ }
3695
+ export declare class ResourceUtilizationDto implements IResourceUtilizationDto {
3696
+ assetId: number;
3697
+ name: string;
3698
+ description?: string | null;
3699
+ state: string;
3700
+ machineState: MachineState;
3701
+ startTime?: Date;
3702
+ workorder?: UtilizationWorkorderDto | null;
3703
+ powerOn?: PowerOnUtilizationDto | null;
3704
+ constructor(data?: IResourceUtilizationDto);
3705
+ init(_data?: any): void;
3706
+ static fromJS(data: any): ResourceUtilizationDto;
3707
+ toJSON(data?: any): any;
3708
+ }
3709
+ export interface IResourceUtilizationDto {
3710
+ assetId: number;
3711
+ name: string;
3712
+ description?: string | null;
3713
+ state: string;
3714
+ machineState: MachineState;
3715
+ startTime?: Date;
3716
+ workorder?: UtilizationWorkorderDto | null;
3717
+ powerOn?: PowerOnUtilizationDto | null;
3718
+ }
3719
+ export declare class ResourceUtilizationDetailsDto implements IResourceUtilizationDetailsDto {
3720
+ resourceId: number;
3721
+ resourceName: string;
3722
+ machineStateText?: string | null;
3723
+ machineState?: MachineState | null;
3724
+ startTime?: Date | null;
3725
+ powerOnUtilization?: number | null;
3726
+ constructor(data?: IResourceUtilizationDetailsDto);
3727
+ init(_data?: any): void;
3728
+ static fromJS(data: any): ResourceUtilizationDetailsDto;
3729
+ toJSON(data?: any): any;
3730
+ }
3731
+ export interface IResourceUtilizationDetailsDto {
3732
+ resourceId: number;
3733
+ resourceName: string;
3734
+ machineStateText?: string | null;
3735
+ machineState?: MachineState | null;
3736
+ startTime?: Date | null;
3737
+ powerOnUtilization?: number | null;
3738
+ }
3739
+ export declare class ResourceUptimesAggregateDto implements IResourceUptimesAggregateDto {
3740
+ resourceUptimes: ResourceUptimeDto[];
3741
+ sum: ResourceUptimeSumDto;
3742
+ constructor(data?: IResourceUptimesAggregateDto);
3743
+ init(_data?: any): void;
3744
+ static fromJS(data: any): ResourceUptimesAggregateDto;
3745
+ toJSON(data?: any): any;
3746
+ }
3747
+ export interface IResourceUptimesAggregateDto {
3748
+ resourceUptimes: ResourceUptimeDto[];
3749
+ sum: ResourceUptimeSumDto;
3750
+ }
3751
+ export declare class ResourceUptimeDto implements IResourceUptimeDto {
3752
+ assetExternalId: string;
3753
+ percent: number;
3754
+ numberOfSeconds: number;
3755
+ constructor(data?: IResourceUptimeDto);
3756
+ init(_data?: any): void;
3757
+ static fromJS(data: any): ResourceUptimeDto;
3758
+ toJSON(data?: any): any;
3759
+ }
3760
+ export interface IResourceUptimeDto {
3761
+ assetExternalId: string;
3762
+ percent: number;
3763
+ numberOfSeconds: number;
3764
+ }
3765
+ export declare class ResourceUptimeSumDto implements IResourceUptimeSumDto {
3766
+ percent: number;
3767
+ numberOfSeconds: number;
3768
+ constructor(data?: IResourceUptimeSumDto);
3769
+ init(_data?: any): void;
3770
+ static fromJS(data: any): ResourceUptimeSumDto;
3771
+ toJSON(data?: any): any;
3772
+ }
3773
+ export interface IResourceUptimeSumDto {
3774
+ percent: number;
3775
+ numberOfSeconds: number;
3776
+ }
3777
+ export declare class ListResourceUptimesTodayRequest implements IListResourceUptimesTodayRequest {
3778
+ resourceExternalIds?: string[] | null;
3779
+ utcOffset?: number;
3780
+ constructor(data?: IListResourceUptimesTodayRequest);
3781
+ init(_data?: any): void;
3782
+ static fromJS(data: any): ListResourceUptimesTodayRequest;
3783
+ toJSON(data?: any): any;
3784
+ }
3785
+ export interface IListResourceUptimesTodayRequest {
3786
+ resourceExternalIds?: string[] | null;
3787
+ utcOffset?: number;
3788
+ }
3789
+ export declare class UserAppDto implements IUserAppDto {
3790
+ key: string;
3791
+ name: string;
3792
+ description?: string | null;
3793
+ directAccess: boolean;
3366
3794
  constructor(data?: IUserAppDto);
3367
3795
  init(_data?: any): void;
3368
3796
  static fromJS(data: any): UserAppDto;
@@ -3386,6 +3814,7 @@ export declare class UserDetailsDto implements IUserDetailsDto {
3386
3814
  isExternalUser?: boolean;
3387
3815
  isBetaTester?: boolean | null;
3388
3816
  hasAccessToIgnos?: boolean;
3817
+ isInvitedUser?: boolean;
3389
3818
  constructor(data?: IUserDetailsDto);
3390
3819
  init(_data?: any): void;
3391
3820
  static fromJS(data: any): UserDetailsDto;
@@ -3403,6 +3832,7 @@ export interface IUserDetailsDto {
3403
3832
  isExternalUser?: boolean;
3404
3833
  isBetaTester?: boolean | null;
3405
3834
  hasAccessToIgnos?: boolean;
3835
+ isInvitedUser?: boolean;
3406
3836
  }
3407
3837
  export declare class UserDto implements IUserDto {
3408
3838
  id?: string | null;
@@ -5113,6 +5543,37 @@ export interface ICreateResourceInResourceGroup {
5113
5543
  name: string;
5114
5544
  description?: string | null;
5115
5545
  }
5546
+ export declare class PulseSettingsDto implements IPulseSettingsDto {
5547
+ defaultUtilizationType: UtilizationTypeDto;
5548
+ utilizationTypeEnabling: UtilizationTypeEnablingDto;
5549
+ constructor(data?: IPulseSettingsDto);
5550
+ init(_data?: any): void;
5551
+ static fromJS(data: any): PulseSettingsDto;
5552
+ toJSON(data?: any): any;
5553
+ }
5554
+ export interface IPulseSettingsDto {
5555
+ defaultUtilizationType: UtilizationTypeDto;
5556
+ utilizationTypeEnabling: UtilizationTypeEnablingDto;
5557
+ }
5558
+ export type UtilizationTypeDto = "PowerOn" | "TwentyFourSeven" | "ActiveOrder" | "MachineCalendar" | "FactoryCalendar";
5559
+ export declare class UtilizationTypeEnablingDto implements IUtilizationTypeEnablingDto {
5560
+ powerOnEnabled: boolean;
5561
+ twentyFourSevenEnabled: boolean;
5562
+ activeOrderEnabled: boolean;
5563
+ machineCalendarEnabled: boolean;
5564
+ factoryCalendarEnabled: boolean;
5565
+ constructor(data?: IUtilizationTypeEnablingDto);
5566
+ init(_data?: any): void;
5567
+ static fromJS(data: any): UtilizationTypeEnablingDto;
5568
+ toJSON(data?: any): any;
5569
+ }
5570
+ export interface IUtilizationTypeEnablingDto {
5571
+ powerOnEnabled: boolean;
5572
+ twentyFourSevenEnabled: boolean;
5573
+ activeOrderEnabled: boolean;
5574
+ machineCalendarEnabled: boolean;
5575
+ factoryCalendarEnabled: boolean;
5576
+ }
5116
5577
  export declare class PulseSettingsResourceDto implements IPulseSettingsResourceDto {
5117
5578
  defaultUtilizationType: ResourceUtilizationTypeDto;
5118
5579
  utilizationTypeEnabling: ResourceUtilizationTypeEnablingDto;
@@ -5144,6 +5605,26 @@ export interface IResourceUtilizationTypeEnablingDto {
5144
5605
  resourceCalendarEnabled: boolean;
5145
5606
  factoryCalendarEnabled: boolean;
5146
5607
  }
5608
+ export declare class UpdatePulseSettings implements IUpdatePulseSettings {
5609
+ defaultUtilizationType: UtilizationTypeDto;
5610
+ powerOnEnabled: boolean;
5611
+ twentyfourSevenEnabled: boolean;
5612
+ activeOrderEnabled: boolean;
5613
+ machineCalendarEnabled: boolean;
5614
+ factoryCalendarEnabled: boolean;
5615
+ constructor(data?: IUpdatePulseSettings);
5616
+ init(_data?: any): void;
5617
+ static fromJS(data: any): UpdatePulseSettings;
5618
+ toJSON(data?: any): any;
5619
+ }
5620
+ export interface IUpdatePulseSettings {
5621
+ defaultUtilizationType: UtilizationTypeDto;
5622
+ powerOnEnabled: boolean;
5623
+ twentyfourSevenEnabled: boolean;
5624
+ activeOrderEnabled: boolean;
5625
+ machineCalendarEnabled: boolean;
5626
+ factoryCalendarEnabled: boolean;
5627
+ }
5147
5628
  export declare class UpdatePulseSettingsResource implements IUpdatePulseSettingsResource {
5148
5629
  defaultUtilizationType: ResourceUtilizationTypeDto;
5149
5630
  powerOnEnabled: boolean;
@@ -5164,21 +5645,21 @@ export interface IUpdatePulseSettingsResource {
5164
5645
  resourceCalendarEnabled: boolean;
5165
5646
  factoryCalendarEnabled: boolean;
5166
5647
  }
5167
- export declare class CompanyResourceUtilizationDto implements ICompanyResourceUtilizationDto {
5168
- utilizationType: ResourceUtilizationTypeDto;
5648
+ export declare class CompanyUtilizationDto implements ICompanyUtilizationDto {
5649
+ utilizationType: UtilizationTypeDto;
5169
5650
  companyUtilization: UtilizationDetailsV2Dto;
5170
- groups: ResourceGroupUtilizationV2Dto[];
5171
- ungroupedResources: ResourceUtilizationV3Dto[];
5172
- constructor(data?: ICompanyResourceUtilizationDto);
5651
+ groups: MachineGroupUtilizationV2Dto[];
5652
+ ungroupedMachines: MachineUtilizationV3Dto[];
5653
+ constructor(data?: ICompanyUtilizationDto);
5173
5654
  init(_data?: any): void;
5174
- static fromJS(data: any): CompanyResourceUtilizationDto;
5655
+ static fromJS(data: any): CompanyUtilizationDto;
5175
5656
  toJSON(data?: any): any;
5176
5657
  }
5177
- export interface ICompanyResourceUtilizationDto {
5178
- utilizationType: ResourceUtilizationTypeDto;
5658
+ export interface ICompanyUtilizationDto {
5659
+ utilizationType: UtilizationTypeDto;
5179
5660
  companyUtilization: UtilizationDetailsV2Dto;
5180
- groups: ResourceGroupUtilizationV2Dto[];
5181
- ungroupedResources: ResourceUtilizationV3Dto[];
5661
+ groups: MachineGroupUtilizationV2Dto[];
5662
+ ungroupedMachines: MachineUtilizationV3Dto[];
5182
5663
  }
5183
5664
  export declare class UtilizationDetailsV2Dto implements IUtilizationDetailsV2Dto {
5184
5665
  utilizationPercent?: number | null;
@@ -5204,59 +5685,59 @@ export interface IUtilizationDetailsV2Dto {
5204
5685
  downtimeInMilliseconds?: number | null;
5205
5686
  totalTimeInMilliseconds?: number | null;
5206
5687
  }
5207
- export declare class ResourceGroupUtilizationV2Dto implements IResourceGroupUtilizationV2Dto {
5688
+ export declare class MachineGroupUtilizationV2Dto implements IMachineGroupUtilizationV2Dto {
5208
5689
  name: string;
5209
5690
  utilization: UtilizationDetailsV2Dto;
5210
- resources: ResourceUtilizationV3Dto[];
5211
- constructor(data?: IResourceGroupUtilizationV2Dto);
5691
+ machines: MachineUtilizationV3Dto[];
5692
+ constructor(data?: IMachineGroupUtilizationV2Dto);
5212
5693
  init(_data?: any): void;
5213
- static fromJS(data: any): ResourceGroupUtilizationV2Dto;
5694
+ static fromJS(data: any): MachineGroupUtilizationV2Dto;
5214
5695
  toJSON(data?: any): any;
5215
5696
  }
5216
- export interface IResourceGroupUtilizationV2Dto {
5697
+ export interface IMachineGroupUtilizationV2Dto {
5217
5698
  name: string;
5218
5699
  utilization: UtilizationDetailsV2Dto;
5219
- resources: ResourceUtilizationV3Dto[];
5700
+ machines: MachineUtilizationV3Dto[];
5220
5701
  }
5221
- export declare class ResourceUtilizationV3Dto implements IResourceUtilizationV3Dto {
5702
+ export declare class MachineUtilizationV3Dto implements IMachineUtilizationV3Dto {
5222
5703
  id?: number;
5223
5704
  name: string;
5224
5705
  description?: string | null;
5225
5706
  utilization: UtilizationDetailsV2Dto;
5226
- constructor(data?: IResourceUtilizationV3Dto);
5707
+ constructor(data?: IMachineUtilizationV3Dto);
5227
5708
  init(_data?: any): void;
5228
- static fromJS(data: any): ResourceUtilizationV3Dto;
5709
+ static fromJS(data: any): MachineUtilizationV3Dto;
5229
5710
  toJSON(data?: any): any;
5230
5711
  }
5231
- export interface IResourceUtilizationV3Dto {
5712
+ export interface IMachineUtilizationV3Dto {
5232
5713
  id?: number;
5233
5714
  name: string;
5234
5715
  description?: string | null;
5235
5716
  utilization: UtilizationDetailsV2Dto;
5236
5717
  }
5237
- export declare class CrossCompanyResourceUtilizationDto implements ICrossCompanyResourceUtilizationDto {
5238
- utilizationType: ResourceUtilizationTypeDto;
5718
+ export declare class CrossCompanyUtilizationDto implements ICrossCompanyUtilizationDto {
5719
+ utilizationType: UtilizationTypeDto;
5239
5720
  crossCompanyUtilization: UtilizationDetailsV2Dto;
5240
- companies: NamedCompanyResourceUtilizationDto[];
5241
- constructor(data?: ICrossCompanyResourceUtilizationDto);
5721
+ companies: NamedCompanyUtilizationDto[];
5722
+ constructor(data?: ICrossCompanyUtilizationDto);
5242
5723
  init(_data?: any): void;
5243
- static fromJS(data: any): CrossCompanyResourceUtilizationDto;
5724
+ static fromJS(data: any): CrossCompanyUtilizationDto;
5244
5725
  toJSON(data?: any): any;
5245
5726
  }
5246
- export interface ICrossCompanyResourceUtilizationDto {
5247
- utilizationType: ResourceUtilizationTypeDto;
5727
+ export interface ICrossCompanyUtilizationDto {
5728
+ utilizationType: UtilizationTypeDto;
5248
5729
  crossCompanyUtilization: UtilizationDetailsV2Dto;
5249
- companies: NamedCompanyResourceUtilizationDto[];
5730
+ companies: NamedCompanyUtilizationDto[];
5250
5731
  }
5251
- export declare class NamedCompanyResourceUtilizationDto extends CompanyResourceUtilizationDto implements INamedCompanyResourceUtilizationDto {
5732
+ export declare class NamedCompanyUtilizationDto extends CompanyUtilizationDto implements INamedCompanyUtilizationDto {
5252
5733
  companyId: string;
5253
5734
  companyName: string;
5254
- constructor(data?: INamedCompanyResourceUtilizationDto);
5735
+ constructor(data?: INamedCompanyUtilizationDto);
5255
5736
  init(_data?: any): void;
5256
- static fromJS(data: any): NamedCompanyResourceUtilizationDto;
5737
+ static fromJS(data: any): NamedCompanyUtilizationDto;
5257
5738
  toJSON(data?: any): any;
5258
5739
  }
5259
- export interface INamedCompanyResourceUtilizationDto extends ICompanyResourceUtilizationDto {
5740
+ export interface INamedCompanyUtilizationDto extends ICompanyUtilizationDto {
5260
5741
  companyId: string;
5261
5742
  companyName: string;
5262
5743
  }
@@ -5274,120 +5755,256 @@ export interface IUtilizationDatapointListDto {
5274
5755
  trendDatapoints?: NumericNullableValueWithTimestamp[];
5275
5756
  linearTrendDatapoints?: NumericNullableValueWithTimestamp[];
5276
5757
  }
5277
- export declare class ResourceUtilizationDatapointListDto extends UtilizationDatapointListDto implements IResourceUtilizationDatapointListDto {
5758
+ export declare class MachineUtilizationDatapointListDto extends UtilizationDatapointListDto implements IMachineUtilizationDatapointListDto {
5278
5759
  externalId: string;
5279
5760
  id: number;
5280
5761
  name: string;
5281
5762
  description?: string | null;
5282
- constructor(data?: IResourceUtilizationDatapointListDto);
5763
+ constructor(data?: IMachineUtilizationDatapointListDto);
5283
5764
  init(_data?: any): void;
5284
- static fromJS(data: any): ResourceUtilizationDatapointListDto;
5765
+ static fromJS(data: any): MachineUtilizationDatapointListDto;
5285
5766
  toJSON(data?: any): any;
5286
5767
  }
5287
- export interface IResourceUtilizationDatapointListDto extends IUtilizationDatapointListDto {
5768
+ export interface IMachineUtilizationDatapointListDto extends IUtilizationDatapointListDto {
5288
5769
  externalId: string;
5289
5770
  id: number;
5290
5771
  name: string;
5291
5772
  description?: string | null;
5292
5773
  }
5293
- export declare class CompanyResourceUtilizationDatapointListDto extends UtilizationDatapointListDto implements ICompanyResourceUtilizationDatapointListDto {
5294
- groups?: ResourceGroupUtilizationDatapointListDto[];
5295
- ungroupedResources?: ResourceUtilizationDatapointListDto[];
5296
- constructor(data?: ICompanyResourceUtilizationDatapointListDto);
5774
+ export declare class CompanyUtilizationDatapointListDto extends UtilizationDatapointListDto implements ICompanyUtilizationDatapointListDto {
5775
+ groups?: MachineGroupUtilizationDatapointListDto[];
5776
+ ungroupedMachines?: MachineUtilizationDatapointListDto[];
5777
+ constructor(data?: ICompanyUtilizationDatapointListDto);
5297
5778
  init(_data?: any): void;
5298
- static fromJS(data: any): CompanyResourceUtilizationDatapointListDto;
5779
+ static fromJS(data: any): CompanyUtilizationDatapointListDto;
5299
5780
  toJSON(data?: any): any;
5300
5781
  }
5301
- export interface ICompanyResourceUtilizationDatapointListDto extends IUtilizationDatapointListDto {
5302
- groups?: ResourceGroupUtilizationDatapointListDto[];
5303
- ungroupedResources?: ResourceUtilizationDatapointListDto[];
5782
+ export interface ICompanyUtilizationDatapointListDto extends IUtilizationDatapointListDto {
5783
+ groups?: MachineGroupUtilizationDatapointListDto[];
5784
+ ungroupedMachines?: MachineUtilizationDatapointListDto[];
5304
5785
  }
5305
- export declare class ResourceGroupUtilizationDatapointListDto extends UtilizationDatapointListDto implements IResourceGroupUtilizationDatapointListDto {
5786
+ export declare class MachineGroupUtilizationDatapointListDto extends UtilizationDatapointListDto implements IMachineGroupUtilizationDatapointListDto {
5306
5787
  groupId: string;
5307
5788
  groupName: string;
5308
- resources?: ResourceUtilizationDatapointListDto[];
5309
- constructor(data?: IResourceGroupUtilizationDatapointListDto);
5789
+ machines?: MachineUtilizationDatapointListDto[];
5790
+ constructor(data?: IMachineGroupUtilizationDatapointListDto);
5310
5791
  init(_data?: any): void;
5311
- static fromJS(data: any): ResourceGroupUtilizationDatapointListDto;
5792
+ static fromJS(data: any): MachineGroupUtilizationDatapointListDto;
5312
5793
  toJSON(data?: any): any;
5313
5794
  }
5314
- export interface IResourceGroupUtilizationDatapointListDto extends IUtilizationDatapointListDto {
5795
+ export interface IMachineGroupUtilizationDatapointListDto extends IUtilizationDatapointListDto {
5315
5796
  groupId: string;
5316
5797
  groupName: string;
5317
- resources?: ResourceUtilizationDatapointListDto[];
5798
+ machines?: MachineUtilizationDatapointListDto[];
5318
5799
  }
5319
- export declare class CrossCompanyResourceUtilizationDatapointListDto extends UtilizationDatapointListDto implements ICrossCompanyResourceUtilizationDatapointListDto {
5320
- companies?: NamedCompanyResourceUtilizationDatapointListDto[];
5321
- constructor(data?: ICrossCompanyResourceUtilizationDatapointListDto);
5800
+ export declare class CrossCompanyUtilizationDatapointListDto extends UtilizationDatapointListDto implements ICrossCompanyUtilizationDatapointListDto {
5801
+ companies?: NamedCompanyUtilizationDatapointListDto[];
5802
+ constructor(data?: ICrossCompanyUtilizationDatapointListDto);
5322
5803
  init(_data?: any): void;
5323
- static fromJS(data: any): CrossCompanyResourceUtilizationDatapointListDto;
5804
+ static fromJS(data: any): CrossCompanyUtilizationDatapointListDto;
5324
5805
  toJSON(data?: any): any;
5325
5806
  }
5326
- export interface ICrossCompanyResourceUtilizationDatapointListDto extends IUtilizationDatapointListDto {
5327
- companies?: NamedCompanyResourceUtilizationDatapointListDto[];
5807
+ export interface ICrossCompanyUtilizationDatapointListDto extends IUtilizationDatapointListDto {
5808
+ companies?: NamedCompanyUtilizationDatapointListDto[];
5328
5809
  }
5329
- export declare class NamedCompanyResourceUtilizationDatapointListDto extends CompanyResourceUtilizationDatapointListDto implements INamedCompanyResourceUtilizationDatapointListDto {
5810
+ export declare class NamedCompanyUtilizationDatapointListDto extends CompanyUtilizationDatapointListDto implements INamedCompanyUtilizationDatapointListDto {
5330
5811
  companyId: string;
5331
5812
  companyName: string;
5332
- constructor(data?: INamedCompanyResourceUtilizationDatapointListDto);
5813
+ constructor(data?: INamedCompanyUtilizationDatapointListDto);
5333
5814
  init(_data?: any): void;
5334
- static fromJS(data: any): NamedCompanyResourceUtilizationDatapointListDto;
5815
+ static fromJS(data: any): NamedCompanyUtilizationDatapointListDto;
5335
5816
  toJSON(data?: any): any;
5336
5817
  }
5337
- export interface INamedCompanyResourceUtilizationDatapointListDto extends ICompanyResourceUtilizationDatapointListDto {
5818
+ export interface INamedCompanyUtilizationDatapointListDto extends ICompanyUtilizationDatapointListDto {
5338
5819
  companyId: string;
5339
5820
  companyName: string;
5340
5821
  }
5341
- export declare class MrbInstanceDto implements IMrbInstanceDto {
5342
- id: string;
5343
- title?: string | null;
5344
- customerId?: string | null;
5345
- customerName?: string | null;
5346
- customerOrder: string;
5347
- customerOrderLine: number;
5348
- externalOrderNumber?: string | null;
5349
- traces: CustomerOrderLineTraceItemDto[];
5350
- mrbTemplateId?: string | null;
5351
- mrbTemplateName?: string | null;
5352
- mrbJobId?: string | null;
5353
- mrbExportJobId?: string | null;
5354
- status?: MrbStatusDto | null;
5355
- latestRevision?: MrbInstanceRevisionDto | null;
5356
- part?: MrbPartDto | null;
5357
- showSerialNumbersOnFrontPage?: boolean;
5358
- showSerialNumbersOnCoC?: boolean;
5359
- constructor(data?: IMrbInstanceDto);
5822
+ export declare class CompanyResourceUtilizationDto implements ICompanyResourceUtilizationDto {
5823
+ utilizationType: ResourceUtilizationTypeDto;
5824
+ companyUtilization: UtilizationDetailsV2Dto;
5825
+ groups: ResourceGroupUtilizationV2Dto[];
5826
+ ungroupedResources: ResourceUtilizationV3Dto[];
5827
+ constructor(data?: ICompanyResourceUtilizationDto);
5360
5828
  init(_data?: any): void;
5361
- static fromJS(data: any): MrbInstanceDto;
5829
+ static fromJS(data: any): CompanyResourceUtilizationDto;
5362
5830
  toJSON(data?: any): any;
5363
5831
  }
5364
- export interface IMrbInstanceDto {
5365
- id: string;
5366
- title?: string | null;
5367
- customerId?: string | null;
5368
- customerName?: string | null;
5369
- customerOrder: string;
5370
- customerOrderLine: number;
5371
- externalOrderNumber?: string | null;
5372
- traces: CustomerOrderLineTraceItemDto[];
5373
- mrbTemplateId?: string | null;
5374
- mrbTemplateName?: string | null;
5375
- mrbJobId?: string | null;
5376
- mrbExportJobId?: string | null;
5377
- status?: MrbStatusDto | null;
5378
- latestRevision?: MrbInstanceRevisionDto | null;
5379
- part?: MrbPartDto | null;
5380
- showSerialNumbersOnFrontPage?: boolean;
5381
- showSerialNumbersOnCoC?: boolean;
5382
- }
5383
- export declare class CustomerOrderLineTraceItemDto implements ICustomerOrderLineTraceItemDto {
5384
- workOrder: string;
5385
- sequence: string;
5386
- serialNumber?: string | null;
5387
- constructor(data?: ICustomerOrderLineTraceItemDto);
5388
- init(_data?: any): void;
5389
- static fromJS(data: any): CustomerOrderLineTraceItemDto;
5390
- toJSON(data?: any): any;
5832
+ export interface ICompanyResourceUtilizationDto {
5833
+ utilizationType: ResourceUtilizationTypeDto;
5834
+ companyUtilization: UtilizationDetailsV2Dto;
5835
+ groups: ResourceGroupUtilizationV2Dto[];
5836
+ ungroupedResources: ResourceUtilizationV3Dto[];
5837
+ }
5838
+ export declare class ResourceGroupUtilizationV2Dto implements IResourceGroupUtilizationV2Dto {
5839
+ name: string;
5840
+ utilization: UtilizationDetailsV2Dto;
5841
+ resources: ResourceUtilizationV3Dto[];
5842
+ constructor(data?: IResourceGroupUtilizationV2Dto);
5843
+ init(_data?: any): void;
5844
+ static fromJS(data: any): ResourceGroupUtilizationV2Dto;
5845
+ toJSON(data?: any): any;
5846
+ }
5847
+ export interface IResourceGroupUtilizationV2Dto {
5848
+ name: string;
5849
+ utilization: UtilizationDetailsV2Dto;
5850
+ resources: ResourceUtilizationV3Dto[];
5851
+ }
5852
+ export declare class ResourceUtilizationV3Dto implements IResourceUtilizationV3Dto {
5853
+ id?: number;
5854
+ name: string;
5855
+ description?: string | null;
5856
+ utilization: UtilizationDetailsV2Dto;
5857
+ constructor(data?: IResourceUtilizationV3Dto);
5858
+ init(_data?: any): void;
5859
+ static fromJS(data: any): ResourceUtilizationV3Dto;
5860
+ toJSON(data?: any): any;
5861
+ }
5862
+ export interface IResourceUtilizationV3Dto {
5863
+ id?: number;
5864
+ name: string;
5865
+ description?: string | null;
5866
+ utilization: UtilizationDetailsV2Dto;
5867
+ }
5868
+ export declare class CrossCompanyResourceUtilizationDto implements ICrossCompanyResourceUtilizationDto {
5869
+ utilizationType: ResourceUtilizationTypeDto;
5870
+ crossCompanyUtilization: UtilizationDetailsV2Dto;
5871
+ companies: NamedCompanyResourceUtilizationDto[];
5872
+ constructor(data?: ICrossCompanyResourceUtilizationDto);
5873
+ init(_data?: any): void;
5874
+ static fromJS(data: any): CrossCompanyResourceUtilizationDto;
5875
+ toJSON(data?: any): any;
5876
+ }
5877
+ export interface ICrossCompanyResourceUtilizationDto {
5878
+ utilizationType: ResourceUtilizationTypeDto;
5879
+ crossCompanyUtilization: UtilizationDetailsV2Dto;
5880
+ companies: NamedCompanyResourceUtilizationDto[];
5881
+ }
5882
+ export declare class NamedCompanyResourceUtilizationDto extends CompanyResourceUtilizationDto implements INamedCompanyResourceUtilizationDto {
5883
+ companyId: string;
5884
+ companyName: string;
5885
+ constructor(data?: INamedCompanyResourceUtilizationDto);
5886
+ init(_data?: any): void;
5887
+ static fromJS(data: any): NamedCompanyResourceUtilizationDto;
5888
+ toJSON(data?: any): any;
5889
+ }
5890
+ export interface INamedCompanyResourceUtilizationDto extends ICompanyResourceUtilizationDto {
5891
+ companyId: string;
5892
+ companyName: string;
5893
+ }
5894
+ export declare class ResourceUtilizationDatapointListDto extends UtilizationDatapointListDto implements IResourceUtilizationDatapointListDto {
5895
+ externalId: string;
5896
+ id: number;
5897
+ name: string;
5898
+ description?: string | null;
5899
+ constructor(data?: IResourceUtilizationDatapointListDto);
5900
+ init(_data?: any): void;
5901
+ static fromJS(data: any): ResourceUtilizationDatapointListDto;
5902
+ toJSON(data?: any): any;
5903
+ }
5904
+ export interface IResourceUtilizationDatapointListDto extends IUtilizationDatapointListDto {
5905
+ externalId: string;
5906
+ id: number;
5907
+ name: string;
5908
+ description?: string | null;
5909
+ }
5910
+ export declare class CompanyResourceUtilizationDatapointListDto extends UtilizationDatapointListDto implements ICompanyResourceUtilizationDatapointListDto {
5911
+ groups?: ResourceGroupUtilizationDatapointListDto[];
5912
+ ungroupedResources?: ResourceUtilizationDatapointListDto[];
5913
+ constructor(data?: ICompanyResourceUtilizationDatapointListDto);
5914
+ init(_data?: any): void;
5915
+ static fromJS(data: any): CompanyResourceUtilizationDatapointListDto;
5916
+ toJSON(data?: any): any;
5917
+ }
5918
+ export interface ICompanyResourceUtilizationDatapointListDto extends IUtilizationDatapointListDto {
5919
+ groups?: ResourceGroupUtilizationDatapointListDto[];
5920
+ ungroupedResources?: ResourceUtilizationDatapointListDto[];
5921
+ }
5922
+ export declare class ResourceGroupUtilizationDatapointListDto extends UtilizationDatapointListDto implements IResourceGroupUtilizationDatapointListDto {
5923
+ groupId: string;
5924
+ groupName: string;
5925
+ resources?: ResourceUtilizationDatapointListDto[];
5926
+ constructor(data?: IResourceGroupUtilizationDatapointListDto);
5927
+ init(_data?: any): void;
5928
+ static fromJS(data: any): ResourceGroupUtilizationDatapointListDto;
5929
+ toJSON(data?: any): any;
5930
+ }
5931
+ export interface IResourceGroupUtilizationDatapointListDto extends IUtilizationDatapointListDto {
5932
+ groupId: string;
5933
+ groupName: string;
5934
+ resources?: ResourceUtilizationDatapointListDto[];
5935
+ }
5936
+ export declare class CrossCompanyResourceUtilizationDatapointListDto extends UtilizationDatapointListDto implements ICrossCompanyResourceUtilizationDatapointListDto {
5937
+ companies?: NamedCompanyResourceUtilizationDatapointListDto[];
5938
+ constructor(data?: ICrossCompanyResourceUtilizationDatapointListDto);
5939
+ init(_data?: any): void;
5940
+ static fromJS(data: any): CrossCompanyResourceUtilizationDatapointListDto;
5941
+ toJSON(data?: any): any;
5942
+ }
5943
+ export interface ICrossCompanyResourceUtilizationDatapointListDto extends IUtilizationDatapointListDto {
5944
+ companies?: NamedCompanyResourceUtilizationDatapointListDto[];
5945
+ }
5946
+ export declare class NamedCompanyResourceUtilizationDatapointListDto extends CompanyResourceUtilizationDatapointListDto implements INamedCompanyResourceUtilizationDatapointListDto {
5947
+ companyId: string;
5948
+ companyName: string;
5949
+ constructor(data?: INamedCompanyResourceUtilizationDatapointListDto);
5950
+ init(_data?: any): void;
5951
+ static fromJS(data: any): NamedCompanyResourceUtilizationDatapointListDto;
5952
+ toJSON(data?: any): any;
5953
+ }
5954
+ export interface INamedCompanyResourceUtilizationDatapointListDto extends ICompanyResourceUtilizationDatapointListDto {
5955
+ companyId: string;
5956
+ companyName: string;
5957
+ }
5958
+ export declare class MrbInstanceDto implements IMrbInstanceDto {
5959
+ id: string;
5960
+ title?: string | null;
5961
+ customerId?: string | null;
5962
+ customerName?: string | null;
5963
+ customerOrder: string;
5964
+ customerOrderLine: number;
5965
+ externalOrderNumber?: string | null;
5966
+ traces: CustomerOrderLineTraceItemDto[];
5967
+ mrbTemplateId?: string | null;
5968
+ mrbTemplateName?: string | null;
5969
+ mrbJobId?: string | null;
5970
+ mrbExportJobId?: string | null;
5971
+ status?: MrbStatusDto | null;
5972
+ latestRevision?: MrbInstanceRevisionDto | null;
5973
+ part?: MrbPartDto | null;
5974
+ showSerialNumbersOnFrontPage?: boolean;
5975
+ showSerialNumbersOnCoC?: boolean;
5976
+ constructor(data?: IMrbInstanceDto);
5977
+ init(_data?: any): void;
5978
+ static fromJS(data: any): MrbInstanceDto;
5979
+ toJSON(data?: any): any;
5980
+ }
5981
+ export interface IMrbInstanceDto {
5982
+ id: string;
5983
+ title?: string | null;
5984
+ customerId?: string | null;
5985
+ customerName?: string | null;
5986
+ customerOrder: string;
5987
+ customerOrderLine: number;
5988
+ externalOrderNumber?: string | null;
5989
+ traces: CustomerOrderLineTraceItemDto[];
5990
+ mrbTemplateId?: string | null;
5991
+ mrbTemplateName?: string | null;
5992
+ mrbJobId?: string | null;
5993
+ mrbExportJobId?: string | null;
5994
+ status?: MrbStatusDto | null;
5995
+ latestRevision?: MrbInstanceRevisionDto | null;
5996
+ part?: MrbPartDto | null;
5997
+ showSerialNumbersOnFrontPage?: boolean;
5998
+ showSerialNumbersOnCoC?: boolean;
5999
+ }
6000
+ export declare class CustomerOrderLineTraceItemDto implements ICustomerOrderLineTraceItemDto {
6001
+ workOrder: string;
6002
+ sequence: string;
6003
+ serialNumber?: string | null;
6004
+ constructor(data?: ICustomerOrderLineTraceItemDto);
6005
+ init(_data?: any): void;
6006
+ static fromJS(data: any): CustomerOrderLineTraceItemDto;
6007
+ toJSON(data?: any): any;
5391
6008
  }
5392
6009
  export interface ICustomerOrderLineTraceItemDto {
5393
6010
  workOrder: string;
@@ -7017,81 +7634,623 @@ export interface IMeasuringToolSettingsDto {
7017
7634
  disableUserDefinedIdentifiersForCalibratedTools: boolean;
7018
7635
  disableUserDefinedIdentifiersForUncalibratedTools: boolean;
7019
7636
  }
7020
- export declare class LinkDto implements ILinkDto {
7637
+ export declare class DowntimeReasonDto implements IDowntimeReasonDto {
7021
7638
  id: string;
7022
- uri: string;
7023
- name: string;
7639
+ reason: string;
7640
+ machineTypes: string[];
7641
+ machineGroups: string[];
7642
+ reasonType: DowntimeReasonTypeDto;
7024
7643
  description?: string | null;
7025
- newTab?: boolean;
7026
- color?: string | null;
7027
- iconName?: string | null;
7028
- scope?: string | null;
7029
- constructor(data?: ILinkDto);
7644
+ parentId?: string | null;
7645
+ displayOrder?: number | null;
7646
+ constructor(data?: IDowntimeReasonDto);
7030
7647
  init(_data?: any): void;
7031
- static fromJS(data: any): LinkDto;
7648
+ static fromJS(data: any): DowntimeReasonDto;
7032
7649
  toJSON(data?: any): any;
7033
7650
  }
7034
- export interface ILinkDto {
7651
+ export interface IDowntimeReasonDto {
7035
7652
  id: string;
7036
- uri: string;
7037
- name: string;
7653
+ reason: string;
7654
+ machineTypes: string[];
7655
+ machineGroups: string[];
7656
+ reasonType: DowntimeReasonTypeDto;
7038
7657
  description?: string | null;
7039
- newTab?: boolean;
7040
- color?: string | null;
7041
- iconName?: string | null;
7042
- scope?: string | null;
7658
+ parentId?: string | null;
7659
+ displayOrder?: number | null;
7043
7660
  }
7044
- export declare class CreateLinkRequest implements ICreateLinkRequest {
7045
- uri: string;
7046
- name: string;
7661
+ export declare class CreateDowntimeReason implements ICreateDowntimeReason {
7662
+ reason: string;
7663
+ machineTypes: string[];
7664
+ machineGroups?: string[] | null;
7665
+ reasonType: DowntimeReasonTypeDto;
7047
7666
  description?: string | null;
7048
- newTab?: boolean | null;
7049
- color?: string | null;
7050
- iconName?: string | null;
7051
- scope?: string | null;
7052
- constructor(data?: ICreateLinkRequest);
7667
+ parentId?: string | null;
7668
+ displayBeforeId?: string | null;
7669
+ constructor(data?: ICreateDowntimeReason);
7053
7670
  init(_data?: any): void;
7054
- static fromJS(data: any): CreateLinkRequest;
7671
+ static fromJS(data: any): CreateDowntimeReason;
7055
7672
  toJSON(data?: any): any;
7056
7673
  }
7057
- export interface ICreateLinkRequest {
7058
- uri: string;
7059
- name: string;
7674
+ export interface ICreateDowntimeReason {
7675
+ reason: string;
7676
+ machineTypes: string[];
7677
+ machineGroups?: string[] | null;
7678
+ reasonType: DowntimeReasonTypeDto;
7060
7679
  description?: string | null;
7061
- newTab?: boolean | null;
7062
- color?: string | null;
7063
- iconName?: string | null;
7064
- scope?: string | null;
7680
+ parentId?: string | null;
7681
+ displayBeforeId?: string | null;
7065
7682
  }
7066
- export declare class ExternalServiceCredentialDto implements IExternalServiceCredentialDto {
7067
- clientId: string;
7068
- clientSecret: string;
7069
- constructor(data?: IExternalServiceCredentialDto);
7683
+ export declare class UpdateDowntimeReasonRequest implements IUpdateDowntimeReasonRequest {
7684
+ reason: string;
7685
+ machineTypes: string[];
7686
+ machineGroups?: string[] | null;
7687
+ reasonType: DowntimeReasonTypeDto;
7688
+ description?: string | null;
7689
+ parentId?: string | null;
7690
+ displayBeforeId?: string | null;
7691
+ constructor(data?: IUpdateDowntimeReasonRequest);
7070
7692
  init(_data?: any): void;
7071
- static fromJS(data: any): ExternalServiceCredentialDto;
7693
+ static fromJS(data: any): UpdateDowntimeReasonRequest;
7072
7694
  toJSON(data?: any): any;
7073
7695
  }
7074
- export interface IExternalServiceCredentialDto {
7075
- clientId: string;
7076
- clientSecret: string;
7696
+ export interface IUpdateDowntimeReasonRequest {
7697
+ reason: string;
7698
+ machineTypes: string[];
7699
+ machineGroups?: string[] | null;
7700
+ reasonType: DowntimeReasonTypeDto;
7701
+ description?: string | null;
7702
+ parentId?: string | null;
7703
+ displayBeforeId?: string | null;
7077
7704
  }
7078
- export type ExternalServiceName = "DbExtractor" | "MtConnectExtractor" | "MqttConnector";
7079
- export declare class ImportDocumentResultDto implements IImportDocumentResultDto {
7080
- id: string;
7081
- documentType: string;
7082
- constructor(data?: IImportDocumentResultDto);
7705
+ export declare class MachineTypeDto implements IMachineTypeDto {
7706
+ machineType: string;
7707
+ constructor(data?: IMachineTypeDto);
7083
7708
  init(_data?: any): void;
7084
- static fromJS(data: any): ImportDocumentResultDto;
7709
+ static fromJS(data: any): MachineTypeDto;
7085
7710
  toJSON(data?: any): any;
7086
7711
  }
7087
- export interface IImportDocumentResultDto {
7712
+ export interface IMachineTypeDto {
7713
+ machineType: string;
7714
+ }
7715
+ export declare class ParentTopicDto implements IParentTopicDto {
7088
7716
  id: string;
7089
- documentType: string;
7717
+ name: string;
7718
+ description?: string | null;
7719
+ displayOrder?: number;
7720
+ subReasons?: DowntimeReasonDto[];
7721
+ constructor(data?: IParentTopicDto);
7722
+ init(_data?: any): void;
7723
+ static fromJS(data: any): ParentTopicDto;
7724
+ toJSON(data?: any): any;
7090
7725
  }
7091
- export declare class ImportDocument implements IImportDocument {
7726
+ export interface IParentTopicDto {
7092
7727
  id: string;
7093
- documentTypeId: string;
7094
- customerId?: string | null;
7728
+ name: string;
7729
+ description?: string | null;
7730
+ displayOrder?: number;
7731
+ subReasons?: DowntimeReasonDto[];
7732
+ }
7733
+ export declare class CreateParentTopicRequest implements ICreateParentTopicRequest {
7734
+ name: string;
7735
+ description?: string | null;
7736
+ displayBeforeId?: string | null;
7737
+ constructor(data?: ICreateParentTopicRequest);
7738
+ init(_data?: any): void;
7739
+ static fromJS(data: any): CreateParentTopicRequest;
7740
+ toJSON(data?: any): any;
7741
+ }
7742
+ export interface ICreateParentTopicRequest {
7743
+ name: string;
7744
+ description?: string | null;
7745
+ displayBeforeId?: string | null;
7746
+ }
7747
+ export declare class UpdateParentTopicRequest implements IUpdateParentTopicRequest {
7748
+ name: string;
7749
+ description?: string | null;
7750
+ displayBeforeId?: string | null;
7751
+ constructor(data?: IUpdateParentTopicRequest);
7752
+ init(_data?: any): void;
7753
+ static fromJS(data: any): UpdateParentTopicRequest;
7754
+ toJSON(data?: any): any;
7755
+ }
7756
+ export interface IUpdateParentTopicRequest {
7757
+ name: string;
7758
+ description?: string | null;
7759
+ displayBeforeId?: string | null;
7760
+ }
7761
+ export declare class UpdateDowntimePeriodReasonRequest implements IUpdateDowntimePeriodReasonRequest {
7762
+ reasonId?: string | null;
7763
+ assetId?: number | null;
7764
+ startTime?: Date | null;
7765
+ endTime?: Date | null;
7766
+ autoCompleteDowntime?: boolean | null;
7767
+ comment?: string | null;
7768
+ constructor(data?: IUpdateDowntimePeriodReasonRequest);
7769
+ init(_data?: any): void;
7770
+ static fromJS(data: any): UpdateDowntimePeriodReasonRequest;
7771
+ toJSON(data?: any): any;
7772
+ }
7773
+ export interface IUpdateDowntimePeriodReasonRequest {
7774
+ reasonId?: string | null;
7775
+ assetId?: number | null;
7776
+ startTime?: Date | null;
7777
+ endTime?: Date | null;
7778
+ autoCompleteDowntime?: boolean | null;
7779
+ comment?: string | null;
7780
+ }
7781
+ export declare class ListTopDowntimeReasonsForResourcesRequest implements IListTopDowntimeReasonsForResourcesRequest {
7782
+ startTime?: Date | null;
7783
+ endTime?: Date | null;
7784
+ resourceExternalIds?: string[] | null;
7785
+ constructor(data?: IListTopDowntimeReasonsForResourcesRequest);
7786
+ init(_data?: any): void;
7787
+ static fromJS(data: any): ListTopDowntimeReasonsForResourcesRequest;
7788
+ toJSON(data?: any): any;
7789
+ }
7790
+ export interface IListTopDowntimeReasonsForResourcesRequest {
7791
+ startTime?: Date | null;
7792
+ endTime?: Date | null;
7793
+ resourceExternalIds?: string[] | null;
7794
+ }
7795
+ export declare class DowntimeReasonsReportDto implements IDowntimeReasonsReportDto {
7796
+ companyId?: string | null;
7797
+ totalDowntimeDurationMilliseconds?: number;
7798
+ downtimeReasons?: DowntimeReasonReport[];
7799
+ constructor(data?: IDowntimeReasonsReportDto);
7800
+ init(_data?: any): void;
7801
+ static fromJS(data: any): DowntimeReasonsReportDto;
7802
+ toJSON(data?: any): any;
7803
+ }
7804
+ export interface IDowntimeReasonsReportDto {
7805
+ companyId?: string | null;
7806
+ totalDowntimeDurationMilliseconds?: number;
7807
+ downtimeReasons?: DowntimeReasonReport[];
7808
+ }
7809
+ export declare class DowntimeReasonReport implements IDowntimeReasonReport {
7810
+ reasonId: string;
7811
+ reasonType: DowntimeReasonTypeDto;
7812
+ reason: string;
7813
+ parentReasonId: string;
7814
+ parentReason: string;
7815
+ totalDurationMilliseconds: number;
7816
+ count: number;
7817
+ details: DowntimeReasonInformation[];
7818
+ constructor(data?: IDowntimeReasonReport);
7819
+ init(_data?: any): void;
7820
+ static fromJS(data: any): DowntimeReasonReport;
7821
+ toJSON(data?: any): any;
7822
+ }
7823
+ export interface IDowntimeReasonReport {
7824
+ reasonId: string;
7825
+ reasonType: DowntimeReasonTypeDto;
7826
+ reason: string;
7827
+ parentReasonId: string;
7828
+ parentReason: string;
7829
+ totalDurationMilliseconds: number;
7830
+ count: number;
7831
+ details: DowntimeReasonInformation[];
7832
+ }
7833
+ export declare class DowntimeReasonInformation implements IDowntimeReasonInformation {
7834
+ downtimeReason: DowntimePeriodReasonDto;
7835
+ machine: string;
7836
+ constructor(data?: IDowntimeReasonInformation);
7837
+ init(_data?: any): void;
7838
+ static fromJS(data: any): DowntimeReasonInformation;
7839
+ toJSON(data?: any): any;
7840
+ }
7841
+ export interface IDowntimeReasonInformation {
7842
+ downtimeReason: DowntimePeriodReasonDto;
7843
+ machine: string;
7844
+ }
7845
+ export declare class CreateDowntimeReasonsReportRequest implements ICreateDowntimeReasonsReportRequest {
7846
+ machineExternalIds?: string[] | null;
7847
+ machineGroupNames?: string[] | null;
7848
+ startTime?: Date | null;
7849
+ endTime?: Date | null;
7850
+ constructor(data?: ICreateDowntimeReasonsReportRequest);
7851
+ init(_data?: any): void;
7852
+ static fromJS(data: any): CreateDowntimeReasonsReportRequest;
7853
+ toJSON(data?: any): any;
7854
+ }
7855
+ export interface ICreateDowntimeReasonsReportRequest {
7856
+ machineExternalIds?: string[] | null;
7857
+ machineGroupNames?: string[] | null;
7858
+ startTime?: Date | null;
7859
+ endTime?: Date | null;
7860
+ }
7861
+ export declare class MachineGroupCapacityDto implements IMachineGroupCapacityDto {
7862
+ machineGroupName: string;
7863
+ machine: MachineCapacityDto[];
7864
+ constructor(data?: IMachineGroupCapacityDto);
7865
+ init(_data?: any): void;
7866
+ static fromJS(data: any): MachineGroupCapacityDto;
7867
+ toJSON(data?: any): any;
7868
+ }
7869
+ export interface IMachineGroupCapacityDto {
7870
+ machineGroupName: string;
7871
+ machine: MachineCapacityDto[];
7872
+ }
7873
+ export declare class MachineCapacityDto implements IMachineCapacityDto {
7874
+ machineExternalId: string;
7875
+ name: string;
7876
+ description?: string | null;
7877
+ comment?: string | null;
7878
+ utilizationPercent: number;
7879
+ capacity: MachineCapacitySettingsDto[];
7880
+ created?: Date | null;
7881
+ updated?: Date | null;
7882
+ updatedBy?: string | null;
7883
+ updatedById?: string | null;
7884
+ constructor(data?: IMachineCapacityDto);
7885
+ init(_data?: any): void;
7886
+ static fromJS(data: any): MachineCapacityDto;
7887
+ toJSON(data?: any): any;
7888
+ }
7889
+ export interface IMachineCapacityDto {
7890
+ machineExternalId: string;
7891
+ name: string;
7892
+ description?: string | null;
7893
+ comment?: string | null;
7894
+ utilizationPercent: number;
7895
+ capacity: MachineCapacitySettingsDto[];
7896
+ created?: Date | null;
7897
+ updated?: Date | null;
7898
+ updatedBy?: string | null;
7899
+ updatedById?: string | null;
7900
+ }
7901
+ export declare class MachineCapacitySettingsDto implements IMachineCapacitySettingsDto {
7902
+ dayIndex: number;
7903
+ capacityHours: number;
7904
+ constructor(data?: IMachineCapacitySettingsDto);
7905
+ init(_data?: any): void;
7906
+ static fromJS(data: any): MachineCapacitySettingsDto;
7907
+ toJSON(data?: any): any;
7908
+ }
7909
+ export interface IMachineCapacitySettingsDto {
7910
+ dayIndex: number;
7911
+ capacityHours: number;
7912
+ }
7913
+ export declare class UpdateMachinesCapacity implements IUpdateMachinesCapacity {
7914
+ machineExternalId: string;
7915
+ comment?: string | null;
7916
+ utilizationPercent?: number | null;
7917
+ capacity?: MachineCapacitySettingsDto[] | null;
7918
+ constructor(data?: IUpdateMachinesCapacity);
7919
+ init(_data?: any): void;
7920
+ static fromJS(data: any): UpdateMachinesCapacity;
7921
+ toJSON(data?: any): any;
7922
+ }
7923
+ export interface IUpdateMachinesCapacity {
7924
+ machineExternalId: string;
7925
+ comment?: string | null;
7926
+ utilizationPercent?: number | null;
7927
+ capacity?: MachineCapacitySettingsDto[] | null;
7928
+ }
7929
+ export declare class MachineKpiDto implements IMachineKpiDto {
7930
+ uptimeToNow: number;
7931
+ uptimeToNowPreviousPeriod: number;
7932
+ averageUpTime: number;
7933
+ uptimeTargetReached: number;
7934
+ days: MachineDayKpiDto[];
7935
+ constructor(data?: IMachineKpiDto);
7936
+ init(_data?: any): void;
7937
+ static fromJS(data: any): MachineKpiDto;
7938
+ toJSON(data?: any): any;
7939
+ }
7940
+ export interface IMachineKpiDto {
7941
+ uptimeToNow: number;
7942
+ uptimeToNowPreviousPeriod: number;
7943
+ averageUpTime: number;
7944
+ uptimeTargetReached: number;
7945
+ days: MachineDayKpiDto[];
7946
+ }
7947
+ export declare class MachineDayKpiDto implements IMachineDayKpiDto {
7948
+ date: Date;
7949
+ uptime: number;
7950
+ utilizationGoal: number;
7951
+ constructor(data?: IMachineDayKpiDto);
7952
+ init(_data?: any): void;
7953
+ static fromJS(data: any): MachineDayKpiDto;
7954
+ toJSON(data?: any): any;
7955
+ }
7956
+ export interface IMachineDayKpiDto {
7957
+ date: Date;
7958
+ uptime: number;
7959
+ utilizationGoal: number;
7960
+ }
7961
+ export declare class MachineDailyUptimeDto implements IMachineDailyUptimeDto {
7962
+ date?: Date;
7963
+ historicUptimeDataPoints?: MachineDailyUptimePointDto[] | null;
7964
+ todayUptimeDataPoints?: MachineDailyUptimePointDto[] | null;
7965
+ constructor(data?: IMachineDailyUptimeDto);
7966
+ init(_data?: any): void;
7967
+ static fromJS(data: any): MachineDailyUptimeDto;
7968
+ toJSON(data?: any): any;
7969
+ }
7970
+ export interface IMachineDailyUptimeDto {
7971
+ date?: Date;
7972
+ historicUptimeDataPoints?: MachineDailyUptimePointDto[] | null;
7973
+ todayUptimeDataPoints?: MachineDailyUptimePointDto[] | null;
7974
+ }
7975
+ export declare class MachineDailyUptimePointDto implements IMachineDailyUptimePointDto {
7976
+ date?: Date;
7977
+ uptime?: number;
7978
+ constructor(data?: IMachineDailyUptimePointDto);
7979
+ init(_data?: any): void;
7980
+ static fromJS(data: any): MachineDailyUptimePointDto;
7981
+ toJSON(data?: any): any;
7982
+ }
7983
+ export interface IMachineDailyUptimePointDto {
7984
+ date?: Date;
7985
+ uptime?: number;
7986
+ }
7987
+ export declare class MachineGroupDto implements IMachineGroupDto {
7988
+ id: string;
7989
+ name: string;
7990
+ companyId?: string | null;
7991
+ machines: MachineGroupMemberDto[];
7992
+ constructor(data?: IMachineGroupDto);
7993
+ init(_data?: any): void;
7994
+ static fromJS(data: any): MachineGroupDto;
7995
+ toJSON(data?: any): any;
7996
+ }
7997
+ export interface IMachineGroupDto {
7998
+ id: string;
7999
+ name: string;
8000
+ companyId?: string | null;
8001
+ machines: MachineGroupMemberDto[];
8002
+ }
8003
+ export declare class MachineGroupMemberDto implements IMachineGroupMemberDto {
8004
+ id: number;
8005
+ externalId: string;
8006
+ name: string;
8007
+ description?: string | null;
8008
+ type?: string | null;
8009
+ constructor(data?: IMachineGroupMemberDto);
8010
+ init(_data?: any): void;
8011
+ static fromJS(data: any): MachineGroupMemberDto;
8012
+ toJSON(data?: any): any;
8013
+ }
8014
+ export interface IMachineGroupMemberDto {
8015
+ id: number;
8016
+ externalId: string;
8017
+ name: string;
8018
+ description?: string | null;
8019
+ type?: string | null;
8020
+ }
8021
+ export declare class CreateMachineGroupResponse implements ICreateMachineGroupResponse {
8022
+ id: string;
8023
+ constructor(data?: ICreateMachineGroupResponse);
8024
+ init(_data?: any): void;
8025
+ static fromJS(data: any): CreateMachineGroupResponse;
8026
+ toJSON(data?: any): any;
8027
+ }
8028
+ export interface ICreateMachineGroupResponse {
8029
+ id: string;
8030
+ }
8031
+ export declare class CreateMachineGroup implements ICreateMachineGroup {
8032
+ name: string;
8033
+ machineExternalIds?: string[] | null;
8034
+ constructor(data?: ICreateMachineGroup);
8035
+ init(_data?: any): void;
8036
+ static fromJS(data: any): CreateMachineGroup;
8037
+ toJSON(data?: any): any;
8038
+ }
8039
+ export interface ICreateMachineGroup {
8040
+ name: string;
8041
+ machineExternalIds?: string[] | null;
8042
+ }
8043
+ export declare class UpdateMachineGroup implements IUpdateMachineGroup {
8044
+ id: string;
8045
+ name: string;
8046
+ machineExternalIds?: string[] | null;
8047
+ constructor(data?: IUpdateMachineGroup);
8048
+ init(_data?: any): void;
8049
+ static fromJS(data: any): UpdateMachineGroup;
8050
+ toJSON(data?: any): any;
8051
+ }
8052
+ export interface IUpdateMachineGroup {
8053
+ id: string;
8054
+ name: string;
8055
+ machineExternalIds?: string[] | null;
8056
+ }
8057
+ export declare class MachineErpDataListDto implements IMachineErpDataListDto {
8058
+ machines: SingleMachineErpDataListDto[];
8059
+ constructor(data?: IMachineErpDataListDto);
8060
+ init(_data?: any): void;
8061
+ static fromJS(data: any): MachineErpDataListDto;
8062
+ toJSON(data?: any): any;
8063
+ }
8064
+ export interface IMachineErpDataListDto {
8065
+ machines: SingleMachineErpDataListDto[];
8066
+ }
8067
+ export declare class SingleMachineErpDataListDto implements ISingleMachineErpDataListDto {
8068
+ assetId: number;
8069
+ name: string;
8070
+ description?: string;
8071
+ activeOrders: MachineErpDataDto[];
8072
+ lastActiveEvent?: WorkorderOperationEventDto | null;
8073
+ downtimePeriodReason?: DowntimePeriodReasonDto | null;
8074
+ constructor(data?: ISingleMachineErpDataListDto);
8075
+ init(_data?: any): void;
8076
+ static fromJS(data: any): SingleMachineErpDataListDto;
8077
+ toJSON(data?: any): any;
8078
+ }
8079
+ export interface ISingleMachineErpDataListDto {
8080
+ assetId: number;
8081
+ name: string;
8082
+ description?: string;
8083
+ activeOrders: MachineErpDataDto[];
8084
+ lastActiveEvent?: WorkorderOperationEventDto | null;
8085
+ downtimePeriodReason?: DowntimePeriodReasonDto | null;
8086
+ }
8087
+ export declare class MachineErpDataDto implements IMachineErpDataDto {
8088
+ workOrderId: string;
8089
+ part: PartDto;
8090
+ quantity: number;
8091
+ producedQuantity: number;
8092
+ scrappedQuantity: number;
8093
+ operation: number;
8094
+ plannedTime: number;
8095
+ usedTime: number;
8096
+ startTime: Date;
8097
+ unit?: string | null;
8098
+ customerOrderReference?: WorkorderCustomerOrderReferenceDto | null;
8099
+ workOrderDescription?: string | null;
8100
+ operationDescription?: string;
8101
+ project?: WorkOrderProjectDto | null;
8102
+ constructor(data?: IMachineErpDataDto);
8103
+ init(_data?: any): void;
8104
+ static fromJS(data: any): MachineErpDataDto;
8105
+ toJSON(data?: any): any;
8106
+ }
8107
+ export interface IMachineErpDataDto {
8108
+ workOrderId: string;
8109
+ part: PartDto;
8110
+ quantity: number;
8111
+ producedQuantity: number;
8112
+ scrappedQuantity: number;
8113
+ operation: number;
8114
+ plannedTime: number;
8115
+ usedTime: number;
8116
+ startTime: Date;
8117
+ unit?: string | null;
8118
+ customerOrderReference?: WorkorderCustomerOrderReferenceDto | null;
8119
+ workOrderDescription?: string | null;
8120
+ operationDescription?: string;
8121
+ project?: WorkOrderProjectDto | null;
8122
+ }
8123
+ export declare class UtilizationSummaryDto implements IUtilizationSummaryDto {
8124
+ factory: FactoryUtilizationDto;
8125
+ groups: MachineGroupUtilizationDto[];
8126
+ ungroupedMachines: MachineUtilizationV2Dto[];
8127
+ constructor(data?: IUtilizationSummaryDto);
8128
+ init(_data?: any): void;
8129
+ static fromJS(data: any): UtilizationSummaryDto;
8130
+ toJSON(data?: any): any;
8131
+ }
8132
+ export interface IUtilizationSummaryDto {
8133
+ factory: FactoryUtilizationDto;
8134
+ groups: MachineGroupUtilizationDto[];
8135
+ ungroupedMachines: MachineUtilizationV2Dto[];
8136
+ }
8137
+ export declare class MachineGroupUtilizationDto implements IMachineGroupUtilizationDto {
8138
+ name: string;
8139
+ utilization: UtilizationDto;
8140
+ machines: MachineUtilizationV2Dto[];
8141
+ constructor(data?: IMachineGroupUtilizationDto);
8142
+ init(_data?: any): void;
8143
+ static fromJS(data: any): MachineGroupUtilizationDto;
8144
+ toJSON(data?: any): any;
8145
+ }
8146
+ export interface IMachineGroupUtilizationDto {
8147
+ name: string;
8148
+ utilization: UtilizationDto;
8149
+ machines: MachineUtilizationV2Dto[];
8150
+ }
8151
+ export declare class MachineUtilizationV2Dto implements IMachineUtilizationV2Dto {
8152
+ id?: number;
8153
+ name: string;
8154
+ description?: string | null;
8155
+ utilization: UtilizationDto;
8156
+ constructor(data?: IMachineUtilizationV2Dto);
8157
+ init(_data?: any): void;
8158
+ static fromJS(data: any): MachineUtilizationV2Dto;
8159
+ toJSON(data?: any): any;
8160
+ }
8161
+ export interface IMachineUtilizationV2Dto {
8162
+ id?: number;
8163
+ name: string;
8164
+ description?: string | null;
8165
+ utilization: UtilizationDto;
8166
+ }
8167
+ export declare class CrossCompanyUtilizationSummaryDto implements ICrossCompanyUtilizationSummaryDto {
8168
+ crossCompany: FactoryUtilizationDto;
8169
+ companies: MachineGroupUtilizationDto[];
8170
+ constructor(data?: ICrossCompanyUtilizationSummaryDto);
8171
+ init(_data?: any): void;
8172
+ static fromJS(data: any): CrossCompanyUtilizationSummaryDto;
8173
+ toJSON(data?: any): any;
8174
+ }
8175
+ export interface ICrossCompanyUtilizationSummaryDto {
8176
+ crossCompany: FactoryUtilizationDto;
8177
+ companies: MachineGroupUtilizationDto[];
8178
+ }
8179
+ export declare class LinkDto implements ILinkDto {
8180
+ id: string;
8181
+ uri: string;
8182
+ name: string;
8183
+ description?: string | null;
8184
+ newTab?: boolean;
8185
+ color?: string | null;
8186
+ iconName?: string | null;
8187
+ scope?: string | null;
8188
+ constructor(data?: ILinkDto);
8189
+ init(_data?: any): void;
8190
+ static fromJS(data: any): LinkDto;
8191
+ toJSON(data?: any): any;
8192
+ }
8193
+ export interface ILinkDto {
8194
+ id: string;
8195
+ uri: string;
8196
+ name: string;
8197
+ description?: string | null;
8198
+ newTab?: boolean;
8199
+ color?: string | null;
8200
+ iconName?: string | null;
8201
+ scope?: string | null;
8202
+ }
8203
+ export declare class CreateLinkRequest implements ICreateLinkRequest {
8204
+ uri: string;
8205
+ name: string;
8206
+ description?: string | null;
8207
+ newTab?: boolean | null;
8208
+ color?: string | null;
8209
+ iconName?: string | null;
8210
+ scope?: string | null;
8211
+ constructor(data?: ICreateLinkRequest);
8212
+ init(_data?: any): void;
8213
+ static fromJS(data: any): CreateLinkRequest;
8214
+ toJSON(data?: any): any;
8215
+ }
8216
+ export interface ICreateLinkRequest {
8217
+ uri: string;
8218
+ name: string;
8219
+ description?: string | null;
8220
+ newTab?: boolean | null;
8221
+ color?: string | null;
8222
+ iconName?: string | null;
8223
+ scope?: string | null;
8224
+ }
8225
+ export declare class ExternalServiceCredentialDto implements IExternalServiceCredentialDto {
8226
+ clientId: string;
8227
+ clientSecret: string;
8228
+ constructor(data?: IExternalServiceCredentialDto);
8229
+ init(_data?: any): void;
8230
+ static fromJS(data: any): ExternalServiceCredentialDto;
8231
+ toJSON(data?: any): any;
8232
+ }
8233
+ export interface IExternalServiceCredentialDto {
8234
+ clientId: string;
8235
+ clientSecret: string;
8236
+ }
8237
+ export type ExternalServiceName = "DbExtractor" | "MtConnectExtractor" | "MqttConnector";
8238
+ export declare class ImportDocumentResultDto implements IImportDocumentResultDto {
8239
+ id: string;
8240
+ documentType: string;
8241
+ constructor(data?: IImportDocumentResultDto);
8242
+ init(_data?: any): void;
8243
+ static fromJS(data: any): ImportDocumentResultDto;
8244
+ toJSON(data?: any): any;
8245
+ }
8246
+ export interface IImportDocumentResultDto {
8247
+ id: string;
8248
+ documentType: string;
8249
+ }
8250
+ export declare class ImportDocument implements IImportDocument {
8251
+ id: string;
8252
+ documentTypeId: string;
8253
+ customerId?: string | null;
7095
8254
  customerGroupId?: string | null;
7096
8255
  overrideExisting: boolean;
7097
8256
  documentNumber: string;
@@ -7299,331 +8458,93 @@ export interface ICreateDocumentTypeRequest {
7299
8458
  isInternalDocumentType: boolean;
7300
8459
  isGeneratedDocumentType: boolean;
7301
8460
  requirePortableFile: boolean;
7302
- category: DocumentTypeCategory;
7303
- documentRequirementStrategy: DocumentRequirementStrategy;
7304
- canHaveCertificate: boolean;
7305
- generatedDocumentKey?: string | null;
7306
- }
7307
- export declare class UpdateDocumentTypeRequest implements IUpdateDocumentTypeRequest {
7308
- title: string;
7309
- description?: string | null;
7310
- workflowType: DocumentWorkflowType;
7311
- isInternalDocumentType: boolean;
7312
- isGeneratedDocumentType: boolean;
7313
- requirePortableFile: boolean;
7314
- category: DocumentTypeCategory;
7315
- documentRequirementStrategy: DocumentRequirementStrategy;
7316
- canHaveCertificate: boolean;
7317
- generatedDocumentKey?: string | null;
7318
- constructor(data?: IUpdateDocumentTypeRequest);
7319
- init(_data?: any): void;
7320
- static fromJS(data: any): UpdateDocumentTypeRequest;
7321
- toJSON(data?: any): any;
7322
- }
7323
- export interface IUpdateDocumentTypeRequest {
7324
- title: string;
7325
- description?: string | null;
7326
- workflowType: DocumentWorkflowType;
7327
- isInternalDocumentType: boolean;
7328
- isGeneratedDocumentType: boolean;
7329
- requirePortableFile: boolean;
7330
- category: DocumentTypeCategory;
7331
- documentRequirementStrategy: DocumentRequirementStrategy;
7332
- canHaveCertificate: boolean;
7333
- generatedDocumentKey?: string | null;
7334
- }
7335
- export declare class DocumentTypeRuleDto implements IDocumentTypeRuleDto {
7336
- tag?: string | null;
7337
- requirement?: DocumentMetadataRequirement;
7338
- mutability?: Mutability;
7339
- ruleType?: DocumentRuleType;
7340
- constructor(data?: IDocumentTypeRuleDto);
7341
- init(_data?: any): void;
7342
- static fromJS(data: any): DocumentTypeRuleDto;
7343
- toJSON(data?: any): any;
7344
- }
7345
- export interface IDocumentTypeRuleDto {
7346
- tag?: string | null;
7347
- requirement?: DocumentMetadataRequirement;
7348
- mutability?: Mutability;
7349
- ruleType?: DocumentRuleType;
7350
- }
7351
- export type DocumentMetadataRequirement = "NotAllowed" | "Optional" | "Required";
7352
- export type Mutability = "Immutable" | "Appendable" | "Mutable";
7353
- export type DocumentRuleType = "Tag" | "Sequences" | "OrderLines" | "LotNumbers";
7354
- export declare class DocumentTypeRuleTypeDto implements IDocumentTypeRuleTypeDto {
7355
- tag?: string | null;
7356
- ruleType?: DocumentRuleType;
7357
- description?: string | null;
7358
- constructor(data?: IDocumentTypeRuleTypeDto);
7359
- init(_data?: any): void;
7360
- static fromJS(data: any): DocumentTypeRuleTypeDto;
7361
- toJSON(data?: any): any;
7362
- }
7363
- export interface IDocumentTypeRuleTypeDto {
7364
- tag?: string | null;
7365
- ruleType?: DocumentRuleType;
7366
- description?: string | null;
7367
- }
7368
- export declare class UpdateDocumentTypeRuleRequest implements IUpdateDocumentTypeRuleRequest {
7369
- rules: DocumentTypeRuleDto[];
7370
- constructor(data?: IUpdateDocumentTypeRuleRequest);
7371
- init(_data?: any): void;
7372
- static fromJS(data: any): UpdateDocumentTypeRuleRequest;
7373
- toJSON(data?: any): any;
7374
- }
7375
- export interface IUpdateDocumentTypeRuleRequest {
7376
- rules: DocumentTypeRuleDto[];
7377
- }
7378
- export declare class DocumentGeneratorTypeDto implements IDocumentGeneratorTypeDto {
7379
- key: string;
7380
- description: string;
7381
- constructor(data?: IDocumentGeneratorTypeDto);
7382
- init(_data?: any): void;
7383
- static fromJS(data: any): DocumentGeneratorTypeDto;
7384
- toJSON(data?: any): any;
7385
- }
7386
- export interface IDocumentGeneratorTypeDto {
7387
- key: string;
7388
- description: string;
7389
- }
7390
- export declare class CompanyUserDto implements ICompanyUserDto {
7391
- companyId?: string | null;
7392
- username?: string | null;
7393
- name?: string | null;
7394
- roles?: string[] | null;
7395
- constructor(data?: ICompanyUserDto);
7396
- init(_data?: any): void;
7397
- static fromJS(data: any): CompanyUserDto;
7398
- toJSON(data?: any): any;
7399
- }
7400
- export interface ICompanyUserDto {
7401
- companyId?: string | null;
7402
- username?: string | null;
7403
- name?: string | null;
7404
- roles?: string[] | null;
7405
- }
7406
- export declare class CreateCompanyUserRequest implements ICreateCompanyUserRequest {
7407
- username: string;
7408
- name: string;
7409
- roles: string[];
7410
- companyId?: string | null;
7411
- constructor(data?: ICreateCompanyUserRequest);
7412
- init(_data?: any): void;
7413
- static fromJS(data: any): CreateCompanyUserRequest;
7414
- toJSON(data?: any): any;
7415
- }
7416
- export interface ICreateCompanyUserRequest {
7417
- username: string;
7418
- name: string;
7419
- roles: string[];
7420
- companyId?: string | null;
7421
- }
7422
- export declare class UpdateCompanyUserRequest implements IUpdateCompanyUserRequest {
7423
- name: string;
7424
- roles: string[];
7425
- companyId?: string | null;
7426
- constructor(data?: IUpdateCompanyUserRequest);
7427
- init(_data?: any): void;
7428
- static fromJS(data: any): UpdateCompanyUserRequest;
7429
- toJSON(data?: any): any;
7430
- }
7431
- export interface IUpdateCompanyUserRequest {
7432
- name: string;
7433
- roles: string[];
7434
- companyId?: string | null;
7435
- }
7436
- export declare class ExternalRoleDto implements IExternalRoleDto {
7437
- id: string;
7438
- name: string;
7439
- constructor(data?: IExternalRoleDto);
7440
- init(_data?: any): void;
7441
- static fromJS(data: any): ExternalRoleDto;
7442
- toJSON(data?: any): any;
7443
- }
7444
- export interface IExternalRoleDto {
7445
- id: string;
7446
- name: string;
7447
- }
7448
- export declare class CompanyCustomerDto implements ICompanyCustomerDto {
7449
- customerTenantId?: string | null;
7450
- customerAzureAdTenantId?: string | null;
7451
- customerName?: string | null;
7452
- supplierId?: string | null;
7453
- supplierName?: string | null;
7454
- constructor(data?: ICompanyCustomerDto);
7455
- init(_data?: any): void;
7456
- static fromJS(data: any): CompanyCustomerDto;
7457
- toJSON(data?: any): any;
7458
- }
7459
- export interface ICompanyCustomerDto {
7460
- customerTenantId?: string | null;
7461
- customerAzureAdTenantId?: string | null;
7462
- customerName?: string | null;
7463
- supplierId?: string | null;
7464
- supplierName?: string | null;
7465
- }
7466
- export declare class InviteDto implements IInviteDto {
7467
- tenantId: string;
7468
- companyName: string;
7469
- id: string;
7470
- supplierId: string;
7471
- supplierName: string;
7472
- username: string;
7473
- deadline: Date;
7474
- createdTime: Date;
7475
- createdBy: string;
7476
- constructor(data?: IInviteDto);
7477
- init(_data?: any): void;
7478
- static fromJS(data: any): InviteDto;
7479
- toJSON(data?: any): any;
7480
- }
7481
- export interface IInviteDto {
7482
- tenantId: string;
7483
- companyName: string;
7484
- id: string;
7485
- supplierId: string;
7486
- supplierName: string;
7487
- username: string;
7488
- deadline: Date;
7489
- createdTime: Date;
7490
- createdBy: string;
7491
- }
7492
- export declare class CompanyDto implements ICompanyDto {
7493
- id?: string | null;
7494
- name?: string | null;
7495
- organizationNumber?: string | null;
7496
- country?: string | null;
7497
- tenantId?: string | null;
7498
- constructor(data?: ICompanyDto);
7499
- init(_data?: any): void;
7500
- static fromJS(data: any): CompanyDto;
7501
- toJSON(data?: any): any;
7502
- }
7503
- export interface ICompanyDto {
7504
- id?: string | null;
7505
- name?: string | null;
7506
- organizationNumber?: string | null;
7507
- country?: string | null;
7508
- tenantId?: string | null;
7509
- }
7510
- export declare class AcceptSupplierInviteRequest implements IAcceptSupplierInviteRequest {
7511
- tenantId: string;
7512
- existingCompanyId?: string | null;
7513
- companyName?: string | null;
7514
- organizationNumber?: string | null;
7515
- threeLetterIsoCountry?: string | null;
7516
- constructor(data?: IAcceptSupplierInviteRequest);
7517
- init(_data?: any): void;
7518
- static fromJS(data: any): AcceptSupplierInviteRequest;
7519
- toJSON(data?: any): any;
7520
- }
7521
- export interface IAcceptSupplierInviteRequest {
7522
- tenantId: string;
7523
- existingCompanyId?: string | null;
7524
- companyName?: string | null;
7525
- organizationNumber?: string | null;
7526
- threeLetterIsoCountry?: string | null;
7527
- }
7528
- export declare class SupplierInviteDto implements ISupplierInviteDto {
7529
- id: string;
7530
- supplierId: string;
7531
- name: string;
7532
- username: string;
7533
- deadline: Date;
7534
- createdTime: Date;
7535
- createdBy: string;
7536
- constructor(data?: ISupplierInviteDto);
7537
- init(_data?: any): void;
7538
- static fromJS(data: any): SupplierInviteDto;
7539
- toJSON(data?: any): any;
7540
- }
7541
- export interface ISupplierInviteDto {
7542
- id: string;
7543
- supplierId: string;
7544
- name: string;
7545
- username: string;
7546
- deadline: Date;
7547
- createdTime: Date;
7548
- createdBy: string;
8461
+ category: DocumentTypeCategory;
8462
+ documentRequirementStrategy: DocumentRequirementStrategy;
8463
+ canHaveCertificate: boolean;
8464
+ generatedDocumentKey?: string | null;
7549
8465
  }
7550
- export declare class CreateSupplierInvite implements ICreateSupplierInvite {
7551
- supplierId: string;
7552
- name: string;
7553
- username: string;
7554
- deadline: Date;
7555
- constructor(data?: ICreateSupplierInvite);
8466
+ export declare class UpdateDocumentTypeRequest implements IUpdateDocumentTypeRequest {
8467
+ title: string;
8468
+ description?: string | null;
8469
+ workflowType: DocumentWorkflowType;
8470
+ isInternalDocumentType: boolean;
8471
+ isGeneratedDocumentType: boolean;
8472
+ requirePortableFile: boolean;
8473
+ category: DocumentTypeCategory;
8474
+ documentRequirementStrategy: DocumentRequirementStrategy;
8475
+ canHaveCertificate: boolean;
8476
+ generatedDocumentKey?: string | null;
8477
+ constructor(data?: IUpdateDocumentTypeRequest);
7556
8478
  init(_data?: any): void;
7557
- static fromJS(data: any): CreateSupplierInvite;
8479
+ static fromJS(data: any): UpdateDocumentTypeRequest;
7558
8480
  toJSON(data?: any): any;
7559
8481
  }
7560
- export interface ICreateSupplierInvite {
7561
- supplierId: string;
7562
- name: string;
7563
- username: string;
7564
- deadline: Date;
8482
+ export interface IUpdateDocumentTypeRequest {
8483
+ title: string;
8484
+ description?: string | null;
8485
+ workflowType: DocumentWorkflowType;
8486
+ isInternalDocumentType: boolean;
8487
+ isGeneratedDocumentType: boolean;
8488
+ requirePortableFile: boolean;
8489
+ category: DocumentTypeCategory;
8490
+ documentRequirementStrategy: DocumentRequirementStrategy;
8491
+ canHaveCertificate: boolean;
8492
+ generatedDocumentKey?: string | null;
7565
8493
  }
7566
- export declare class ExternalSupplierDto implements IExternalSupplierDto {
7567
- id: string;
7568
- name: string;
7569
- companyId: string;
7570
- active: boolean;
7571
- constructor(data?: IExternalSupplierDto);
8494
+ export declare class DocumentTypeRuleDto implements IDocumentTypeRuleDto {
8495
+ tag?: string | null;
8496
+ requirement?: DocumentMetadataRequirement;
8497
+ mutability?: Mutability;
8498
+ ruleType?: DocumentRuleType;
8499
+ constructor(data?: IDocumentTypeRuleDto);
7572
8500
  init(_data?: any): void;
7573
- static fromJS(data: any): ExternalSupplierDto;
8501
+ static fromJS(data: any): DocumentTypeRuleDto;
7574
8502
  toJSON(data?: any): any;
7575
8503
  }
7576
- export interface IExternalSupplierDto {
7577
- id: string;
7578
- name: string;
7579
- companyId: string;
7580
- active: boolean;
8504
+ export interface IDocumentTypeRuleDto {
8505
+ tag?: string | null;
8506
+ requirement?: DocumentMetadataRequirement;
8507
+ mutability?: Mutability;
8508
+ ruleType?: DocumentRuleType;
7581
8509
  }
7582
- export declare class ImportSupplier implements IImportSupplier {
7583
- supplierId: string;
7584
- name: string;
7585
- organizationNumber?: string | null;
7586
- threeLetterIsoCountry: string;
7587
- users: ImportSupplierUserDto[];
7588
- constructor(data?: IImportSupplier);
8510
+ export type DocumentMetadataRequirement = "NotAllowed" | "Optional" | "Required";
8511
+ export type Mutability = "Immutable" | "Appendable" | "Mutable";
8512
+ export type DocumentRuleType = "Tag" | "Sequences" | "OrderLines" | "LotNumbers";
8513
+ export declare class DocumentTypeRuleTypeDto implements IDocumentTypeRuleTypeDto {
8514
+ tag?: string | null;
8515
+ ruleType?: DocumentRuleType;
8516
+ description?: string | null;
8517
+ constructor(data?: IDocumentTypeRuleTypeDto);
7589
8518
  init(_data?: any): void;
7590
- static fromJS(data: any): ImportSupplier;
8519
+ static fromJS(data: any): DocumentTypeRuleTypeDto;
7591
8520
  toJSON(data?: any): any;
7592
8521
  }
7593
- export interface IImportSupplier {
7594
- supplierId: string;
7595
- name: string;
7596
- organizationNumber?: string | null;
7597
- threeLetterIsoCountry: string;
7598
- users: ImportSupplierUserDto[];
8522
+ export interface IDocumentTypeRuleTypeDto {
8523
+ tag?: string | null;
8524
+ ruleType?: DocumentRuleType;
8525
+ description?: string | null;
7599
8526
  }
7600
- export declare class ImportSupplierUserDto implements IImportSupplierUserDto {
7601
- username: string;
7602
- name: string;
7603
- roles: string[];
7604
- constructor(data?: IImportSupplierUserDto);
8527
+ export declare class UpdateDocumentTypeRuleRequest implements IUpdateDocumentTypeRuleRequest {
8528
+ rules: DocumentTypeRuleDto[];
8529
+ constructor(data?: IUpdateDocumentTypeRuleRequest);
7605
8530
  init(_data?: any): void;
7606
- static fromJS(data: any): ImportSupplierUserDto;
8531
+ static fromJS(data: any): UpdateDocumentTypeRuleRequest;
7607
8532
  toJSON(data?: any): any;
7608
8533
  }
7609
- export interface IImportSupplierUserDto {
7610
- username: string;
7611
- name: string;
7612
- roles: string[];
8534
+ export interface IUpdateDocumentTypeRuleRequest {
8535
+ rules: DocumentTypeRuleDto[];
7613
8536
  }
7614
- export declare class CreateSupplierMapping implements ICreateSupplierMapping {
7615
- companyId: string;
7616
- existingSupplierId: string;
7617
- newSupplierId: string;
7618
- constructor(data?: ICreateSupplierMapping);
8537
+ export declare class DocumentGeneratorTypeDto implements IDocumentGeneratorTypeDto {
8538
+ key: string;
8539
+ description: string;
8540
+ constructor(data?: IDocumentGeneratorTypeDto);
7619
8541
  init(_data?: any): void;
7620
- static fromJS(data: any): CreateSupplierMapping;
8542
+ static fromJS(data: any): DocumentGeneratorTypeDto;
7621
8543
  toJSON(data?: any): any;
7622
8544
  }
7623
- export interface ICreateSupplierMapping {
7624
- companyId: string;
7625
- existingSupplierId: string;
7626
- newSupplierId: string;
8545
+ export interface IDocumentGeneratorTypeDto {
8546
+ key: string;
8547
+ description: string;
7627
8548
  }
7628
8549
  export declare class CncMachineTransferDto implements ICncMachineTransferDto {
7629
8550
  id: string;
@@ -13804,7 +14725,6 @@ export interface IValidationRuleDto {
13804
14725
  export declare class SaveValueResponseDto implements ISaveValueResponseDto {
13805
14726
  elementCompleted: boolean;
13806
14727
  warning?: string | null;
13807
- informationText?: string | null;
13808
14728
  isOutsideTolerances: boolean;
13809
14729
  isCloseToTolerances: boolean;
13810
14730
  tools: MeasurementFormToolValueDto[];
@@ -13816,7 +14736,6 @@ export declare class SaveValueResponseDto implements ISaveValueResponseDto {
13816
14736
  export interface ISaveValueResponseDto {
13817
14737
  elementCompleted: boolean;
13818
14738
  warning?: string | null;
13819
- informationText?: string | null;
13820
14739
  isOutsideTolerances: boolean;
13821
14740
  isCloseToTolerances: boolean;
13822
14741
  tools: MeasurementFormToolValueDto[];
@@ -14840,1373 +15759,234 @@ export declare class AddDiscussionMessageRequest implements IAddDiscussionMessag
14840
15759
  operationId?: string | null;
14841
15760
  operationName?: string | null;
14842
15761
  resourceId?: string | null;
14843
- constructor(data?: IAddDiscussionMessageRequest);
14844
- init(_data?: any): void;
14845
- static fromJS(data: any): AddDiscussionMessageRequest;
14846
- toJSON(data?: any): any;
14847
- }
14848
- export interface IAddDiscussionMessageRequest {
14849
- message: string;
14850
- operationId?: string | null;
14851
- operationName?: string | null;
14852
- resourceId?: string | null;
14853
- }
14854
- export declare class WorkorderDiscussionReadStatusDto implements IWorkorderDiscussionReadStatusDto {
14855
- workorderId?: string;
14856
- operationId?: string | null;
14857
- resourceId?: string | null;
14858
- userUpn?: string;
14859
- lastRead?: Date;
14860
- constructor(data?: IWorkorderDiscussionReadStatusDto);
14861
- init(_data?: any): void;
14862
- static fromJS(data: any): WorkorderDiscussionReadStatusDto;
14863
- toJSON(data?: any): any;
14864
- }
14865
- export interface IWorkorderDiscussionReadStatusDto {
14866
- workorderId?: string;
14867
- operationId?: string | null;
14868
- resourceId?: string | null;
14869
- userUpn?: string;
14870
- lastRead?: Date;
14871
- }
14872
- export declare class SetDiscussionLastReadRequest implements ISetDiscussionLastReadRequest {
14873
- operationId?: string | null;
14874
- resourceId?: string | null;
14875
- constructor(data?: ISetDiscussionLastReadRequest);
14876
- init(_data?: any): void;
14877
- static fromJS(data: any): SetDiscussionLastReadRequest;
14878
- toJSON(data?: any): any;
14879
- }
14880
- export interface ISetDiscussionLastReadRequest {
14881
- operationId?: string | null;
14882
- resourceId?: string | null;
14883
- }
14884
- export declare class AmcCheckListDto implements IAmcCheckListDto {
14885
- results: AmcResultLiteDto[];
14886
- continuationToken?: string | null;
14887
- constructor(data?: IAmcCheckListDto);
14888
- init(_data?: any): void;
14889
- static fromJS(data: any): AmcCheckListDto;
14890
- toJSON(data?: any): any;
14891
- }
14892
- export interface IAmcCheckListDto {
14893
- results: AmcResultLiteDto[];
14894
- continuationToken?: string | null;
14895
- }
14896
- export declare class AmcResultLiteDto implements IAmcResultLiteDto {
14897
- resultId: string;
14898
- originalMaterialCertificate: FileDto;
14899
- generatedMaterialCertificate?: FileDto | null;
14900
- customer?: string | null;
14901
- project?: string | null;
14902
- workOrder?: string | null;
14903
- materialCertificateTypeId?: string | null;
14904
- materialCertificateTypeName?: string | null;
14905
- materialCertificateTypeVersion?: number | null;
14906
- specificationId: string;
14907
- specificationName: string;
14908
- specificationVersion: number;
14909
- purchaseOrder?: string | null;
14910
- purchaseOrderLine?: string | null;
14911
- purchaseOrderItem?: string | null;
14912
- purchaseOrderOrMaterialCertificateHeatNumber?: string | null;
14913
- purchaseOrderLot?: string | null;
14914
- status: AmcCheckStatusDto;
14915
- created: Date;
14916
- createdBy: string;
14917
- createdById: string;
14918
- updatedBy?: string | null;
14919
- updatedById?: string | null;
14920
- constructor(data?: IAmcResultLiteDto);
14921
- init(_data?: any): void;
14922
- static fromJS(data: any): AmcResultLiteDto;
14923
- toJSON(data?: any): any;
14924
- }
14925
- export interface IAmcResultLiteDto {
14926
- resultId: string;
14927
- originalMaterialCertificate: FileDto;
14928
- generatedMaterialCertificate?: FileDto | null;
14929
- customer?: string | null;
14930
- project?: string | null;
14931
- workOrder?: string | null;
14932
- materialCertificateTypeId?: string | null;
14933
- materialCertificateTypeName?: string | null;
14934
- materialCertificateTypeVersion?: number | null;
14935
- specificationId: string;
14936
- specificationName: string;
14937
- specificationVersion: number;
14938
- purchaseOrder?: string | null;
14939
- purchaseOrderLine?: string | null;
14940
- purchaseOrderItem?: string | null;
14941
- purchaseOrderOrMaterialCertificateHeatNumber?: string | null;
14942
- purchaseOrderLot?: string | null;
14943
- status: AmcCheckStatusDto;
14944
- created: Date;
14945
- createdBy: string;
14946
- createdById: string;
14947
- updatedBy?: string | null;
14948
- updatedById?: string | null;
14949
- }
14950
- export type AmcCheckStatusDto = "WaitingForProcessing" | "Processing" | "Draft" | "Approved" | "Rejected";
14951
- export declare class AmcCheckListRequestDto implements IAmcCheckListRequestDto {
14952
- pageSize?: number | null;
14953
- orderBy?: AmcCheckListOrderColumnRequestDto | null;
14954
- searchTerm?: string | null;
14955
- originalReportFilter?: string | null;
14956
- generatedReportFilter?: string | null;
14957
- customerFilter?: string | null;
14958
- projectFilter?: string | null;
14959
- purchaseOrderFilter?: string | null;
14960
- workOrderFilter?: string | null;
14961
- certificateTypeFilter?: string | null;
14962
- lineFilter?: string | null;
14963
- itemFilter?: string | null;
14964
- heatFilter?: string | null;
14965
- lotFilter?: string | null;
14966
- dateFromFilter?: Date | null;
14967
- dateToFilter?: Date | null;
14968
- statusFilter: AmcCheckStatusDto[];
14969
- continuationToken?: string | null;
14970
- constructor(data?: IAmcCheckListRequestDto);
14971
- init(_data?: any): void;
14972
- static fromJS(data: any): AmcCheckListRequestDto;
14973
- toJSON(data?: any): any;
14974
- }
14975
- export interface IAmcCheckListRequestDto {
14976
- pageSize?: number | null;
14977
- orderBy?: AmcCheckListOrderColumnRequestDto | null;
14978
- searchTerm?: string | null;
14979
- originalReportFilter?: string | null;
14980
- generatedReportFilter?: string | null;
14981
- customerFilter?: string | null;
14982
- projectFilter?: string | null;
14983
- purchaseOrderFilter?: string | null;
14984
- workOrderFilter?: string | null;
14985
- certificateTypeFilter?: string | null;
14986
- lineFilter?: string | null;
14987
- itemFilter?: string | null;
14988
- heatFilter?: string | null;
14989
- lotFilter?: string | null;
14990
- dateFromFilter?: Date | null;
14991
- dateToFilter?: Date | null;
14992
- statusFilter: AmcCheckStatusDto[];
14993
- continuationToken?: string | null;
14994
- }
14995
- export type AmcCheckListOrderColumnRequestDto = "OriginalReport" | "GeneratedReport" | "Customer" | "Project" | "PurchaseOrder" | "WorkOrder" | "CertificateType" | "Line" | "Item" | "Heat" | "Lot" | "Date" | "Status";
14996
- export declare class AmcResultDto implements IAmcResultDto {
14997
- resultId: string;
14998
- originalMaterialCertificate: FileDto;
14999
- generatedMaterialCertificate?: FileDto | null;
15000
- customer?: string | null;
15001
- project?: string | null;
15002
- workOrder?: string | null;
15003
- materialCertificateTypeId?: string | null;
15004
- materialCertificateTypeName?: string | null;
15005
- materialCertificateTypeVersion?: number | null;
15006
- specificationId: string;
15007
- specificationName: string;
15008
- specificationVersion: number;
15009
- purchaseOrder?: string | null;
15010
- purchaseOrderLine?: string | null;
15011
- purchaseOrderItem?: string | null;
15012
- purchaseOrderOrMaterialCertificateHeatNumber?: string | null;
15013
- purchaseOrderLot?: string | null;
15014
- status: AmcCheckStatusDto;
15015
- created: Date;
15016
- createdBy: string;
15017
- createdById: string;
15018
- updatedBy?: string | null;
15019
- updatedById?: string | null;
15020
- certificateTypeSection: AmcTypeResultChecksDto;
15021
- chemistrySpecification: AmcChemistrySpecificationResultDto;
15022
- mechanicalSpecification: AmcMechanicalSpecificationResultDto;
15023
- ferriteSpecification: AmcFerriteSpecificationResultDto;
15024
- heatSpecification: AmcHeatTreatmentSpecificationResultDto;
15025
- constructor(data?: IAmcResultDto);
15026
- init(_data?: any): void;
15027
- static fromJS(data: any): AmcResultDto;
15028
- toJSON(data?: any): any;
15029
- }
15030
- export interface IAmcResultDto {
15031
- resultId: string;
15032
- originalMaterialCertificate: FileDto;
15033
- generatedMaterialCertificate?: FileDto | null;
15034
- customer?: string | null;
15035
- project?: string | null;
15036
- workOrder?: string | null;
15037
- materialCertificateTypeId?: string | null;
15038
- materialCertificateTypeName?: string | null;
15039
- materialCertificateTypeVersion?: number | null;
15040
- specificationId: string;
15041
- specificationName: string;
15042
- specificationVersion: number;
15043
- purchaseOrder?: string | null;
15044
- purchaseOrderLine?: string | null;
15045
- purchaseOrderItem?: string | null;
15046
- purchaseOrderOrMaterialCertificateHeatNumber?: string | null;
15047
- purchaseOrderLot?: string | null;
15048
- status: AmcCheckStatusDto;
15049
- created: Date;
15050
- createdBy: string;
15051
- createdById: string;
15052
- updatedBy?: string | null;
15053
- updatedById?: string | null;
15054
- certificateTypeSection: AmcTypeResultChecksDto;
15055
- chemistrySpecification: AmcChemistrySpecificationResultDto;
15056
- mechanicalSpecification: AmcMechanicalSpecificationResultDto;
15057
- ferriteSpecification: AmcFerriteSpecificationResultDto;
15058
- heatSpecification: AmcHeatTreatmentSpecificationResultDto;
15059
- }
15060
- export declare class AmcTypeResultChecksDto implements IAmcTypeResultChecksDto {
15061
- manufacturer: AmcTypeManufacturerResultChecksDto;
15062
- signature: AmcTypeSignatureResultChecksDto;
15063
- thirdParty: AmcTypeThirdPartyResultChecksDto;
15064
- certification: AmcTypeCertificationResultChecksDto;
15065
- productAndOrderInformation: AmcTypeProductAndOrderInformationResultChecksDto;
15066
- testMethodsAndReferences: AmcTypeTestMethodsAndReferencesResultChecksDto;
15067
- testResults: AmcTypeTestResultsResultChecksDto;
15068
- documentTypes: AmcTypeDocumentTypesResultChecksDto;
15069
- constructor(data?: IAmcTypeResultChecksDto);
15070
- init(_data?: any): void;
15071
- static fromJS(data: any): AmcTypeResultChecksDto;
15072
- toJSON(data?: any): any;
15073
- }
15074
- export interface IAmcTypeResultChecksDto {
15075
- manufacturer: AmcTypeManufacturerResultChecksDto;
15076
- signature: AmcTypeSignatureResultChecksDto;
15077
- thirdParty: AmcTypeThirdPartyResultChecksDto;
15078
- certification: AmcTypeCertificationResultChecksDto;
15079
- productAndOrderInformation: AmcTypeProductAndOrderInformationResultChecksDto;
15080
- testMethodsAndReferences: AmcTypeTestMethodsAndReferencesResultChecksDto;
15081
- testResults: AmcTypeTestResultsResultChecksDto;
15082
- documentTypes: AmcTypeDocumentTypesResultChecksDto;
15083
- }
15084
- export declare class AmcTypeManufacturerResultChecksDto implements IAmcTypeManufacturerResultChecksDto {
15085
- manufacturer?: AmcTypeResultLine | null;
15086
- address?: AmcTypeResultLine | null;
15087
- contact?: AmcTypeResultLine | null;
15088
- constructor(data?: IAmcTypeManufacturerResultChecksDto);
15089
- init(_data?: any): void;
15090
- static fromJS(data: any): AmcTypeManufacturerResultChecksDto;
15091
- toJSON(data?: any): any;
15092
- }
15093
- export interface IAmcTypeManufacturerResultChecksDto {
15094
- manufacturer?: AmcTypeResultLine | null;
15095
- address?: AmcTypeResultLine | null;
15096
- contact?: AmcTypeResultLine | null;
15097
- }
15098
- export declare class AmcTypeResultLine implements IAmcTypeResultLine {
15099
- found?: boolean;
15100
- approved?: boolean | null;
15101
- comment?: string | null;
15102
- created: Date;
15103
- createdBy: string;
15104
- createdById: string;
15105
- updatedBy?: string | null;
15106
- updatedById?: string | null;
15107
- constructor(data?: IAmcTypeResultLine);
15108
- init(_data?: any): void;
15109
- static fromJS(data: any): AmcTypeResultLine;
15110
- toJSON(data?: any): any;
15111
- }
15112
- export interface IAmcTypeResultLine {
15113
- found?: boolean;
15114
- approved?: boolean | null;
15115
- comment?: string | null;
15116
- created: Date;
15117
- createdBy: string;
15118
- createdById: string;
15119
- updatedBy?: string | null;
15120
- updatedById?: string | null;
15121
- }
15122
- export declare class AmcTypeSignatureResultChecksDto implements IAmcTypeSignatureResultChecksDto {
15123
- certifiedBy?: AmcTypeResultLine | null;
15124
- position?: AmcTypeResultLine | null;
15125
- signature?: AmcTypeResultLine | null;
15126
- date?: AmcTypeResultLine | null;
15127
- stamp?: AmcTypeResultLine | null;
15128
- constructor(data?: IAmcTypeSignatureResultChecksDto);
15129
- init(_data?: any): void;
15130
- static fromJS(data: any): AmcTypeSignatureResultChecksDto;
15131
- toJSON(data?: any): any;
15132
- }
15133
- export interface IAmcTypeSignatureResultChecksDto {
15134
- certifiedBy?: AmcTypeResultLine | null;
15135
- position?: AmcTypeResultLine | null;
15136
- signature?: AmcTypeResultLine | null;
15137
- date?: AmcTypeResultLine | null;
15138
- stamp?: AmcTypeResultLine | null;
15139
- }
15140
- export declare class AmcTypeThirdPartyResultChecksDto implements IAmcTypeThirdPartyResultChecksDto {
15141
- inspectionBody?: AmcTypeResultLine | null;
15142
- inspectorName?: AmcTypeResultLine | null;
15143
- position?: AmcTypeResultLine | null;
15144
- verificationMethod?: AmcTypeResultLine | null;
15145
- signature?: AmcTypeResultLine | null;
15146
- date?: AmcTypeResultLine | null;
15147
- stamp?: AmcTypeResultLine | null;
15148
- constructor(data?: IAmcTypeThirdPartyResultChecksDto);
15149
- init(_data?: any): void;
15150
- static fromJS(data: any): AmcTypeThirdPartyResultChecksDto;
15151
- toJSON(data?: any): any;
15152
- }
15153
- export interface IAmcTypeThirdPartyResultChecksDto {
15154
- inspectionBody?: AmcTypeResultLine | null;
15155
- inspectorName?: AmcTypeResultLine | null;
15156
- position?: AmcTypeResultLine | null;
15157
- verificationMethod?: AmcTypeResultLine | null;
15158
- signature?: AmcTypeResultLine | null;
15159
- date?: AmcTypeResultLine | null;
15160
- stamp?: AmcTypeResultLine | null;
15161
- }
15162
- export declare class AmcTypeCertificationResultChecksDto implements IAmcTypeCertificationResultChecksDto {
15163
- certificateOfCompliance?: AmcTypeResultLine | null;
15164
- inspectionCertificate?: AmcTypeResultLine | null;
15165
- constructor(data?: IAmcTypeCertificationResultChecksDto);
15166
- init(_data?: any): void;
15167
- static fromJS(data: any): AmcTypeCertificationResultChecksDto;
15168
- toJSON(data?: any): any;
15169
- }
15170
- export interface IAmcTypeCertificationResultChecksDto {
15171
- certificateOfCompliance?: AmcTypeResultLine | null;
15172
- inspectionCertificate?: AmcTypeResultLine | null;
15173
- }
15174
- export declare class AmcTypeProductAndOrderInformationResultChecksDto implements IAmcTypeProductAndOrderInformationResultChecksDto {
15175
- productDescription?: AmcTypeResultLine | null;
15176
- materialGrade?: AmcTypeResultLine | null;
15177
- customer?: AmcTypeResultLine | null;
15178
- customerOrderNumber?: AmcTypeResultLine | null;
15179
- dimensionsOrWeight?: AmcTypeResultLine | null;
15180
- batchNumber?: AmcTypeResultLine | null;
15181
- heatNumber?: AmcTypeResultLine | null;
15182
- relatedStandards?: AmcTypeResultLine | null;
15183
- constructor(data?: IAmcTypeProductAndOrderInformationResultChecksDto);
15184
- init(_data?: any): void;
15185
- static fromJS(data: any): AmcTypeProductAndOrderInformationResultChecksDto;
15186
- toJSON(data?: any): any;
15187
- }
15188
- export interface IAmcTypeProductAndOrderInformationResultChecksDto {
15189
- productDescription?: AmcTypeResultLine | null;
15190
- materialGrade?: AmcTypeResultLine | null;
15191
- customer?: AmcTypeResultLine | null;
15192
- customerOrderNumber?: AmcTypeResultLine | null;
15193
- dimensionsOrWeight?: AmcTypeResultLine | null;
15194
- batchNumber?: AmcTypeResultLine | null;
15195
- heatNumber?: AmcTypeResultLine | null;
15196
- relatedStandards?: AmcTypeResultLine | null;
15197
- }
15198
- export declare class AmcTypeTestMethodsAndReferencesResultChecksDto implements IAmcTypeTestMethodsAndReferencesResultChecksDto {
15199
- usedStandards?: AmcTypeResultLine | null;
15200
- constructor(data?: IAmcTypeTestMethodsAndReferencesResultChecksDto);
15201
- init(_data?: any): void;
15202
- static fromJS(data: any): AmcTypeTestMethodsAndReferencesResultChecksDto;
15203
- toJSON(data?: any): any;
15204
- }
15205
- export interface IAmcTypeTestMethodsAndReferencesResultChecksDto {
15206
- usedStandards?: AmcTypeResultLine | null;
15207
- }
15208
- export declare class AmcTypeTestResultsResultChecksDto implements IAmcTypeTestResultsResultChecksDto {
15209
- mechanicalProperties?: AmcTypeResultLine | null;
15210
- chemicalAnalysis?: AmcTypeResultLine | null;
15211
- impactTests?: AmcTypeResultLine | null;
15212
- corrosionTests?: AmcTypeResultLine | null;
15213
- ferriteContentAndMicrostructure?: AmcTypeResultLine | null;
15214
- constructor(data?: IAmcTypeTestResultsResultChecksDto);
15215
- init(_data?: any): void;
15216
- static fromJS(data: any): AmcTypeTestResultsResultChecksDto;
15217
- toJSON(data?: any): any;
15218
- }
15219
- export interface IAmcTypeTestResultsResultChecksDto {
15220
- mechanicalProperties?: AmcTypeResultLine | null;
15221
- chemicalAnalysis?: AmcTypeResultLine | null;
15222
- impactTests?: AmcTypeResultLine | null;
15223
- corrosionTests?: AmcTypeResultLine | null;
15224
- ferriteContentAndMicrostructure?: AmcTypeResultLine | null;
15225
- }
15226
- export declare class AmcTypeDocumentTypesResultChecksDto implements IAmcTypeDocumentTypesResultChecksDto {
15227
- heatTreatmentCertificate?: AmcTypeResultLine | null;
15228
- ultrasonicControlCertificate?: AmcTypeResultLine | null;
15229
- liquidPenetrantCertificate?: AmcTypeResultLine | null;
15230
- testReport?: AmcTypeResultLine | null;
15231
- dimensionalReport?: AmcTypeResultLine | null;
15232
- dyePenetrantReport?: AmcTypeResultLine | null;
15233
- visualReport?: AmcTypeResultLine | null;
15234
- certificateOfAnalyticalAndMechanicalTests?: AmcTypeResultLine | null;
15235
- certificateOfTest?: AmcTypeResultLine | null;
15236
- technicalReport?: AmcTypeResultLine | null;
15237
- microExaminationReport?: AmcTypeResultLine | null;
15238
- radiologicalReport?: AmcTypeResultLine | null;
15239
- constructor(data?: IAmcTypeDocumentTypesResultChecksDto);
15240
- init(_data?: any): void;
15241
- static fromJS(data: any): AmcTypeDocumentTypesResultChecksDto;
15242
- toJSON(data?: any): any;
15243
- }
15244
- export interface IAmcTypeDocumentTypesResultChecksDto {
15245
- heatTreatmentCertificate?: AmcTypeResultLine | null;
15246
- ultrasonicControlCertificate?: AmcTypeResultLine | null;
15247
- liquidPenetrantCertificate?: AmcTypeResultLine | null;
15248
- testReport?: AmcTypeResultLine | null;
15249
- dimensionalReport?: AmcTypeResultLine | null;
15250
- dyePenetrantReport?: AmcTypeResultLine | null;
15251
- visualReport?: AmcTypeResultLine | null;
15252
- certificateOfAnalyticalAndMechanicalTests?: AmcTypeResultLine | null;
15253
- certificateOfTest?: AmcTypeResultLine | null;
15254
- technicalReport?: AmcTypeResultLine | null;
15255
- microExaminationReport?: AmcTypeResultLine | null;
15256
- radiologicalReport?: AmcTypeResultLine | null;
15257
- }
15258
- export declare class AmcChemistrySpecificationResultDto implements IAmcChemistrySpecificationResultDto {
15259
- carbon?: AmcSpecificationResultLineDto | null;
15260
- manganese?: AmcSpecificationResultLineDto | null;
15261
- silicon?: AmcSpecificationResultLineDto | null;
15262
- phosphorus?: AmcSpecificationResultLineDto | null;
15263
- sulfur?: AmcSpecificationResultLineDto | null;
15264
- chromium?: AmcSpecificationResultLineDto | null;
15265
- nickel?: AmcSpecificationResultLineDto | null;
15266
- molybdenum?: AmcSpecificationResultLineDto | null;
15267
- copper?: AmcSpecificationResultLineDto | null;
15268
- nitrogen?: AmcSpecificationResultLineDto | null;
15269
- wolfram?: AmcSpecificationResultLineDto | null;
15270
- iron?: AmcSpecificationResultLineDto | null;
15271
- constructor(data?: IAmcChemistrySpecificationResultDto);
15272
- init(_data?: any): void;
15273
- static fromJS(data: any): AmcChemistrySpecificationResultDto;
15274
- toJSON(data?: any): any;
15275
- }
15276
- export interface IAmcChemistrySpecificationResultDto {
15277
- carbon?: AmcSpecificationResultLineDto | null;
15278
- manganese?: AmcSpecificationResultLineDto | null;
15279
- silicon?: AmcSpecificationResultLineDto | null;
15280
- phosphorus?: AmcSpecificationResultLineDto | null;
15281
- sulfur?: AmcSpecificationResultLineDto | null;
15282
- chromium?: AmcSpecificationResultLineDto | null;
15283
- nickel?: AmcSpecificationResultLineDto | null;
15284
- molybdenum?: AmcSpecificationResultLineDto | null;
15285
- copper?: AmcSpecificationResultLineDto | null;
15286
- nitrogen?: AmcSpecificationResultLineDto | null;
15287
- wolfram?: AmcSpecificationResultLineDto | null;
15288
- iron?: AmcSpecificationResultLineDto | null;
15289
- }
15290
- export declare class AmcSpecificationResultLineDto implements IAmcSpecificationResultLineDto {
15291
- specificationOperator?: string | null;
15292
- specificationValue1?: string | null;
15293
- specificationValue2?: string | null;
15294
- specificationSymbol?: string | null;
15295
- readValue?: string | null;
15296
- status: AmcSpecificationResultLineStatusDto;
15297
- approved?: boolean | null;
15298
- comment?: string | null;
15299
- created: Date;
15300
- createdBy: string;
15301
- createdById: string;
15302
- updated?: Date | null;
15303
- updatedBy?: string | null;
15304
- updatedById?: string | null;
15305
- constructor(data?: IAmcSpecificationResultLineDto);
15306
- init(_data?: any): void;
15307
- static fromJS(data: any): AmcSpecificationResultLineDto;
15308
- toJSON(data?: any): any;
15309
- }
15310
- export interface IAmcSpecificationResultLineDto {
15311
- specificationOperator?: string | null;
15312
- specificationValue1?: string | null;
15313
- specificationValue2?: string | null;
15314
- specificationSymbol?: string | null;
15315
- readValue?: string | null;
15316
- status: AmcSpecificationResultLineStatusDto;
15317
- approved?: boolean | null;
15318
- comment?: string | null;
15319
- created: Date;
15320
- createdBy: string;
15321
- createdById: string;
15322
- updated?: Date | null;
15323
- updatedBy?: string | null;
15324
- updatedById?: string | null;
15325
- }
15326
- export type AmcSpecificationResultLineStatusDto = "NotFound" | "NotOk" | "Ok";
15327
- export declare class AmcMechanicalSpecificationResultDto implements IAmcMechanicalSpecificationResultDto {
15328
- yieldStrength?: AmcSpecificationResultLineDto | null;
15329
- tensileStrength?: AmcSpecificationResultLineDto | null;
15330
- elongation?: AmcSpecificationResultLineDto | null;
15331
- reductionOfArea?: AmcSpecificationResultLineDto | null;
15332
- impactEnergy?: AmcSpecificationResultLineDto | null;
15333
- hardness?: AmcSpecificationResultLineDto | null;
15334
- constructor(data?: IAmcMechanicalSpecificationResultDto);
15335
- init(_data?: any): void;
15336
- static fromJS(data: any): AmcMechanicalSpecificationResultDto;
15337
- toJSON(data?: any): any;
15338
- }
15339
- export interface IAmcMechanicalSpecificationResultDto {
15340
- yieldStrength?: AmcSpecificationResultLineDto | null;
15341
- tensileStrength?: AmcSpecificationResultLineDto | null;
15342
- elongation?: AmcSpecificationResultLineDto | null;
15343
- reductionOfArea?: AmcSpecificationResultLineDto | null;
15344
- impactEnergy?: AmcSpecificationResultLineDto | null;
15345
- hardness?: AmcSpecificationResultLineDto | null;
15346
- }
15347
- export declare class AmcFerriteSpecificationResultDto implements IAmcFerriteSpecificationResultDto {
15348
- ferriteContent?: AmcSpecificationResultLineDto | null;
15349
- measurementMethod: AmcFerriteMeasurementMethodDto[];
15350
- constructor(data?: IAmcFerriteSpecificationResultDto);
15351
- init(_data?: any): void;
15352
- static fromJS(data: any): AmcFerriteSpecificationResultDto;
15353
- toJSON(data?: any): any;
15354
- }
15355
- export interface IAmcFerriteSpecificationResultDto {
15356
- ferriteContent?: AmcSpecificationResultLineDto | null;
15357
- measurementMethod: AmcFerriteMeasurementMethodDto[];
15358
- }
15359
- export type AmcFerriteMeasurementMethodDto = "Diushdf" | "Oidjrgr" | "Fjioerw";
15360
- export declare class AmcHeatTreatmentSpecificationResultDto implements IAmcHeatTreatmentSpecificationResultDto {
15361
- heatTreatmentType: AmcHeatTreatmentTypeDto[];
15362
- treatmentTemperature?: AmcSpecificationResultLineDto | null;
15363
- holdingTime?: AmcSpecificationResultLineDto | null;
15364
- coolingMethod: AmcHeatCoolingMethodDto[];
15365
- treatedCondition: AmcHeatTreatedConditionDto[];
15366
- verificationMethod: AmcHeatVerificationMethodDto[];
15367
- constructor(data?: IAmcHeatTreatmentSpecificationResultDto);
15368
- init(_data?: any): void;
15369
- static fromJS(data: any): AmcHeatTreatmentSpecificationResultDto;
15370
- toJSON(data?: any): any;
15371
- }
15372
- export interface IAmcHeatTreatmentSpecificationResultDto {
15373
- heatTreatmentType: AmcHeatTreatmentTypeDto[];
15374
- treatmentTemperature?: AmcSpecificationResultLineDto | null;
15375
- holdingTime?: AmcSpecificationResultLineDto | null;
15376
- coolingMethod: AmcHeatCoolingMethodDto[];
15377
- treatedCondition: AmcHeatTreatedConditionDto[];
15378
- verificationMethod: AmcHeatVerificationMethodDto[];
15379
- }
15380
- export type AmcHeatTreatmentTypeDto = "Sdjifo" | "Oijsdfi";
15381
- export type AmcHeatCoolingMethodDto = "Asdfjoi" | "Fsdifjd";
15382
- export type AmcHeatTreatedConditionDto = "Fsdijfo" | "Oisjdfi";
15383
- export type AmcHeatVerificationMethodDto = "Fisjsdfdfo" | "Oisjdegrfo";
15384
- export declare class ProcessAmcCheckRequestDto implements IProcessAmcCheckRequestDto {
15385
- files: UploadFileDto[];
15386
- specificationId: string;
15387
- specificationVersion: string;
15388
- certificateTypeId?: string | null;
15389
- certificateTypeVersion?: string | null;
15390
- purchaseOrder?: string | null;
15391
- constructor(data?: IProcessAmcCheckRequestDto);
15392
- init(_data?: any): void;
15393
- static fromJS(data: any): ProcessAmcCheckRequestDto;
15394
- toJSON(data?: any): any;
15395
- }
15396
- export interface IProcessAmcCheckRequestDto {
15397
- files: UploadFileDto[];
15398
- specificationId: string;
15399
- specificationVersion: string;
15400
- certificateTypeId?: string | null;
15401
- certificateTypeVersion?: string | null;
15402
- purchaseOrder?: string | null;
15403
- }
15404
- export declare class UpdateAmcResultRequestDto implements IUpdateAmcResultRequestDto {
15405
- certificateId: string;
15406
- project?: string | null;
15407
- purchaseOrder?: string | null;
15408
- workOrder?: string | null;
15409
- updateStatus: UpdateAmcRequestStatusDto;
15410
- certificateTypeSection: UpdateAmcTypeResultChecksDto;
15411
- chemistrySpecification: UpdateAmcChemistrySpecificationResultDto;
15412
- mechanicalSpecification: UpdateAmcMechanicalSpecificationResultDto;
15413
- ferriteSpecification: UpdateAmcFerriteSpecificationResultDto;
15414
- heatSpecification: UpdateAmcHeatTreatmentSpecificationResultDto;
15415
- constructor(data?: IUpdateAmcResultRequestDto);
15762
+ constructor(data?: IAddDiscussionMessageRequest);
15416
15763
  init(_data?: any): void;
15417
- static fromJS(data: any): UpdateAmcResultRequestDto;
15764
+ static fromJS(data: any): AddDiscussionMessageRequest;
15418
15765
  toJSON(data?: any): any;
15419
15766
  }
15420
- export interface IUpdateAmcResultRequestDto {
15421
- certificateId: string;
15422
- project?: string | null;
15423
- purchaseOrder?: string | null;
15424
- workOrder?: string | null;
15425
- updateStatus: UpdateAmcRequestStatusDto;
15426
- certificateTypeSection: UpdateAmcTypeResultChecksDto;
15427
- chemistrySpecification: UpdateAmcChemistrySpecificationResultDto;
15428
- mechanicalSpecification: UpdateAmcMechanicalSpecificationResultDto;
15429
- ferriteSpecification: UpdateAmcFerriteSpecificationResultDto;
15430
- heatSpecification: UpdateAmcHeatTreatmentSpecificationResultDto;
15431
- }
15432
- export type UpdateAmcRequestStatusDto = "Draft" | "Approve" | "Reject";
15433
- export declare class UpdateAmcTypeResultChecksDto implements IUpdateAmcTypeResultChecksDto {
15434
- manufacturer: UpdateAmcTypeManufacturerResultChecksDto;
15435
- signature: UpdateAmcTypeSignatureResultChecksDto;
15436
- thirdParty: UpdateAmcTypeThirdPartyResultChecksDto;
15437
- certification: UpdateAmcTypeCertificationResultChecksDto;
15438
- productAndOrderInformation: UpdateAmcTypeProductAndOrderInformationResultChecksDto;
15439
- testMethodsAndReferences: UpdateAmcTypeTestMethodsAndReferencesResultChecksDto;
15440
- testResults: UpdateAmcTypeTestResultsResultChecksDto;
15441
- documentTypes: UpdateAmcTypeDocumentTypesResultChecksDto;
15442
- constructor(data?: IUpdateAmcTypeResultChecksDto);
15443
- init(_data?: any): void;
15444
- static fromJS(data: any): UpdateAmcTypeResultChecksDto;
15445
- toJSON(data?: any): any;
15446
- }
15447
- export interface IUpdateAmcTypeResultChecksDto {
15448
- manufacturer: UpdateAmcTypeManufacturerResultChecksDto;
15449
- signature: UpdateAmcTypeSignatureResultChecksDto;
15450
- thirdParty: UpdateAmcTypeThirdPartyResultChecksDto;
15451
- certification: UpdateAmcTypeCertificationResultChecksDto;
15452
- productAndOrderInformation: UpdateAmcTypeProductAndOrderInformationResultChecksDto;
15453
- testMethodsAndReferences: UpdateAmcTypeTestMethodsAndReferencesResultChecksDto;
15454
- testResults: UpdateAmcTypeTestResultsResultChecksDto;
15455
- documentTypes: UpdateAmcTypeDocumentTypesResultChecksDto;
15456
- }
15457
- export declare class UpdateAmcTypeManufacturerResultChecksDto implements IUpdateAmcTypeManufacturerResultChecksDto {
15458
- manufacturer?: UpdateAmcTypeResultLine | null;
15459
- address?: UpdateAmcTypeResultLine | null;
15460
- contact?: UpdateAmcTypeResultLine | null;
15461
- constructor(data?: IUpdateAmcTypeManufacturerResultChecksDto);
15462
- init(_data?: any): void;
15463
- static fromJS(data: any): UpdateAmcTypeManufacturerResultChecksDto;
15464
- toJSON(data?: any): any;
15465
- }
15466
- export interface IUpdateAmcTypeManufacturerResultChecksDto {
15467
- manufacturer?: UpdateAmcTypeResultLine | null;
15468
- address?: UpdateAmcTypeResultLine | null;
15469
- contact?: UpdateAmcTypeResultLine | null;
15470
- }
15471
- export declare class UpdateAmcTypeResultLine implements IUpdateAmcTypeResultLine {
15472
- approved?: boolean | null;
15473
- comment?: string | null;
15474
- constructor(data?: IUpdateAmcTypeResultLine);
15767
+ export interface IAddDiscussionMessageRequest {
15768
+ message: string;
15769
+ operationId?: string | null;
15770
+ operationName?: string | null;
15771
+ resourceId?: string | null;
15772
+ }
15773
+ export declare class WorkorderDiscussionReadStatusDto implements IWorkorderDiscussionReadStatusDto {
15774
+ workorderId?: string;
15775
+ operationId?: string | null;
15776
+ resourceId?: string | null;
15777
+ userUpn?: string;
15778
+ lastRead?: Date;
15779
+ constructor(data?: IWorkorderDiscussionReadStatusDto);
15475
15780
  init(_data?: any): void;
15476
- static fromJS(data: any): UpdateAmcTypeResultLine;
15781
+ static fromJS(data: any): WorkorderDiscussionReadStatusDto;
15477
15782
  toJSON(data?: any): any;
15478
15783
  }
15479
- export interface IUpdateAmcTypeResultLine {
15480
- approved?: boolean | null;
15481
- comment?: string | null;
15784
+ export interface IWorkorderDiscussionReadStatusDto {
15785
+ workorderId?: string;
15786
+ operationId?: string | null;
15787
+ resourceId?: string | null;
15788
+ userUpn?: string;
15789
+ lastRead?: Date;
15482
15790
  }
15483
- export declare class UpdateAmcTypeSignatureResultChecksDto implements IUpdateAmcTypeSignatureResultChecksDto {
15484
- certifiedBy?: UpdateAmcTypeResultLine | null;
15485
- position?: UpdateAmcTypeResultLine | null;
15486
- signature?: UpdateAmcTypeResultLine | null;
15487
- date?: UpdateAmcTypeResultLine | null;
15488
- stamp?: UpdateAmcTypeResultLine | null;
15489
- constructor(data?: IUpdateAmcTypeSignatureResultChecksDto);
15490
- init(_data?: any): void;
15491
- static fromJS(data: any): UpdateAmcTypeSignatureResultChecksDto;
15492
- toJSON(data?: any): any;
15493
- }
15494
- export interface IUpdateAmcTypeSignatureResultChecksDto {
15495
- certifiedBy?: UpdateAmcTypeResultLine | null;
15496
- position?: UpdateAmcTypeResultLine | null;
15497
- signature?: UpdateAmcTypeResultLine | null;
15498
- date?: UpdateAmcTypeResultLine | null;
15499
- stamp?: UpdateAmcTypeResultLine | null;
15500
- }
15501
- export declare class UpdateAmcTypeThirdPartyResultChecksDto implements IUpdateAmcTypeThirdPartyResultChecksDto {
15502
- inspectionBody?: UpdateAmcTypeResultLine | null;
15503
- inspectorName?: UpdateAmcTypeResultLine | null;
15504
- position?: UpdateAmcTypeResultLine | null;
15505
- verificationMethod?: UpdateAmcTypeResultLine | null;
15506
- signature?: UpdateAmcTypeResultLine | null;
15507
- date?: UpdateAmcTypeResultLine | null;
15508
- stamp?: UpdateAmcTypeResultLine | null;
15509
- constructor(data?: IUpdateAmcTypeThirdPartyResultChecksDto);
15510
- init(_data?: any): void;
15511
- static fromJS(data: any): UpdateAmcTypeThirdPartyResultChecksDto;
15512
- toJSON(data?: any): any;
15513
- }
15514
- export interface IUpdateAmcTypeThirdPartyResultChecksDto {
15515
- inspectionBody?: UpdateAmcTypeResultLine | null;
15516
- inspectorName?: UpdateAmcTypeResultLine | null;
15517
- position?: UpdateAmcTypeResultLine | null;
15518
- verificationMethod?: UpdateAmcTypeResultLine | null;
15519
- signature?: UpdateAmcTypeResultLine | null;
15520
- date?: UpdateAmcTypeResultLine | null;
15521
- stamp?: UpdateAmcTypeResultLine | null;
15522
- }
15523
- export declare class UpdateAmcTypeCertificationResultChecksDto implements IUpdateAmcTypeCertificationResultChecksDto {
15524
- certificateOfCompliance?: UpdateAmcTypeResultLine | null;
15525
- inspectionCertificate?: UpdateAmcTypeResultLine | null;
15526
- constructor(data?: IUpdateAmcTypeCertificationResultChecksDto);
15527
- init(_data?: any): void;
15528
- static fromJS(data: any): UpdateAmcTypeCertificationResultChecksDto;
15529
- toJSON(data?: any): any;
15530
- }
15531
- export interface IUpdateAmcTypeCertificationResultChecksDto {
15532
- certificateOfCompliance?: UpdateAmcTypeResultLine | null;
15533
- inspectionCertificate?: UpdateAmcTypeResultLine | null;
15534
- }
15535
- export declare class UpdateAmcTypeProductAndOrderInformationResultChecksDto implements IUpdateAmcTypeProductAndOrderInformationResultChecksDto {
15536
- productDescription?: UpdateAmcTypeResultLine | null;
15537
- materialGrade?: UpdateAmcTypeResultLine | null;
15538
- customer?: UpdateAmcTypeResultLine | null;
15539
- customerOrderNumber?: UpdateAmcTypeResultLine | null;
15540
- dimensionsOrWeight?: UpdateAmcTypeResultLine | null;
15541
- batchNumber?: UpdateAmcTypeResultLine | null;
15542
- heatNumber?: UpdateAmcTypeResultLine | null;
15543
- relatedStandards?: UpdateAmcTypeResultLine | null;
15544
- constructor(data?: IUpdateAmcTypeProductAndOrderInformationResultChecksDto);
15545
- init(_data?: any): void;
15546
- static fromJS(data: any): UpdateAmcTypeProductAndOrderInformationResultChecksDto;
15547
- toJSON(data?: any): any;
15548
- }
15549
- export interface IUpdateAmcTypeProductAndOrderInformationResultChecksDto {
15550
- productDescription?: UpdateAmcTypeResultLine | null;
15551
- materialGrade?: UpdateAmcTypeResultLine | null;
15552
- customer?: UpdateAmcTypeResultLine | null;
15553
- customerOrderNumber?: UpdateAmcTypeResultLine | null;
15554
- dimensionsOrWeight?: UpdateAmcTypeResultLine | null;
15555
- batchNumber?: UpdateAmcTypeResultLine | null;
15556
- heatNumber?: UpdateAmcTypeResultLine | null;
15557
- relatedStandards?: UpdateAmcTypeResultLine | null;
15558
- }
15559
- export declare class UpdateAmcTypeTestMethodsAndReferencesResultChecksDto implements IUpdateAmcTypeTestMethodsAndReferencesResultChecksDto {
15560
- usedStandards?: UpdateAmcTypeResultLine | null;
15561
- constructor(data?: IUpdateAmcTypeTestMethodsAndReferencesResultChecksDto);
15562
- init(_data?: any): void;
15563
- static fromJS(data: any): UpdateAmcTypeTestMethodsAndReferencesResultChecksDto;
15564
- toJSON(data?: any): any;
15565
- }
15566
- export interface IUpdateAmcTypeTestMethodsAndReferencesResultChecksDto {
15567
- usedStandards?: UpdateAmcTypeResultLine | null;
15568
- }
15569
- export declare class UpdateAmcTypeTestResultsResultChecksDto implements IUpdateAmcTypeTestResultsResultChecksDto {
15570
- mechanicalProperties?: UpdateAmcTypeResultLine | null;
15571
- chemicalAnalysis?: UpdateAmcTypeResultLine | null;
15572
- impactTests?: UpdateAmcTypeResultLine | null;
15573
- corrosionTests?: UpdateAmcTypeResultLine | null;
15574
- ferriteContentAndMicrostructure?: UpdateAmcTypeResultLine | null;
15575
- constructor(data?: IUpdateAmcTypeTestResultsResultChecksDto);
15576
- init(_data?: any): void;
15577
- static fromJS(data: any): UpdateAmcTypeTestResultsResultChecksDto;
15578
- toJSON(data?: any): any;
15579
- }
15580
- export interface IUpdateAmcTypeTestResultsResultChecksDto {
15581
- mechanicalProperties?: UpdateAmcTypeResultLine | null;
15582
- chemicalAnalysis?: UpdateAmcTypeResultLine | null;
15583
- impactTests?: UpdateAmcTypeResultLine | null;
15584
- corrosionTests?: UpdateAmcTypeResultLine | null;
15585
- ferriteContentAndMicrostructure?: UpdateAmcTypeResultLine | null;
15586
- }
15587
- export declare class UpdateAmcTypeDocumentTypesResultChecksDto implements IUpdateAmcTypeDocumentTypesResultChecksDto {
15588
- heatTreatmentCertificate?: UpdateAmcTypeResultLine | null;
15589
- ultrasonicControlCertificate?: UpdateAmcTypeResultLine | null;
15590
- liquidPenetrantCertificate?: UpdateAmcTypeResultLine | null;
15591
- testReport?: UpdateAmcTypeResultLine | null;
15592
- dimensionalReport?: UpdateAmcTypeResultLine | null;
15593
- dyePenetrantReport?: UpdateAmcTypeResultLine | null;
15594
- visualReport?: UpdateAmcTypeResultLine | null;
15595
- certificateOfAnalyticalAndMechanicalTests?: UpdateAmcTypeResultLine | null;
15596
- certificateOfTest?: UpdateAmcTypeResultLine | null;
15597
- technicalReport?: UpdateAmcTypeResultLine | null;
15598
- microExaminationReport?: UpdateAmcTypeResultLine | null;
15599
- radiologicalReport?: UpdateAmcTypeResultLine | null;
15600
- constructor(data?: IUpdateAmcTypeDocumentTypesResultChecksDto);
15601
- init(_data?: any): void;
15602
- static fromJS(data: any): UpdateAmcTypeDocumentTypesResultChecksDto;
15603
- toJSON(data?: any): any;
15604
- }
15605
- export interface IUpdateAmcTypeDocumentTypesResultChecksDto {
15606
- heatTreatmentCertificate?: UpdateAmcTypeResultLine | null;
15607
- ultrasonicControlCertificate?: UpdateAmcTypeResultLine | null;
15608
- liquidPenetrantCertificate?: UpdateAmcTypeResultLine | null;
15609
- testReport?: UpdateAmcTypeResultLine | null;
15610
- dimensionalReport?: UpdateAmcTypeResultLine | null;
15611
- dyePenetrantReport?: UpdateAmcTypeResultLine | null;
15612
- visualReport?: UpdateAmcTypeResultLine | null;
15613
- certificateOfAnalyticalAndMechanicalTests?: UpdateAmcTypeResultLine | null;
15614
- certificateOfTest?: UpdateAmcTypeResultLine | null;
15615
- technicalReport?: UpdateAmcTypeResultLine | null;
15616
- microExaminationReport?: UpdateAmcTypeResultLine | null;
15617
- radiologicalReport?: UpdateAmcTypeResultLine | null;
15618
- }
15619
- export declare class UpdateAmcChemistrySpecificationResultDto implements IUpdateAmcChemistrySpecificationResultDto {
15620
- carbon?: UpdateAmcSpecificationResultLineDto | null;
15621
- manganese?: UpdateAmcSpecificationResultLineDto | null;
15622
- silicon?: UpdateAmcSpecificationResultLineDto | null;
15623
- phosphorus?: UpdateAmcSpecificationResultLineDto | null;
15624
- sulfur?: UpdateAmcSpecificationResultLineDto | null;
15625
- chromium?: UpdateAmcSpecificationResultLineDto | null;
15626
- nickel?: UpdateAmcSpecificationResultLineDto | null;
15627
- molybdenum?: UpdateAmcSpecificationResultLineDto | null;
15628
- copper?: UpdateAmcSpecificationResultLineDto | null;
15629
- nitrogen?: UpdateAmcSpecificationResultLineDto | null;
15630
- wolfram?: UpdateAmcSpecificationResultLineDto | null;
15631
- iron?: UpdateAmcSpecificationResultLineDto | null;
15632
- constructor(data?: IUpdateAmcChemistrySpecificationResultDto);
15633
- init(_data?: any): void;
15634
- static fromJS(data: any): UpdateAmcChemistrySpecificationResultDto;
15635
- toJSON(data?: any): any;
15636
- }
15637
- export interface IUpdateAmcChemistrySpecificationResultDto {
15638
- carbon?: UpdateAmcSpecificationResultLineDto | null;
15639
- manganese?: UpdateAmcSpecificationResultLineDto | null;
15640
- silicon?: UpdateAmcSpecificationResultLineDto | null;
15641
- phosphorus?: UpdateAmcSpecificationResultLineDto | null;
15642
- sulfur?: UpdateAmcSpecificationResultLineDto | null;
15643
- chromium?: UpdateAmcSpecificationResultLineDto | null;
15644
- nickel?: UpdateAmcSpecificationResultLineDto | null;
15645
- molybdenum?: UpdateAmcSpecificationResultLineDto | null;
15646
- copper?: UpdateAmcSpecificationResultLineDto | null;
15647
- nitrogen?: UpdateAmcSpecificationResultLineDto | null;
15648
- wolfram?: UpdateAmcSpecificationResultLineDto | null;
15649
- iron?: UpdateAmcSpecificationResultLineDto | null;
15650
- }
15651
- export declare class UpdateAmcSpecificationResultLineDto implements IUpdateAmcSpecificationResultLineDto {
15652
- approved?: boolean;
15653
- comment?: string | null;
15654
- constructor(data?: IUpdateAmcSpecificationResultLineDto);
15791
+ export declare class SetDiscussionLastReadRequest implements ISetDiscussionLastReadRequest {
15792
+ operationId?: string | null;
15793
+ resourceId?: string | null;
15794
+ constructor(data?: ISetDiscussionLastReadRequest);
15655
15795
  init(_data?: any): void;
15656
- static fromJS(data: any): UpdateAmcSpecificationResultLineDto;
15796
+ static fromJS(data: any): SetDiscussionLastReadRequest;
15657
15797
  toJSON(data?: any): any;
15658
15798
  }
15659
- export interface IUpdateAmcSpecificationResultLineDto {
15660
- approved?: boolean;
15661
- comment?: string | null;
15799
+ export interface ISetDiscussionLastReadRequest {
15800
+ operationId?: string | null;
15801
+ resourceId?: string | null;
15662
15802
  }
15663
- export declare class UpdateAmcMechanicalSpecificationResultDto implements IUpdateAmcMechanicalSpecificationResultDto {
15664
- yieldStrength?: UpdateAmcSpecificationResultLineDto | null;
15665
- tensileStrength?: UpdateAmcSpecificationResultLineDto | null;
15666
- elongation?: UpdateAmcSpecificationResultLineDto | null;
15667
- reductionOfArea?: UpdateAmcSpecificationResultLineDto | null;
15668
- impactEnergy?: UpdateAmcSpecificationResultLineDto | null;
15669
- hardness?: UpdateAmcSpecificationResultLineDto | null;
15670
- constructor(data?: IUpdateAmcMechanicalSpecificationResultDto);
15803
+ export declare class CompanyUserDto implements ICompanyUserDto {
15804
+ companyId: string;
15805
+ userObjectId: string;
15806
+ username?: string | null;
15807
+ name?: string | null;
15808
+ roles: string[];
15809
+ constructor(data?: ICompanyUserDto);
15671
15810
  init(_data?: any): void;
15672
- static fromJS(data: any): UpdateAmcMechanicalSpecificationResultDto;
15811
+ static fromJS(data: any): CompanyUserDto;
15673
15812
  toJSON(data?: any): any;
15674
15813
  }
15675
- export interface IUpdateAmcMechanicalSpecificationResultDto {
15676
- yieldStrength?: UpdateAmcSpecificationResultLineDto | null;
15677
- tensileStrength?: UpdateAmcSpecificationResultLineDto | null;
15678
- elongation?: UpdateAmcSpecificationResultLineDto | null;
15679
- reductionOfArea?: UpdateAmcSpecificationResultLineDto | null;
15680
- impactEnergy?: UpdateAmcSpecificationResultLineDto | null;
15681
- hardness?: UpdateAmcSpecificationResultLineDto | null;
15814
+ export interface ICompanyUserDto {
15815
+ companyId: string;
15816
+ userObjectId: string;
15817
+ username?: string | null;
15818
+ name?: string | null;
15819
+ roles: string[];
15682
15820
  }
15683
- export declare class UpdateAmcFerriteSpecificationResultDto implements IUpdateAmcFerriteSpecificationResultDto {
15684
- ferriteContent?: UpdateAmcSpecificationResultLineDto | null;
15685
- measurementMethod: AmcFerriteMeasurementMethodDto[];
15686
- constructor(data?: IUpdateAmcFerriteSpecificationResultDto);
15821
+ export declare class CreateCompanyUser implements ICreateCompanyUser {
15822
+ username: string;
15823
+ name: string;
15824
+ roles: string[];
15825
+ companyId?: string | null;
15826
+ constructor(data?: ICreateCompanyUser);
15687
15827
  init(_data?: any): void;
15688
- static fromJS(data: any): UpdateAmcFerriteSpecificationResultDto;
15828
+ static fromJS(data: any): CreateCompanyUser;
15689
15829
  toJSON(data?: any): any;
15690
15830
  }
15691
- export interface IUpdateAmcFerriteSpecificationResultDto {
15692
- ferriteContent?: UpdateAmcSpecificationResultLineDto | null;
15693
- measurementMethod: AmcFerriteMeasurementMethodDto[];
15831
+ export interface ICreateCompanyUser {
15832
+ username: string;
15833
+ name: string;
15834
+ roles: string[];
15835
+ companyId?: string | null;
15694
15836
  }
15695
- export declare class UpdateAmcHeatTreatmentSpecificationResultDto implements IUpdateAmcHeatTreatmentSpecificationResultDto {
15696
- heatTreatmentType: AmcHeatTreatmentTypeDto[];
15697
- treatmentTemperature?: UpdateAmcSpecificationResultLineDto | null;
15698
- holdingTime?: UpdateAmcSpecificationResultLineDto | null;
15699
- coolingMethod: AmcHeatCoolingMethodDto[];
15700
- treatedCondition: AmcHeatTreatedConditionDto[];
15701
- verificationMethod: AmcHeatVerificationMethodDto[];
15702
- constructor(data?: IUpdateAmcHeatTreatmentSpecificationResultDto);
15837
+ export declare class UpdateCompanyUserRequest implements IUpdateCompanyUserRequest {
15838
+ roles: string[];
15839
+ companyId?: string | null;
15840
+ constructor(data?: IUpdateCompanyUserRequest);
15703
15841
  init(_data?: any): void;
15704
- static fromJS(data: any): UpdateAmcHeatTreatmentSpecificationResultDto;
15842
+ static fromJS(data: any): UpdateCompanyUserRequest;
15705
15843
  toJSON(data?: any): any;
15706
15844
  }
15707
- export interface IUpdateAmcHeatTreatmentSpecificationResultDto {
15708
- heatTreatmentType: AmcHeatTreatmentTypeDto[];
15709
- treatmentTemperature?: UpdateAmcSpecificationResultLineDto | null;
15710
- holdingTime?: UpdateAmcSpecificationResultLineDto | null;
15711
- coolingMethod: AmcHeatCoolingMethodDto[];
15712
- treatedCondition: AmcHeatTreatedConditionDto[];
15713
- verificationMethod: AmcHeatVerificationMethodDto[];
15845
+ export interface IUpdateCompanyUserRequest {
15846
+ roles: string[];
15847
+ companyId?: string | null;
15714
15848
  }
15715
- export declare class AmcSpecificationLiteDto implements IAmcSpecificationLiteDto {
15716
- specificationId: string;
15717
- version: number;
15849
+ export declare class ExternalRoleDto implements IExternalRoleDto {
15850
+ id: string;
15718
15851
  name: string;
15719
- number: string;
15720
- revision: string;
15721
- date: Date;
15722
- status: AmcSpecificationStatusDto;
15723
- summary?: string | null;
15724
- relatedStandards: string[];
15725
- created: Date;
15726
- createdBy: string;
15727
- createdById: string;
15728
- updatedBy?: string | null;
15729
- updatedById?: string | null;
15730
- constructor(data?: IAmcSpecificationLiteDto);
15852
+ constructor(data?: IExternalRoleDto);
15731
15853
  init(_data?: any): void;
15732
- static fromJS(data: any): AmcSpecificationLiteDto;
15854
+ static fromJS(data: any): ExternalRoleDto;
15733
15855
  toJSON(data?: any): any;
15734
15856
  }
15735
- export interface IAmcSpecificationLiteDto {
15736
- specificationId: string;
15737
- version: number;
15857
+ export interface IExternalRoleDto {
15858
+ id: string;
15738
15859
  name: string;
15739
- number: string;
15740
- revision: string;
15741
- date: Date;
15742
- status: AmcSpecificationStatusDto;
15743
- summary?: string | null;
15744
- relatedStandards: string[];
15745
- created: Date;
15746
- createdBy: string;
15747
- createdById: string;
15748
- updatedBy?: string | null;
15749
- updatedById?: string | null;
15750
15860
  }
15751
- export type AmcSpecificationStatusDto = "Draft" | "Released" | "Expired" | "Rejected";
15752
- export declare class AmcSpecificationDto implements IAmcSpecificationDto {
15753
- specificationId: string;
15754
- version: number;
15755
- name: string;
15756
- number: string;
15757
- revision: string;
15758
- date: Date;
15759
- status: AmcSpecificationStatusDto;
15760
- summary?: string | null;
15761
- relatedStandards: string[];
15762
- created: Date;
15763
- createdBy: string;
15764
- createdById: string;
15765
- updatedBy?: string | null;
15766
- updatedById?: string | null;
15767
- chemistrySpecification: AmcChemistrySpecificationDto;
15768
- mechanicalSpecification: AmcMechanicalSpecificationDto;
15769
- ferriteSpecification: AmcFerriteSpecificationDto;
15770
- heatSpecification: AmcHeatTreatmentSpecificationDto;
15771
- constructor(data?: IAmcSpecificationDto);
15861
+ export declare class CompanyCustomerDto implements ICompanyCustomerDto {
15862
+ customerTenantId?: string | null;
15863
+ customerAzureAdTenantId?: string | null;
15864
+ customerName?: string | null;
15865
+ supplierId?: string | null;
15866
+ supplierName?: string | null;
15867
+ constructor(data?: ICompanyCustomerDto);
15772
15868
  init(_data?: any): void;
15773
- static fromJS(data: any): AmcSpecificationDto;
15869
+ static fromJS(data: any): CompanyCustomerDto;
15774
15870
  toJSON(data?: any): any;
15775
15871
  }
15776
- export interface IAmcSpecificationDto {
15777
- specificationId: string;
15778
- version: number;
15779
- name: string;
15780
- number: string;
15781
- revision: string;
15782
- date: Date;
15783
- status: AmcSpecificationStatusDto;
15784
- summary?: string | null;
15785
- relatedStandards: string[];
15786
- created: Date;
15787
- createdBy: string;
15788
- createdById: string;
15789
- updatedBy?: string | null;
15790
- updatedById?: string | null;
15791
- chemistrySpecification: AmcChemistrySpecificationDto;
15792
- mechanicalSpecification: AmcMechanicalSpecificationDto;
15793
- ferriteSpecification: AmcFerriteSpecificationDto;
15794
- heatSpecification: AmcHeatTreatmentSpecificationDto;
15795
- }
15796
- export declare class AmcChemistrySpecificationDto implements IAmcChemistrySpecificationDto {
15797
- carbon?: AmcSpecificationLineDto | null;
15798
- manganese?: AmcSpecificationLineDto | null;
15799
- silicon?: AmcSpecificationLineDto | null;
15800
- phosphorus?: AmcSpecificationLineDto | null;
15801
- sulfur?: AmcSpecificationLineDto | null;
15802
- chromium?: AmcSpecificationLineDto | null;
15803
- nickel?: AmcSpecificationLineDto | null;
15804
- molybdenum?: AmcSpecificationLineDto | null;
15805
- copper?: AmcSpecificationLineDto | null;
15806
- nitrogen?: AmcSpecificationLineDto | null;
15807
- wolfram?: AmcSpecificationLineDto | null;
15808
- iron?: AmcSpecificationLineDto | null;
15809
- constructor(data?: IAmcChemistrySpecificationDto);
15810
- init(_data?: any): void;
15811
- static fromJS(data: any): AmcChemistrySpecificationDto;
15812
- toJSON(data?: any): any;
15813
- }
15814
- export interface IAmcChemistrySpecificationDto {
15815
- carbon?: AmcSpecificationLineDto | null;
15816
- manganese?: AmcSpecificationLineDto | null;
15817
- silicon?: AmcSpecificationLineDto | null;
15818
- phosphorus?: AmcSpecificationLineDto | null;
15819
- sulfur?: AmcSpecificationLineDto | null;
15820
- chromium?: AmcSpecificationLineDto | null;
15821
- nickel?: AmcSpecificationLineDto | null;
15822
- molybdenum?: AmcSpecificationLineDto | null;
15823
- copper?: AmcSpecificationLineDto | null;
15824
- nitrogen?: AmcSpecificationLineDto | null;
15825
- wolfram?: AmcSpecificationLineDto | null;
15826
- iron?: AmcSpecificationLineDto | null;
15827
- }
15828
- export declare class AmcSpecificationLineDto implements IAmcSpecificationLineDto {
15829
- operator: AmcSpecificationOperatorDto;
15830
- value1?: number | null;
15831
- value2?: number | null;
15832
- symbol: AmcSpecificationSymbolDto;
15833
- constructor(data?: IAmcSpecificationLineDto);
15834
- init(_data?: any): void;
15835
- static fromJS(data: any): AmcSpecificationLineDto;
15836
- toJSON(data?: any): any;
15837
- }
15838
- export interface IAmcSpecificationLineDto {
15839
- operator: AmcSpecificationOperatorDto;
15840
- value1?: number | null;
15841
- value2?: number | null;
15842
- symbol: AmcSpecificationSymbolDto;
15843
- }
15844
- export type AmcSpecificationOperatorDto = "Equal" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "Min" | "Max" | "Between";
15845
- export type AmcSpecificationSymbolDto = "None" | "Percentage" | "Joule" | "Celsius" | "Farenheit" | "Mpa" | "Hbw";
15846
- export declare class AmcMechanicalSpecificationDto implements IAmcMechanicalSpecificationDto {
15847
- yieldStrength?: AmcSpecificationLineDto | null;
15848
- tensileStrength?: AmcSpecificationLineDto | null;
15849
- elongation?: AmcSpecificationLineDto | null;
15850
- reductionOfArea?: AmcSpecificationLineDto | null;
15851
- impactEnergy?: AmcSpecificationLineDto | null;
15852
- hardness?: AmcSpecificationLineDto | null;
15853
- constructor(data?: IAmcMechanicalSpecificationDto);
15854
- init(_data?: any): void;
15855
- static fromJS(data: any): AmcMechanicalSpecificationDto;
15856
- toJSON(data?: any): any;
15857
- }
15858
- export interface IAmcMechanicalSpecificationDto {
15859
- yieldStrength?: AmcSpecificationLineDto | null;
15860
- tensileStrength?: AmcSpecificationLineDto | null;
15861
- elongation?: AmcSpecificationLineDto | null;
15862
- reductionOfArea?: AmcSpecificationLineDto | null;
15863
- impactEnergy?: AmcSpecificationLineDto | null;
15864
- hardness?: AmcSpecificationLineDto | null;
15865
- }
15866
- export declare class AmcFerriteSpecificationDto implements IAmcFerriteSpecificationDto {
15867
- ferriteContent?: AmcSpecificationLineDto | null;
15868
- measurementMethod: AmcFerriteMeasurementMethodDto[];
15869
- constructor(data?: IAmcFerriteSpecificationDto);
15870
- init(_data?: any): void;
15871
- static fromJS(data: any): AmcFerriteSpecificationDto;
15872
- toJSON(data?: any): any;
15873
- }
15874
- export interface IAmcFerriteSpecificationDto {
15875
- ferriteContent?: AmcSpecificationLineDto | null;
15876
- measurementMethod: AmcFerriteMeasurementMethodDto[];
15877
- }
15878
- export declare class AmcHeatTreatmentSpecificationDto implements IAmcHeatTreatmentSpecificationDto {
15879
- heatTreatmentType: AmcHeatTreatmentTypeDto[];
15880
- treatmentTemperature?: AmcSpecificationLineDto | null;
15881
- holdingTime?: AmcSpecificationLineDto | null;
15882
- coolingMethod: AmcHeatCoolingMethodDto[];
15883
- treatedCondition: AmcHeatTreatedConditionDto[];
15884
- verificationMethod: AmcHeatVerificationMethodDto[];
15885
- constructor(data?: IAmcHeatTreatmentSpecificationDto);
15886
- init(_data?: any): void;
15887
- static fromJS(data: any): AmcHeatTreatmentSpecificationDto;
15888
- toJSON(data?: any): any;
15889
- }
15890
- export interface IAmcHeatTreatmentSpecificationDto {
15891
- heatTreatmentType: AmcHeatTreatmentTypeDto[];
15892
- treatmentTemperature?: AmcSpecificationLineDto | null;
15893
- holdingTime?: AmcSpecificationLineDto | null;
15894
- coolingMethod: AmcHeatCoolingMethodDto[];
15895
- treatedCondition: AmcHeatTreatedConditionDto[];
15896
- verificationMethod: AmcHeatVerificationMethodDto[];
15897
- }
15898
- export declare class CreateAmcSpecificationDto implements ICreateAmcSpecificationDto {
15899
- name: string;
15900
- number: string;
15901
- revision: string;
15902
- date: Date;
15903
- createCopy: boolean;
15904
- specificationId?: string | null;
15905
- specificationVersion?: string | null;
15906
- specificationFile?: UploadFileDto | null;
15907
- constructor(data?: ICreateAmcSpecificationDto);
15872
+ export interface ICompanyCustomerDto {
15873
+ customerTenantId?: string | null;
15874
+ customerAzureAdTenantId?: string | null;
15875
+ customerName?: string | null;
15876
+ supplierId?: string | null;
15877
+ supplierName?: string | null;
15878
+ }
15879
+ export declare class CompanyDto implements ICompanyDto {
15880
+ id?: string;
15881
+ name?: string;
15882
+ organizationNumber?: string | null;
15883
+ country?: string;
15884
+ tenantId?: string | null;
15885
+ constructor(data?: ICompanyDto);
15908
15886
  init(_data?: any): void;
15909
- static fromJS(data: any): CreateAmcSpecificationDto;
15887
+ static fromJS(data: any): CompanyDto;
15910
15888
  toJSON(data?: any): any;
15911
15889
  }
15912
- export interface ICreateAmcSpecificationDto {
15913
- name: string;
15914
- number: string;
15915
- revision: string;
15916
- date: Date;
15917
- createCopy: boolean;
15918
- specificationId?: string | null;
15919
- specificationVersion?: string | null;
15920
- specificationFile?: UploadFileDto | null;
15890
+ export interface ICompanyDto {
15891
+ id?: string;
15892
+ name?: string;
15893
+ organizationNumber?: string | null;
15894
+ country?: string;
15895
+ tenantId?: string | null;
15921
15896
  }
15922
- export declare class UpdateAmcSpecificationDto implements IUpdateAmcSpecificationDto {
15923
- specificationId: string;
15924
- version: number;
15925
- status: UpdateAmcSpecificationStatusDto;
15926
- summary?: string | null;
15927
- relatedStandards: string[];
15928
- chemistrySpecification: AmcChemistrySpecificationDto;
15929
- mechanicalSpecification: AmcMechanicalSpecificationDto;
15930
- ferriteSpecification: AmcFerriteSpecificationDto;
15931
- heatSpecification: AmcHeatTreatmentSpecificationDto;
15932
- constructor(data?: IUpdateAmcSpecificationDto);
15897
+ export declare class SupplierInviteDto implements ISupplierInviteDto {
15898
+ id: string;
15899
+ supplierId: string;
15900
+ supplierName?: string | null;
15901
+ customerName?: string | null;
15902
+ userId: string;
15903
+ userName?: string | null;
15904
+ companyId?: string | null;
15905
+ deadline: Date;
15906
+ acceptedTimestamp?: Date | null;
15907
+ createdTime: Date;
15908
+ createdBy: string;
15909
+ constructor(data?: ISupplierInviteDto);
15933
15910
  init(_data?: any): void;
15934
- static fromJS(data: any): UpdateAmcSpecificationDto;
15911
+ static fromJS(data: any): SupplierInviteDto;
15935
15912
  toJSON(data?: any): any;
15936
15913
  }
15937
- export interface IUpdateAmcSpecificationDto {
15938
- specificationId: string;
15939
- version: number;
15940
- status: UpdateAmcSpecificationStatusDto;
15941
- summary?: string | null;
15942
- relatedStandards: string[];
15943
- chemistrySpecification: AmcChemistrySpecificationDto;
15944
- mechanicalSpecification: AmcMechanicalSpecificationDto;
15945
- ferriteSpecification: AmcFerriteSpecificationDto;
15946
- heatSpecification: AmcHeatTreatmentSpecificationDto;
15947
- }
15948
- export type UpdateAmcSpecificationStatusDto = "NotModified" | "Released" | "Obsolete";
15949
- export declare class AmcTypeLiteDto implements IAmcTypeLiteDto {
15950
- typeId: string;
15951
- version: number;
15952
- name: string;
15953
- revision: string;
15954
- description?: string | null;
15955
- created: Date;
15914
+ export interface ISupplierInviteDto {
15915
+ id: string;
15916
+ supplierId: string;
15917
+ supplierName?: string | null;
15918
+ customerName?: string | null;
15919
+ userId: string;
15920
+ userName?: string | null;
15921
+ companyId?: string | null;
15922
+ deadline: Date;
15923
+ acceptedTimestamp?: Date | null;
15924
+ createdTime: Date;
15956
15925
  createdBy: string;
15957
- createdById: string;
15958
- updatedBy?: string | null;
15959
- updatedById?: string | null;
15960
- constructor(data?: IAmcTypeLiteDto);
15926
+ }
15927
+ export declare class AcceptSupplierInvite implements IAcceptSupplierInvite {
15928
+ companyName?: string;
15929
+ organizationNumber?: string;
15930
+ threeLetterIsoCountry?: string;
15931
+ constructor(data?: IAcceptSupplierInvite);
15961
15932
  init(_data?: any): void;
15962
- static fromJS(data: any): AmcTypeLiteDto;
15933
+ static fromJS(data: any): AcceptSupplierInvite;
15963
15934
  toJSON(data?: any): any;
15964
15935
  }
15965
- export interface IAmcTypeLiteDto {
15966
- typeId: string;
15967
- version: number;
15968
- name: string;
15969
- revision: string;
15970
- description?: string | null;
15971
- created: Date;
15972
- createdBy: string;
15973
- createdById: string;
15974
- updatedBy?: string | null;
15975
- updatedById?: string | null;
15936
+ export interface IAcceptSupplierInvite {
15937
+ companyName?: string;
15938
+ organizationNumber?: string;
15939
+ threeLetterIsoCountry?: string;
15976
15940
  }
15977
- export declare class AmcTypeDto implements IAmcTypeDto {
15978
- typeId: string;
15979
- version: number;
15980
- name: string;
15981
- revision: string;
15982
- description?: string | null;
15983
- created: Date;
15984
- createdBy: string;
15985
- createdById: string;
15986
- updatedBy?: string | null;
15987
- updatedById?: string | null;
15988
- checks: AmcTypeChecksDto;
15989
- constructor(data?: IAmcTypeDto);
15941
+ export declare class CreateSupplierInvite implements ICreateSupplierInvite {
15942
+ supplierId: string;
15943
+ supplierName?: string | null;
15944
+ username: string;
15945
+ invitedName: string;
15946
+ deadline: Date;
15947
+ existingCompanyId?: string | null;
15948
+ constructor(data?: ICreateSupplierInvite);
15990
15949
  init(_data?: any): void;
15991
- static fromJS(data: any): AmcTypeDto;
15950
+ static fromJS(data: any): CreateSupplierInvite;
15992
15951
  toJSON(data?: any): any;
15993
15952
  }
15994
- export interface IAmcTypeDto {
15995
- typeId: string;
15996
- version: number;
15997
- name: string;
15998
- revision: string;
15999
- description?: string | null;
16000
- created: Date;
16001
- createdBy: string;
16002
- createdById: string;
16003
- updatedBy?: string | null;
16004
- updatedById?: string | null;
16005
- checks: AmcTypeChecksDto;
16006
- }
16007
- export declare class AmcTypeChecksDto implements IAmcTypeChecksDto {
16008
- manufacturer: AmcTypeManufacturerChecksDto;
16009
- signature: AmcTypeSignatureChecksDto;
16010
- thirdParty: AmcTypeThirdPartyChecksDto;
16011
- certification: AmcTypeCertificationChecksDto;
16012
- productAndOrderInformation: AmcTypeProductAndOrderInformationChecksDto;
16013
- testMethodsAndReferences: AmcTypeTestMethodsAndReferencesChecksDto;
16014
- testResults: AmcTypeTestResultsChecksDto;
16015
- documentTypes: AmcTypeDocumentTypesChecksDto;
16016
- constructor(data?: IAmcTypeChecksDto);
16017
- init(_data?: any): void;
16018
- static fromJS(data: any): AmcTypeChecksDto;
16019
- toJSON(data?: any): any;
16020
- }
16021
- export interface IAmcTypeChecksDto {
16022
- manufacturer: AmcTypeManufacturerChecksDto;
16023
- signature: AmcTypeSignatureChecksDto;
16024
- thirdParty: AmcTypeThirdPartyChecksDto;
16025
- certification: AmcTypeCertificationChecksDto;
16026
- productAndOrderInformation: AmcTypeProductAndOrderInformationChecksDto;
16027
- testMethodsAndReferences: AmcTypeTestMethodsAndReferencesChecksDto;
16028
- testResults: AmcTypeTestResultsChecksDto;
16029
- documentTypes: AmcTypeDocumentTypesChecksDto;
16030
- }
16031
- export declare class AmcTypeManufacturerChecksDto implements IAmcTypeManufacturerChecksDto {
16032
- manufacturer?: boolean;
16033
- address?: boolean;
16034
- contact?: boolean;
16035
- constructor(data?: IAmcTypeManufacturerChecksDto);
16036
- init(_data?: any): void;
16037
- static fromJS(data: any): AmcTypeManufacturerChecksDto;
16038
- toJSON(data?: any): any;
16039
- }
16040
- export interface IAmcTypeManufacturerChecksDto {
16041
- manufacturer?: boolean;
16042
- address?: boolean;
16043
- contact?: boolean;
16044
- }
16045
- export declare class AmcTypeSignatureChecksDto implements IAmcTypeSignatureChecksDto {
16046
- certifiedBy?: boolean;
16047
- position?: boolean;
16048
- signature?: boolean;
16049
- date?: boolean;
16050
- stamp?: boolean;
16051
- constructor(data?: IAmcTypeSignatureChecksDto);
16052
- init(_data?: any): void;
16053
- static fromJS(data: any): AmcTypeSignatureChecksDto;
16054
- toJSON(data?: any): any;
16055
- }
16056
- export interface IAmcTypeSignatureChecksDto {
16057
- certifiedBy?: boolean;
16058
- position?: boolean;
16059
- signature?: boolean;
16060
- date?: boolean;
16061
- stamp?: boolean;
16062
- }
16063
- export declare class AmcTypeThirdPartyChecksDto implements IAmcTypeThirdPartyChecksDto {
16064
- inspectionBody?: boolean;
16065
- inspectorName?: boolean;
16066
- position?: boolean;
16067
- verificationMethod?: boolean;
16068
- signature?: boolean;
16069
- date?: boolean;
16070
- stamp?: boolean;
16071
- constructor(data?: IAmcTypeThirdPartyChecksDto);
16072
- init(_data?: any): void;
16073
- static fromJS(data: any): AmcTypeThirdPartyChecksDto;
16074
- toJSON(data?: any): any;
16075
- }
16076
- export interface IAmcTypeThirdPartyChecksDto {
16077
- inspectionBody?: boolean;
16078
- inspectorName?: boolean;
16079
- position?: boolean;
16080
- verificationMethod?: boolean;
16081
- signature?: boolean;
16082
- date?: boolean;
16083
- stamp?: boolean;
16084
- }
16085
- export declare class AmcTypeCertificationChecksDto implements IAmcTypeCertificationChecksDto {
16086
- certificateOfCompliance?: boolean;
16087
- inspectionCertificate?: boolean;
16088
- constructor(data?: IAmcTypeCertificationChecksDto);
16089
- init(_data?: any): void;
16090
- static fromJS(data: any): AmcTypeCertificationChecksDto;
16091
- toJSON(data?: any): any;
16092
- }
16093
- export interface IAmcTypeCertificationChecksDto {
16094
- certificateOfCompliance?: boolean;
16095
- inspectionCertificate?: boolean;
16096
- }
16097
- export declare class AmcTypeProductAndOrderInformationChecksDto implements IAmcTypeProductAndOrderInformationChecksDto {
16098
- productDescription?: boolean;
16099
- materialGrade?: boolean;
16100
- customer?: boolean;
16101
- customerOrderNumber?: boolean;
16102
- dimensionsOrWeight?: boolean;
16103
- batchNumber?: boolean;
16104
- heatNumber?: boolean;
16105
- relatedStandards?: boolean;
16106
- constructor(data?: IAmcTypeProductAndOrderInformationChecksDto);
16107
- init(_data?: any): void;
16108
- static fromJS(data: any): AmcTypeProductAndOrderInformationChecksDto;
16109
- toJSON(data?: any): any;
16110
- }
16111
- export interface IAmcTypeProductAndOrderInformationChecksDto {
16112
- productDescription?: boolean;
16113
- materialGrade?: boolean;
16114
- customer?: boolean;
16115
- customerOrderNumber?: boolean;
16116
- dimensionsOrWeight?: boolean;
16117
- batchNumber?: boolean;
16118
- heatNumber?: boolean;
16119
- relatedStandards?: boolean;
16120
- }
16121
- export declare class AmcTypeTestMethodsAndReferencesChecksDto implements IAmcTypeTestMethodsAndReferencesChecksDto {
16122
- usedStandards?: boolean;
16123
- constructor(data?: IAmcTypeTestMethodsAndReferencesChecksDto);
16124
- init(_data?: any): void;
16125
- static fromJS(data: any): AmcTypeTestMethodsAndReferencesChecksDto;
16126
- toJSON(data?: any): any;
16127
- }
16128
- export interface IAmcTypeTestMethodsAndReferencesChecksDto {
16129
- usedStandards?: boolean;
16130
- }
16131
- export declare class AmcTypeTestResultsChecksDto implements IAmcTypeTestResultsChecksDto {
16132
- mechanicalProperties?: boolean;
16133
- chemicalAnalysis?: boolean;
16134
- impactTests?: boolean;
16135
- corrosionTests?: boolean;
16136
- ferriteContentAndMicrostructure?: boolean;
16137
- constructor(data?: IAmcTypeTestResultsChecksDto);
16138
- init(_data?: any): void;
16139
- static fromJS(data: any): AmcTypeTestResultsChecksDto;
16140
- toJSON(data?: any): any;
16141
- }
16142
- export interface IAmcTypeTestResultsChecksDto {
16143
- mechanicalProperties?: boolean;
16144
- chemicalAnalysis?: boolean;
16145
- impactTests?: boolean;
16146
- corrosionTests?: boolean;
16147
- ferriteContentAndMicrostructure?: boolean;
16148
- }
16149
- export declare class AmcTypeDocumentTypesChecksDto implements IAmcTypeDocumentTypesChecksDto {
16150
- heatTreatmentCertificate?: boolean;
16151
- ultrasonicControlCertificate?: boolean;
16152
- liquidPenetrantCertificate?: boolean;
16153
- testReport?: boolean;
16154
- dimensionalReport?: boolean;
16155
- dyePenetrantReport?: boolean;
16156
- visualReport?: boolean;
16157
- certificateOfAnalyticalAndMechanicalTests?: boolean;
16158
- certificateOfTest?: boolean;
16159
- technicalReport?: boolean;
16160
- microExaminationReport?: boolean;
16161
- radiologicalReport?: boolean;
16162
- constructor(data?: IAmcTypeDocumentTypesChecksDto);
16163
- init(_data?: any): void;
16164
- static fromJS(data: any): AmcTypeDocumentTypesChecksDto;
16165
- toJSON(data?: any): any;
16166
- }
16167
- export interface IAmcTypeDocumentTypesChecksDto {
16168
- heatTreatmentCertificate?: boolean;
16169
- ultrasonicControlCertificate?: boolean;
16170
- liquidPenetrantCertificate?: boolean;
16171
- testReport?: boolean;
16172
- dimensionalReport?: boolean;
16173
- dyePenetrantReport?: boolean;
16174
- visualReport?: boolean;
16175
- certificateOfAnalyticalAndMechanicalTests?: boolean;
16176
- certificateOfTest?: boolean;
16177
- technicalReport?: boolean;
16178
- microExaminationReport?: boolean;
16179
- radiologicalReport?: boolean;
16180
- }
16181
- export declare class CreateAmcTypeRequestDto implements ICreateAmcTypeRequestDto {
15953
+ export interface ICreateSupplierInvite {
15954
+ supplierId: string;
15955
+ supplierName?: string | null;
15956
+ username: string;
15957
+ invitedName: string;
15958
+ deadline: Date;
15959
+ existingCompanyId?: string | null;
15960
+ }
15961
+ export declare class ExternalSupplierDto implements IExternalSupplierDto {
15962
+ id: string;
16182
15963
  name: string;
16183
- revision: string;
16184
- description?: string | null;
16185
- constructor(data?: ICreateAmcTypeRequestDto);
15964
+ companyId: string;
15965
+ active: boolean;
15966
+ constructor(data?: IExternalSupplierDto);
16186
15967
  init(_data?: any): void;
16187
- static fromJS(data: any): CreateAmcTypeRequestDto;
15968
+ static fromJS(data: any): ExternalSupplierDto;
16188
15969
  toJSON(data?: any): any;
16189
15970
  }
16190
- export interface ICreateAmcTypeRequestDto {
15971
+ export interface IExternalSupplierDto {
15972
+ id: string;
16191
15973
  name: string;
16192
- revision: string;
16193
- description?: string | null;
15974
+ companyId: string;
15975
+ active: boolean;
16194
15976
  }
16195
- export declare class UpdateAmcTypeDto implements IUpdateAmcTypeDto {
16196
- typeId: string;
16197
- version: number;
16198
- description?: string | null;
16199
- checks: AmcTypeChecksDto;
16200
- constructor(data?: IUpdateAmcTypeDto);
15977
+ export declare class CreateSupplierMapping implements ICreateSupplierMapping {
15978
+ companyId: string;
15979
+ existingSupplierId: string;
15980
+ newSupplierId: string;
15981
+ constructor(data?: ICreateSupplierMapping);
16201
15982
  init(_data?: any): void;
16202
- static fromJS(data: any): UpdateAmcTypeDto;
15983
+ static fromJS(data: any): CreateSupplierMapping;
16203
15984
  toJSON(data?: any): any;
16204
15985
  }
16205
- export interface IUpdateAmcTypeDto {
16206
- typeId: string;
16207
- version: number;
16208
- description?: string | null;
16209
- checks: AmcTypeChecksDto;
15986
+ export interface ICreateSupplierMapping {
15987
+ companyId: string;
15988
+ existingSupplierId: string;
15989
+ newSupplierId: string;
16210
15990
  }
16211
15991
  export interface FileParameter {
16212
15992
  data: any;