@indigina/dcm-api 0.0.117 → 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.117",
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
@@ -3926,27 +4141,6 @@ interface ShipmentProducts {
3926
4141
  data: Array<ShipmentProduct>;
3927
4142
  }
3928
4143
 
3929
- /**
3930
- * Dcm.API.Client
3931
- *
3932
- *
3933
- *
3934
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3935
- * https://openapi-generator.tech
3936
- * Do not edit the class manually.
3937
- */
3938
- declare const RoutingLegType: {
3939
- readonly Flight1: "Flight1";
3940
- readonly Flight2: "Flight2";
3941
- readonly Flight3: "Flight3";
3942
- readonly LocalTransport: "LocalTransport";
3943
- readonly Main: "Main";
3944
- readonly OnForwarding: "OnForwarding";
3945
- readonly Other: "Other";
3946
- readonly PreCarriage: "PreCarriage";
3947
- };
3948
- type RoutingLegType = typeof RoutingLegType[keyof typeof RoutingLegType];
3949
-
3950
4144
  /**
3951
4145
  * Dcm.API.Client
3952
4146
  *
@@ -4285,25 +4479,6 @@ declare namespace ShipmentTimelineItem {
4285
4479
  */
4286
4480
  type ShipmentTimelineInner = ApprovalShipmentTimelineItem | DeliveryShipmentTimelineItem | ShipmentTimelineItem | TransportationShipmentTimelineItem;
4287
4481
 
4288
- /**
4289
- * Dcm.API.Client
4290
- *
4291
- *
4292
- *
4293
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4294
- * https://openapi-generator.tech
4295
- * Do not edit the class manually.
4296
- */
4297
- declare const BookingStates: {
4298
- readonly Draft: "Draft";
4299
- readonly Confirmed: "Confirmed";
4300
- readonly CancellationRequested: "CancellationRequested";
4301
- readonly Cancelled: "Cancelled";
4302
- readonly DraftSi: "DraftSI";
4303
- readonly ConfirmedSi: "ConfirmedSI";
4304
- };
4305
- type BookingStates = typeof BookingStates[keyof typeof BookingStates];
4306
-
4307
4482
  /**
4308
4483
  * Dcm.API.Client
4309
4484
  *
@@ -5434,5 +5609,5 @@ declare class ApiModule {
5434
5609
 
5435
5610
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
5436
5611
 
5437
- 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, 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, 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 };
5438
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 };