@indigina/dcm-api 0.0.116 → 0.0.118

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indigina/dcm-api",
3
- "version": "0.0.116",
3
+ "version": "0.0.118",
4
4
  "description": "OpenAPI client for @indigina/dcm-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -2449,6 +2449,193 @@ declare class PermissionsService extends BaseService {
2449
2449
  static ɵprov: i0.ɵɵInjectableDeclaration<PermissionsService>;
2450
2450
  }
2451
2451
 
2452
+ /**
2453
+ * Dcm.API.Client
2454
+ *
2455
+ *
2456
+ *
2457
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2458
+ * https://openapi-generator.tech
2459
+ * Do not edit the class manually.
2460
+ */
2461
+ declare const PoItemState: {
2462
+ readonly Unbooked: "Unbooked";
2463
+ readonly BookedAndAllocated: "BookedAndAllocated";
2464
+ readonly Completed: "Completed";
2465
+ readonly Deleted: "Deleted";
2466
+ readonly IncompleteBooking: "IncompleteBooking";
2467
+ };
2468
+ type PoItemState = typeof PoItemState[keyof typeof PoItemState];
2469
+
2470
+ /**
2471
+ * Dcm.API.Client
2472
+ *
2473
+ *
2474
+ *
2475
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2476
+ * https://openapi-generator.tech
2477
+ * Do not edit the class manually.
2478
+ */
2479
+
2480
+ interface PoItemDetails {
2481
+ id: string;
2482
+ purchaseOrderId: string | null;
2483
+ poNumber: string | null;
2484
+ lineNo: number | null;
2485
+ code: string;
2486
+ state: PoItemState | null;
2487
+ consigneeName: string | null;
2488
+ supplierName: string | null;
2489
+ description: string | null;
2490
+ colour: string | null;
2491
+ size: string | null;
2492
+ estimatedCbm: number | null;
2493
+ productCategory: string | null;
2494
+ commodityCode: string | null;
2495
+ ean: string | null;
2496
+ season: string | null;
2497
+ seasonYear: number | null;
2498
+ attributes: string | null;
2499
+ buyer: string | null;
2500
+ departmentName: string | null;
2501
+ countryOfOrigin: string | null;
2502
+ dc: string | null;
2503
+ dcCountryName: string | null;
2504
+ currencyCode: string | null;
2505
+ price: number | null;
2506
+ shippingTerms: ShipmentTerm | null;
2507
+ shippingTermLocation: string | null;
2508
+ quantity: number;
2509
+ bookedQuantity: number | null;
2510
+ bookedPercentage: number;
2511
+ shippedQuantity: number | null;
2512
+ shippedPercentage: number;
2513
+ createdDate: string | null;
2514
+ bookingDueDate: string | null;
2515
+ firstBookingSubmittedDate: string | null;
2516
+ bookingDaysDifference: number | null;
2517
+ exDate: string | null;
2518
+ latestExDate: string | null;
2519
+ deliveryDate: string | null;
2520
+ }
2521
+ declare namespace PoItemDetails {
2522
+ }
2523
+
2524
+ /**
2525
+ * Dcm.API.Client
2526
+ *
2527
+ *
2528
+ *
2529
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2530
+ * https://openapi-generator.tech
2531
+ * Do not edit the class manually.
2532
+ */
2533
+ declare const BookingStates: {
2534
+ readonly Draft: "Draft";
2535
+ readonly Confirmed: "Confirmed";
2536
+ readonly CancellationRequested: "CancellationRequested";
2537
+ readonly Cancelled: "Cancelled";
2538
+ readonly DraftSi: "DraftSI";
2539
+ readonly ConfirmedSi: "ConfirmedSI";
2540
+ };
2541
+ type BookingStates = typeof BookingStates[keyof typeof BookingStates];
2542
+
2543
+ /**
2544
+ * Dcm.API.Client
2545
+ *
2546
+ *
2547
+ *
2548
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2549
+ * https://openapi-generator.tech
2550
+ * Do not edit the class manually.
2551
+ */
2552
+ declare const RoutingLegType: {
2553
+ readonly Flight1: "Flight1";
2554
+ readonly Flight2: "Flight2";
2555
+ readonly Flight3: "Flight3";
2556
+ readonly LocalTransport: "LocalTransport";
2557
+ readonly Main: "Main";
2558
+ readonly OnForwarding: "OnForwarding";
2559
+ readonly Other: "Other";
2560
+ readonly PreCarriage: "PreCarriage";
2561
+ };
2562
+ type RoutingLegType = typeof RoutingLegType[keyof typeof RoutingLegType];
2563
+
2564
+ /**
2565
+ * Dcm.API.Client
2566
+ *
2567
+ *
2568
+ *
2569
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2570
+ * https://openapi-generator.tech
2571
+ * Do not edit the class manually.
2572
+ */
2573
+
2574
+ interface ShipmentRoutingSummaryLeg {
2575
+ legNumber: number | null;
2576
+ legType: RoutingLegType | null;
2577
+ routingTransportMode: TransportMode | null;
2578
+ originPortName: string | null;
2579
+ destinationPortName: string | null;
2580
+ departure: string | null;
2581
+ arrival: string | null;
2582
+ }
2583
+ declare namespace ShipmentRoutingSummaryLeg {
2584
+ }
2585
+
2586
+ /**
2587
+ * Dcm.API.Client
2588
+ *
2589
+ *
2590
+ *
2591
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2592
+ * https://openapi-generator.tech
2593
+ * Do not edit the class manually.
2594
+ */
2595
+
2596
+ interface ShipmentRoutingSummary {
2597
+ originPortName: string | null;
2598
+ destinationPortName: string | null;
2599
+ departure: string | null;
2600
+ arrival: string | null;
2601
+ shipmentTransportMode: TransportMode | null;
2602
+ legs: Array<ShipmentRoutingSummaryLeg>;
2603
+ }
2604
+ declare namespace ShipmentRoutingSummary {
2605
+ }
2606
+
2607
+ /**
2608
+ * Dcm.API.Client
2609
+ *
2610
+ *
2611
+ *
2612
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2613
+ * https://openapi-generator.tech
2614
+ * Do not edit the class manually.
2615
+ */
2616
+
2617
+ interface PoItemShippingDetail {
2618
+ id: string;
2619
+ bookingId: string | null;
2620
+ bookingReference: string | null;
2621
+ bookingState: BookingStates | null;
2622
+ shipmentId: string;
2623
+ shipmentReference: string | null;
2624
+ shipmentState: ShipmentState | null;
2625
+ shippedQuantity: number;
2626
+ bookedQuantity: number;
2627
+ poQuantity: number;
2628
+ transportMode: TransportMode | null;
2629
+ shippedPoFulfillment: number | null;
2630
+ approvalToleranceUnder: number;
2631
+ approvalToleranceOver: number;
2632
+ approvalToleranceFailValue: number | null;
2633
+ approvalTolerancePass: boolean | null;
2634
+ shipmentRouting: ShipmentRoutingSummary;
2635
+ }
2636
+ declare namespace PoItemShippingDetail {
2637
+ }
2638
+
2452
2639
  /**
2453
2640
  * Dcm.API.Client
2454
2641
  *
@@ -2550,24 +2737,6 @@ interface PurchaseOrderProduct {
2550
2737
  declare namespace PurchaseOrderProduct {
2551
2738
  }
2552
2739
 
2553
- /**
2554
- * Dcm.API.Client
2555
- *
2556
- *
2557
- *
2558
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2559
- * https://openapi-generator.tech
2560
- * Do not edit the class manually.
2561
- */
2562
- declare const PoItemState: {
2563
- readonly Unbooked: "Unbooked";
2564
- readonly BookedAndAllocated: "BookedAndAllocated";
2565
- readonly Completed: "Completed";
2566
- readonly Deleted: "Deleted";
2567
- readonly IncompleteBooking: "IncompleteBooking";
2568
- };
2569
- type PoItemState = typeof PoItemState[keyof typeof PoItemState];
2570
-
2571
2740
  /**
2572
2741
  * Dcm.API.Client
2573
2742
  *
@@ -2691,6 +2860,52 @@ interface UnbookedProductCount {
2691
2860
  declare class PoItemsService extends BaseService {
2692
2861
  protected httpClient: HttpClient;
2693
2862
  constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
2863
+ /**
2864
+ * Getting po item details by id
2865
+ * @endpoint get /poItems/{id}/details
2866
+ * @param id
2867
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2868
+ * @param reportProgress flag to report request and response progress.
2869
+ * @param options additional options
2870
+ */
2871
+ getPoItemDetails(id: string, observe?: 'body', reportProgress?: boolean, options?: {
2872
+ httpHeaderAccept?: 'application/json';
2873
+ context?: HttpContext;
2874
+ transferCache?: boolean;
2875
+ }): Observable<PoItemDetails>;
2876
+ getPoItemDetails(id: string, observe?: 'response', reportProgress?: boolean, options?: {
2877
+ httpHeaderAccept?: 'application/json';
2878
+ context?: HttpContext;
2879
+ transferCache?: boolean;
2880
+ }): Observable<HttpResponse<PoItemDetails>>;
2881
+ getPoItemDetails(id: string, observe?: 'events', reportProgress?: boolean, options?: {
2882
+ httpHeaderAccept?: 'application/json';
2883
+ context?: HttpContext;
2884
+ transferCache?: boolean;
2885
+ }): Observable<HttpEvent<PoItemDetails>>;
2886
+ /**
2887
+ * Getting po item shipping details by id
2888
+ * @endpoint get /poItems/{id}/shippingDetails
2889
+ * @param id
2890
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2891
+ * @param reportProgress flag to report request and response progress.
2892
+ * @param options additional options
2893
+ */
2894
+ getPoItemShippingDetails(id: string, observe?: 'body', reportProgress?: boolean, options?: {
2895
+ httpHeaderAccept?: 'application/json';
2896
+ context?: HttpContext;
2897
+ transferCache?: boolean;
2898
+ }): Observable<Array<PoItemShippingDetail>>;
2899
+ getPoItemShippingDetails(id: string, observe?: 'response', reportProgress?: boolean, options?: {
2900
+ httpHeaderAccept?: 'application/json';
2901
+ context?: HttpContext;
2902
+ transferCache?: boolean;
2903
+ }): Observable<HttpResponse<Array<PoItemShippingDetail>>>;
2904
+ getPoItemShippingDetails(id: string, observe?: 'events', reportProgress?: boolean, options?: {
2905
+ httpHeaderAccept?: 'application/json';
2906
+ context?: HttpContext;
2907
+ transferCache?: boolean;
2908
+ }): Observable<HttpEvent<Array<PoItemShippingDetail>>>;
2694
2909
  /**
2695
2910
  * Getting a po item summary by id
2696
2911
  * @endpoint get /poItems/{id}/summary
@@ -3800,6 +4015,44 @@ interface ShipmentItems {
3800
4015
  data: Array<ShipmentItem>;
3801
4016
  }
3802
4017
 
4018
+ /**
4019
+ * Dcm.API.Client
4020
+ *
4021
+ *
4022
+ *
4023
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4024
+ * https://openapi-generator.tech
4025
+ * Do not edit the class manually.
4026
+ */
4027
+ declare const LocationType: {
4028
+ readonly OriginPort: "OriginPort";
4029
+ readonly DestinationPort: "DestinationPort";
4030
+ readonly TranshipmentPort: "TranshipmentPort";
4031
+ readonly InlandPort: "InlandPort";
4032
+ };
4033
+ type LocationType = typeof LocationType[keyof typeof LocationType];
4034
+
4035
+ /**
4036
+ * Dcm.API.Client
4037
+ *
4038
+ *
4039
+ *
4040
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4041
+ * https://openapi-generator.tech
4042
+ * Do not edit the class manually.
4043
+ */
4044
+
4045
+ interface ShipmentLocation {
4046
+ locationType: LocationType;
4047
+ name: string | null;
4048
+ code: string | null;
4049
+ country: string | null;
4050
+ latitude: number | null;
4051
+ longitude: number | null;
4052
+ }
4053
+ declare namespace ShipmentLocation {
4054
+ }
4055
+
3803
4056
  /**
3804
4057
  * Dcm.API.Client
3805
4058
  *
@@ -3888,27 +4141,6 @@ interface ShipmentProducts {
3888
4141
  data: Array<ShipmentProduct>;
3889
4142
  }
3890
4143
 
3891
- /**
3892
- * Dcm.API.Client
3893
- *
3894
- *
3895
- *
3896
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3897
- * https://openapi-generator.tech
3898
- * Do not edit the class manually.
3899
- */
3900
- declare const RoutingLegType: {
3901
- readonly Flight1: "Flight1";
3902
- readonly Flight2: "Flight2";
3903
- readonly Flight3: "Flight3";
3904
- readonly LocalTransport: "LocalTransport";
3905
- readonly Main: "Main";
3906
- readonly OnForwarding: "OnForwarding";
3907
- readonly Other: "Other";
3908
- readonly PreCarriage: "PreCarriage";
3909
- };
3910
- type RoutingLegType = typeof RoutingLegType[keyof typeof RoutingLegType];
3911
-
3912
4144
  /**
3913
4145
  * Dcm.API.Client
3914
4146
  *
@@ -4247,25 +4479,6 @@ declare namespace ShipmentTimelineItem {
4247
4479
  */
4248
4480
  type ShipmentTimelineInner = ApprovalShipmentTimelineItem | DeliveryShipmentTimelineItem | ShipmentTimelineItem | TransportationShipmentTimelineItem;
4249
4481
 
4250
- /**
4251
- * Dcm.API.Client
4252
- *
4253
- *
4254
- *
4255
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4256
- * https://openapi-generator.tech
4257
- * Do not edit the class manually.
4258
- */
4259
- declare const BookingStates: {
4260
- readonly Draft: "Draft";
4261
- readonly Confirmed: "Confirmed";
4262
- readonly CancellationRequested: "CancellationRequested";
4263
- readonly Cancelled: "Cancelled";
4264
- readonly DraftSi: "DraftSI";
4265
- readonly ConfirmedSi: "ConfirmedSI";
4266
- };
4267
- type BookingStates = typeof BookingStates[keyof typeof BookingStates];
4268
-
4269
4482
  /**
4270
4483
  * Dcm.API.Client
4271
4484
  *
@@ -4520,6 +4733,29 @@ declare class ShipmentsService extends BaseService {
4520
4733
  context?: HttpContext;
4521
4734
  transferCache?: boolean;
4522
4735
  }): Observable<HttpEvent<ShipmentItems>>;
4736
+ /**
4737
+ * Getting shipment map locations by shipmentId
4738
+ * @endpoint get /shipments/{shipmentId}/locations
4739
+ * @param shipmentId
4740
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
4741
+ * @param reportProgress flag to report request and response progress.
4742
+ * @param options additional options
4743
+ */
4744
+ getShipmentLocations(shipmentId: string, observe?: 'body', reportProgress?: boolean, options?: {
4745
+ httpHeaderAccept?: 'application/json';
4746
+ context?: HttpContext;
4747
+ transferCache?: boolean;
4748
+ }): Observable<Array<ShipmentLocation>>;
4749
+ getShipmentLocations(shipmentId: string, observe?: 'response', reportProgress?: boolean, options?: {
4750
+ httpHeaderAccept?: 'application/json';
4751
+ context?: HttpContext;
4752
+ transferCache?: boolean;
4753
+ }): Observable<HttpResponse<Array<ShipmentLocation>>>;
4754
+ getShipmentLocations(shipmentId: string, observe?: 'events', reportProgress?: boolean, options?: {
4755
+ httpHeaderAccept?: 'application/json';
4756
+ context?: HttpContext;
4757
+ transferCache?: boolean;
4758
+ }): Observable<HttpEvent<Array<ShipmentLocation>>>;
4523
4759
  /**
4524
4760
  * Getting a shipment product totals
4525
4761
  * @endpoint get /shipments/{shipmentId}/productTotals
@@ -5373,5 +5609,5 @@ declare class ApiModule {
5373
5609
 
5374
5610
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
5375
5611
 
5376
- export { APIS, AmendConfirmationTypes, ApiModule, ApprovalContainerInfo, ApprovalShipmentTimelineItem, ApprovalTypes, AuditLog, AuditLogsService, BASE_PATH, BookingStates, BookingTypes, BookingsService, COLLECTION_FORMATS, CompaniesService, ConfigService, Configuration, ContainerBookedState, ContainerDeliveryGridView, ContainerDeliveryItemGridView, ContainerDeliveryShipmentView, ContainerDeliverySummary, ContainerGridView, ContainerShipmentView, ContainerSize, ContainerType, ContainerView, ContainersService, CurrentUser, CwStates, DcClientDeliveryBooking, DcsService, DeliveryBookingContainerView, DeliveryBookingDcClientDeliveryBooking, DeliveryBookingDcsService, DeliveryBookingStates, DeliveryBookingsService, DeliveryShipmentTimelineItem, Document, DocumentType, DocumentsService, EmbedReportInfoModel, EntityState, HealthService, JourneySegmentType, Note, NoteCategory, NoteSourceType, NotesService, PendoService, PermissionsService, PoItemState, PoItemsService, PowerBiTenant, Product, ProductsShippingDetail, PurchaseOrderGridView, PurchaseOrderItem, PurchaseOrderProduct, PurchaseOrderState, PurchaseOrderSummary, PurchaseOrderView, PurchaseOrdersService, RecordTypes, ReportsService, RoutingLegType, SettingsService, Shipment, ShipmentAirRouting, ShipmentApproval, ShipmentApprovalType, ShipmentContainer, ShipmentItemSummary, ShipmentRoadRouting, ShipmentRouting, ShipmentSeaRouting, ShipmentState, ShipmentSummary, ShipmentTerm, ShipmentTimelineItem, ShipmentsService, SipmetItemsService, TimelineEventStates, TimelineEventTypes, TrackedVehicle, TransportMode, TransportationShipmentTimelineItem, UserCompanyType, UserService, VendorBooking, VendorBookingShipment, VendorBookingsService, WorkflowArtifacts, provideApi };
5612
+ export { APIS, AmendConfirmationTypes, ApiModule, ApprovalContainerInfo, ApprovalShipmentTimelineItem, ApprovalTypes, AuditLog, AuditLogsService, BASE_PATH, BookingStates, BookingTypes, BookingsService, COLLECTION_FORMATS, CompaniesService, ConfigService, Configuration, ContainerBookedState, ContainerDeliveryGridView, ContainerDeliveryItemGridView, ContainerDeliveryShipmentView, ContainerDeliverySummary, ContainerGridView, ContainerShipmentView, ContainerSize, ContainerType, ContainerView, ContainersService, CurrentUser, CwStates, DcClientDeliveryBooking, DcsService, DeliveryBookingContainerView, DeliveryBookingDcClientDeliveryBooking, DeliveryBookingDcsService, DeliveryBookingStates, DeliveryBookingsService, DeliveryShipmentTimelineItem, Document, DocumentType, DocumentsService, EmbedReportInfoModel, EntityState, HealthService, JourneySegmentType, LocationType, Note, NoteCategory, NoteSourceType, NotesService, PendoService, PermissionsService, PoItemDetails, PoItemShippingDetail, PoItemState, PoItemsService, PowerBiTenant, Product, ProductsShippingDetail, PurchaseOrderGridView, PurchaseOrderItem, PurchaseOrderProduct, PurchaseOrderState, PurchaseOrderSummary, PurchaseOrderView, PurchaseOrdersService, RecordTypes, ReportsService, RoutingLegType, SettingsService, Shipment, ShipmentAirRouting, ShipmentApproval, ShipmentApprovalType, ShipmentContainer, ShipmentItemSummary, ShipmentLocation, ShipmentRoadRouting, ShipmentRouting, ShipmentRoutingSummary, ShipmentRoutingSummaryLeg, ShipmentSeaRouting, ShipmentState, ShipmentSummary, ShipmentTerm, ShipmentTimelineItem, ShipmentsService, SipmetItemsService, TimelineEventStates, TimelineEventTypes, TrackedVehicle, TransportMode, TransportationShipmentTimelineItem, UserCompanyType, UserService, VendorBooking, VendorBookingShipment, VendorBookingsService, WorkflowArtifacts, provideApi };
5377
5613
  export type { AppConfig, ApprovalContainerRules, ApprovalItemRules, ApprovalRules, AuditLogs, BookingsCount, Column, CommandStatusResult, Companies, Company, ConfigurationParameters, Consignee, ContainerDeliveries, ContainerDeliveryItems, ContainerDeliverySummaries, ContainerItemView, ContainerItems, ContainerPoGridView, ContainerPos, Containers, ContainersCount, ContainersToDeliverCount, Country, CreateDcClientDeliveryBooking, DashboardReportGroup, DashboardReports, DataFormat, DataType, Dc, Dcs, DeliveryBookingDc, DeliveryBookingGridView, DeliveryBookingShipmentView, DeliveryBookings, DepartmentShipment, Documents, EmbedReport, EmbedTokenDto, EntityList, GeoCoordinate, ModelError, NoteView, Notes, Param, ParamLocation, ParamStyle, PaymentTerm, PendingMessagesCount, PoItemDc, PoItemSummary, PoItemTotals, Port, Products, ProductsShippingDetails, PurchaseOrderItems, PurchaseOrders, SetNewFeaturesVisibilityCommand, SettingValue, SettingView, ShipmentApprovals, ShipmentContainers, ShipmentGeoTracking, ShipmentItem, ShipmentItemSummaries, ShipmentItems, ShipmentProduct, ShipmentProductTotals, ShipmentProducts, ShipmentRoutingsInner, ShipmentTimelineInner, Shipments, ShipmentsApprovalCount, ShipmentsCount, ShipmentsInTransitCount, StandardDataFormat, StandardDataType, StandardParamStyle, SummaryDashboardReports, Supplier, TransportCarrier, TransportLocation, TransportPosition, UnbookedProductCount, User, UserApplication, UserApplications, UserCapabilitiesModel, UserPermissions, VendorBookings };