@ignos/api-client 20240819.0.10028 → 20240819.0.10052

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.
@@ -1411,6 +1411,137 @@ export declare class WorkspaceTemplatesClient extends AuthorizedApiBase implemen
1411
1411
  getWorkspaceTemplates(): Promise<WorkspaceListDto[]>;
1412
1412
  protected processGetWorkspaceTemplates(response: Response): Promise<WorkspaceListDto[]>;
1413
1413
  }
1414
+ export interface IMoveBookingClient {
1415
+ listBookings(request: BookingRequestListDto): Promise<BookingListDto>;
1416
+ getBooking(bookingId: string): Promise<BookingDto>;
1417
+ getWorkOrderBooking(workOrderId: string): Promise<BookingDto[]>;
1418
+ updateBooking(bookingRequest: BookingUpdateDto): Promise<BookingDto>;
1419
+ createBookingTransport(bookingRequest: BookingTransportRequestDto): Promise<BookingDto>;
1420
+ createBookingGeneral(bookingRequest: BookingGeneralRequestDto): Promise<BookingDto>;
1421
+ updateBookingStatus(bookingUpdate: BookingStatusUpdateDto): Promise<BookingDto>;
1422
+ cancelBooking(bookingUpdate: BookingUpdateStatusDto): Promise<BookingDto>;
1423
+ revertBooking(bookingUpdate: BookingUpdateStatusDto): Promise<BookingDto>;
1424
+ startDelivery(bookingUpdate: BookingUpdateStatusDto): Promise<BookingDto>;
1425
+ finishDelivery(bookingUpdate: BookingDeliveryUpdateDto): Promise<BookingDto>;
1426
+ }
1427
+ export declare class MoveBookingClient extends AuthorizedApiBase implements IMoveBookingClient {
1428
+ private http;
1429
+ private baseUrl;
1430
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
1431
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1432
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1433
+ });
1434
+ listBookings(request: BookingRequestListDto): Promise<BookingListDto>;
1435
+ protected processListBookings(response: Response): Promise<BookingListDto>;
1436
+ getBooking(bookingId: string): Promise<BookingDto>;
1437
+ protected processGetBooking(response: Response): Promise<BookingDto>;
1438
+ getWorkOrderBooking(workOrderId: string): Promise<BookingDto[]>;
1439
+ protected processGetWorkOrderBooking(response: Response): Promise<BookingDto[]>;
1440
+ updateBooking(bookingRequest: BookingUpdateDto): Promise<BookingDto>;
1441
+ protected processUpdateBooking(response: Response): Promise<BookingDto>;
1442
+ createBookingTransport(bookingRequest: BookingTransportRequestDto): Promise<BookingDto>;
1443
+ protected processCreateBookingTransport(response: Response): Promise<BookingDto>;
1444
+ createBookingGeneral(bookingRequest: BookingGeneralRequestDto): Promise<BookingDto>;
1445
+ protected processCreateBookingGeneral(response: Response): Promise<BookingDto>;
1446
+ updateBookingStatus(bookingUpdate: BookingStatusUpdateDto): Promise<BookingDto>;
1447
+ protected processUpdateBookingStatus(response: Response): Promise<BookingDto>;
1448
+ cancelBooking(bookingUpdate: BookingUpdateStatusDto): Promise<BookingDto>;
1449
+ protected processCancelBooking(response: Response): Promise<BookingDto>;
1450
+ revertBooking(bookingUpdate: BookingUpdateStatusDto): Promise<BookingDto>;
1451
+ protected processRevertBooking(response: Response): Promise<BookingDto>;
1452
+ startDelivery(bookingUpdate: BookingUpdateStatusDto): Promise<BookingDto>;
1453
+ protected processStartDelivery(response: Response): Promise<BookingDto>;
1454
+ finishDelivery(bookingUpdate: BookingDeliveryUpdateDto): Promise<BookingDto>;
1455
+ protected processFinishDelivery(response: Response): Promise<BookingDto>;
1456
+ }
1457
+ export interface IMoveLocationsClient {
1458
+ searchLocations(input: string | null | undefined, locationKinds: LocationKindDto[] | null | undefined): Promise<LocationDto[]>;
1459
+ suggestionsLocations(locationSuggestions: LocationSuggestionsDto): Promise<LocationDto[]>;
1460
+ }
1461
+ export declare class MoveLocationsClient extends AuthorizedApiBase implements IMoveLocationsClient {
1462
+ private http;
1463
+ private baseUrl;
1464
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
1465
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1466
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1467
+ });
1468
+ searchLocations(input: string | null | undefined, locationKinds: LocationKindDto[] | null | undefined): Promise<LocationDto[]>;
1469
+ protected processSearchLocations(response: Response): Promise<LocationDto[]>;
1470
+ suggestionsLocations(locationSuggestions: LocationSuggestionsDto): Promise<LocationDto[]>;
1471
+ protected processSuggestionsLocations(response: Response): Promise<LocationDto[]>;
1472
+ }
1473
+ export interface IMoveMaterialsClient {
1474
+ listMaterials(): Promise<MaterialDesciptionDto[]>;
1475
+ addMaterial(update: MaterialUpdateDto): Promise<MaterialDesciptionDto>;
1476
+ removeMaterial(materialId: string): Promise<void>;
1477
+ updateMaterial(materialId: string, update: MaterialUpdateDto): Promise<MaterialDesciptionDto>;
1478
+ importMaterials(request: FileParameter | null | undefined): Promise<void>;
1479
+ }
1480
+ export declare class MoveMaterialsClient extends AuthorizedApiBase implements IMoveMaterialsClient {
1481
+ private http;
1482
+ private baseUrl;
1483
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
1484
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1485
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1486
+ });
1487
+ listMaterials(): Promise<MaterialDesciptionDto[]>;
1488
+ protected processListMaterials(response: Response): Promise<MaterialDesciptionDto[]>;
1489
+ addMaterial(update: MaterialUpdateDto): Promise<MaterialDesciptionDto>;
1490
+ protected processAddMaterial(response: Response): Promise<MaterialDesciptionDto>;
1491
+ removeMaterial(materialId: string): Promise<void>;
1492
+ protected processRemoveMaterial(response: Response): Promise<void>;
1493
+ updateMaterial(materialId: string, update: MaterialUpdateDto): Promise<MaterialDesciptionDto>;
1494
+ protected processUpdateMaterial(response: Response): Promise<MaterialDesciptionDto>;
1495
+ importMaterials(request: FileParameter | null | undefined): Promise<void>;
1496
+ protected processImportMaterials(response: Response): Promise<void>;
1497
+ }
1498
+ export interface IMoveTrackingClient {
1499
+ listTrackingHistory(request: TrackingRequestListDto): Promise<TrackingHistoryListDto>;
1500
+ getTrackingHistory(trackingId: string, includeActiveBookings: boolean | undefined): Promise<TrackingHistoryDto>;
1501
+ getWorkOrderTrackingHistory(workOrderId: string, includeActiveBookings: boolean | undefined): Promise<TrackingWorkOrderDto>;
1502
+ listWorkOrderTrackingHistory(trackingParcelList: TrackingParcelListDto): Promise<TrackingWorkOrderDto[]>;
1503
+ createTrackingEvents(trackingUpdates: TrackingUpdateDto[]): Promise<TrackingHistoryDto[]>;
1504
+ createTrackingHistory(trackingUpdates: TrackingHistoryUpdateDto[]): Promise<TrackingHistoryDto[]>;
1505
+ deleteTrackingHistory(trackingId: string): Promise<void>;
1506
+ createLabel(trackingIds: string[]): Promise<DownloadDto>;
1507
+ }
1508
+ export declare class MoveTrackingClient extends AuthorizedApiBase implements IMoveTrackingClient {
1509
+ private http;
1510
+ private baseUrl;
1511
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
1512
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1513
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1514
+ });
1515
+ listTrackingHistory(request: TrackingRequestListDto): Promise<TrackingHistoryListDto>;
1516
+ protected processListTrackingHistory(response: Response): Promise<TrackingHistoryListDto>;
1517
+ getTrackingHistory(trackingId: string, includeActiveBookings: boolean | undefined): Promise<TrackingHistoryDto>;
1518
+ protected processGetTrackingHistory(response: Response): Promise<TrackingHistoryDto>;
1519
+ getWorkOrderTrackingHistory(workOrderId: string, includeActiveBookings: boolean | undefined): Promise<TrackingWorkOrderDto>;
1520
+ protected processGetWorkOrderTrackingHistory(response: Response): Promise<TrackingWorkOrderDto>;
1521
+ listWorkOrderTrackingHistory(trackingParcelList: TrackingParcelListDto): Promise<TrackingWorkOrderDto[]>;
1522
+ protected processListWorkOrderTrackingHistory(response: Response): Promise<TrackingWorkOrderDto[]>;
1523
+ createTrackingEvents(trackingUpdates: TrackingUpdateDto[]): Promise<TrackingHistoryDto[]>;
1524
+ protected processCreateTrackingEvents(response: Response): Promise<TrackingHistoryDto[]>;
1525
+ createTrackingHistory(trackingUpdates: TrackingHistoryUpdateDto[]): Promise<TrackingHistoryDto[]>;
1526
+ protected processCreateTrackingHistory(response: Response): Promise<TrackingHistoryDto[]>;
1527
+ deleteTrackingHistory(trackingId: string): Promise<void>;
1528
+ protected processDeleteTrackingHistory(response: Response): Promise<void>;
1529
+ createLabel(trackingIds: string[]): Promise<DownloadDto>;
1530
+ protected processCreateLabel(response: Response): Promise<DownloadDto>;
1531
+ }
1532
+ export interface IMoveWorkOrdersClient {
1533
+ searchWorkOrders(input: string | null | undefined, pageSize: number | null | undefined): Promise<SearchWorkOrderDto[]>;
1534
+ }
1535
+ export declare class MoveWorkOrdersClient extends AuthorizedApiBase implements IMoveWorkOrdersClient {
1536
+ private http;
1537
+ private baseUrl;
1538
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
1539
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1540
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1541
+ });
1542
+ searchWorkOrders(input: string | null | undefined, pageSize: number | null | undefined): Promise<SearchWorkOrderDto[]>;
1543
+ protected processSearchWorkOrders(response: Response): Promise<SearchWorkOrderDto[]>;
1544
+ }
1414
1545
  export interface IMesClient {
1415
1546
  getWorkerDetailsForCurrentUser(): Promise<WorkerDto>;
1416
1547
  }
@@ -1437,6 +1568,19 @@ export declare class MesDocumentsClient extends AuthorizedApiBase implements IMe
1437
1568
  getDocument(drawingNumber: string, id: string): Promise<DocumentLinkDto>;
1438
1569
  protected processGetDocument(response: Response): Promise<DocumentLinkDto>;
1439
1570
  }
1571
+ export interface IMesEngineeringChangeOrdersClient {
1572
+ getEngineeringChangeOrders(partNumber: string | undefined): Promise<EngineeringChangeOrderDto[]>;
1573
+ }
1574
+ export declare class MesEngineeringChangeOrdersClient extends AuthorizedApiBase implements IMesEngineeringChangeOrdersClient {
1575
+ private http;
1576
+ private baseUrl;
1577
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
1578
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1579
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1580
+ });
1581
+ getEngineeringChangeOrders(partNumber: string | undefined): Promise<EngineeringChangeOrderDto[]>;
1582
+ protected processGetEngineeringChangeOrders(response: Response): Promise<EngineeringChangeOrderDto[]>;
1583
+ }
1440
1584
  export interface IMesLinksClient {
1441
1585
  addMesLink(request: AddMesLink): Promise<void>;
1442
1586
  listMesLinks(types: MesLinkTypeDto[] | null | undefined, workOrderId: string | null | undefined, operation: number | null | undefined): Promise<MesLinkDto[]>;
@@ -1562,193 +1706,62 @@ export declare class MesResourceClient extends AuthorizedApiBase implements IMes
1562
1706
  listResourceGroupResources(id: string): Promise<ProductionResourceDto[]>;
1563
1707
  protected processListResourceGroupResources(response: Response): Promise<ProductionResourceDto[]>;
1564
1708
  }
1565
- export interface IMoveBookingClient {
1566
- listBookings(request: BookingRequestListDto): Promise<BookingListDto>;
1567
- getBooking(bookingId: string): Promise<BookingDto>;
1568
- getWorkOrderBooking(workOrderId: string): Promise<BookingDto[]>;
1569
- updateBooking(bookingRequest: BookingUpdateDto): Promise<BookingDto>;
1570
- createBookingTransport(bookingRequest: BookingTransportRequestDto): Promise<BookingDto>;
1571
- createBookingGeneral(bookingRequest: BookingGeneralRequestDto): Promise<BookingDto>;
1572
- updateBookingStatus(bookingUpdate: BookingStatusUpdateDto): Promise<BookingDto>;
1573
- cancelBooking(bookingUpdate: BookingUpdateStatusDto): Promise<BookingDto>;
1574
- revertBooking(bookingUpdate: BookingUpdateStatusDto): Promise<BookingDto>;
1575
- startDelivery(bookingUpdate: BookingUpdateStatusDto): Promise<BookingDto>;
1576
- finishDelivery(bookingUpdate: BookingDeliveryUpdateDto): Promise<BookingDto>;
1577
- }
1578
- export declare class MoveBookingClient extends AuthorizedApiBase implements IMoveBookingClient {
1579
- private http;
1580
- private baseUrl;
1581
- protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
1582
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1583
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1584
- });
1585
- listBookings(request: BookingRequestListDto): Promise<BookingListDto>;
1586
- protected processListBookings(response: Response): Promise<BookingListDto>;
1587
- getBooking(bookingId: string): Promise<BookingDto>;
1588
- protected processGetBooking(response: Response): Promise<BookingDto>;
1589
- getWorkOrderBooking(workOrderId: string): Promise<BookingDto[]>;
1590
- protected processGetWorkOrderBooking(response: Response): Promise<BookingDto[]>;
1591
- updateBooking(bookingRequest: BookingUpdateDto): Promise<BookingDto>;
1592
- protected processUpdateBooking(response: Response): Promise<BookingDto>;
1593
- createBookingTransport(bookingRequest: BookingTransportRequestDto): Promise<BookingDto>;
1594
- protected processCreateBookingTransport(response: Response): Promise<BookingDto>;
1595
- createBookingGeneral(bookingRequest: BookingGeneralRequestDto): Promise<BookingDto>;
1596
- protected processCreateBookingGeneral(response: Response): Promise<BookingDto>;
1597
- updateBookingStatus(bookingUpdate: BookingStatusUpdateDto): Promise<BookingDto>;
1598
- protected processUpdateBookingStatus(response: Response): Promise<BookingDto>;
1599
- cancelBooking(bookingUpdate: BookingUpdateStatusDto): Promise<BookingDto>;
1600
- protected processCancelBooking(response: Response): Promise<BookingDto>;
1601
- revertBooking(bookingUpdate: BookingUpdateStatusDto): Promise<BookingDto>;
1602
- protected processRevertBooking(response: Response): Promise<BookingDto>;
1603
- startDelivery(bookingUpdate: BookingUpdateStatusDto): Promise<BookingDto>;
1604
- protected processStartDelivery(response: Response): Promise<BookingDto>;
1605
- finishDelivery(bookingUpdate: BookingDeliveryUpdateDto): Promise<BookingDto>;
1606
- protected processFinishDelivery(response: Response): Promise<BookingDto>;
1607
- }
1608
- export interface IMoveLocationsClient {
1609
- searchLocations(input: string | null | undefined, locationKinds: LocationKindDto[] | null | undefined): Promise<LocationDto[]>;
1610
- suggestionsLocations(locationSuggestions: LocationSuggestionsDto): Promise<LocationDto[]>;
1709
+ export interface IMeasurementFormSchemasClient {
1710
+ listMeasurmentFormSchemas(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partRevision: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
1711
+ createMeasurementForm(request: CreateMeasurementFormSchema): Promise<MeasurementFormDto>;
1712
+ postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<PagedResultOfMeasurementFormListDto>;
1713
+ getMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
1714
+ updateMeasurementFormSchema(id: string, request: UpdateMeasurementFormSchemaRequest): Promise<MeasurementFormSchemaDto>;
1715
+ updateSchemaGroupedElements(id: string, request: UpdateSchemaGroupedElementsRequest): Promise<MeasurementFormSchemaDto>;
1716
+ uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
1717
+ uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
1718
+ getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
1719
+ createSchemaElement(schemaId: string, request: CreateSchemaElement): Promise<MeasurementFormElementDto>;
1720
+ listLinkableMeasurementFormSchemas(schemaId: string, pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
1721
+ postListLinkableMeasurementFormSchemas(request: ListLinkableMeasurementFormSchemasRequest): Promise<PagedResultOfMeasurementFormListDto>;
1722
+ createMeasurementFormSchemaLink(schemaId: string, request: CreateMeasurementFormSchemaLinkRequest): Promise<MeasurementFormDto>;
1723
+ deleteMeasurementFormSchemaLink(schemaId: string, linkedSchemaId: string): Promise<void>;
1724
+ releaseSchema(schemaId: string): Promise<MeasurementFormDto>;
1725
+ revokeSchema(schemaId: string): Promise<MeasurementFormDto>;
1726
+ createDraftVersion(schemaId: string): Promise<MeasurementFormDto>;
1727
+ isMappingFromPreviousVersionRequired(schemaId: string): Promise<boolean>;
1728
+ getMeasurementFormSettings(): Promise<MeasurementFormSettingsDto>;
1729
+ updateMeasurementFormSettings(request: UpdateMeasurementFormSettings): Promise<MeasurementFormSettingsDto>;
1730
+ getMeasurementFormCustomerSettings(id: string): Promise<MeasurementFormCustomerSettingsDto>;
1731
+ updateMeasurementFormCustomerSettings(request: UpdateMeasurementFormCustomerSettings): Promise<MeasurementFormCustomerSettingsDto>;
1732
+ listMeasurementFormMappingsFromSchema(targetId: string | null | undefined): Promise<MeasurementFormMappingDto[]>;
1733
+ createMeasurementFormMapping(request: CreateMeasurementFormMapping): Promise<MeasurementFormMappingDto>;
1734
+ getMeasurementFormMapping(id: string): Promise<MeasurementFormMappingDto>;
1735
+ deleteMeasurementFormMapping(id: string): Promise<void>;
1736
+ setMeasurementFormMappingBalloons(id: string, request: MeasurementFormBalloonMappingRequestDto[]): Promise<MeasurementFormMappingDto>;
1737
+ setMeasurementFormMappingBalloonsV2(id: string, request: SetMeasurementFormMappingBalloonsRequest): Promise<MeasurementFormMappingDto>;
1738
+ getMeasurementFormMappingSuggestion(targetId: string | null | undefined, sourceId: string | null | undefined): Promise<MeasurementFormMappingSuggestionDto>;
1739
+ /**
1740
+ * Custom api for initial import. Not to be used more than once per customer.
1741
+ */
1742
+ importMeasurementFormSchema(request: ImportMeasurementFormSchema): Promise<MeasurementFormDto>;
1743
+ listMeasurementFormNeeds(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partRevision: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, filter: string | null | undefined, continuationToken: string | null | undefined, onlyWithoutDrawingUrl: boolean | null | undefined): Promise<PagedResultOfMeasurementFormNeedDto>;
1744
+ postListMeasurementFormNeeds(request: ListMeasurementFormNeedsRequest | undefined): Promise<PagedResultOfMeasurementFormNeedDto>;
1745
+ setMeasurementFormNeedUser(id: string, request: SetMeasurementFormNeedUserRequest): Promise<void>;
1746
+ setMeasurementFormNeedAsNotNeeded(id: string, request: SetMeasurementFormNeedAsNotNeededRequest): Promise<MeasurementFormSchemaNotNeededDto>;
1747
+ createMeasurementFormSchemaFromNeed(id: string): Promise<MeasurementFormDto>;
1748
+ uploadNeedDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormNeedDto>;
1749
+ listMeasurmentFormSchemasNotNeeded(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partRevision: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormSchemaNotNeededDto>;
1750
+ postListMeasurementFormSchemasNotNeeded(request: ListMeasurementFormSchemasNotNeededRequest | undefined): Promise<PagedResultOfMeasurementFormSchemaNotNeededDto>;
1751
+ deleteMeasurmentFormSchemasNotNeeded(id: string): Promise<void>;
1752
+ listResourceTypesForNeedsGenerator(): Promise<MeasurementFormResourceTypeGeneratorDto[]>;
1753
+ addResourceTypeForNeedsGenerator(request: AddResourceTypeForNeedsGenerator): Promise<MeasurementFormResourceTypeGeneratorDto>;
1754
+ deleteResourceTypeForNeedsGenerator(resourceType: string): Promise<void>;
1755
+ listFrequencies(): Promise<MeasurementFrequencyDto[]>;
1756
+ listMeasurementFormInstanceSchemaFeedback(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfSchemaFeedbackDto>;
1757
+ postListMeasurementFormInstanceSchemaFeedback(request: ListMeasurementFormInstanceSchemaFeedbackRequest | undefined): Promise<PagedResultOfSchemaFeedbackDto>;
1758
+ getMeasurementFormInstanceSchemaFeedback(id: string): Promise<SchemaFeedbackDto>;
1759
+ deleteMeasurementFormInstanceSchemaFeedback(id: string): Promise<void>;
1760
+ setMeasurementFormInstanceSchemaFeedbackUser(id: string, request: SetMeasurementFormSchemaFeedbackUserRequest): Promise<void>;
1761
+ listMeasurmentFormSchemasWithHistory(pageSize: number | undefined, customerId: string | null | undefined, partNumber: string | null | undefined, partRevision: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, version: number | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
1762
+ postListMeasurementFormSchemasWithHistory(request: ListMeasurementFormSchemasWithHistoryRequest | undefined): Promise<PagedResultOfMeasurementFormListDto>;
1611
1763
  }
1612
- export declare class MoveLocationsClient extends AuthorizedApiBase implements IMoveLocationsClient {
1613
- private http;
1614
- private baseUrl;
1615
- protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
1616
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1617
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1618
- });
1619
- searchLocations(input: string | null | undefined, locationKinds: LocationKindDto[] | null | undefined): Promise<LocationDto[]>;
1620
- protected processSearchLocations(response: Response): Promise<LocationDto[]>;
1621
- suggestionsLocations(locationSuggestions: LocationSuggestionsDto): Promise<LocationDto[]>;
1622
- protected processSuggestionsLocations(response: Response): Promise<LocationDto[]>;
1623
- }
1624
- export interface IMoveMaterialsClient {
1625
- listMaterials(): Promise<MaterialDesciptionDto[]>;
1626
- addMaterial(update: MaterialUpdateDto): Promise<MaterialDesciptionDto>;
1627
- removeMaterial(materialId: string): Promise<void>;
1628
- updateMaterial(materialId: string, update: MaterialUpdateDto): Promise<MaterialDesciptionDto>;
1629
- importMaterials(request: FileParameter | null | undefined): Promise<void>;
1630
- }
1631
- export declare class MoveMaterialsClient extends AuthorizedApiBase implements IMoveMaterialsClient {
1632
- private http;
1633
- private baseUrl;
1634
- protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
1635
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1636
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1637
- });
1638
- listMaterials(): Promise<MaterialDesciptionDto[]>;
1639
- protected processListMaterials(response: Response): Promise<MaterialDesciptionDto[]>;
1640
- addMaterial(update: MaterialUpdateDto): Promise<MaterialDesciptionDto>;
1641
- protected processAddMaterial(response: Response): Promise<MaterialDesciptionDto>;
1642
- removeMaterial(materialId: string): Promise<void>;
1643
- protected processRemoveMaterial(response: Response): Promise<void>;
1644
- updateMaterial(materialId: string, update: MaterialUpdateDto): Promise<MaterialDesciptionDto>;
1645
- protected processUpdateMaterial(response: Response): Promise<MaterialDesciptionDto>;
1646
- importMaterials(request: FileParameter | null | undefined): Promise<void>;
1647
- protected processImportMaterials(response: Response): Promise<void>;
1648
- }
1649
- export interface IMoveTrackingClient {
1650
- listTrackingHistory(request: TrackingRequestListDto): Promise<TrackingHistoryListDto>;
1651
- getTrackingHistory(trackingId: string, includeActiveBookings: boolean | undefined): Promise<TrackingHistoryDto>;
1652
- getWorkOrderTrackingHistory(workOrderId: string, includeActiveBookings: boolean | undefined): Promise<TrackingWorkOrderDto>;
1653
- listWorkOrderTrackingHistory(trackingParcelList: TrackingParcelListDto): Promise<TrackingWorkOrderDto[]>;
1654
- createTrackingEvents(trackingUpdates: TrackingUpdateDto[]): Promise<TrackingHistoryDto[]>;
1655
- createTrackingHistory(trackingUpdates: TrackingHistoryUpdateDto[]): Promise<TrackingHistoryDto[]>;
1656
- deleteTrackingHistory(trackingId: string): Promise<void>;
1657
- createLabel(trackingIds: string[]): Promise<DownloadDto>;
1658
- }
1659
- export declare class MoveTrackingClient extends AuthorizedApiBase implements IMoveTrackingClient {
1660
- private http;
1661
- private baseUrl;
1662
- protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
1663
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1664
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1665
- });
1666
- listTrackingHistory(request: TrackingRequestListDto): Promise<TrackingHistoryListDto>;
1667
- protected processListTrackingHistory(response: Response): Promise<TrackingHistoryListDto>;
1668
- getTrackingHistory(trackingId: string, includeActiveBookings: boolean | undefined): Promise<TrackingHistoryDto>;
1669
- protected processGetTrackingHistory(response: Response): Promise<TrackingHistoryDto>;
1670
- getWorkOrderTrackingHistory(workOrderId: string, includeActiveBookings: boolean | undefined): Promise<TrackingWorkOrderDto>;
1671
- protected processGetWorkOrderTrackingHistory(response: Response): Promise<TrackingWorkOrderDto>;
1672
- listWorkOrderTrackingHistory(trackingParcelList: TrackingParcelListDto): Promise<TrackingWorkOrderDto[]>;
1673
- protected processListWorkOrderTrackingHistory(response: Response): Promise<TrackingWorkOrderDto[]>;
1674
- createTrackingEvents(trackingUpdates: TrackingUpdateDto[]): Promise<TrackingHistoryDto[]>;
1675
- protected processCreateTrackingEvents(response: Response): Promise<TrackingHistoryDto[]>;
1676
- createTrackingHistory(trackingUpdates: TrackingHistoryUpdateDto[]): Promise<TrackingHistoryDto[]>;
1677
- protected processCreateTrackingHistory(response: Response): Promise<TrackingHistoryDto[]>;
1678
- deleteTrackingHistory(trackingId: string): Promise<void>;
1679
- protected processDeleteTrackingHistory(response: Response): Promise<void>;
1680
- createLabel(trackingIds: string[]): Promise<DownloadDto>;
1681
- protected processCreateLabel(response: Response): Promise<DownloadDto>;
1682
- }
1683
- export interface IMoveWorkOrdersClient {
1684
- searchWorkOrders(input: string | null | undefined, pageSize: number | null | undefined): Promise<SearchWorkOrderDto[]>;
1685
- }
1686
- export declare class MoveWorkOrdersClient extends AuthorizedApiBase implements IMoveWorkOrdersClient {
1687
- private http;
1688
- private baseUrl;
1689
- protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
1690
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1691
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1692
- });
1693
- searchWorkOrders(input: string | null | undefined, pageSize: number | null | undefined): Promise<SearchWorkOrderDto[]>;
1694
- protected processSearchWorkOrders(response: Response): Promise<SearchWorkOrderDto[]>;
1695
- }
1696
- export interface IMeasurementFormSchemasClient {
1697
- listMeasurmentFormSchemas(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partRevision: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
1698
- createMeasurementForm(request: CreateMeasurementFormSchema): Promise<MeasurementFormDto>;
1699
- postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<PagedResultOfMeasurementFormListDto>;
1700
- getMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
1701
- updateMeasurementFormSchema(id: string, request: UpdateMeasurementFormSchemaRequest): Promise<MeasurementFormSchemaDto>;
1702
- updateSchemaGroupedElements(id: string, request: UpdateSchemaGroupedElementsRequest): Promise<MeasurementFormSchemaDto>;
1703
- uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
1704
- uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
1705
- getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
1706
- createSchemaElement(schemaId: string, request: CreateSchemaElement): Promise<MeasurementFormElementDto>;
1707
- listLinkableMeasurementFormSchemas(schemaId: string, pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
1708
- postListLinkableMeasurementFormSchemas(request: ListLinkableMeasurementFormSchemasRequest): Promise<PagedResultOfMeasurementFormListDto>;
1709
- createMeasurementFormSchemaLink(schemaId: string, request: CreateMeasurementFormSchemaLinkRequest): Promise<MeasurementFormDto>;
1710
- deleteMeasurementFormSchemaLink(schemaId: string, linkedSchemaId: string): Promise<void>;
1711
- releaseSchema(schemaId: string): Promise<MeasurementFormDto>;
1712
- revokeSchema(schemaId: string): Promise<MeasurementFormDto>;
1713
- createDraftVersion(schemaId: string): Promise<MeasurementFormDto>;
1714
- isMappingFromPreviousVersionRequired(schemaId: string): Promise<boolean>;
1715
- getMeasurementFormSettings(): Promise<MeasurementFormSettingsDto>;
1716
- updateMeasurementFormSettings(request: UpdateMeasurementFormSettings): Promise<MeasurementFormSettingsDto>;
1717
- getMeasurementFormCustomerSettings(id: string): Promise<MeasurementFormCustomerSettingsDto>;
1718
- updateMeasurementFormCustomerSettings(request: UpdateMeasurementFormCustomerSettings): Promise<MeasurementFormCustomerSettingsDto>;
1719
- listMeasurementFormMappingsFromSchema(targetId: string | null | undefined): Promise<MeasurementFormMappingDto[]>;
1720
- createMeasurementFormMapping(request: CreateMeasurementFormMapping): Promise<MeasurementFormMappingDto>;
1721
- getMeasurementFormMapping(id: string): Promise<MeasurementFormMappingDto>;
1722
- deleteMeasurementFormMapping(id: string): Promise<void>;
1723
- setMeasurementFormMappingBalloons(id: string, request: MeasurementFormBalloonMappingRequestDto[]): Promise<MeasurementFormMappingDto>;
1724
- setMeasurementFormMappingBalloonsV2(id: string, request: SetMeasurementFormMappingBalloonsRequest): Promise<MeasurementFormMappingDto>;
1725
- getMeasurementFormMappingSuggestion(targetId: string | null | undefined, sourceId: string | null | undefined): Promise<MeasurementFormMappingSuggestionDto>;
1726
- /**
1727
- * Custom api for initial import. Not to be used more than once per customer.
1728
- */
1729
- importMeasurementFormSchema(request: ImportMeasurementFormSchema): Promise<MeasurementFormDto>;
1730
- listMeasurementFormNeeds(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partRevision: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, filter: string | null | undefined, continuationToken: string | null | undefined, onlyWithoutDrawingUrl: boolean | null | undefined): Promise<PagedResultOfMeasurementFormNeedDto>;
1731
- postListMeasurementFormNeeds(request: ListMeasurementFormNeedsRequest | undefined): Promise<PagedResultOfMeasurementFormNeedDto>;
1732
- setMeasurementFormNeedUser(id: string, request: SetMeasurementFormNeedUserRequest): Promise<void>;
1733
- setMeasurementFormNeedAsNotNeeded(id: string, request: SetMeasurementFormNeedAsNotNeededRequest): Promise<MeasurementFormSchemaNotNeededDto>;
1734
- createMeasurementFormSchemaFromNeed(id: string): Promise<MeasurementFormDto>;
1735
- uploadNeedDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormNeedDto>;
1736
- listMeasurmentFormSchemasNotNeeded(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partRevision: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormSchemaNotNeededDto>;
1737
- postListMeasurementFormSchemasNotNeeded(request: ListMeasurementFormSchemasNotNeededRequest | undefined): Promise<PagedResultOfMeasurementFormSchemaNotNeededDto>;
1738
- deleteMeasurmentFormSchemasNotNeeded(id: string): Promise<void>;
1739
- listResourceTypesForNeedsGenerator(): Promise<MeasurementFormResourceTypeGeneratorDto[]>;
1740
- addResourceTypeForNeedsGenerator(request: AddResourceTypeForNeedsGenerator): Promise<MeasurementFormResourceTypeGeneratorDto>;
1741
- deleteResourceTypeForNeedsGenerator(resourceType: string): Promise<void>;
1742
- listFrequencies(): Promise<MeasurementFrequencyDto[]>;
1743
- listMeasurementFormInstanceSchemaFeedback(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfSchemaFeedbackDto>;
1744
- postListMeasurementFormInstanceSchemaFeedback(request: ListMeasurementFormInstanceSchemaFeedbackRequest | undefined): Promise<PagedResultOfSchemaFeedbackDto>;
1745
- getMeasurementFormInstanceSchemaFeedback(id: string): Promise<SchemaFeedbackDto>;
1746
- deleteMeasurementFormInstanceSchemaFeedback(id: string): Promise<void>;
1747
- setMeasurementFormInstanceSchemaFeedbackUser(id: string, request: SetMeasurementFormSchemaFeedbackUserRequest): Promise<void>;
1748
- listMeasurmentFormSchemasWithHistory(pageSize: number | undefined, customerId: string | null | undefined, partNumber: string | null | undefined, partRevision: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, version: number | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
1749
- postListMeasurementFormSchemasWithHistory(request: ListMeasurementFormSchemasWithHistoryRequest | undefined): Promise<PagedResultOfMeasurementFormListDto>;
1750
- }
1751
- export declare class MeasurementFormSchemasClient extends AuthorizedApiBase implements IMeasurementFormSchemasClient {
1764
+ export declare class MeasurementFormSchemasClient extends AuthorizedApiBase implements IMeasurementFormSchemasClient {
1752
1765
  private http;
1753
1766
  private baseUrl;
1754
1767
  protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
@@ -7826,1670 +7839,1692 @@ export interface ICreateWorkspaceTemplate {
7826
7839
  name: string;
7827
7840
  description?: string | null;
7828
7841
  }
7829
- export declare class WorkerDto implements IWorkerDto {
7830
- personnelNumber?: string | null;
7831
- badgeId?: string | null;
7832
- constructor(data?: IWorkerDto);
7842
+ export declare class BookingListDto implements IBookingListDto {
7843
+ results: BookingDto[];
7844
+ continuationToken?: string | null;
7845
+ constructor(data?: IBookingListDto);
7833
7846
  init(_data?: any): void;
7834
- static fromJS(data: any): WorkerDto;
7847
+ static fromJS(data: any): BookingListDto;
7835
7848
  toJSON(data?: any): any;
7836
7849
  }
7837
- export interface IWorkerDto {
7838
- personnelNumber?: string | null;
7839
- badgeId?: string | null;
7850
+ export interface IBookingListDto {
7851
+ results: BookingDto[];
7852
+ continuationToken?: string | null;
7840
7853
  }
7841
- export declare class DocumentLinkDto implements IDocumentLinkDto {
7842
- url: string;
7843
- constructor(data?: IDocumentLinkDto);
7854
+ export declare class BookingDto implements IBookingDto {
7855
+ bookingId: string;
7856
+ bookingKind: BookingKindDto;
7857
+ transportKind: TransportKindDto;
7858
+ status: BookingStatusDto;
7859
+ items: BookingItemDto[];
7860
+ fromLocation: LocationDto;
7861
+ toLocation: LocationDto;
7862
+ created: Date;
7863
+ createdBy: string;
7864
+ createdById: string;
7865
+ updatedBy?: string | null;
7866
+ updatedById?: string | null;
7867
+ driver?: string | null;
7868
+ driverId?: string | null;
7869
+ completed?: Date | null;
7870
+ constructor(data?: IBookingDto);
7844
7871
  init(_data?: any): void;
7845
- static fromJS(data: any): DocumentLinkDto;
7872
+ static fromJS(data: any): BookingDto;
7846
7873
  toJSON(data?: any): any;
7847
7874
  }
7848
- export interface IDocumentLinkDto {
7849
- url: string;
7875
+ export interface IBookingDto {
7876
+ bookingId: string;
7877
+ bookingKind: BookingKindDto;
7878
+ transportKind: TransportKindDto;
7879
+ status: BookingStatusDto;
7880
+ items: BookingItemDto[];
7881
+ fromLocation: LocationDto;
7882
+ toLocation: LocationDto;
7883
+ created: Date;
7884
+ createdBy: string;
7885
+ createdById: string;
7886
+ updatedBy?: string | null;
7887
+ updatedById?: string | null;
7888
+ driver?: string | null;
7889
+ driverId?: string | null;
7890
+ completed?: Date | null;
7850
7891
  }
7851
- export declare class AddMesLink implements IAddMesLink {
7852
- uri?: string | null;
7853
- name?: string | null;
7854
- type?: MesLinkTypeDto;
7855
- companyId?: string | null;
7856
- constructor(data?: IAddMesLink);
7892
+ export type BookingKindDto = "Forklift" | "General" | "ChipDisposal" | "Garbage";
7893
+ export type TransportKindDto = "NormalForklift" | "LargeForklift" | "SideLoadingForklift";
7894
+ export type BookingStatusDto = "Pending" | "Cancelled" | "InProgress" | "Completed";
7895
+ export declare class BookingItemDto implements IBookingItemDto {
7896
+ trackingId: string;
7897
+ palletNumber: number;
7898
+ workOrderId: string;
7899
+ parcelKind: BookingKindDto;
7900
+ material?: string | null;
7901
+ comment?: string | null;
7902
+ covered: MaterialCoveredDto;
7903
+ toLocationOverride?: LocationDto | null;
7904
+ constructor(data?: IBookingItemDto);
7857
7905
  init(_data?: any): void;
7858
- static fromJS(data: any): AddMesLink;
7906
+ static fromJS(data: any): BookingItemDto;
7859
7907
  toJSON(data?: any): any;
7860
7908
  }
7861
- export interface IAddMesLink {
7862
- uri?: string | null;
7863
- name?: string | null;
7864
- type?: MesLinkTypeDto;
7865
- companyId?: string | null;
7909
+ export interface IBookingItemDto {
7910
+ trackingId: string;
7911
+ palletNumber: number;
7912
+ workOrderId: string;
7913
+ parcelKind: BookingKindDto;
7914
+ material?: string | null;
7915
+ comment?: string | null;
7916
+ covered: MaterialCoveredDto;
7917
+ toLocationOverride?: LocationDto | null;
7866
7918
  }
7867
- export type MesLinkTypeDto = "Static" | "Operation" | "WorkOrder";
7868
- export declare class MesLinkDto implements IMesLinkDto {
7869
- id?: string;
7870
- uri?: string;
7871
- name?: string;
7872
- type?: MesLinkTypeDto;
7873
- companyId?: string;
7874
- constructor(data?: IMesLinkDto);
7919
+ export type MaterialCoveredDto = "NotDefined" | "NotCovered" | "Covered";
7920
+ export declare class LocationDto implements ILocationDto {
7921
+ locationId: string;
7922
+ locationName: string;
7923
+ zoneId?: string | null;
7924
+ zoneName?: string | null;
7925
+ kind: LocationKindDto;
7926
+ profile?: string | null;
7927
+ constructor(data?: ILocationDto);
7875
7928
  init(_data?: any): void;
7876
- static fromJS(data: any): MesLinkDto;
7929
+ static fromJS(data: any): LocationDto;
7877
7930
  toJSON(data?: any): any;
7878
7931
  }
7879
- export interface IMesLinkDto {
7880
- id?: string;
7881
- uri?: string;
7882
- name?: string;
7883
- type?: MesLinkTypeDto;
7884
- companyId?: string;
7932
+ export interface ILocationDto {
7933
+ locationId: string;
7934
+ locationName: string;
7935
+ zoneId?: string | null;
7936
+ zoneName?: string | null;
7937
+ kind: LocationKindDto;
7938
+ profile?: string | null;
7885
7939
  }
7886
- export declare class UpdateMesLink implements IUpdateMesLink {
7887
- id?: string | null;
7888
- uri?: string | null;
7889
- name?: string | null;
7890
- type?: MesLinkTypeDto;
7891
- companyId?: string | null;
7892
- constructor(data?: IUpdateMesLink);
7893
- init(_data?: any): void;
7894
- static fromJS(data: any): UpdateMesLink;
7940
+ export type LocationKindDto = "Warehouse" | "Zone" | "Location";
7941
+ export declare class BookingRequestListDto implements IBookingRequestListDto {
7942
+ pageSize?: number | null;
7943
+ workOrderIdFilter?: string[] | null;
7944
+ materialFilter?: string[] | null;
7945
+ locationIdFromFilter?: string[] | null;
7946
+ locationIdToFilter?: string[] | null;
7947
+ zoneIdFromFilter?: string[] | null;
7948
+ zoneIdToFilter?: string[] | null;
7949
+ bookingStatusFilter?: BookingStatusDto[] | null;
7950
+ bookingKindFilter?: BookingKindDto[] | null;
7951
+ transportKindFilter?: TransportKindDto[] | null;
7952
+ taskFilter?: BookingTaskDto | null;
7953
+ createdByFilter?: BookingCreatedByDto | null;
7954
+ bookingOrder?: BookingOrderDto;
7955
+ continuationToken?: string | null;
7956
+ constructor(data?: IBookingRequestListDto);
7957
+ init(_data?: any): void;
7958
+ static fromJS(data: any): BookingRequestListDto;
7895
7959
  toJSON(data?: any): any;
7896
7960
  }
7897
- export interface IUpdateMesLink {
7898
- id?: string | null;
7899
- uri?: string | null;
7900
- name?: string | null;
7901
- type?: MesLinkTypeDto;
7902
- companyId?: string | null;
7961
+ export interface IBookingRequestListDto {
7962
+ pageSize?: number | null;
7963
+ workOrderIdFilter?: string[] | null;
7964
+ materialFilter?: string[] | null;
7965
+ locationIdFromFilter?: string[] | null;
7966
+ locationIdToFilter?: string[] | null;
7967
+ zoneIdFromFilter?: string[] | null;
7968
+ zoneIdToFilter?: string[] | null;
7969
+ bookingStatusFilter?: BookingStatusDto[] | null;
7970
+ bookingKindFilter?: BookingKindDto[] | null;
7971
+ transportKindFilter?: TransportKindDto[] | null;
7972
+ taskFilter?: BookingTaskDto | null;
7973
+ createdByFilter?: BookingCreatedByDto | null;
7974
+ bookingOrder?: BookingOrderDto;
7975
+ continuationToken?: string | null;
7903
7976
  }
7904
- export declare class ProductionOrderDto implements IProductionOrderDto {
7905
- id: string;
7906
- companyId: string;
7907
- part: PartDto;
7908
- quantity: number;
7909
- unit?: string | null;
7910
- status: WorkorderStatus;
7911
- operations: ProductionOrderOperationDto[];
7912
- plannedStart?: Date | null;
7913
- plannedEnd?: Date | null;
7914
- producedQuantity: number;
7915
- scrappedQuantity: number;
7916
- planner?: UserDto | null;
7917
- projectLeader?: UserDto | null;
7918
- deliveryLocation?: WarehouseLocationDto | null;
7919
- project?: WorkOrderProjectDto | null;
7920
- attachments?: WorkOrderAttachmentDto[] | null;
7921
- startDate?: Date | null;
7922
- endDate?: Date | null;
7923
- bomPosition?: string | null;
7924
- drawing?: DrawingDto | null;
7925
- orderReference?: OrderReferenceDto | null;
7926
- constructor(data?: IProductionOrderDto);
7977
+ export type BookingTaskDto = "MyTasks" | "OthersTasks";
7978
+ export type BookingCreatedByDto = "MyBookings" | "OthersBookings";
7979
+ export type BookingOrderDto = "Ascending" | "Descending";
7980
+ export declare class BookingUpdateDto implements IBookingUpdateDto {
7981
+ bookingId: string;
7982
+ bookingKind: BookingKindDto;
7983
+ transportKind: TransportKindDto;
7984
+ status: BookingStatusDto;
7985
+ fromLocationId: string;
7986
+ toLocationId: string;
7987
+ constructor(data?: IBookingUpdateDto);
7927
7988
  init(_data?: any): void;
7928
- static fromJS(data: any): ProductionOrderDto;
7989
+ static fromJS(data: any): BookingUpdateDto;
7929
7990
  toJSON(data?: any): any;
7930
7991
  }
7931
- export interface IProductionOrderDto {
7932
- id: string;
7933
- companyId: string;
7934
- part: PartDto;
7935
- quantity: number;
7936
- unit?: string | null;
7937
- status: WorkorderStatus;
7938
- operations: ProductionOrderOperationDto[];
7939
- plannedStart?: Date | null;
7940
- plannedEnd?: Date | null;
7941
- producedQuantity: number;
7942
- scrappedQuantity: number;
7943
- planner?: UserDto | null;
7944
- projectLeader?: UserDto | null;
7945
- deliveryLocation?: WarehouseLocationDto | null;
7946
- project?: WorkOrderProjectDto | null;
7947
- attachments?: WorkOrderAttachmentDto[] | null;
7948
- startDate?: Date | null;
7949
- endDate?: Date | null;
7950
- bomPosition?: string | null;
7951
- drawing?: DrawingDto | null;
7952
- orderReference?: OrderReferenceDto | null;
7992
+ export interface IBookingUpdateDto {
7993
+ bookingId: string;
7994
+ bookingKind: BookingKindDto;
7995
+ transportKind: TransportKindDto;
7996
+ status: BookingStatusDto;
7997
+ fromLocationId: string;
7998
+ toLocationId: string;
7953
7999
  }
7954
- export declare class ProductionOrderOperationDto implements IProductionOrderOperationDto {
7955
- operation: number;
7956
- nextOperation?: number | null;
7957
- operationId: string;
7958
- description?: string;
7959
- totalPlannedHours?: number;
7960
- totalUsedHours?: number;
7961
- plannedSetupHours?: number | null;
7962
- plannedProductionHours?: number;
7963
- usedSetupHours?: number | null;
7964
- usedProductionHours?: number;
7965
- fixedTime?: boolean | null;
7966
- resource?: ResourceDto | null;
7967
- plannedStart?: Date | null;
7968
- plannedEnd?: Date | null;
7969
- actualStart?: Date | null;
7970
- actualEnd?: Date | null;
7971
- status: OperationStatusDto;
7972
- producedQuantity: number;
7973
- scrappedQuantity: number;
7974
- quantity: number;
7975
- startedQuantity?: number | null;
7976
- ongoingQuantity?: number | null;
7977
- availableToStartQuantity: number;
7978
- workInstructions?: string | null;
7979
- note?: string | null;
7980
- fixture?: string | null;
7981
- program?: string | null;
7982
- toolNumber?: string | null;
7983
- disableSetupRegistration: boolean;
7984
- constructor(data?: IProductionOrderOperationDto);
8000
+ export declare class BookingTransportRequestDto implements IBookingTransportRequestDto {
8001
+ transportKind: TransportKindDto;
8002
+ items: BookingItemRequestDto[];
8003
+ fromLocationId: string;
8004
+ toLocationId: string;
8005
+ constructor(data?: IBookingTransportRequestDto);
7985
8006
  init(_data?: any): void;
7986
- static fromJS(data: any): ProductionOrderOperationDto;
8007
+ static fromJS(data: any): BookingTransportRequestDto;
7987
8008
  toJSON(data?: any): any;
7988
8009
  }
7989
- export interface IProductionOrderOperationDto {
7990
- operation: number;
7991
- nextOperation?: number | null;
7992
- operationId: string;
7993
- description?: string;
7994
- totalPlannedHours?: number;
7995
- totalUsedHours?: number;
7996
- plannedSetupHours?: number | null;
7997
- plannedProductionHours?: number;
7998
- usedSetupHours?: number | null;
7999
- usedProductionHours?: number;
8000
- fixedTime?: boolean | null;
8001
- resource?: ResourceDto | null;
8002
- plannedStart?: Date | null;
8003
- plannedEnd?: Date | null;
8004
- actualStart?: Date | null;
8005
- actualEnd?: Date | null;
8006
- status: OperationStatusDto;
8007
- producedQuantity: number;
8008
- scrappedQuantity: number;
8009
- quantity: number;
8010
- startedQuantity?: number | null;
8011
- ongoingQuantity?: number | null;
8012
- availableToStartQuantity: number;
8013
- workInstructions?: string | null;
8014
- note?: string | null;
8015
- fixture?: string | null;
8016
- program?: string | null;
8017
- toolNumber?: string | null;
8018
- disableSetupRegistration: boolean;
8010
+ export interface IBookingTransportRequestDto {
8011
+ transportKind: TransportKindDto;
8012
+ items: BookingItemRequestDto[];
8013
+ fromLocationId: string;
8014
+ toLocationId: string;
8019
8015
  }
8020
- export declare class WarehouseLocationDto implements IWarehouseLocationDto {
8021
- zone?: string | null;
8022
- location: string;
8023
- warehouse?: string | null;
8024
- site?: string | null;
8025
- constructor(data?: IWarehouseLocationDto);
8016
+ export declare class BookingItemRequestDto implements IBookingItemRequestDto {
8017
+ workOrderId?: string | null;
8018
+ trackingId?: string | null;
8019
+ comment?: string | null;
8020
+ constructor(data?: IBookingItemRequestDto);
8026
8021
  init(_data?: any): void;
8027
- static fromJS(data: any): WarehouseLocationDto;
8022
+ static fromJS(data: any): BookingItemRequestDto;
8028
8023
  toJSON(data?: any): any;
8029
8024
  }
8030
- export interface IWarehouseLocationDto {
8031
- zone?: string | null;
8032
- location: string;
8033
- warehouse?: string | null;
8034
- site?: string | null;
8025
+ export interface IBookingItemRequestDto {
8026
+ workOrderId?: string | null;
8027
+ trackingId?: string | null;
8028
+ comment?: string | null;
8035
8029
  }
8036
- export declare class WorkOrderAttachmentDto implements IWorkOrderAttachmentDto {
8037
- createdBy?: UserDto | null;
8038
- created?: Date | null;
8039
- modifiedBy?: UserDto | null;
8040
- modified?: Date | null;
8041
- name?: string | null;
8042
- notes?: string | null;
8043
- attachmentType?: string | null;
8044
- constructor(data?: IWorkOrderAttachmentDto);
8030
+ export declare class BookingGeneralRequestDto implements IBookingGeneralRequestDto {
8031
+ bookingKind: BookingKindDto;
8032
+ transportKind: TransportKindDto;
8033
+ fromLocationId: string;
8034
+ toLocationId: string;
8035
+ comment?: string | null;
8036
+ itemCount: number;
8037
+ constructor(data?: IBookingGeneralRequestDto);
8045
8038
  init(_data?: any): void;
8046
- static fromJS(data: any): WorkOrderAttachmentDto;
8039
+ static fromJS(data: any): BookingGeneralRequestDto;
8047
8040
  toJSON(data?: any): any;
8048
8041
  }
8049
- export interface IWorkOrderAttachmentDto {
8050
- createdBy?: UserDto | null;
8051
- created?: Date | null;
8052
- modifiedBy?: UserDto | null;
8053
- modified?: Date | null;
8054
- name?: string | null;
8055
- notes?: string | null;
8056
- attachmentType?: string | null;
8042
+ export interface IBookingGeneralRequestDto {
8043
+ bookingKind: BookingKindDto;
8044
+ transportKind: TransportKindDto;
8045
+ fromLocationId: string;
8046
+ toLocationId: string;
8047
+ comment?: string | null;
8048
+ itemCount: number;
8057
8049
  }
8058
- export declare class DrawingDto implements IDrawingDto {
8059
- drawingNumber: string;
8060
- revision?: string;
8061
- status: string;
8062
- files: DrawingFileDto[];
8063
- constructor(data?: IDrawingDto);
8050
+ export declare class BookingStatusUpdateDto implements IBookingStatusUpdateDto {
8051
+ bookingId: string;
8052
+ status: BookingStatusDto;
8053
+ deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
8054
+ constructor(data?: IBookingStatusUpdateDto);
8064
8055
  init(_data?: any): void;
8065
- static fromJS(data: any): DrawingDto;
8056
+ static fromJS(data: any): BookingStatusUpdateDto;
8066
8057
  toJSON(data?: any): any;
8067
8058
  }
8068
- export interface IDrawingDto {
8069
- drawingNumber: string;
8070
- revision?: string;
8071
- status: string;
8072
- files: DrawingFileDto[];
8059
+ export interface IBookingStatusUpdateDto {
8060
+ bookingId: string;
8061
+ status: BookingStatusDto;
8062
+ deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
8073
8063
  }
8074
- export declare class DrawingFileDto implements IDrawingFileDto {
8075
- id: number;
8076
- name: string;
8077
- comment?: string;
8078
- constructor(data?: IDrawingFileDto);
8064
+ export declare class BookingDeliveryExceptionDto implements IBookingDeliveryExceptionDto {
8065
+ trackingId: string;
8066
+ toLocationId?: string | null;
8067
+ comment?: string | null;
8068
+ constructor(data?: IBookingDeliveryExceptionDto);
8069
+ init(_data?: any): void;
8070
+ static fromJS(data: any): BookingDeliveryExceptionDto;
8071
+ toJSON(data?: any): any;
8072
+ }
8073
+ export interface IBookingDeliveryExceptionDto {
8074
+ trackingId: string;
8075
+ toLocationId?: string | null;
8076
+ comment?: string | null;
8077
+ }
8078
+ export declare class BookingUpdateStatusDto implements IBookingUpdateStatusDto {
8079
+ bookingId: string;
8080
+ constructor(data?: IBookingUpdateStatusDto);
8079
8081
  init(_data?: any): void;
8080
- static fromJS(data: any): DrawingFileDto;
8082
+ static fromJS(data: any): BookingUpdateStatusDto;
8081
8083
  toJSON(data?: any): any;
8082
8084
  }
8083
- export interface IDrawingFileDto {
8084
- id: number;
8085
- name: string;
8086
- comment?: string;
8085
+ export interface IBookingUpdateStatusDto {
8086
+ bookingId: string;
8087
8087
  }
8088
- export declare class OrderReferenceDto implements IOrderReferenceDto {
8089
- orderReferenceType?: OrderReferenceTypeDto;
8090
- orderNumber?: string;
8091
- orderLineNumber?: number | null;
8092
- constructor(data?: IOrderReferenceDto);
8088
+ export declare class BookingDeliveryUpdateDto implements IBookingDeliveryUpdateDto {
8089
+ bookingId: string;
8090
+ deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
8091
+ constructor(data?: IBookingDeliveryUpdateDto);
8093
8092
  init(_data?: any): void;
8094
- static fromJS(data: any): OrderReferenceDto;
8093
+ static fromJS(data: any): BookingDeliveryUpdateDto;
8095
8094
  toJSON(data?: any): any;
8096
8095
  }
8097
- export interface IOrderReferenceDto {
8098
- orderReferenceType?: OrderReferenceTypeDto;
8099
- orderNumber?: string;
8100
- orderLineNumber?: number | null;
8096
+ export interface IBookingDeliveryUpdateDto {
8097
+ bookingId: string;
8098
+ deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
8101
8099
  }
8102
- export type OrderReferenceTypeDto = "ProductionOrder" | "PurchaseOrder" | "SalesOrder";
8103
- export declare class ProductionOrderBomDto implements IProductionOrderBomDto {
8104
- position?: string;
8105
- lineNumber: number;
8106
- part: PartDto;
8107
- dimension?: string;
8108
- operation: number;
8109
- operationName?: string;
8110
- warehouse?: string | null;
8111
- fixedLocation?: string | null;
8112
- fixedLocations?: string[];
8113
- unit?: string;
8114
- quantityPerPart: number;
8115
- totalRequiredQuantity: number;
8116
- usedQuantity: number;
8117
- availableQuantity?: number | null;
8118
- drawing?: DrawingDto | null;
8119
- orderReference?: OrderReferenceDto | null;
8120
- status: MaterialStatus;
8121
- availabilityDetails: InventoryDto[];
8122
- traceType: TraceType;
8123
- constructor(data?: IProductionOrderBomDto);
8100
+ export declare class LocationSuggestionsDto implements ILocationSuggestionsDto {
8101
+ items: LocationSuggestionsItemDto[];
8102
+ locationKindFilter?: LocationKindDto[] | null;
8103
+ constructor(data?: ILocationSuggestionsDto);
8124
8104
  init(_data?: any): void;
8125
- static fromJS(data: any): ProductionOrderBomDto;
8105
+ static fromJS(data: any): LocationSuggestionsDto;
8126
8106
  toJSON(data?: any): any;
8127
8107
  }
8128
- export interface IProductionOrderBomDto {
8129
- position?: string;
8130
- lineNumber: number;
8131
- part: PartDto;
8132
- dimension?: string;
8133
- operation: number;
8134
- operationName?: string;
8135
- warehouse?: string | null;
8136
- fixedLocation?: string | null;
8137
- fixedLocations?: string[];
8138
- unit?: string;
8139
- quantityPerPart: number;
8140
- totalRequiredQuantity: number;
8141
- usedQuantity: number;
8142
- availableQuantity?: number | null;
8143
- drawing?: DrawingDto | null;
8144
- orderReference?: OrderReferenceDto | null;
8145
- status: MaterialStatus;
8146
- availabilityDetails: InventoryDto[];
8147
- traceType: TraceType;
8108
+ export interface ILocationSuggestionsDto {
8109
+ items: LocationSuggestionsItemDto[];
8110
+ locationKindFilter?: LocationKindDto[] | null;
8148
8111
  }
8149
- export declare class InventoryDto implements IInventoryDto {
8150
- siteId: string;
8151
- warehouseId: string;
8152
- locationId: string;
8153
- batchNumber?: string;
8154
- vendorBatch?: string;
8155
- available: number;
8156
- constructor(data?: IInventoryDto);
8112
+ export declare class LocationSuggestionsItemDto implements ILocationSuggestionsItemDto {
8113
+ workOrderId: string;
8114
+ constructor(data?: ILocationSuggestionsItemDto);
8157
8115
  init(_data?: any): void;
8158
- static fromJS(data: any): InventoryDto;
8116
+ static fromJS(data: any): LocationSuggestionsItemDto;
8159
8117
  toJSON(data?: any): any;
8160
8118
  }
8161
- export interface IInventoryDto {
8162
- siteId: string;
8163
- warehouseId: string;
8164
- locationId: string;
8165
- batchNumber?: string;
8166
- vendorBatch?: string;
8167
- available: number;
8119
+ export interface ILocationSuggestionsItemDto {
8120
+ workOrderId: string;
8168
8121
  }
8169
- export declare class PickListSuggestionDto implements IPickListSuggestionDto {
8170
- position?: string;
8171
- lineNumber: number;
8172
- part: PartDto;
8173
- dimension?: string;
8174
- operation: number;
8175
- warehouse?: string;
8176
- fixedLocation?: string;
8177
- unit?: string;
8178
- orderReference?: OrderReferenceDto | null;
8179
- quantityPerPart: number;
8180
- totalRequiredQuantity: number;
8181
- usedQuantity: number;
8182
- lot: string;
8183
- consumedAutomatically: boolean;
8184
- requiresBatchTracing: boolean;
8185
- requiresSerialTracing: boolean;
8186
- proposedQuantity: number;
8187
- remainingQuantity: number;
8188
- suggestedStartedQuantity?: InventoryDto | null;
8189
- suggestedRemainingQuantity?: InventoryDto | null;
8190
- available: InventoryDto[];
8191
- fixedLocations: string[];
8192
- drawing?: DrawingDto | null;
8193
- constructor(data?: IPickListSuggestionDto);
8122
+ export declare class MaterialDesciptionDto implements IMaterialDesciptionDto {
8123
+ materialId: string;
8124
+ materialName: string;
8125
+ covered: MaterialCoveredDto;
8126
+ constructor(data?: IMaterialDesciptionDto);
8194
8127
  init(_data?: any): void;
8195
- static fromJS(data: any): PickListSuggestionDto;
8128
+ static fromJS(data: any): MaterialDesciptionDto;
8196
8129
  toJSON(data?: any): any;
8197
8130
  }
8198
- export interface IPickListSuggestionDto {
8199
- position?: string;
8200
- lineNumber: number;
8201
- part: PartDto;
8202
- dimension?: string;
8203
- operation: number;
8204
- warehouse?: string;
8205
- fixedLocation?: string;
8206
- unit?: string;
8207
- orderReference?: OrderReferenceDto | null;
8208
- quantityPerPart: number;
8209
- totalRequiredQuantity: number;
8210
- usedQuantity: number;
8211
- lot: string;
8212
- consumedAutomatically: boolean;
8213
- requiresBatchTracing: boolean;
8214
- requiresSerialTracing: boolean;
8215
- proposedQuantity: number;
8216
- remainingQuantity: number;
8217
- suggestedStartedQuantity?: InventoryDto | null;
8218
- suggestedRemainingQuantity?: InventoryDto | null;
8219
- available: InventoryDto[];
8220
- fixedLocations: string[];
8221
- drawing?: DrawingDto | null;
8131
+ export interface IMaterialDesciptionDto {
8132
+ materialId: string;
8133
+ materialName: string;
8134
+ covered: MaterialCoveredDto;
8222
8135
  }
8223
- export declare class NonConformanceDto implements INonConformanceDto {
8224
- nonConformanceId: string;
8225
- companyId?: string | null;
8226
- part?: PartDto | null;
8227
- resource?: ResourceDto | null;
8228
- type: NonConformanceType;
8229
- workOrder?: string | null;
8230
- title?: string | null;
8231
- date: Date;
8232
- description?: string | null;
8233
- problemType?: string | null;
8234
- cause?: string | null;
8235
- responsible?: UserDto | null;
8236
- closed: boolean;
8237
- approved: boolean;
8238
- url?: string | null;
8239
- constructor(data?: INonConformanceDto);
8136
+ export declare class MaterialUpdateDto implements IMaterialUpdateDto {
8137
+ materialName: string;
8138
+ covered: MaterialCoveredDto;
8139
+ constructor(data?: IMaterialUpdateDto);
8240
8140
  init(_data?: any): void;
8241
- static fromJS(data: any): NonConformanceDto;
8141
+ static fromJS(data: any): MaterialUpdateDto;
8242
8142
  toJSON(data?: any): any;
8243
8143
  }
8244
- export interface INonConformanceDto {
8245
- nonConformanceId: string;
8246
- companyId?: string | null;
8247
- part?: PartDto | null;
8248
- resource?: ResourceDto | null;
8249
- type: NonConformanceType;
8250
- workOrder?: string | null;
8251
- title?: string | null;
8252
- date: Date;
8253
- description?: string | null;
8254
- problemType?: string | null;
8255
- cause?: string | null;
8256
- responsible?: UserDto | null;
8257
- closed: boolean;
8258
- approved: boolean;
8259
- url?: string | null;
8144
+ export interface IMaterialUpdateDto {
8145
+ materialName: string;
8146
+ covered: MaterialCoveredDto;
8260
8147
  }
8261
- export type NonConformanceType = 1;
8262
- export declare class MaterialPickListResultDto implements IMaterialPickListResultDto {
8263
- results: MaterialPickListResultEntryDto[];
8264
- constructor(data?: IMaterialPickListResultDto);
8148
+ export declare class TrackingHistoryListDto implements ITrackingHistoryListDto {
8149
+ results: TrackingHistoryDto[];
8150
+ continuationToken?: string | null;
8151
+ constructor(data?: ITrackingHistoryListDto);
8265
8152
  init(_data?: any): void;
8266
- static fromJS(data: any): MaterialPickListResultDto;
8153
+ static fromJS(data: any): TrackingHistoryListDto;
8267
8154
  toJSON(data?: any): any;
8268
8155
  }
8269
- export interface IMaterialPickListResultDto {
8270
- results: MaterialPickListResultEntryDto[];
8156
+ export interface ITrackingHistoryListDto {
8157
+ results: TrackingHistoryDto[];
8158
+ continuationToken?: string | null;
8271
8159
  }
8272
- export declare class MaterialPickListResultEntryDto implements IMaterialPickListResultEntryDto {
8273
- companyId: string;
8160
+ export declare class TrackingHistoryDto implements ITrackingHistoryDto {
8161
+ trackingId: string;
8162
+ palletNumber: number;
8163
+ parcelKind: BookingKindDto;
8274
8164
  workOrderId: string;
8275
- partNumber: string;
8276
- remainingBomLineQuantity: number;
8277
- posted: boolean;
8278
- constructor(data?: IMaterialPickListResultEntryDto);
8165
+ trackingEvents: TrackingEventDto[];
8166
+ material?: string | null;
8167
+ activeBooking?: boolean | null;
8168
+ constructor(data?: ITrackingHistoryDto);
8279
8169
  init(_data?: any): void;
8280
- static fromJS(data: any): MaterialPickListResultEntryDto;
8170
+ static fromJS(data: any): TrackingHistoryDto;
8281
8171
  toJSON(data?: any): any;
8282
8172
  }
8283
- export interface IMaterialPickListResultEntryDto {
8284
- companyId: string;
8173
+ export interface ITrackingHistoryDto {
8174
+ trackingId: string;
8175
+ palletNumber: number;
8176
+ parcelKind: BookingKindDto;
8285
8177
  workOrderId: string;
8286
- partNumber: string;
8287
- remainingBomLineQuantity: number;
8288
- posted: boolean;
8178
+ trackingEvents: TrackingEventDto[];
8179
+ material?: string | null;
8180
+ activeBooking?: boolean | null;
8289
8181
  }
8290
- export declare class PostMaterialPickListRequest implements IPostMaterialPickListRequest {
8291
- materialLines: PickListMaterialLineDto[];
8292
- constructor(data?: IPostMaterialPickListRequest);
8182
+ export declare class TrackingEventDto implements ITrackingEventDto {
8183
+ id: number;
8184
+ created: Date;
8185
+ createdBy: string;
8186
+ createdById: string;
8187
+ location?: LocationDto | null;
8188
+ status: TrackingStatusDto;
8189
+ bookingId?: string | null;
8190
+ comment?: string | null;
8191
+ constructor(data?: ITrackingEventDto);
8293
8192
  init(_data?: any): void;
8294
- static fromJS(data: any): PostMaterialPickListRequest;
8193
+ static fromJS(data: any): TrackingEventDto;
8295
8194
  toJSON(data?: any): any;
8296
8195
  }
8297
- export interface IPostMaterialPickListRequest {
8298
- materialLines: PickListMaterialLineDto[];
8196
+ export interface ITrackingEventDto {
8197
+ id: number;
8198
+ created: Date;
8199
+ createdBy: string;
8200
+ createdById: string;
8201
+ location?: LocationDto | null;
8202
+ status: TrackingStatusDto;
8203
+ bookingId?: string | null;
8204
+ comment?: string | null;
8299
8205
  }
8300
- export declare class PickListMaterialLineDto implements IPickListMaterialLineDto {
8301
- lot: string;
8302
- partNumber: string;
8303
- warehouse: string;
8304
- location: string;
8305
- end: boolean;
8306
- quantity: number;
8307
- batch?: string | null;
8308
- constructor(data?: IPickListMaterialLineDto);
8206
+ export type TrackingStatusDto = "Manual" | "Pending" | "Cancelled" | "InProgress" | "Completed";
8207
+ export declare class TrackingRequestListDto implements ITrackingRequestListDto {
8208
+ pageSize?: number | null;
8209
+ workOrderIdFilter?: string[] | null;
8210
+ parcelKindFilter?: BookingKindDto[] | null;
8211
+ locationIdFilter?: string[] | null;
8212
+ zoneIdFilter?: string[] | null;
8213
+ materialFilter?: string[] | null;
8214
+ includeActiveBookings?: boolean;
8215
+ continuationToken?: string | null;
8216
+ constructor(data?: ITrackingRequestListDto);
8309
8217
  init(_data?: any): void;
8310
- static fromJS(data: any): PickListMaterialLineDto;
8218
+ static fromJS(data: any): TrackingRequestListDto;
8311
8219
  toJSON(data?: any): any;
8312
8220
  }
8313
- export interface IPickListMaterialLineDto {
8314
- lot: string;
8315
- partNumber: string;
8316
- warehouse: string;
8317
- location: string;
8318
- end: boolean;
8319
- quantity: number;
8320
- batch?: string | null;
8221
+ export interface ITrackingRequestListDto {
8222
+ pageSize?: number | null;
8223
+ workOrderIdFilter?: string[] | null;
8224
+ parcelKindFilter?: BookingKindDto[] | null;
8225
+ locationIdFilter?: string[] | null;
8226
+ zoneIdFilter?: string[] | null;
8227
+ materialFilter?: string[] | null;
8228
+ includeActiveBookings?: boolean;
8229
+ continuationToken?: string | null;
8321
8230
  }
8322
- export declare class ProductionOrderOperationActivityDto implements IProductionOrderOperationActivityDto {
8323
- operation: number;
8324
- operationId: string;
8325
- description?: string | null;
8326
- resource?: ResourceDto | null;
8327
- user?: UserDto | null;
8328
- startTime: Date;
8329
- endTime?: Date | null;
8330
- status: OperationStatusDto;
8331
- active: boolean;
8332
- startedQuantity?: number | null;
8333
- producedQuantity?: number | null;
8334
- scrappedQuantity?: number | null;
8335
- constructor(data?: IProductionOrderOperationActivityDto);
8231
+ export declare class TrackingWorkOrderDto implements ITrackingWorkOrderDto {
8232
+ workOrderId: string;
8233
+ part?: PartDto | null;
8234
+ trackingHistory: TrackingHistoryDto[];
8235
+ covered: MaterialCoveredDto;
8236
+ constructor(data?: ITrackingWorkOrderDto);
8336
8237
  init(_data?: any): void;
8337
- static fromJS(data: any): ProductionOrderOperationActivityDto;
8238
+ static fromJS(data: any): TrackingWorkOrderDto;
8338
8239
  toJSON(data?: any): any;
8339
8240
  }
8340
- export interface IProductionOrderOperationActivityDto {
8341
- operation: number;
8342
- operationId: string;
8343
- description?: string | null;
8344
- resource?: ResourceDto | null;
8345
- user?: UserDto | null;
8346
- startTime: Date;
8347
- endTime?: Date | null;
8348
- status: OperationStatusDto;
8349
- active: boolean;
8350
- startedQuantity?: number | null;
8351
- producedQuantity?: number | null;
8352
- scrappedQuantity?: number | null;
8241
+ export interface ITrackingWorkOrderDto {
8242
+ workOrderId: string;
8243
+ part?: PartDto | null;
8244
+ trackingHistory: TrackingHistoryDto[];
8245
+ covered: MaterialCoveredDto;
8353
8246
  }
8354
- export declare class GenerateProductionOrderPdf implements IGenerateProductionOrderPdf {
8355
- productionOrderNumbers: string[];
8356
- type: ProductionOrderPdfType;
8357
- includeOperations: boolean;
8358
- includeDrawing: boolean;
8359
- includeOperationText: boolean;
8360
- constructor(data?: IGenerateProductionOrderPdf);
8247
+ export declare class TrackingParcelListDto implements ITrackingParcelListDto {
8248
+ parcelIds: string[];
8249
+ includeActiveBookings: boolean;
8250
+ constructor(data?: ITrackingParcelListDto);
8361
8251
  init(_data?: any): void;
8362
- static fromJS(data: any): GenerateProductionOrderPdf;
8252
+ static fromJS(data: any): TrackingParcelListDto;
8363
8253
  toJSON(data?: any): any;
8364
8254
  }
8365
- export interface IGenerateProductionOrderPdf {
8366
- productionOrderNumbers: string[];
8367
- type: ProductionOrderPdfType;
8368
- includeOperations: boolean;
8369
- includeDrawing: boolean;
8370
- includeOperationText: boolean;
8255
+ export interface ITrackingParcelListDto {
8256
+ parcelIds: string[];
8257
+ includeActiveBookings: boolean;
8371
8258
  }
8372
- export type ProductionOrderPdfType = "Rich" | "Compact";
8373
- export declare class PagedResultOfProductionScheduleOperationDto implements IPagedResultOfProductionScheduleOperationDto {
8374
- results: ProductionScheduleOperationDto[];
8375
- continuationToken?: string | null;
8376
- constructor(data?: IPagedResultOfProductionScheduleOperationDto);
8259
+ export declare class TrackingUpdateDto implements ITrackingUpdateDto {
8260
+ trackingId: string;
8261
+ locationId?: string | null;
8262
+ comment?: string | null;
8263
+ constructor(data?: ITrackingUpdateDto);
8377
8264
  init(_data?: any): void;
8378
- static fromJS(data: any): PagedResultOfProductionScheduleOperationDto;
8265
+ static fromJS(data: any): TrackingUpdateDto;
8379
8266
  toJSON(data?: any): any;
8380
8267
  }
8381
- export interface IPagedResultOfProductionScheduleOperationDto {
8382
- results: ProductionScheduleOperationDto[];
8383
- continuationToken?: string | null;
8268
+ export interface ITrackingUpdateDto {
8269
+ trackingId: string;
8270
+ locationId?: string | null;
8271
+ comment?: string | null;
8384
8272
  }
8385
- export declare class ProductionScheduleOperationDto implements IProductionScheduleOperationDto {
8386
- id: string;
8387
- productionOrderNumber: string;
8388
- operation: number;
8389
- operationName: string;
8390
- plannedStart: Date;
8391
- plannedEnd?: Date | null;
8392
- actualStart?: Date | null;
8393
- actualEnd?: Date | null;
8394
- status: OperationStatusDto;
8395
- totalPlannedHours?: number;
8396
- totalUsedHours?: number;
8397
- plannedSetupHours?: number | null;
8398
- plannedProductionHours?: number;
8399
- usedSetupHours?: number | null;
8400
- usedProductionHours?: number;
8401
- quantity: number;
8402
- producedQuantity: number;
8403
- scrappedQuantity: number;
8404
- availableToStartQuantity: number;
8405
- startedQuantity?: number | null;
8406
- ongoingQuantity?: number | null;
8407
- project?: WorkOrderProjectDto | null;
8408
- partNumber: string;
8409
- partRevision?: string | null;
8410
- partName?: string | null;
8411
- partMaterial?: string | null;
8412
- resourceId: string;
8413
- resourceName: string;
8414
- resourceDepartmentNumber?: string | null;
8415
- resourceDepartmentName?: string | null;
8416
- bomPosition?: string | null;
8417
- customerName?: string | null;
8418
- previousOperation?: SurroundingOperationDto | null;
8419
- nextOperation?: SurroundingOperationDto | null;
8420
- workInstructions?: string | null;
8421
- note?: string | null;
8422
- description?: string | null;
8423
- fixture?: string | null;
8424
- program?: string | null;
8425
- toolNumber?: string | null;
8426
- prerequisites: OperationPrerequisitesDto;
8427
- deliveryLocation?: WarehouseLocationDto | null;
8428
- drawing?: DrawingDto | null;
8429
- drawingNumber?: string | null;
8430
- disableSetupRegistration: boolean;
8431
- materialPickStatus: MaterialPickStatus;
8432
- constructor(data?: IProductionScheduleOperationDto);
8273
+ export declare class TrackingHistoryUpdateDto implements ITrackingHistoryUpdateDto {
8274
+ workOrderId: string;
8275
+ constructor(data?: ITrackingHistoryUpdateDto);
8433
8276
  init(_data?: any): void;
8434
- static fromJS(data: any): ProductionScheduleOperationDto;
8277
+ static fromJS(data: any): TrackingHistoryUpdateDto;
8435
8278
  toJSON(data?: any): any;
8436
8279
  }
8437
- export interface IProductionScheduleOperationDto {
8438
- id: string;
8439
- productionOrderNumber: string;
8440
- operation: number;
8441
- operationName: string;
8442
- plannedStart: Date;
8443
- plannedEnd?: Date | null;
8444
- actualStart?: Date | null;
8445
- actualEnd?: Date | null;
8446
- status: OperationStatusDto;
8447
- totalPlannedHours?: number;
8448
- totalUsedHours?: number;
8449
- plannedSetupHours?: number | null;
8450
- plannedProductionHours?: number;
8451
- usedSetupHours?: number | null;
8452
- usedProductionHours?: number;
8453
- quantity: number;
8454
- producedQuantity: number;
8455
- scrappedQuantity: number;
8456
- availableToStartQuantity: number;
8457
- startedQuantity?: number | null;
8458
- ongoingQuantity?: number | null;
8459
- project?: WorkOrderProjectDto | null;
8460
- partNumber: string;
8461
- partRevision?: string | null;
8462
- partName?: string | null;
8463
- partMaterial?: string | null;
8464
- resourceId: string;
8465
- resourceName: string;
8466
- resourceDepartmentNumber?: string | null;
8467
- resourceDepartmentName?: string | null;
8468
- bomPosition?: string | null;
8469
- customerName?: string | null;
8470
- previousOperation?: SurroundingOperationDto | null;
8471
- nextOperation?: SurroundingOperationDto | null;
8472
- workInstructions?: string | null;
8473
- note?: string | null;
8474
- description?: string | null;
8475
- fixture?: string | null;
8476
- program?: string | null;
8477
- toolNumber?: string | null;
8478
- prerequisites: OperationPrerequisitesDto;
8479
- deliveryLocation?: WarehouseLocationDto | null;
8480
- drawing?: DrawingDto | null;
8481
- drawingNumber?: string | null;
8482
- disableSetupRegistration: boolean;
8483
- materialPickStatus: MaterialPickStatus;
8280
+ export interface ITrackingHistoryUpdateDto {
8281
+ workOrderId: string;
8484
8282
  }
8485
- export declare class SurroundingOperationDto implements ISurroundingOperationDto {
8486
- id: string;
8487
- operation: number;
8488
- operationName: string;
8489
- plannedStart?: Date | null;
8490
- plannedEnd?: Date | null;
8491
- actualStart?: Date | null;
8492
- actualEnd?: Date | null;
8493
- status: OperationStatusDto;
8494
- resourceGroupId?: string | null;
8495
- resourceId?: string | null;
8496
- resourceName?: string | null;
8497
- resourceDepartmentNumber?: string | null;
8498
- resourceDepartmentName?: string | null;
8499
- producedQuantity: number;
8500
- scrappedQuantity: number;
8501
- startedQuantity?: number | null;
8502
- constructor(data?: ISurroundingOperationDto);
8283
+ export declare class SearchWorkOrderDto implements ISearchWorkOrderDto {
8284
+ workOrderId: string;
8285
+ matchCriteria: SearchMatchCriteriaDto;
8286
+ items: SearchWorkOrderItemDto[];
8287
+ partName?: string | null;
8288
+ partNumber?: string | null;
8289
+ constructor(data?: ISearchWorkOrderDto);
8503
8290
  init(_data?: any): void;
8504
- static fromJS(data: any): SurroundingOperationDto;
8291
+ static fromJS(data: any): SearchWorkOrderDto;
8505
8292
  toJSON(data?: any): any;
8506
8293
  }
8507
- export interface ISurroundingOperationDto {
8508
- id: string;
8509
- operation: number;
8510
- operationName: string;
8511
- plannedStart?: Date | null;
8512
- plannedEnd?: Date | null;
8513
- actualStart?: Date | null;
8514
- actualEnd?: Date | null;
8515
- status: OperationStatusDto;
8516
- resourceGroupId?: string | null;
8517
- resourceId?: string | null;
8518
- resourceName?: string | null;
8519
- resourceDepartmentNumber?: string | null;
8520
- resourceDepartmentName?: string | null;
8521
- producedQuantity: number;
8522
- scrappedQuantity: number;
8523
- startedQuantity?: number | null;
8294
+ export interface ISearchWorkOrderDto {
8295
+ workOrderId: string;
8296
+ matchCriteria: SearchMatchCriteriaDto;
8297
+ items: SearchWorkOrderItemDto[];
8298
+ partName?: string | null;
8299
+ partNumber?: string | null;
8524
8300
  }
8525
- export declare class OperationPrerequisitesDto implements IOperationPrerequisitesDto {
8526
- drawing?: boolean | null;
8527
- materials?: MaterialsPrerequisiteDto;
8528
- cncProgram?: boolean | null;
8529
- constructor(data?: IOperationPrerequisitesDto);
8301
+ export type SearchMatchCriteriaDto = "Tracking" | "WorkOrder" | "Parcel";
8302
+ export declare class SearchWorkOrderItemDto implements ISearchWorkOrderItemDto {
8303
+ trackingId: string;
8304
+ selected: boolean;
8305
+ constructor(data?: ISearchWorkOrderItemDto);
8530
8306
  init(_data?: any): void;
8531
- static fromJS(data: any): OperationPrerequisitesDto;
8307
+ static fromJS(data: any): SearchWorkOrderItemDto;
8532
8308
  toJSON(data?: any): any;
8533
8309
  }
8534
- export interface IOperationPrerequisitesDto {
8535
- drawing?: boolean | null;
8536
- materials?: MaterialsPrerequisiteDto;
8537
- cncProgram?: boolean | null;
8310
+ export interface ISearchWorkOrderItemDto {
8311
+ trackingId: string;
8312
+ selected: boolean;
8538
8313
  }
8539
- export declare class MaterialsPrerequisiteDto implements IMaterialsPrerequisiteDto {
8540
- numberOfPartsCoveredByOnHand?: number | null;
8541
- materialStatus?: MaterialStatusDto;
8542
- constructor(data?: IMaterialsPrerequisiteDto);
8314
+ export declare class WorkerDto implements IWorkerDto {
8315
+ personnelNumber?: string | null;
8316
+ badgeId?: string | null;
8317
+ constructor(data?: IWorkerDto);
8543
8318
  init(_data?: any): void;
8544
- static fromJS(data: any): MaterialsPrerequisiteDto;
8319
+ static fromJS(data: any): WorkerDto;
8545
8320
  toJSON(data?: any): any;
8546
8321
  }
8547
- export interface IMaterialsPrerequisiteDto {
8548
- numberOfPartsCoveredByOnHand?: number | null;
8549
- materialStatus?: MaterialStatusDto;
8322
+ export interface IWorkerDto {
8323
+ personnelNumber?: string | null;
8324
+ badgeId?: string | null;
8550
8325
  }
8551
- export type MaterialStatusDto = "NotRequired" | "NotAvailable" | "PartiallyAvailable" | "Available" | "FullyConsumed" | "Unknown";
8552
- export type MaterialPickStatus = "NotRequired" | "NotStarted" | "Started" | "Completed" | "Unknown";
8553
- export declare class ListProductionScheduleOperationsRequest implements IListProductionScheduleOperationsRequest {
8554
- resourceGroup?: string | null;
8555
- resourceId?: string | null;
8556
- pageSize?: number;
8557
- continuationToken?: string | null;
8558
- workOrderId?: string | null;
8559
- projectId?: string | null;
8560
- partNumber?: string | null;
8561
- partName?: string | null;
8562
- material?: string | null;
8563
- workOrderIds?: string[] | null;
8564
- partNumbers?: string[] | null;
8565
- partNames?: string[] | null;
8566
- projectIds?: string[] | null;
8567
- bomPositions?: string[] | null;
8568
- materials?: string[] | null;
8569
- descriptions?: string[] | null;
8570
- availableWork?: boolean | null;
8571
- operationStatuses?: OperationStatusDto[] | null;
8572
- after?: Date | null;
8573
- before?: Date | null;
8574
- constructor(data?: IListProductionScheduleOperationsRequest);
8326
+ export declare class DocumentLinkDto implements IDocumentLinkDto {
8327
+ url: string;
8328
+ constructor(data?: IDocumentLinkDto);
8575
8329
  init(_data?: any): void;
8576
- static fromJS(data: any): ListProductionScheduleOperationsRequest;
8330
+ static fromJS(data: any): DocumentLinkDto;
8577
8331
  toJSON(data?: any): any;
8578
8332
  }
8579
- export interface IListProductionScheduleOperationsRequest {
8580
- resourceGroup?: string | null;
8581
- resourceId?: string | null;
8582
- pageSize?: number;
8583
- continuationToken?: string | null;
8584
- workOrderId?: string | null;
8585
- projectId?: string | null;
8586
- partNumber?: string | null;
8587
- partName?: string | null;
8588
- material?: string | null;
8589
- workOrderIds?: string[] | null;
8590
- partNumbers?: string[] | null;
8591
- partNames?: string[] | null;
8592
- projectIds?: string[] | null;
8593
- bomPositions?: string[] | null;
8594
- materials?: string[] | null;
8595
- descriptions?: string[] | null;
8596
- availableWork?: boolean | null;
8597
- operationStatuses?: OperationStatusDto[] | null;
8598
- after?: Date | null;
8599
- before?: Date | null;
8333
+ export interface IDocumentLinkDto {
8334
+ url: string;
8600
8335
  }
8601
- export declare class ProductionScheduleFiltersDto implements IProductionScheduleFiltersDto {
8602
- partNumbers?: FilterValueWithQuantity[];
8603
- bomPositions?: FilterValueWithQuantity[];
8604
- projectIds?: FilterValueWithQuantity[];
8605
- partNames?: FilterValueWithQuantity[];
8606
- workOrderIds?: FilterValueWithQuantity[];
8607
- materials?: FilterValueWithQuantity[];
8608
- descriptions?: FilterValueWithQuantity[];
8609
- operationsWithAvailableWork?: number;
8610
- operationStatuses?: OperationStatusFilterWithQuantity[];
8611
- lastOperation?: Date | null;
8612
- firstOperation?: Date | null;
8613
- constructor(data?: IProductionScheduleFiltersDto);
8336
+ export declare class EngineeringChangeOrderDto implements IEngineeringChangeOrderDto {
8337
+ orderNumber: string;
8338
+ title: string;
8339
+ category?: string | null;
8340
+ description?: string | null;
8341
+ project?: string | null;
8342
+ status?: string | null;
8343
+ constructor(data?: IEngineeringChangeOrderDto);
8614
8344
  init(_data?: any): void;
8615
- static fromJS(data: any): ProductionScheduleFiltersDto;
8345
+ static fromJS(data: any): EngineeringChangeOrderDto;
8616
8346
  toJSON(data?: any): any;
8617
8347
  }
8618
- export interface IProductionScheduleFiltersDto {
8619
- partNumbers?: FilterValueWithQuantity[];
8620
- bomPositions?: FilterValueWithQuantity[];
8621
- projectIds?: FilterValueWithQuantity[];
8622
- partNames?: FilterValueWithQuantity[];
8623
- workOrderIds?: FilterValueWithQuantity[];
8624
- materials?: FilterValueWithQuantity[];
8625
- descriptions?: FilterValueWithQuantity[];
8626
- operationsWithAvailableWork?: number;
8627
- operationStatuses?: OperationStatusFilterWithQuantity[];
8628
- lastOperation?: Date | null;
8629
- firstOperation?: Date | null;
8348
+ export interface IEngineeringChangeOrderDto {
8349
+ orderNumber: string;
8350
+ title: string;
8351
+ category?: string | null;
8352
+ description?: string | null;
8353
+ project?: string | null;
8354
+ status?: string | null;
8630
8355
  }
8631
- export declare class FilterValueWithQuantity implements IFilterValueWithQuantity {
8632
- value?: string;
8633
- quantity?: number;
8634
- constructor(data?: IFilterValueWithQuantity);
8356
+ export declare class AddMesLink implements IAddMesLink {
8357
+ uri?: string | null;
8358
+ name?: string | null;
8359
+ type?: MesLinkTypeDto;
8360
+ companyId?: string | null;
8361
+ constructor(data?: IAddMesLink);
8635
8362
  init(_data?: any): void;
8636
- static fromJS(data: any): FilterValueWithQuantity;
8363
+ static fromJS(data: any): AddMesLink;
8637
8364
  toJSON(data?: any): any;
8638
8365
  }
8639
- export interface IFilterValueWithQuantity {
8640
- value?: string;
8641
- quantity?: number;
8366
+ export interface IAddMesLink {
8367
+ uri?: string | null;
8368
+ name?: string | null;
8369
+ type?: MesLinkTypeDto;
8370
+ companyId?: string | null;
8642
8371
  }
8643
- export declare class OperationStatusFilterWithQuantity implements IOperationStatusFilterWithQuantity {
8644
- status?: OperationStatusDto;
8645
- quantity?: number;
8646
- constructor(data?: IOperationStatusFilterWithQuantity);
8372
+ export type MesLinkTypeDto = "Static" | "Operation" | "WorkOrder";
8373
+ export declare class MesLinkDto implements IMesLinkDto {
8374
+ id?: string;
8375
+ uri?: string;
8376
+ name?: string;
8377
+ type?: MesLinkTypeDto;
8378
+ companyId?: string;
8379
+ constructor(data?: IMesLinkDto);
8647
8380
  init(_data?: any): void;
8648
- static fromJS(data: any): OperationStatusFilterWithQuantity;
8381
+ static fromJS(data: any): MesLinkDto;
8649
8382
  toJSON(data?: any): any;
8650
8383
  }
8651
- export interface IOperationStatusFilterWithQuantity {
8652
- status?: OperationStatusDto;
8653
- quantity?: number;
8384
+ export interface IMesLinkDto {
8385
+ id?: string;
8386
+ uri?: string;
8387
+ name?: string;
8388
+ type?: MesLinkTypeDto;
8389
+ companyId?: string;
8654
8390
  }
8655
- export declare class GetAvailableProductionScheduleFiltersRequest implements IGetAvailableProductionScheduleFiltersRequest {
8656
- resourceGroup?: string | null;
8657
- resourceId?: string | null;
8658
- workOrderId?: string | null;
8659
- projectId?: string | null;
8660
- partNumber?: string | null;
8661
- partName?: string | null;
8662
- material?: string | null;
8663
- workOrderIds?: string[] | null;
8664
- partNumbers?: string[] | null;
8665
- partNames?: string[] | null;
8666
- projectIds?: string[] | null;
8667
- bomPositions?: string[] | null;
8668
- materials?: string[] | null;
8669
- descriptions?: string[] | null;
8670
- availableWork?: boolean | null;
8671
- operationStatuses?: OperationStatusDto[] | null;
8672
- after?: Date | null;
8673
- before?: Date | null;
8674
- constructor(data?: IGetAvailableProductionScheduleFiltersRequest);
8391
+ export declare class UpdateMesLink implements IUpdateMesLink {
8392
+ id?: string | null;
8393
+ uri?: string | null;
8394
+ name?: string | null;
8395
+ type?: MesLinkTypeDto;
8396
+ companyId?: string | null;
8397
+ constructor(data?: IUpdateMesLink);
8675
8398
  init(_data?: any): void;
8676
- static fromJS(data: any): GetAvailableProductionScheduleFiltersRequest;
8399
+ static fromJS(data: any): UpdateMesLink;
8400
+ toJSON(data?: any): any;
8401
+ }
8402
+ export interface IUpdateMesLink {
8403
+ id?: string | null;
8404
+ uri?: string | null;
8405
+ name?: string | null;
8406
+ type?: MesLinkTypeDto;
8407
+ companyId?: string | null;
8408
+ }
8409
+ export declare class ProductionOrderDto implements IProductionOrderDto {
8410
+ id: string;
8411
+ companyId: string;
8412
+ part: PartDto;
8413
+ quantity: number;
8414
+ unit?: string | null;
8415
+ status: WorkorderStatus;
8416
+ operations: ProductionOrderOperationDto[];
8417
+ plannedStart?: Date | null;
8418
+ plannedEnd?: Date | null;
8419
+ producedQuantity: number;
8420
+ scrappedQuantity: number;
8421
+ planner?: UserDto | null;
8422
+ projectLeader?: UserDto | null;
8423
+ deliveryLocation?: WarehouseLocationDto | null;
8424
+ project?: WorkOrderProjectDto | null;
8425
+ attachments?: WorkOrderAttachmentDto[] | null;
8426
+ startDate?: Date | null;
8427
+ endDate?: Date | null;
8428
+ bomPosition?: string | null;
8429
+ drawing?: DrawingDto | null;
8430
+ orderReference?: OrderReferenceDto | null;
8431
+ constructor(data?: IProductionOrderDto);
8432
+ init(_data?: any): void;
8433
+ static fromJS(data: any): ProductionOrderDto;
8677
8434
  toJSON(data?: any): any;
8678
8435
  }
8679
- export interface IGetAvailableProductionScheduleFiltersRequest {
8680
- resourceGroup?: string | null;
8681
- resourceId?: string | null;
8682
- workOrderId?: string | null;
8683
- projectId?: string | null;
8684
- partNumber?: string | null;
8685
- partName?: string | null;
8686
- material?: string | null;
8687
- workOrderIds?: string[] | null;
8688
- partNumbers?: string[] | null;
8689
- partNames?: string[] | null;
8690
- projectIds?: string[] | null;
8691
- bomPositions?: string[] | null;
8692
- materials?: string[] | null;
8693
- descriptions?: string[] | null;
8694
- availableWork?: boolean | null;
8695
- operationStatuses?: OperationStatusDto[] | null;
8696
- after?: Date | null;
8697
- before?: Date | null;
8436
+ export interface IProductionOrderDto {
8437
+ id: string;
8438
+ companyId: string;
8439
+ part: PartDto;
8440
+ quantity: number;
8441
+ unit?: string | null;
8442
+ status: WorkorderStatus;
8443
+ operations: ProductionOrderOperationDto[];
8444
+ plannedStart?: Date | null;
8445
+ plannedEnd?: Date | null;
8446
+ producedQuantity: number;
8447
+ scrappedQuantity: number;
8448
+ planner?: UserDto | null;
8449
+ projectLeader?: UserDto | null;
8450
+ deliveryLocation?: WarehouseLocationDto | null;
8451
+ project?: WorkOrderProjectDto | null;
8452
+ attachments?: WorkOrderAttachmentDto[] | null;
8453
+ startDate?: Date | null;
8454
+ endDate?: Date | null;
8455
+ bomPosition?: string | null;
8456
+ drawing?: DrawingDto | null;
8457
+ orderReference?: OrderReferenceDto | null;
8698
8458
  }
8699
- export declare class CurrentWorkActivityDto implements ICurrentWorkActivityDto {
8700
- activeWork: ActiveWorkDto[];
8701
- stoppedWork: StoppedWorkDto[];
8702
- constructor(data?: ICurrentWorkActivityDto);
8459
+ export declare class ProductionOrderOperationDto implements IProductionOrderOperationDto {
8460
+ operation: number;
8461
+ nextOperation?: number | null;
8462
+ operationId: string;
8463
+ description?: string;
8464
+ totalPlannedHours?: number;
8465
+ totalUsedHours?: number;
8466
+ plannedSetupHours?: number | null;
8467
+ plannedProductionHours?: number;
8468
+ usedSetupHours?: number | null;
8469
+ usedProductionHours?: number;
8470
+ fixedTime?: boolean | null;
8471
+ resource?: ResourceDto | null;
8472
+ plannedStart?: Date | null;
8473
+ plannedEnd?: Date | null;
8474
+ actualStart?: Date | null;
8475
+ actualEnd?: Date | null;
8476
+ status: OperationStatusDto;
8477
+ producedQuantity: number;
8478
+ scrappedQuantity: number;
8479
+ quantity: number;
8480
+ startedQuantity?: number | null;
8481
+ ongoingQuantity?: number | null;
8482
+ availableToStartQuantity: number;
8483
+ workInstructions?: string | null;
8484
+ note?: string | null;
8485
+ fixture?: string | null;
8486
+ program?: string | null;
8487
+ toolNumber?: string | null;
8488
+ disableSetupRegistration: boolean;
8489
+ constructor(data?: IProductionOrderOperationDto);
8703
8490
  init(_data?: any): void;
8704
- static fromJS(data: any): CurrentWorkActivityDto;
8491
+ static fromJS(data: any): ProductionOrderOperationDto;
8705
8492
  toJSON(data?: any): any;
8706
8493
  }
8707
- export interface ICurrentWorkActivityDto {
8708
- activeWork: ActiveWorkDto[];
8709
- stoppedWork: StoppedWorkDto[];
8494
+ export interface IProductionOrderOperationDto {
8495
+ operation: number;
8496
+ nextOperation?: number | null;
8497
+ operationId: string;
8498
+ description?: string;
8499
+ totalPlannedHours?: number;
8500
+ totalUsedHours?: number;
8501
+ plannedSetupHours?: number | null;
8502
+ plannedProductionHours?: number;
8503
+ usedSetupHours?: number | null;
8504
+ usedProductionHours?: number;
8505
+ fixedTime?: boolean | null;
8506
+ resource?: ResourceDto | null;
8507
+ plannedStart?: Date | null;
8508
+ plannedEnd?: Date | null;
8509
+ actualStart?: Date | null;
8510
+ actualEnd?: Date | null;
8511
+ status: OperationStatusDto;
8512
+ producedQuantity: number;
8513
+ scrappedQuantity: number;
8514
+ quantity: number;
8515
+ startedQuantity?: number | null;
8516
+ ongoingQuantity?: number | null;
8517
+ availableToStartQuantity: number;
8518
+ workInstructions?: string | null;
8519
+ note?: string | null;
8520
+ fixture?: string | null;
8521
+ program?: string | null;
8522
+ toolNumber?: string | null;
8523
+ disableSetupRegistration: boolean;
8710
8524
  }
8711
- export declare class ActiveWorkDto implements IActiveWorkDto {
8712
- workActivity: CurrentWorkDto;
8713
- operation: ProductionScheduleOperationDto;
8714
- constructor(data?: IActiveWorkDto);
8525
+ export declare class WarehouseLocationDto implements IWarehouseLocationDto {
8526
+ zone?: string | null;
8527
+ location: string;
8528
+ warehouse?: string | null;
8529
+ site?: string | null;
8530
+ constructor(data?: IWarehouseLocationDto);
8715
8531
  init(_data?: any): void;
8716
- static fromJS(data: any): ActiveWorkDto;
8532
+ static fromJS(data: any): WarehouseLocationDto;
8717
8533
  toJSON(data?: any): any;
8718
8534
  }
8719
- export interface IActiveWorkDto {
8720
- workActivity: CurrentWorkDto;
8721
- operation: ProductionScheduleOperationDto;
8535
+ export interface IWarehouseLocationDto {
8536
+ zone?: string | null;
8537
+ location: string;
8538
+ warehouse?: string | null;
8539
+ site?: string | null;
8722
8540
  }
8723
- export declare class CurrentWorkDto implements ICurrentWorkDto {
8724
- resourceId: string;
8725
- upn?: string | null;
8726
- personnelNumber: string;
8727
- active: boolean;
8728
- startTime: Date;
8729
- endTime?: Date | null;
8730
- user?: UserDto | null;
8731
- startedQuantity?: number | null;
8732
- workType: WorkTypeDto;
8733
- constructor(data?: ICurrentWorkDto);
8541
+ export declare class WorkOrderAttachmentDto implements IWorkOrderAttachmentDto {
8542
+ createdBy?: UserDto | null;
8543
+ created?: Date | null;
8544
+ modifiedBy?: UserDto | null;
8545
+ modified?: Date | null;
8546
+ name?: string | null;
8547
+ notes?: string | null;
8548
+ attachmentType?: string | null;
8549
+ constructor(data?: IWorkOrderAttachmentDto);
8734
8550
  init(_data?: any): void;
8735
- static fromJS(data: any): CurrentWorkDto;
8551
+ static fromJS(data: any): WorkOrderAttachmentDto;
8736
8552
  toJSON(data?: any): any;
8737
8553
  }
8738
- export interface ICurrentWorkDto {
8739
- resourceId: string;
8740
- upn?: string | null;
8741
- personnelNumber: string;
8742
- active: boolean;
8743
- startTime: Date;
8744
- endTime?: Date | null;
8745
- user?: UserDto | null;
8746
- startedQuantity?: number | null;
8747
- workType: WorkTypeDto;
8554
+ export interface IWorkOrderAttachmentDto {
8555
+ createdBy?: UserDto | null;
8556
+ created?: Date | null;
8557
+ modifiedBy?: UserDto | null;
8558
+ modified?: Date | null;
8559
+ name?: string | null;
8560
+ notes?: string | null;
8561
+ attachmentType?: string | null;
8748
8562
  }
8749
- export type WorkTypeDto = "None" | "Production" | "Setup";
8750
- export declare class StoppedWorkDto implements IStoppedWorkDto {
8751
- operation: ProductionScheduleOperationDto;
8752
- lastWorkActivity: CurrentWorkDto;
8753
- constructor(data?: IStoppedWorkDto);
8563
+ export declare class DrawingDto implements IDrawingDto {
8564
+ drawingNumber: string;
8565
+ revision?: string;
8566
+ status: string;
8567
+ files: DrawingFileDto[];
8568
+ constructor(data?: IDrawingDto);
8754
8569
  init(_data?: any): void;
8755
- static fromJS(data: any): StoppedWorkDto;
8570
+ static fromJS(data: any): DrawingDto;
8756
8571
  toJSON(data?: any): any;
8757
8572
  }
8758
- export interface IStoppedWorkDto {
8759
- operation: ProductionScheduleOperationDto;
8760
- lastWorkActivity: CurrentWorkDto;
8573
+ export interface IDrawingDto {
8574
+ drawingNumber: string;
8575
+ revision?: string;
8576
+ status: string;
8577
+ files: DrawingFileDto[];
8761
8578
  }
8762
- export declare class StartOperations implements IStartOperations {
8763
- operations: StartOperationDto[];
8764
- workType: WorkTypeDto;
8765
- constructor(data?: IStartOperations);
8579
+ export declare class DrawingFileDto implements IDrawingFileDto {
8580
+ id: number;
8581
+ name: string;
8582
+ comment?: string;
8583
+ constructor(data?: IDrawingFileDto);
8766
8584
  init(_data?: any): void;
8767
- static fromJS(data: any): StartOperations;
8585
+ static fromJS(data: any): DrawingFileDto;
8768
8586
  toJSON(data?: any): any;
8769
8587
  }
8770
- export interface IStartOperations {
8771
- operations: StartOperationDto[];
8772
- workType: WorkTypeDto;
8588
+ export interface IDrawingFileDto {
8589
+ id: number;
8590
+ name: string;
8591
+ comment?: string;
8773
8592
  }
8774
- export declare class StartOperationDto implements IStartOperationDto {
8775
- workOrder: string;
8776
- operationNumber: number;
8777
- startedQuantity?: number | null;
8778
- resource: string;
8779
- constructor(data?: IStartOperationDto);
8593
+ export declare class OrderReferenceDto implements IOrderReferenceDto {
8594
+ orderReferenceType?: OrderReferenceTypeDto;
8595
+ orderNumber?: string;
8596
+ orderLineNumber?: number | null;
8597
+ constructor(data?: IOrderReferenceDto);
8780
8598
  init(_data?: any): void;
8781
- static fromJS(data: any): StartOperationDto;
8599
+ static fromJS(data: any): OrderReferenceDto;
8782
8600
  toJSON(data?: any): any;
8783
8601
  }
8784
- export interface IStartOperationDto {
8785
- workOrder: string;
8786
- operationNumber: number;
8787
- startedQuantity?: number | null;
8788
- resource: string;
8602
+ export interface IOrderReferenceDto {
8603
+ orderReferenceType?: OrderReferenceTypeDto;
8604
+ orderNumber?: string;
8605
+ orderLineNumber?: number | null;
8606
+ }
8607
+ export type OrderReferenceTypeDto = "ProductionOrder" | "PurchaseOrder" | "SalesOrder";
8608
+ export declare class ProductionOrderBomDto implements IProductionOrderBomDto {
8609
+ position?: string;
8610
+ lineNumber: number;
8611
+ part: PartDto;
8612
+ dimension?: string;
8613
+ operation: number;
8614
+ operationName?: string;
8615
+ warehouse?: string | null;
8616
+ fixedLocation?: string | null;
8617
+ fixedLocations?: string[];
8618
+ unit?: string;
8619
+ quantityPerPart: number;
8620
+ totalRequiredQuantity: number;
8621
+ usedQuantity: number;
8622
+ availableQuantity?: number | null;
8623
+ drawing?: DrawingDto | null;
8624
+ orderReference?: OrderReferenceDto | null;
8625
+ status: MaterialStatus;
8626
+ availabilityDetails: InventoryDto[];
8627
+ traceType: TraceType;
8628
+ constructor(data?: IProductionOrderBomDto);
8629
+ init(_data?: any): void;
8630
+ static fromJS(data: any): ProductionOrderBomDto;
8631
+ toJSON(data?: any): any;
8789
8632
  }
8790
- export declare class ReportOperationProgress implements IReportOperationProgress {
8791
- operations: ReportOperationProgressDto[];
8792
- constructor(data?: IReportOperationProgress);
8633
+ export interface IProductionOrderBomDto {
8634
+ position?: string;
8635
+ lineNumber: number;
8636
+ part: PartDto;
8637
+ dimension?: string;
8638
+ operation: number;
8639
+ operationName?: string;
8640
+ warehouse?: string | null;
8641
+ fixedLocation?: string | null;
8642
+ fixedLocations?: string[];
8643
+ unit?: string;
8644
+ quantityPerPart: number;
8645
+ totalRequiredQuantity: number;
8646
+ usedQuantity: number;
8647
+ availableQuantity?: number | null;
8648
+ drawing?: DrawingDto | null;
8649
+ orderReference?: OrderReferenceDto | null;
8650
+ status: MaterialStatus;
8651
+ availabilityDetails: InventoryDto[];
8652
+ traceType: TraceType;
8653
+ }
8654
+ export declare class InventoryDto implements IInventoryDto {
8655
+ siteId: string;
8656
+ warehouseId: string;
8657
+ locationId: string;
8658
+ batchNumber?: string;
8659
+ vendorBatch?: string;
8660
+ available: number;
8661
+ constructor(data?: IInventoryDto);
8793
8662
  init(_data?: any): void;
8794
- static fromJS(data: any): ReportOperationProgress;
8663
+ static fromJS(data: any): InventoryDto;
8795
8664
  toJSON(data?: any): any;
8796
8665
  }
8797
- export interface IReportOperationProgress {
8798
- operations: ReportOperationProgressDto[];
8666
+ export interface IInventoryDto {
8667
+ siteId: string;
8668
+ warehouseId: string;
8669
+ locationId: string;
8670
+ batchNumber?: string;
8671
+ vendorBatch?: string;
8672
+ available: number;
8799
8673
  }
8800
- export declare class ReportOperationProgressDto implements IReportOperationProgressDto {
8801
- workOrder: string;
8802
- operationNumber: number;
8803
- resource?: string;
8804
- goodQuantity?: number | null;
8805
- errorQuantity?: number | null;
8806
- errorCause?: ErrorCauseDto | null;
8807
- nextStatus?: NextOperationStatusDto;
8808
- workType?: WorkTypeDto;
8809
- constructor(data?: IReportOperationProgressDto);
8674
+ export declare class PickListSuggestionDto implements IPickListSuggestionDto {
8675
+ position?: string;
8676
+ lineNumber: number;
8677
+ part: PartDto;
8678
+ dimension?: string;
8679
+ operation: number;
8680
+ warehouse?: string;
8681
+ fixedLocation?: string;
8682
+ unit?: string;
8683
+ orderReference?: OrderReferenceDto | null;
8684
+ quantityPerPart: number;
8685
+ totalRequiredQuantity: number;
8686
+ usedQuantity: number;
8687
+ lot: string;
8688
+ consumedAutomatically: boolean;
8689
+ requiresBatchTracing: boolean;
8690
+ requiresSerialTracing: boolean;
8691
+ proposedQuantity: number;
8692
+ remainingQuantity: number;
8693
+ suggestedStartedQuantity?: InventoryDto | null;
8694
+ suggestedRemainingQuantity?: InventoryDto | null;
8695
+ available: InventoryDto[];
8696
+ fixedLocations: string[];
8697
+ drawing?: DrawingDto | null;
8698
+ constructor(data?: IPickListSuggestionDto);
8810
8699
  init(_data?: any): void;
8811
- static fromJS(data: any): ReportOperationProgressDto;
8700
+ static fromJS(data: any): PickListSuggestionDto;
8812
8701
  toJSON(data?: any): any;
8813
8702
  }
8814
- export interface IReportOperationProgressDto {
8815
- workOrder: string;
8816
- operationNumber: number;
8817
- resource?: string;
8818
- goodQuantity?: number | null;
8819
- errorQuantity?: number | null;
8820
- errorCause?: ErrorCauseDto | null;
8821
- nextStatus?: NextOperationStatusDto;
8822
- workType?: WorkTypeDto;
8703
+ export interface IPickListSuggestionDto {
8704
+ position?: string;
8705
+ lineNumber: number;
8706
+ part: PartDto;
8707
+ dimension?: string;
8708
+ operation: number;
8709
+ warehouse?: string;
8710
+ fixedLocation?: string;
8711
+ unit?: string;
8712
+ orderReference?: OrderReferenceDto | null;
8713
+ quantityPerPart: number;
8714
+ totalRequiredQuantity: number;
8715
+ usedQuantity: number;
8716
+ lot: string;
8717
+ consumedAutomatically: boolean;
8718
+ requiresBatchTracing: boolean;
8719
+ requiresSerialTracing: boolean;
8720
+ proposedQuantity: number;
8721
+ remainingQuantity: number;
8722
+ suggestedStartedQuantity?: InventoryDto | null;
8723
+ suggestedRemainingQuantity?: InventoryDto | null;
8724
+ available: InventoryDto[];
8725
+ fixedLocations: string[];
8726
+ drawing?: DrawingDto | null;
8823
8727
  }
8824
- export type ErrorCauseDto = "None" | "Material" | "Machine" | "OperatingStaff";
8825
- export type NextOperationStatusDto = "InProgress" | "Stopped" | "Completed";
8826
- export declare class ScheduledWorkSummaryDto implements IScheduledWorkSummaryDto {
8827
- numberOfOperations: number;
8828
- remainingWork: number;
8829
- constructor(data?: IScheduledWorkSummaryDto);
8728
+ export declare class NonConformanceDto implements INonConformanceDto {
8729
+ nonConformanceId: string;
8730
+ companyId?: string | null;
8731
+ part?: PartDto | null;
8732
+ resource?: ResourceDto | null;
8733
+ type: NonConformanceType;
8734
+ workOrder?: string | null;
8735
+ title?: string | null;
8736
+ date: Date;
8737
+ description?: string | null;
8738
+ problemType?: string | null;
8739
+ cause?: string | null;
8740
+ responsible?: UserDto | null;
8741
+ closed: boolean;
8742
+ approved: boolean;
8743
+ url?: string | null;
8744
+ constructor(data?: INonConformanceDto);
8830
8745
  init(_data?: any): void;
8831
- static fromJS(data: any): ScheduledWorkSummaryDto;
8746
+ static fromJS(data: any): NonConformanceDto;
8832
8747
  toJSON(data?: any): any;
8833
8748
  }
8834
- export interface IScheduledWorkSummaryDto {
8835
- numberOfOperations: number;
8836
- remainingWork: number;
8749
+ export interface INonConformanceDto {
8750
+ nonConformanceId: string;
8751
+ companyId?: string | null;
8752
+ part?: PartDto | null;
8753
+ resource?: ResourceDto | null;
8754
+ type: NonConformanceType;
8755
+ workOrder?: string | null;
8756
+ title?: string | null;
8757
+ date: Date;
8758
+ description?: string | null;
8759
+ problemType?: string | null;
8760
+ cause?: string | null;
8761
+ responsible?: UserDto | null;
8762
+ closed: boolean;
8763
+ approved: boolean;
8764
+ url?: string | null;
8837
8765
  }
8838
- export declare class PagedResultOfWorkOrderProjectDto implements IPagedResultOfWorkOrderProjectDto {
8839
- results: WorkOrderProjectDto[];
8840
- continuationToken?: string | null;
8841
- constructor(data?: IPagedResultOfWorkOrderProjectDto);
8766
+ export type NonConformanceType = 1;
8767
+ export declare class MaterialPickListResultDto implements IMaterialPickListResultDto {
8768
+ results: MaterialPickListResultEntryDto[];
8769
+ constructor(data?: IMaterialPickListResultDto);
8842
8770
  init(_data?: any): void;
8843
- static fromJS(data: any): PagedResultOfWorkOrderProjectDto;
8771
+ static fromJS(data: any): MaterialPickListResultDto;
8844
8772
  toJSON(data?: any): any;
8845
8773
  }
8846
- export interface IPagedResultOfWorkOrderProjectDto {
8847
- results: WorkOrderProjectDto[];
8848
- continuationToken?: string | null;
8774
+ export interface IMaterialPickListResultDto {
8775
+ results: MaterialPickListResultEntryDto[];
8849
8776
  }
8850
- export declare class ListProjectsRequest implements IListProjectsRequest {
8851
- projectQuery?: string | null;
8852
- pageSize?: number | null;
8853
- continuationToken?: string | null;
8854
- constructor(data?: IListProjectsRequest);
8777
+ export declare class MaterialPickListResultEntryDto implements IMaterialPickListResultEntryDto {
8778
+ companyId: string;
8779
+ workOrderId: string;
8780
+ partNumber: string;
8781
+ remainingBomLineQuantity: number;
8782
+ posted: boolean;
8783
+ constructor(data?: IMaterialPickListResultEntryDto);
8855
8784
  init(_data?: any): void;
8856
- static fromJS(data: any): ListProjectsRequest;
8785
+ static fromJS(data: any): MaterialPickListResultEntryDto;
8857
8786
  toJSON(data?: any): any;
8858
8787
  }
8859
- export interface IListProjectsRequest {
8860
- projectQuery?: string | null;
8861
- pageSize?: number | null;
8862
- continuationToken?: string | null;
8788
+ export interface IMaterialPickListResultEntryDto {
8789
+ companyId: string;
8790
+ workOrderId: string;
8791
+ partNumber: string;
8792
+ remainingBomLineQuantity: number;
8793
+ posted: boolean;
8863
8794
  }
8864
- export declare class PagedResultOfWorkorderDto implements IPagedResultOfWorkorderDto {
8865
- results: WorkorderDto[];
8866
- continuationToken?: string | null;
8867
- constructor(data?: IPagedResultOfWorkorderDto);
8795
+ export declare class PostMaterialPickListRequest implements IPostMaterialPickListRequest {
8796
+ materialLines: PickListMaterialLineDto[];
8797
+ constructor(data?: IPostMaterialPickListRequest);
8868
8798
  init(_data?: any): void;
8869
- static fromJS(data: any): PagedResultOfWorkorderDto;
8799
+ static fromJS(data: any): PostMaterialPickListRequest;
8870
8800
  toJSON(data?: any): any;
8871
8801
  }
8872
- export interface IPagedResultOfWorkorderDto {
8873
- results: WorkorderDto[];
8874
- continuationToken?: string | null;
8802
+ export interface IPostMaterialPickListRequest {
8803
+ materialLines: PickListMaterialLineDto[];
8875
8804
  }
8876
- export declare class WorkorderDto implements IWorkorderDto {
8877
- id: string;
8878
- part: PartDto;
8805
+ export declare class PickListMaterialLineDto implements IPickListMaterialLineDto {
8806
+ lot: string;
8807
+ partNumber: string;
8808
+ warehouse: string;
8809
+ location: string;
8810
+ end: boolean;
8879
8811
  quantity: number;
8880
- unit: string;
8881
- status: WorkorderStatus;
8882
- operations: WorkorderOperationDto[];
8883
- plannedStart?: Date | null;
8884
- plannedEnd?: Date | null;
8885
- producedQuantity: number;
8886
- scrappedQuantity: number;
8887
- customerOrderReference: WorkorderCustomerOrderReferenceDto;
8888
- project?: WorkOrderProjectDto | null;
8889
- planner?: UserDto | null;
8890
- projectLeader?: UserDto | null;
8891
- constructor(data?: IWorkorderDto);
8812
+ batch?: string | null;
8813
+ constructor(data?: IPickListMaterialLineDto);
8892
8814
  init(_data?: any): void;
8893
- static fromJS(data: any): WorkorderDto;
8815
+ static fromJS(data: any): PickListMaterialLineDto;
8894
8816
  toJSON(data?: any): any;
8895
8817
  }
8896
- export interface IWorkorderDto {
8897
- id: string;
8898
- part: PartDto;
8899
- quantity: number;
8900
- unit: string;
8901
- status: WorkorderStatus;
8902
- operations: WorkorderOperationDto[];
8903
- plannedStart?: Date | null;
8904
- plannedEnd?: Date | null;
8905
- producedQuantity: number;
8906
- scrappedQuantity: number;
8907
- customerOrderReference: WorkorderCustomerOrderReferenceDto;
8908
- project?: WorkOrderProjectDto | null;
8909
- planner?: UserDto | null;
8910
- projectLeader?: UserDto | null;
8818
+ export interface IPickListMaterialLineDto {
8819
+ lot: string;
8820
+ partNumber: string;
8821
+ warehouse: string;
8822
+ location: string;
8823
+ end: boolean;
8824
+ quantity: number;
8825
+ batch?: string | null;
8911
8826
  }
8912
- export declare class WorkorderOperationDto implements IWorkorderOperationDto {
8827
+ export declare class ProductionOrderOperationActivityDto implements IProductionOrderOperationActivityDto {
8913
8828
  operation: number;
8829
+ operationId: string;
8914
8830
  description?: string | null;
8915
- plannedSetupTime: number;
8916
- plannedProductionTimePerPart: number;
8917
- plannedProductionTime: number;
8918
- fixedTime?: boolean | null;
8919
8831
  resource?: ResourceDto | null;
8920
- plannedStart?: Date | null;
8921
- plannedEnd?: Date | null;
8922
- actualStart?: Date | null;
8923
- actualEnd?: Date | null;
8832
+ user?: UserDto | null;
8833
+ startTime: Date;
8834
+ endTime?: Date | null;
8924
8835
  status: OperationStatusDto;
8925
- producedQuantity: number;
8926
- scrappedQuantity: number;
8927
- usedProductionTime: number;
8928
- usedSetupTime: number;
8929
- materials: WorkorderMaterialDto[];
8930
- constructor(data?: IWorkorderOperationDto);
8836
+ active: boolean;
8837
+ startedQuantity?: number | null;
8838
+ producedQuantity?: number | null;
8839
+ scrappedQuantity?: number | null;
8840
+ constructor(data?: IProductionOrderOperationActivityDto);
8931
8841
  init(_data?: any): void;
8932
- static fromJS(data: any): WorkorderOperationDto;
8842
+ static fromJS(data: any): ProductionOrderOperationActivityDto;
8933
8843
  toJSON(data?: any): any;
8934
8844
  }
8935
- export interface IWorkorderOperationDto {
8845
+ export interface IProductionOrderOperationActivityDto {
8936
8846
  operation: number;
8847
+ operationId: string;
8937
8848
  description?: string | null;
8938
- plannedSetupTime: number;
8939
- plannedProductionTimePerPart: number;
8940
- plannedProductionTime: number;
8941
- fixedTime?: boolean | null;
8942
8849
  resource?: ResourceDto | null;
8943
- plannedStart?: Date | null;
8944
- plannedEnd?: Date | null;
8945
- actualStart?: Date | null;
8946
- actualEnd?: Date | null;
8850
+ user?: UserDto | null;
8851
+ startTime: Date;
8852
+ endTime?: Date | null;
8947
8853
  status: OperationStatusDto;
8948
- producedQuantity: number;
8949
- scrappedQuantity: number;
8950
- usedProductionTime: number;
8951
- usedSetupTime: number;
8952
- materials: WorkorderMaterialDto[];
8854
+ active: boolean;
8855
+ startedQuantity?: number | null;
8856
+ producedQuantity?: number | null;
8857
+ scrappedQuantity?: number | null;
8953
8858
  }
8954
- export declare class WorkorderMaterialDto implements IWorkorderMaterialDto {
8955
- materialLine: number;
8956
- status: MaterialStatus;
8957
- material: PartDto;
8958
- quantityPerPart: number;
8959
- fixedQuantity: boolean;
8960
- usedQuantity: number;
8961
- unit: string;
8962
- traceType: TraceType;
8963
- constructor(data?: IWorkorderMaterialDto);
8859
+ export declare class GenerateProductionOrderPdf implements IGenerateProductionOrderPdf {
8860
+ productionOrderNumbers: string[];
8861
+ type: ProductionOrderPdfType;
8862
+ includeOperations: boolean;
8863
+ includeDrawing: boolean;
8864
+ includeOperationText: boolean;
8865
+ constructor(data?: IGenerateProductionOrderPdf);
8964
8866
  init(_data?: any): void;
8965
- static fromJS(data: any): WorkorderMaterialDto;
8867
+ static fromJS(data: any): GenerateProductionOrderPdf;
8966
8868
  toJSON(data?: any): any;
8967
8869
  }
8968
- export interface IWorkorderMaterialDto {
8969
- materialLine: number;
8970
- status: MaterialStatus;
8971
- material: PartDto;
8972
- quantityPerPart: number;
8973
- fixedQuantity: boolean;
8974
- usedQuantity: number;
8975
- unit: string;
8976
- traceType: TraceType;
8870
+ export interface IGenerateProductionOrderPdf {
8871
+ productionOrderNumbers: string[];
8872
+ type: ProductionOrderPdfType;
8873
+ includeOperations: boolean;
8874
+ includeDrawing: boolean;
8875
+ includeOperationText: boolean;
8977
8876
  }
8978
- export declare class ListOrderScheduleRequest implements IListOrderScheduleRequest {
8979
- projectId?: string | null;
8980
- planner?: string | null;
8981
- pageSize?: number | null;
8877
+ export type ProductionOrderPdfType = "Rich" | "Compact";
8878
+ export declare class PagedResultOfProductionScheduleOperationDto implements IPagedResultOfProductionScheduleOperationDto {
8879
+ results: ProductionScheduleOperationDto[];
8982
8880
  continuationToken?: string | null;
8983
- constructor(data?: IListOrderScheduleRequest);
8881
+ constructor(data?: IPagedResultOfProductionScheduleOperationDto);
8984
8882
  init(_data?: any): void;
8985
- static fromJS(data: any): ListOrderScheduleRequest;
8883
+ static fromJS(data: any): PagedResultOfProductionScheduleOperationDto;
8986
8884
  toJSON(data?: any): any;
8987
8885
  }
8988
- export interface IListOrderScheduleRequest {
8989
- projectId?: string | null;
8990
- planner?: string | null;
8991
- pageSize?: number | null;
8886
+ export interface IPagedResultOfProductionScheduleOperationDto {
8887
+ results: ProductionScheduleOperationDto[];
8992
8888
  continuationToken?: string | null;
8993
8889
  }
8994
- export declare class ResourceGroupDto implements IResourceGroupDto {
8995
- id?: string;
8996
- name?: string;
8997
- resources: ProductionResourceDto[];
8998
- department?: DepartmentDto | null;
8999
- constructor(data?: IResourceGroupDto);
9000
- init(_data?: any): void;
9001
- static fromJS(data: any): ResourceGroupDto;
9002
- toJSON(data?: any): any;
9003
- }
9004
- export interface IResourceGroupDto {
9005
- id?: string;
9006
- name?: string;
9007
- resources: ProductionResourceDto[];
9008
- department?: DepartmentDto | null;
9009
- }
9010
- export declare class ProductionResourceDto implements IProductionResourceDto {
9011
- id?: string;
9012
- name?: string;
9013
- department?: DepartmentDto | null;
9014
- constructor(data?: IProductionResourceDto);
9015
- init(_data?: any): void;
9016
- static fromJS(data: any): ProductionResourceDto;
9017
- toJSON(data?: any): any;
9018
- }
9019
- export interface IProductionResourceDto {
9020
- id?: string;
9021
- name?: string;
9022
- department?: DepartmentDto | null;
9023
- }
9024
- export declare class BookingListDto implements IBookingListDto {
9025
- results: BookingDto[];
9026
- continuationToken?: string | null;
9027
- constructor(data?: IBookingListDto);
8890
+ export declare class ProductionScheduleOperationDto implements IProductionScheduleOperationDto {
8891
+ id: string;
8892
+ productionOrderNumber: string;
8893
+ operation: number;
8894
+ operationName: string;
8895
+ plannedStart: Date;
8896
+ plannedEnd?: Date | null;
8897
+ actualStart?: Date | null;
8898
+ actualEnd?: Date | null;
8899
+ status: OperationStatusDto;
8900
+ totalPlannedHours?: number;
8901
+ totalUsedHours?: number;
8902
+ plannedSetupHours?: number | null;
8903
+ plannedProductionHours?: number;
8904
+ usedSetupHours?: number | null;
8905
+ usedProductionHours?: number;
8906
+ quantity: number;
8907
+ producedQuantity: number;
8908
+ scrappedQuantity: number;
8909
+ availableToStartQuantity: number;
8910
+ startedQuantity?: number | null;
8911
+ ongoingQuantity?: number | null;
8912
+ project?: WorkOrderProjectDto | null;
8913
+ partNumber: string;
8914
+ partRevision?: string | null;
8915
+ partName?: string | null;
8916
+ partMaterial?: string | null;
8917
+ resourceId: string;
8918
+ resourceName: string;
8919
+ resourceDepartmentNumber?: string | null;
8920
+ resourceDepartmentName?: string | null;
8921
+ bomPosition?: string | null;
8922
+ customerName?: string | null;
8923
+ previousOperation?: SurroundingOperationDto | null;
8924
+ nextOperation?: SurroundingOperationDto | null;
8925
+ workInstructions?: string | null;
8926
+ note?: string | null;
8927
+ description?: string | null;
8928
+ fixture?: string | null;
8929
+ program?: string | null;
8930
+ toolNumber?: string | null;
8931
+ prerequisites: OperationPrerequisitesDto;
8932
+ deliveryLocation?: WarehouseLocationDto | null;
8933
+ drawing?: DrawingDto | null;
8934
+ drawingNumber?: string | null;
8935
+ disableSetupRegistration: boolean;
8936
+ materialPickStatus: MaterialPickStatus;
8937
+ constructor(data?: IProductionScheduleOperationDto);
9028
8938
  init(_data?: any): void;
9029
- static fromJS(data: any): BookingListDto;
8939
+ static fromJS(data: any): ProductionScheduleOperationDto;
9030
8940
  toJSON(data?: any): any;
9031
8941
  }
9032
- export interface IBookingListDto {
9033
- results: BookingDto[];
9034
- continuationToken?: string | null;
9035
- }
9036
- export declare class BookingDto implements IBookingDto {
9037
- bookingId: string;
9038
- bookingKind: BookingKindDto;
9039
- transportKind: TransportKindDto;
9040
- status: BookingStatusDto;
9041
- items: BookingItemDto[];
9042
- fromLocation: LocationDto;
9043
- toLocation: LocationDto;
9044
- created: Date;
9045
- createdBy: string;
9046
- createdById: string;
9047
- updatedBy?: string | null;
9048
- updatedById?: string | null;
9049
- driver?: string | null;
9050
- driverId?: string | null;
9051
- completed?: Date | null;
9052
- constructor(data?: IBookingDto);
8942
+ export interface IProductionScheduleOperationDto {
8943
+ id: string;
8944
+ productionOrderNumber: string;
8945
+ operation: number;
8946
+ operationName: string;
8947
+ plannedStart: Date;
8948
+ plannedEnd?: Date | null;
8949
+ actualStart?: Date | null;
8950
+ actualEnd?: Date | null;
8951
+ status: OperationStatusDto;
8952
+ totalPlannedHours?: number;
8953
+ totalUsedHours?: number;
8954
+ plannedSetupHours?: number | null;
8955
+ plannedProductionHours?: number;
8956
+ usedSetupHours?: number | null;
8957
+ usedProductionHours?: number;
8958
+ quantity: number;
8959
+ producedQuantity: number;
8960
+ scrappedQuantity: number;
8961
+ availableToStartQuantity: number;
8962
+ startedQuantity?: number | null;
8963
+ ongoingQuantity?: number | null;
8964
+ project?: WorkOrderProjectDto | null;
8965
+ partNumber: string;
8966
+ partRevision?: string | null;
8967
+ partName?: string | null;
8968
+ partMaterial?: string | null;
8969
+ resourceId: string;
8970
+ resourceName: string;
8971
+ resourceDepartmentNumber?: string | null;
8972
+ resourceDepartmentName?: string | null;
8973
+ bomPosition?: string | null;
8974
+ customerName?: string | null;
8975
+ previousOperation?: SurroundingOperationDto | null;
8976
+ nextOperation?: SurroundingOperationDto | null;
8977
+ workInstructions?: string | null;
8978
+ note?: string | null;
8979
+ description?: string | null;
8980
+ fixture?: string | null;
8981
+ program?: string | null;
8982
+ toolNumber?: string | null;
8983
+ prerequisites: OperationPrerequisitesDto;
8984
+ deliveryLocation?: WarehouseLocationDto | null;
8985
+ drawing?: DrawingDto | null;
8986
+ drawingNumber?: string | null;
8987
+ disableSetupRegistration: boolean;
8988
+ materialPickStatus: MaterialPickStatus;
8989
+ }
8990
+ export declare class SurroundingOperationDto implements ISurroundingOperationDto {
8991
+ id: string;
8992
+ operation: number;
8993
+ operationName: string;
8994
+ plannedStart?: Date | null;
8995
+ plannedEnd?: Date | null;
8996
+ actualStart?: Date | null;
8997
+ actualEnd?: Date | null;
8998
+ status: OperationStatusDto;
8999
+ resourceGroupId?: string | null;
9000
+ resourceId?: string | null;
9001
+ resourceName?: string | null;
9002
+ resourceDepartmentNumber?: string | null;
9003
+ resourceDepartmentName?: string | null;
9004
+ producedQuantity: number;
9005
+ scrappedQuantity: number;
9006
+ startedQuantity?: number | null;
9007
+ constructor(data?: ISurroundingOperationDto);
9053
9008
  init(_data?: any): void;
9054
- static fromJS(data: any): BookingDto;
9009
+ static fromJS(data: any): SurroundingOperationDto;
9055
9010
  toJSON(data?: any): any;
9056
9011
  }
9057
- export interface IBookingDto {
9058
- bookingId: string;
9059
- bookingKind: BookingKindDto;
9060
- transportKind: TransportKindDto;
9061
- status: BookingStatusDto;
9062
- items: BookingItemDto[];
9063
- fromLocation: LocationDto;
9064
- toLocation: LocationDto;
9065
- created: Date;
9066
- createdBy: string;
9067
- createdById: string;
9068
- updatedBy?: string | null;
9069
- updatedById?: string | null;
9070
- driver?: string | null;
9071
- driverId?: string | null;
9072
- completed?: Date | null;
9012
+ export interface ISurroundingOperationDto {
9013
+ id: string;
9014
+ operation: number;
9015
+ operationName: string;
9016
+ plannedStart?: Date | null;
9017
+ plannedEnd?: Date | null;
9018
+ actualStart?: Date | null;
9019
+ actualEnd?: Date | null;
9020
+ status: OperationStatusDto;
9021
+ resourceGroupId?: string | null;
9022
+ resourceId?: string | null;
9023
+ resourceName?: string | null;
9024
+ resourceDepartmentNumber?: string | null;
9025
+ resourceDepartmentName?: string | null;
9026
+ producedQuantity: number;
9027
+ scrappedQuantity: number;
9028
+ startedQuantity?: number | null;
9073
9029
  }
9074
- export type BookingKindDto = "Forklift" | "General" | "ChipDisposal" | "Garbage";
9075
- export type TransportKindDto = "NormalForklift" | "LargeForklift" | "SideLoadingForklift";
9076
- export type BookingStatusDto = "Pending" | "Cancelled" | "InProgress" | "Completed";
9077
- export declare class BookingItemDto implements IBookingItemDto {
9078
- trackingId: string;
9079
- workOrderId: string;
9080
- parcelKind: BookingKindDto;
9081
- material?: string | null;
9082
- comment?: string | null;
9083
- covered: MaterialCoveredDto;
9084
- toLocationOverride?: LocationDto | null;
9085
- constructor(data?: IBookingItemDto);
9030
+ export declare class OperationPrerequisitesDto implements IOperationPrerequisitesDto {
9031
+ drawing?: boolean | null;
9032
+ materials?: MaterialsPrerequisiteDto;
9033
+ cncProgram?: boolean | null;
9034
+ constructor(data?: IOperationPrerequisitesDto);
9086
9035
  init(_data?: any): void;
9087
- static fromJS(data: any): BookingItemDto;
9036
+ static fromJS(data: any): OperationPrerequisitesDto;
9088
9037
  toJSON(data?: any): any;
9089
9038
  }
9090
- export interface IBookingItemDto {
9091
- trackingId: string;
9092
- workOrderId: string;
9093
- parcelKind: BookingKindDto;
9094
- material?: string | null;
9095
- comment?: string | null;
9096
- covered: MaterialCoveredDto;
9097
- toLocationOverride?: LocationDto | null;
9039
+ export interface IOperationPrerequisitesDto {
9040
+ drawing?: boolean | null;
9041
+ materials?: MaterialsPrerequisiteDto;
9042
+ cncProgram?: boolean | null;
9098
9043
  }
9099
- export type MaterialCoveredDto = "NotDefined" | "NotCovered" | "Covered";
9100
- export declare class LocationDto implements ILocationDto {
9101
- locationId: string;
9102
- locationName: string;
9103
- zoneId?: string | null;
9104
- zoneName?: string | null;
9105
- kind: LocationKindDto;
9106
- profile?: string | null;
9107
- constructor(data?: ILocationDto);
9044
+ export declare class MaterialsPrerequisiteDto implements IMaterialsPrerequisiteDto {
9045
+ numberOfPartsCoveredByOnHand?: number | null;
9046
+ materialStatus?: MaterialStatusDto;
9047
+ constructor(data?: IMaterialsPrerequisiteDto);
9108
9048
  init(_data?: any): void;
9109
- static fromJS(data: any): LocationDto;
9049
+ static fromJS(data: any): MaterialsPrerequisiteDto;
9110
9050
  toJSON(data?: any): any;
9111
9051
  }
9112
- export interface ILocationDto {
9113
- locationId: string;
9114
- locationName: string;
9115
- zoneId?: string | null;
9116
- zoneName?: string | null;
9117
- kind: LocationKindDto;
9118
- profile?: string | null;
9052
+ export interface IMaterialsPrerequisiteDto {
9053
+ numberOfPartsCoveredByOnHand?: number | null;
9054
+ materialStatus?: MaterialStatusDto;
9119
9055
  }
9120
- export type LocationKindDto = "Warehouse" | "Zone" | "Location";
9121
- export declare class BookingRequestListDto implements IBookingRequestListDto {
9122
- pageSize?: number | null;
9123
- workOrderIdFilter?: string[] | null;
9124
- materialFilter?: string[] | null;
9125
- locationIdFromFilter?: string[] | null;
9126
- locationIdToFilter?: string[] | null;
9127
- zoneIdFromFilter?: string[] | null;
9128
- zoneIdToFilter?: string[] | null;
9129
- bookingStatusFilter?: BookingStatusDto[] | null;
9130
- bookingKindFilter?: BookingKindDto[] | null;
9131
- transportKindFilter?: TransportKindDto[] | null;
9132
- taskFilter?: BookingTaskDto | null;
9133
- createdByFilter?: BookingCreatedByDto | null;
9134
- bookingOrder?: BookingOrderDto;
9056
+ export type MaterialStatusDto = "NotRequired" | "NotAvailable" | "PartiallyAvailable" | "Available" | "FullyConsumed" | "Unknown";
9057
+ export type MaterialPickStatus = "NotRequired" | "NotStarted" | "Started" | "Completed" | "Unknown";
9058
+ export declare class ListProductionScheduleOperationsRequest implements IListProductionScheduleOperationsRequest {
9059
+ resourceGroup?: string | null;
9060
+ resourceId?: string | null;
9061
+ pageSize?: number;
9135
9062
  continuationToken?: string | null;
9136
- constructor(data?: IBookingRequestListDto);
9063
+ workOrderId?: string | null;
9064
+ projectId?: string | null;
9065
+ partNumber?: string | null;
9066
+ partName?: string | null;
9067
+ material?: string | null;
9068
+ workOrderIds?: string[] | null;
9069
+ partNumbers?: string[] | null;
9070
+ partNames?: string[] | null;
9071
+ projectIds?: string[] | null;
9072
+ bomPositions?: string[] | null;
9073
+ materials?: string[] | null;
9074
+ descriptions?: string[] | null;
9075
+ availableWork?: boolean | null;
9076
+ operationStatuses?: OperationStatusDto[] | null;
9077
+ after?: Date | null;
9078
+ before?: Date | null;
9079
+ constructor(data?: IListProductionScheduleOperationsRequest);
9137
9080
  init(_data?: any): void;
9138
- static fromJS(data: any): BookingRequestListDto;
9081
+ static fromJS(data: any): ListProductionScheduleOperationsRequest;
9139
9082
  toJSON(data?: any): any;
9140
9083
  }
9141
- export interface IBookingRequestListDto {
9142
- pageSize?: number | null;
9143
- workOrderIdFilter?: string[] | null;
9144
- materialFilter?: string[] | null;
9145
- locationIdFromFilter?: string[] | null;
9146
- locationIdToFilter?: string[] | null;
9147
- zoneIdFromFilter?: string[] | null;
9148
- zoneIdToFilter?: string[] | null;
9149
- bookingStatusFilter?: BookingStatusDto[] | null;
9150
- bookingKindFilter?: BookingKindDto[] | null;
9151
- transportKindFilter?: TransportKindDto[] | null;
9152
- taskFilter?: BookingTaskDto | null;
9153
- createdByFilter?: BookingCreatedByDto | null;
9154
- bookingOrder?: BookingOrderDto;
9084
+ export interface IListProductionScheduleOperationsRequest {
9085
+ resourceGroup?: string | null;
9086
+ resourceId?: string | null;
9087
+ pageSize?: number;
9155
9088
  continuationToken?: string | null;
9089
+ workOrderId?: string | null;
9090
+ projectId?: string | null;
9091
+ partNumber?: string | null;
9092
+ partName?: string | null;
9093
+ material?: string | null;
9094
+ workOrderIds?: string[] | null;
9095
+ partNumbers?: string[] | null;
9096
+ partNames?: string[] | null;
9097
+ projectIds?: string[] | null;
9098
+ bomPositions?: string[] | null;
9099
+ materials?: string[] | null;
9100
+ descriptions?: string[] | null;
9101
+ availableWork?: boolean | null;
9102
+ operationStatuses?: OperationStatusDto[] | null;
9103
+ after?: Date | null;
9104
+ before?: Date | null;
9156
9105
  }
9157
- export type BookingTaskDto = "MyTasks" | "OthersTasks";
9158
- export type BookingCreatedByDto = "MyBookings" | "OthersBookings";
9159
- export type BookingOrderDto = "Ascending" | "Descending";
9160
- export declare class BookingUpdateDto implements IBookingUpdateDto {
9161
- bookingId: string;
9162
- bookingKind: BookingKindDto;
9163
- transportKind: TransportKindDto;
9164
- status: BookingStatusDto;
9165
- fromLocationId: string;
9166
- toLocationId: string;
9167
- constructor(data?: IBookingUpdateDto);
9106
+ export declare class ProductionScheduleFiltersDto implements IProductionScheduleFiltersDto {
9107
+ partNumbers?: FilterValueWithQuantity[];
9108
+ bomPositions?: FilterValueWithQuantity[];
9109
+ projectIds?: FilterValueWithQuantity[];
9110
+ partNames?: FilterValueWithQuantity[];
9111
+ workOrderIds?: FilterValueWithQuantity[];
9112
+ materials?: FilterValueWithQuantity[];
9113
+ descriptions?: FilterValueWithQuantity[];
9114
+ operationsWithAvailableWork?: number;
9115
+ operationStatuses?: OperationStatusFilterWithQuantity[];
9116
+ lastOperation?: Date | null;
9117
+ firstOperation?: Date | null;
9118
+ constructor(data?: IProductionScheduleFiltersDto);
9168
9119
  init(_data?: any): void;
9169
- static fromJS(data: any): BookingUpdateDto;
9120
+ static fromJS(data: any): ProductionScheduleFiltersDto;
9170
9121
  toJSON(data?: any): any;
9171
9122
  }
9172
- export interface IBookingUpdateDto {
9173
- bookingId: string;
9174
- bookingKind: BookingKindDto;
9175
- transportKind: TransportKindDto;
9176
- status: BookingStatusDto;
9177
- fromLocationId: string;
9178
- toLocationId: string;
9123
+ export interface IProductionScheduleFiltersDto {
9124
+ partNumbers?: FilterValueWithQuantity[];
9125
+ bomPositions?: FilterValueWithQuantity[];
9126
+ projectIds?: FilterValueWithQuantity[];
9127
+ partNames?: FilterValueWithQuantity[];
9128
+ workOrderIds?: FilterValueWithQuantity[];
9129
+ materials?: FilterValueWithQuantity[];
9130
+ descriptions?: FilterValueWithQuantity[];
9131
+ operationsWithAvailableWork?: number;
9132
+ operationStatuses?: OperationStatusFilterWithQuantity[];
9133
+ lastOperation?: Date | null;
9134
+ firstOperation?: Date | null;
9179
9135
  }
9180
- export declare class BookingTransportRequestDto implements IBookingTransportRequestDto {
9181
- transportKind: TransportKindDto;
9182
- items: BookingItemRequestDto[];
9183
- fromLocationId: string;
9184
- toLocationId: string;
9185
- constructor(data?: IBookingTransportRequestDto);
9136
+ export declare class FilterValueWithQuantity implements IFilterValueWithQuantity {
9137
+ value?: string;
9138
+ quantity?: number;
9139
+ constructor(data?: IFilterValueWithQuantity);
9186
9140
  init(_data?: any): void;
9187
- static fromJS(data: any): BookingTransportRequestDto;
9141
+ static fromJS(data: any): FilterValueWithQuantity;
9188
9142
  toJSON(data?: any): any;
9189
9143
  }
9190
- export interface IBookingTransportRequestDto {
9191
- transportKind: TransportKindDto;
9192
- items: BookingItemRequestDto[];
9193
- fromLocationId: string;
9194
- toLocationId: string;
9144
+ export interface IFilterValueWithQuantity {
9145
+ value?: string;
9146
+ quantity?: number;
9195
9147
  }
9196
- export declare class BookingItemRequestDto implements IBookingItemRequestDto {
9197
- workOrderId?: string | null;
9198
- trackingId?: string | null;
9199
- comment?: string | null;
9200
- constructor(data?: IBookingItemRequestDto);
9148
+ export declare class OperationStatusFilterWithQuantity implements IOperationStatusFilterWithQuantity {
9149
+ status?: OperationStatusDto;
9150
+ quantity?: number;
9151
+ constructor(data?: IOperationStatusFilterWithQuantity);
9201
9152
  init(_data?: any): void;
9202
- static fromJS(data: any): BookingItemRequestDto;
9153
+ static fromJS(data: any): OperationStatusFilterWithQuantity;
9203
9154
  toJSON(data?: any): any;
9204
9155
  }
9205
- export interface IBookingItemRequestDto {
9206
- workOrderId?: string | null;
9207
- trackingId?: string | null;
9208
- comment?: string | null;
9156
+ export interface IOperationStatusFilterWithQuantity {
9157
+ status?: OperationStatusDto;
9158
+ quantity?: number;
9209
9159
  }
9210
- export declare class BookingGeneralRequestDto implements IBookingGeneralRequestDto {
9211
- bookingKind: BookingKindDto;
9212
- transportKind: TransportKindDto;
9213
- fromLocationId: string;
9214
- toLocationId: string;
9215
- comment?: string | null;
9216
- itemCount: number;
9217
- constructor(data?: IBookingGeneralRequestDto);
9160
+ export declare class GetAvailableProductionScheduleFiltersRequest implements IGetAvailableProductionScheduleFiltersRequest {
9161
+ resourceGroup?: string | null;
9162
+ resourceId?: string | null;
9163
+ workOrderId?: string | null;
9164
+ projectId?: string | null;
9165
+ partNumber?: string | null;
9166
+ partName?: string | null;
9167
+ material?: string | null;
9168
+ workOrderIds?: string[] | null;
9169
+ partNumbers?: string[] | null;
9170
+ partNames?: string[] | null;
9171
+ projectIds?: string[] | null;
9172
+ bomPositions?: string[] | null;
9173
+ materials?: string[] | null;
9174
+ descriptions?: string[] | null;
9175
+ availableWork?: boolean | null;
9176
+ operationStatuses?: OperationStatusDto[] | null;
9177
+ after?: Date | null;
9178
+ before?: Date | null;
9179
+ constructor(data?: IGetAvailableProductionScheduleFiltersRequest);
9218
9180
  init(_data?: any): void;
9219
- static fromJS(data: any): BookingGeneralRequestDto;
9181
+ static fromJS(data: any): GetAvailableProductionScheduleFiltersRequest;
9220
9182
  toJSON(data?: any): any;
9221
9183
  }
9222
- export interface IBookingGeneralRequestDto {
9223
- bookingKind: BookingKindDto;
9224
- transportKind: TransportKindDto;
9225
- fromLocationId: string;
9226
- toLocationId: string;
9227
- comment?: string | null;
9228
- itemCount: number;
9184
+ export interface IGetAvailableProductionScheduleFiltersRequest {
9185
+ resourceGroup?: string | null;
9186
+ resourceId?: string | null;
9187
+ workOrderId?: string | null;
9188
+ projectId?: string | null;
9189
+ partNumber?: string | null;
9190
+ partName?: string | null;
9191
+ material?: string | null;
9192
+ workOrderIds?: string[] | null;
9193
+ partNumbers?: string[] | null;
9194
+ partNames?: string[] | null;
9195
+ projectIds?: string[] | null;
9196
+ bomPositions?: string[] | null;
9197
+ materials?: string[] | null;
9198
+ descriptions?: string[] | null;
9199
+ availableWork?: boolean | null;
9200
+ operationStatuses?: OperationStatusDto[] | null;
9201
+ after?: Date | null;
9202
+ before?: Date | null;
9229
9203
  }
9230
- export declare class BookingStatusUpdateDto implements IBookingStatusUpdateDto {
9231
- bookingId: string;
9232
- status: BookingStatusDto;
9233
- deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
9234
- constructor(data?: IBookingStatusUpdateDto);
9204
+ export declare class CurrentWorkActivityDto implements ICurrentWorkActivityDto {
9205
+ activeWork: ActiveWorkDto[];
9206
+ stoppedWork: StoppedWorkDto[];
9207
+ constructor(data?: ICurrentWorkActivityDto);
9235
9208
  init(_data?: any): void;
9236
- static fromJS(data: any): BookingStatusUpdateDto;
9209
+ static fromJS(data: any): CurrentWorkActivityDto;
9237
9210
  toJSON(data?: any): any;
9238
9211
  }
9239
- export interface IBookingStatusUpdateDto {
9240
- bookingId: string;
9241
- status: BookingStatusDto;
9242
- deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
9212
+ export interface ICurrentWorkActivityDto {
9213
+ activeWork: ActiveWorkDto[];
9214
+ stoppedWork: StoppedWorkDto[];
9243
9215
  }
9244
- export declare class BookingDeliveryExceptionDto implements IBookingDeliveryExceptionDto {
9245
- trackingId: string;
9246
- toLocationId?: string | null;
9247
- comment?: string | null;
9248
- constructor(data?: IBookingDeliveryExceptionDto);
9216
+ export declare class ActiveWorkDto implements IActiveWorkDto {
9217
+ workActivity: CurrentWorkDto;
9218
+ operation: ProductionScheduleOperationDto;
9219
+ constructor(data?: IActiveWorkDto);
9249
9220
  init(_data?: any): void;
9250
- static fromJS(data: any): BookingDeliveryExceptionDto;
9221
+ static fromJS(data: any): ActiveWorkDto;
9251
9222
  toJSON(data?: any): any;
9252
9223
  }
9253
- export interface IBookingDeliveryExceptionDto {
9254
- trackingId: string;
9255
- toLocationId?: string | null;
9256
- comment?: string | null;
9224
+ export interface IActiveWorkDto {
9225
+ workActivity: CurrentWorkDto;
9226
+ operation: ProductionScheduleOperationDto;
9257
9227
  }
9258
- export declare class BookingUpdateStatusDto implements IBookingUpdateStatusDto {
9259
- bookingId: string;
9260
- constructor(data?: IBookingUpdateStatusDto);
9228
+ export declare class CurrentWorkDto implements ICurrentWorkDto {
9229
+ resourceId: string;
9230
+ upn?: string | null;
9231
+ personnelNumber: string;
9232
+ active: boolean;
9233
+ startTime: Date;
9234
+ endTime?: Date | null;
9235
+ user?: UserDto | null;
9236
+ startedQuantity?: number | null;
9237
+ workType: WorkTypeDto;
9238
+ constructor(data?: ICurrentWorkDto);
9261
9239
  init(_data?: any): void;
9262
- static fromJS(data: any): BookingUpdateStatusDto;
9240
+ static fromJS(data: any): CurrentWorkDto;
9263
9241
  toJSON(data?: any): any;
9264
9242
  }
9265
- export interface IBookingUpdateStatusDto {
9266
- bookingId: string;
9243
+ export interface ICurrentWorkDto {
9244
+ resourceId: string;
9245
+ upn?: string | null;
9246
+ personnelNumber: string;
9247
+ active: boolean;
9248
+ startTime: Date;
9249
+ endTime?: Date | null;
9250
+ user?: UserDto | null;
9251
+ startedQuantity?: number | null;
9252
+ workType: WorkTypeDto;
9267
9253
  }
9268
- export declare class BookingDeliveryUpdateDto implements IBookingDeliveryUpdateDto {
9269
- bookingId: string;
9270
- deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
9271
- constructor(data?: IBookingDeliveryUpdateDto);
9254
+ export type WorkTypeDto = "None" | "Production" | "Setup";
9255
+ export declare class StoppedWorkDto implements IStoppedWorkDto {
9256
+ operation: ProductionScheduleOperationDto;
9257
+ lastWorkActivity: CurrentWorkDto;
9258
+ constructor(data?: IStoppedWorkDto);
9272
9259
  init(_data?: any): void;
9273
- static fromJS(data: any): BookingDeliveryUpdateDto;
9260
+ static fromJS(data: any): StoppedWorkDto;
9274
9261
  toJSON(data?: any): any;
9275
9262
  }
9276
- export interface IBookingDeliveryUpdateDto {
9277
- bookingId: string;
9278
- deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
9263
+ export interface IStoppedWorkDto {
9264
+ operation: ProductionScheduleOperationDto;
9265
+ lastWorkActivity: CurrentWorkDto;
9279
9266
  }
9280
- export declare class LocationSuggestionsDto implements ILocationSuggestionsDto {
9281
- items: LocationSuggestionsItemDto[];
9282
- locationKindFilter?: LocationKindDto[] | null;
9283
- constructor(data?: ILocationSuggestionsDto);
9267
+ export declare class StartOperations implements IStartOperations {
9268
+ operations: StartOperationDto[];
9269
+ workType: WorkTypeDto;
9270
+ constructor(data?: IStartOperations);
9284
9271
  init(_data?: any): void;
9285
- static fromJS(data: any): LocationSuggestionsDto;
9272
+ static fromJS(data: any): StartOperations;
9286
9273
  toJSON(data?: any): any;
9287
9274
  }
9288
- export interface ILocationSuggestionsDto {
9289
- items: LocationSuggestionsItemDto[];
9290
- locationKindFilter?: LocationKindDto[] | null;
9275
+ export interface IStartOperations {
9276
+ operations: StartOperationDto[];
9277
+ workType: WorkTypeDto;
9291
9278
  }
9292
- export declare class LocationSuggestionsItemDto implements ILocationSuggestionsItemDto {
9293
- workOrderId: string;
9294
- constructor(data?: ILocationSuggestionsItemDto);
9279
+ export declare class StartOperationDto implements IStartOperationDto {
9280
+ workOrder: string;
9281
+ operationNumber: number;
9282
+ startedQuantity?: number | null;
9283
+ resource: string;
9284
+ constructor(data?: IStartOperationDto);
9295
9285
  init(_data?: any): void;
9296
- static fromJS(data: any): LocationSuggestionsItemDto;
9286
+ static fromJS(data: any): StartOperationDto;
9297
9287
  toJSON(data?: any): any;
9298
9288
  }
9299
- export interface ILocationSuggestionsItemDto {
9300
- workOrderId: string;
9289
+ export interface IStartOperationDto {
9290
+ workOrder: string;
9291
+ operationNumber: number;
9292
+ startedQuantity?: number | null;
9293
+ resource: string;
9301
9294
  }
9302
- export declare class MaterialDesciptionDto implements IMaterialDesciptionDto {
9303
- materialId: string;
9304
- materialName: string;
9305
- covered: MaterialCoveredDto;
9306
- constructor(data?: IMaterialDesciptionDto);
9295
+ export declare class ReportOperationProgress implements IReportOperationProgress {
9296
+ operations: ReportOperationProgressDto[];
9297
+ constructor(data?: IReportOperationProgress);
9307
9298
  init(_data?: any): void;
9308
- static fromJS(data: any): MaterialDesciptionDto;
9299
+ static fromJS(data: any): ReportOperationProgress;
9309
9300
  toJSON(data?: any): any;
9310
9301
  }
9311
- export interface IMaterialDesciptionDto {
9312
- materialId: string;
9313
- materialName: string;
9314
- covered: MaterialCoveredDto;
9302
+ export interface IReportOperationProgress {
9303
+ operations: ReportOperationProgressDto[];
9315
9304
  }
9316
- export declare class MaterialUpdateDto implements IMaterialUpdateDto {
9317
- materialName: string;
9318
- covered: MaterialCoveredDto;
9319
- constructor(data?: IMaterialUpdateDto);
9305
+ export declare class ReportOperationProgressDto implements IReportOperationProgressDto {
9306
+ workOrder: string;
9307
+ operationNumber: number;
9308
+ resource?: string;
9309
+ goodQuantity?: number | null;
9310
+ errorQuantity?: number | null;
9311
+ errorCause?: ErrorCauseDto | null;
9312
+ nextStatus?: NextOperationStatusDto;
9313
+ workType?: WorkTypeDto;
9314
+ constructor(data?: IReportOperationProgressDto);
9320
9315
  init(_data?: any): void;
9321
- static fromJS(data: any): MaterialUpdateDto;
9316
+ static fromJS(data: any): ReportOperationProgressDto;
9322
9317
  toJSON(data?: any): any;
9323
9318
  }
9324
- export interface IMaterialUpdateDto {
9325
- materialName: string;
9326
- covered: MaterialCoveredDto;
9319
+ export interface IReportOperationProgressDto {
9320
+ workOrder: string;
9321
+ operationNumber: number;
9322
+ resource?: string;
9323
+ goodQuantity?: number | null;
9324
+ errorQuantity?: number | null;
9325
+ errorCause?: ErrorCauseDto | null;
9326
+ nextStatus?: NextOperationStatusDto;
9327
+ workType?: WorkTypeDto;
9327
9328
  }
9328
- export declare class TrackingHistoryListDto implements ITrackingHistoryListDto {
9329
- results: TrackingHistoryDto[];
9330
- continuationToken?: string | null;
9331
- constructor(data?: ITrackingHistoryListDto);
9329
+ export type ErrorCauseDto = "None" | "Material" | "Machine" | "OperatingStaff";
9330
+ export type NextOperationStatusDto = "InProgress" | "Stopped" | "Completed";
9331
+ export declare class ScheduledWorkSummaryDto implements IScheduledWorkSummaryDto {
9332
+ numberOfOperations: number;
9333
+ remainingWork: number;
9334
+ constructor(data?: IScheduledWorkSummaryDto);
9332
9335
  init(_data?: any): void;
9333
- static fromJS(data: any): TrackingHistoryListDto;
9336
+ static fromJS(data: any): ScheduledWorkSummaryDto;
9334
9337
  toJSON(data?: any): any;
9335
9338
  }
9336
- export interface ITrackingHistoryListDto {
9337
- results: TrackingHistoryDto[];
9338
- continuationToken?: string | null;
9339
- }
9340
- export declare class TrackingHistoryDto implements ITrackingHistoryDto {
9341
- trackingId: string;
9342
- palletNumber: number;
9343
- parcelKind: BookingKindDto;
9344
- workOrderId: string;
9345
- trackingEvents: TrackingEventDto[];
9346
- material?: string | null;
9347
- activeBooking?: boolean | null;
9348
- constructor(data?: ITrackingHistoryDto);
9339
+ export interface IScheduledWorkSummaryDto {
9340
+ numberOfOperations: number;
9341
+ remainingWork: number;
9342
+ }
9343
+ export declare class PagedResultOfWorkOrderProjectDto implements IPagedResultOfWorkOrderProjectDto {
9344
+ results: WorkOrderProjectDto[];
9345
+ continuationToken?: string | null;
9346
+ constructor(data?: IPagedResultOfWorkOrderProjectDto);
9349
9347
  init(_data?: any): void;
9350
- static fromJS(data: any): TrackingHistoryDto;
9348
+ static fromJS(data: any): PagedResultOfWorkOrderProjectDto;
9351
9349
  toJSON(data?: any): any;
9352
9350
  }
9353
- export interface ITrackingHistoryDto {
9354
- trackingId: string;
9355
- palletNumber: number;
9356
- parcelKind: BookingKindDto;
9357
- workOrderId: string;
9358
- trackingEvents: TrackingEventDto[];
9359
- material?: string | null;
9360
- activeBooking?: boolean | null;
9351
+ export interface IPagedResultOfWorkOrderProjectDto {
9352
+ results: WorkOrderProjectDto[];
9353
+ continuationToken?: string | null;
9361
9354
  }
9362
- export declare class TrackingEventDto implements ITrackingEventDto {
9363
- id: number;
9364
- created: Date;
9365
- createdBy: string;
9366
- createdById: string;
9367
- location?: LocationDto | null;
9368
- status: TrackingStatusDto;
9369
- bookingId?: string | null;
9370
- comment?: string | null;
9371
- constructor(data?: ITrackingEventDto);
9355
+ export declare class ListProjectsRequest implements IListProjectsRequest {
9356
+ projectQuery?: string | null;
9357
+ pageSize?: number | null;
9358
+ continuationToken?: string | null;
9359
+ constructor(data?: IListProjectsRequest);
9372
9360
  init(_data?: any): void;
9373
- static fromJS(data: any): TrackingEventDto;
9361
+ static fromJS(data: any): ListProjectsRequest;
9374
9362
  toJSON(data?: any): any;
9375
9363
  }
9376
- export interface ITrackingEventDto {
9377
- id: number;
9378
- created: Date;
9379
- createdBy: string;
9380
- createdById: string;
9381
- location?: LocationDto | null;
9382
- status: TrackingStatusDto;
9383
- bookingId?: string | null;
9384
- comment?: string | null;
9385
- }
9386
- export type TrackingStatusDto = "Manual" | "Pending" | "Cancelled" | "InProgress" | "Completed";
9387
- export declare class TrackingRequestListDto implements ITrackingRequestListDto {
9364
+ export interface IListProjectsRequest {
9365
+ projectQuery?: string | null;
9388
9366
  pageSize?: number | null;
9389
- workOrderIdFilter?: string[] | null;
9390
- parcelKindFilter?: BookingKindDto[] | null;
9391
- locationIdFilter?: string[] | null;
9392
- zoneIdFilter?: string[] | null;
9393
- materialFilter?: string[] | null;
9394
- includeActiveBookings?: boolean;
9395
9367
  continuationToken?: string | null;
9396
- constructor(data?: ITrackingRequestListDto);
9368
+ }
9369
+ export declare class PagedResultOfWorkorderDto implements IPagedResultOfWorkorderDto {
9370
+ results: WorkorderDto[];
9371
+ continuationToken?: string | null;
9372
+ constructor(data?: IPagedResultOfWorkorderDto);
9397
9373
  init(_data?: any): void;
9398
- static fromJS(data: any): TrackingRequestListDto;
9374
+ static fromJS(data: any): PagedResultOfWorkorderDto;
9399
9375
  toJSON(data?: any): any;
9400
9376
  }
9401
- export interface ITrackingRequestListDto {
9402
- pageSize?: number | null;
9403
- workOrderIdFilter?: string[] | null;
9404
- parcelKindFilter?: BookingKindDto[] | null;
9405
- locationIdFilter?: string[] | null;
9406
- zoneIdFilter?: string[] | null;
9407
- materialFilter?: string[] | null;
9408
- includeActiveBookings?: boolean;
9377
+ export interface IPagedResultOfWorkorderDto {
9378
+ results: WorkorderDto[];
9409
9379
  continuationToken?: string | null;
9410
9380
  }
9411
- export declare class TrackingWorkOrderDto implements ITrackingWorkOrderDto {
9412
- workOrderId: string;
9413
- part?: PartDto | null;
9414
- trackingHistory: TrackingHistoryDto[];
9415
- covered: MaterialCoveredDto;
9416
- constructor(data?: ITrackingWorkOrderDto);
9381
+ export declare class WorkorderDto implements IWorkorderDto {
9382
+ id: string;
9383
+ part: PartDto;
9384
+ quantity: number;
9385
+ unit: string;
9386
+ status: WorkorderStatus;
9387
+ operations: WorkorderOperationDto[];
9388
+ plannedStart?: Date | null;
9389
+ plannedEnd?: Date | null;
9390
+ producedQuantity: number;
9391
+ scrappedQuantity: number;
9392
+ customerOrderReference: WorkorderCustomerOrderReferenceDto;
9393
+ project?: WorkOrderProjectDto | null;
9394
+ planner?: UserDto | null;
9395
+ projectLeader?: UserDto | null;
9396
+ constructor(data?: IWorkorderDto);
9417
9397
  init(_data?: any): void;
9418
- static fromJS(data: any): TrackingWorkOrderDto;
9398
+ static fromJS(data: any): WorkorderDto;
9419
9399
  toJSON(data?: any): any;
9420
9400
  }
9421
- export interface ITrackingWorkOrderDto {
9422
- workOrderId: string;
9423
- part?: PartDto | null;
9424
- trackingHistory: TrackingHistoryDto[];
9425
- covered: MaterialCoveredDto;
9401
+ export interface IWorkorderDto {
9402
+ id: string;
9403
+ part: PartDto;
9404
+ quantity: number;
9405
+ unit: string;
9406
+ status: WorkorderStatus;
9407
+ operations: WorkorderOperationDto[];
9408
+ plannedStart?: Date | null;
9409
+ plannedEnd?: Date | null;
9410
+ producedQuantity: number;
9411
+ scrappedQuantity: number;
9412
+ customerOrderReference: WorkorderCustomerOrderReferenceDto;
9413
+ project?: WorkOrderProjectDto | null;
9414
+ planner?: UserDto | null;
9415
+ projectLeader?: UserDto | null;
9426
9416
  }
9427
- export declare class TrackingParcelListDto implements ITrackingParcelListDto {
9428
- parcelIds: string[];
9429
- includeActiveBookings: boolean;
9430
- constructor(data?: ITrackingParcelListDto);
9417
+ export declare class WorkorderOperationDto implements IWorkorderOperationDto {
9418
+ operation: number;
9419
+ description?: string | null;
9420
+ plannedSetupTime: number;
9421
+ plannedProductionTimePerPart: number;
9422
+ plannedProductionTime: number;
9423
+ fixedTime?: boolean | null;
9424
+ resource?: ResourceDto | null;
9425
+ plannedStart?: Date | null;
9426
+ plannedEnd?: Date | null;
9427
+ actualStart?: Date | null;
9428
+ actualEnd?: Date | null;
9429
+ status: OperationStatusDto;
9430
+ producedQuantity: number;
9431
+ scrappedQuantity: number;
9432
+ usedProductionTime: number;
9433
+ usedSetupTime: number;
9434
+ materials: WorkorderMaterialDto[];
9435
+ constructor(data?: IWorkorderOperationDto);
9431
9436
  init(_data?: any): void;
9432
- static fromJS(data: any): TrackingParcelListDto;
9437
+ static fromJS(data: any): WorkorderOperationDto;
9433
9438
  toJSON(data?: any): any;
9434
9439
  }
9435
- export interface ITrackingParcelListDto {
9436
- parcelIds: string[];
9437
- includeActiveBookings: boolean;
9440
+ export interface IWorkorderOperationDto {
9441
+ operation: number;
9442
+ description?: string | null;
9443
+ plannedSetupTime: number;
9444
+ plannedProductionTimePerPart: number;
9445
+ plannedProductionTime: number;
9446
+ fixedTime?: boolean | null;
9447
+ resource?: ResourceDto | null;
9448
+ plannedStart?: Date | null;
9449
+ plannedEnd?: Date | null;
9450
+ actualStart?: Date | null;
9451
+ actualEnd?: Date | null;
9452
+ status: OperationStatusDto;
9453
+ producedQuantity: number;
9454
+ scrappedQuantity: number;
9455
+ usedProductionTime: number;
9456
+ usedSetupTime: number;
9457
+ materials: WorkorderMaterialDto[];
9438
9458
  }
9439
- export declare class TrackingUpdateDto implements ITrackingUpdateDto {
9440
- trackingId: string;
9441
- locationId?: string | null;
9442
- comment?: string | null;
9443
- constructor(data?: ITrackingUpdateDto);
9459
+ export declare class WorkorderMaterialDto implements IWorkorderMaterialDto {
9460
+ materialLine: number;
9461
+ status: MaterialStatus;
9462
+ material: PartDto;
9463
+ quantityPerPart: number;
9464
+ fixedQuantity: boolean;
9465
+ usedQuantity: number;
9466
+ unit: string;
9467
+ traceType: TraceType;
9468
+ constructor(data?: IWorkorderMaterialDto);
9444
9469
  init(_data?: any): void;
9445
- static fromJS(data: any): TrackingUpdateDto;
9470
+ static fromJS(data: any): WorkorderMaterialDto;
9446
9471
  toJSON(data?: any): any;
9447
9472
  }
9448
- export interface ITrackingUpdateDto {
9449
- trackingId: string;
9450
- locationId?: string | null;
9451
- comment?: string | null;
9473
+ export interface IWorkorderMaterialDto {
9474
+ materialLine: number;
9475
+ status: MaterialStatus;
9476
+ material: PartDto;
9477
+ quantityPerPart: number;
9478
+ fixedQuantity: boolean;
9479
+ usedQuantity: number;
9480
+ unit: string;
9481
+ traceType: TraceType;
9452
9482
  }
9453
- export declare class TrackingHistoryUpdateDto implements ITrackingHistoryUpdateDto {
9454
- workOrderId: string;
9455
- constructor(data?: ITrackingHistoryUpdateDto);
9483
+ export declare class ListOrderScheduleRequest implements IListOrderScheduleRequest {
9484
+ projectId?: string | null;
9485
+ planner?: string | null;
9486
+ pageSize?: number | null;
9487
+ continuationToken?: string | null;
9488
+ constructor(data?: IListOrderScheduleRequest);
9456
9489
  init(_data?: any): void;
9457
- static fromJS(data: any): TrackingHistoryUpdateDto;
9490
+ static fromJS(data: any): ListOrderScheduleRequest;
9458
9491
  toJSON(data?: any): any;
9459
9492
  }
9460
- export interface ITrackingHistoryUpdateDto {
9461
- workOrderId: string;
9493
+ export interface IListOrderScheduleRequest {
9494
+ projectId?: string | null;
9495
+ planner?: string | null;
9496
+ pageSize?: number | null;
9497
+ continuationToken?: string | null;
9462
9498
  }
9463
- export declare class SearchWorkOrderDto implements ISearchWorkOrderDto {
9464
- workOrderId: string;
9465
- matchCriteria: SearchMatchCriteriaDto;
9466
- items: SearchWorkOrderItemDto[];
9467
- partName?: string | null;
9468
- partNumber?: string | null;
9469
- constructor(data?: ISearchWorkOrderDto);
9499
+ export declare class ResourceGroupDto implements IResourceGroupDto {
9500
+ id?: string;
9501
+ name?: string;
9502
+ resources: ProductionResourceDto[];
9503
+ department?: DepartmentDto | null;
9504
+ constructor(data?: IResourceGroupDto);
9470
9505
  init(_data?: any): void;
9471
- static fromJS(data: any): SearchWorkOrderDto;
9506
+ static fromJS(data: any): ResourceGroupDto;
9472
9507
  toJSON(data?: any): any;
9473
9508
  }
9474
- export interface ISearchWorkOrderDto {
9475
- workOrderId: string;
9476
- matchCriteria: SearchMatchCriteriaDto;
9477
- items: SearchWorkOrderItemDto[];
9478
- partName?: string | null;
9479
- partNumber?: string | null;
9509
+ export interface IResourceGroupDto {
9510
+ id?: string;
9511
+ name?: string;
9512
+ resources: ProductionResourceDto[];
9513
+ department?: DepartmentDto | null;
9480
9514
  }
9481
- export type SearchMatchCriteriaDto = "Tracking" | "WorkOrder" | "Parcel";
9482
- export declare class SearchWorkOrderItemDto implements ISearchWorkOrderItemDto {
9483
- trackingId: string;
9484
- selected: boolean;
9485
- constructor(data?: ISearchWorkOrderItemDto);
9515
+ export declare class ProductionResourceDto implements IProductionResourceDto {
9516
+ id?: string;
9517
+ name?: string;
9518
+ department?: DepartmentDto | null;
9519
+ constructor(data?: IProductionResourceDto);
9486
9520
  init(_data?: any): void;
9487
- static fromJS(data: any): SearchWorkOrderItemDto;
9521
+ static fromJS(data: any): ProductionResourceDto;
9488
9522
  toJSON(data?: any): any;
9489
9523
  }
9490
- export interface ISearchWorkOrderItemDto {
9491
- trackingId: string;
9492
- selected: boolean;
9524
+ export interface IProductionResourceDto {
9525
+ id?: string;
9526
+ name?: string;
9527
+ department?: DepartmentDto | null;
9493
9528
  }
9494
9529
  export declare class PagedResultOfMeasurementFormListDto implements IPagedResultOfMeasurementFormListDto {
9495
9530
  results: MeasurementFormListDto[];