@indigina/dcm-api 0.0.89 → 0.0.91

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.89",
3
+ "version": "0.0.91",
4
4
  "description": "OpenAPI client for @indigina/dcm-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -2485,6 +2485,68 @@ interface PoItemDc {
2485
2485
  description?: string;
2486
2486
  }
2487
2487
 
2488
+ /**
2489
+ * Dcm.API.Client
2490
+ *
2491
+ *
2492
+ *
2493
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2494
+ * https://openapi-generator.tech
2495
+ * Do not edit the class manually.
2496
+ */
2497
+ declare const PurchaseOrderState: {
2498
+ readonly Draft: "Draft";
2499
+ readonly NotAllocated: "NotAllocated";
2500
+ readonly PartlyAllocated: "PartlyAllocated";
2501
+ readonly FullyAllocated: "FullyAllocated";
2502
+ readonly Commit: "Commit";
2503
+ readonly Complete: "Complete";
2504
+ readonly Deleted: "Deleted";
2505
+ };
2506
+ type PurchaseOrderState = typeof PurchaseOrderState[keyof typeof PurchaseOrderState];
2507
+
2508
+ /**
2509
+ * Dcm.API.Client
2510
+ *
2511
+ *
2512
+ *
2513
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2514
+ * https://openapi-generator.tech
2515
+ * Do not edit the class manually.
2516
+ */
2517
+
2518
+ interface PurchaseOrderProduct {
2519
+ id: string;
2520
+ poNumber: string;
2521
+ clientId: string | null;
2522
+ clientName: string;
2523
+ supplierId?: string | null;
2524
+ supplierName: string;
2525
+ supplierCode: string;
2526
+ currencyId: string | null;
2527
+ currencyCode: string;
2528
+ currencyDescription: string;
2529
+ buyer: string;
2530
+ poDate: string;
2531
+ shippingTermLocation: string;
2532
+ deliveryDate: string | null;
2533
+ state: PurchaseOrderState | null;
2534
+ shippingTerms: ShipmentTerm | null;
2535
+ transportMode: TransportMode | null;
2536
+ noOfLines: number;
2537
+ totalUnits: number;
2538
+ exDate: string | null;
2539
+ createdDate: string;
2540
+ consigneeId: string | null;
2541
+ consigneeName: string;
2542
+ origincountryid?: string;
2543
+ origincountry?: Country;
2544
+ departmentid?: string;
2545
+ departmentname?: string;
2546
+ }
2547
+ declare namespace PurchaseOrderProduct {
2548
+ }
2549
+
2488
2550
  /**
2489
2551
  * Dcm.API.Client
2490
2552
  *
@@ -2512,13 +2574,11 @@ type PoItemState = typeof PoItemState[keyof typeof PoItemState];
2512
2574
  * Do not edit the class manually.
2513
2575
  */
2514
2576
 
2515
- interface PurchaseOrderItem {
2577
+ interface PurchaseOrderItemProduct {
2516
2578
  id: string;
2517
2579
  code: string;
2518
2580
  description: string;
2519
2581
  price: number | null;
2520
- qcApproved: boolean | null;
2521
- qcApprovedDate: string | null;
2522
2582
  ean: string;
2523
2583
  lineNo: number | null;
2524
2584
  quantity: number;
@@ -2535,15 +2595,19 @@ interface PurchaseOrderItem {
2535
2595
  size: string;
2536
2596
  state: PoItemState | null;
2537
2597
  customerDeliveryRef: string;
2538
- restrictSplit: boolean | null;
2539
- buyersItemNumber: string;
2540
2598
  latestExDate: string | null;
2541
- shippingTerms: ShipmentTerm | null;
2542
2599
  purchaseOrderId: string | null;
2543
2600
  dcId: string | null;
2544
2601
  dc?: PoItemDc;
2602
+ category?: string;
2603
+ createddate?: string | null;
2604
+ purchaseorder?: PurchaseOrderProduct;
2605
+ bookedpercentage?: number | null;
2606
+ uom?: string;
2607
+ bookedbysupplier?: boolean | null;
2608
+ bookingduedate?: string | null;
2545
2609
  }
2546
- declare namespace PurchaseOrderItem {
2610
+ declare namespace PurchaseOrderItemProduct {
2547
2611
  }
2548
2612
 
2549
2613
  /**
@@ -2556,9 +2620,53 @@ declare namespace PurchaseOrderItem {
2556
2620
  * Do not edit the class manually.
2557
2621
  */
2558
2622
 
2559
- interface PurchaseOrderItems {
2623
+ interface PurchaseOrderItemProducts {
2560
2624
  total: number;
2561
- data: Array<PurchaseOrderItem>;
2625
+ data: Array<PurchaseOrderItemProduct>;
2626
+ }
2627
+
2628
+ /**
2629
+ * Dcm.API.Client
2630
+ *
2631
+ *
2632
+ *
2633
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2634
+ * https://openapi-generator.tech
2635
+ * Do not edit the class manually.
2636
+ */
2637
+
2638
+ interface PurchaseOrderItem {
2639
+ id: string;
2640
+ code: string;
2641
+ description: string;
2642
+ price: number | null;
2643
+ qcApproved: boolean | null;
2644
+ qcApprovedDate: string | null;
2645
+ ean: string;
2646
+ lineNo: number | null;
2647
+ quantity: number;
2648
+ totalBookedQuantity: number | null;
2649
+ estimatedCbm: number | null;
2650
+ exDate: string | null;
2651
+ deliveryDate: string | null;
2652
+ commodityCode: string;
2653
+ season: string;
2654
+ seasonYear: number | null;
2655
+ productCategory: string;
2656
+ colour: string;
2657
+ attributeList: string;
2658
+ size: string;
2659
+ state: PoItemState | null;
2660
+ customerDeliveryRef: string;
2661
+ restrictSplit: boolean | null;
2662
+ buyersItemNumber: string;
2663
+ latestExDate: string | null;
2664
+ shippingTerms: ShipmentTerm | null;
2665
+ purchaseOrderId: string | null;
2666
+ dcId: string | null;
2667
+ dc?: PoItemDc;
2668
+ }
2669
+ declare namespace PurchaseOrderItem {
2562
2670
  }
2563
2671
 
2564
2672
  /**
@@ -2570,16 +2678,11 @@ interface PurchaseOrderItems {
2570
2678
  * https://openapi-generator.tech
2571
2679
  * Do not edit the class manually.
2572
2680
  */
2573
- declare const PurchaseOrderState: {
2574
- readonly Draft: "Draft";
2575
- readonly NotAllocated: "NotAllocated";
2576
- readonly PartlyAllocated: "PartlyAllocated";
2577
- readonly FullyAllocated: "FullyAllocated";
2578
- readonly Commit: "Commit";
2579
- readonly Complete: "Complete";
2580
- readonly Deleted: "Deleted";
2581
- };
2582
- type PurchaseOrderState = typeof PurchaseOrderState[keyof typeof PurchaseOrderState];
2681
+
2682
+ interface PurchaseOrderItems {
2683
+ total: number;
2684
+ data: Array<PurchaseOrderItem>;
2685
+ }
2583
2686
 
2584
2687
  /**
2585
2688
  * Dcm.API.Client
@@ -2777,6 +2880,33 @@ declare class PurchaseOrdersService extends BaseService {
2777
2880
  context?: HttpContext;
2778
2881
  transferCache?: boolean;
2779
2882
  }): Observable<HttpEvent<PoItemTotals>>;
2883
+ /**
2884
+ * Product list
2885
+ * @endpoint get /purchaseOrders/products
2886
+ * @param $skip
2887
+ * @param $top
2888
+ * @param $orderby
2889
+ * @param $filter
2890
+ * @param $search
2891
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2892
+ * @param reportProgress flag to report request and response progress.
2893
+ * @param options additional options
2894
+ */
2895
+ getProducts($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
2896
+ httpHeaderAccept?: 'application/json';
2897
+ context?: HttpContext;
2898
+ transferCache?: boolean;
2899
+ }): Observable<PurchaseOrderItemProducts>;
2900
+ getProducts($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
2901
+ httpHeaderAccept?: 'application/json';
2902
+ context?: HttpContext;
2903
+ transferCache?: boolean;
2904
+ }): Observable<HttpResponse<PurchaseOrderItemProducts>>;
2905
+ getProducts($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
2906
+ httpHeaderAccept?: 'application/json';
2907
+ context?: HttpContext;
2908
+ transferCache?: boolean;
2909
+ }): Observable<HttpEvent<PurchaseOrderItemProducts>>;
2780
2910
  /**
2781
2911
  * Getting purchas order items
2782
2912
  * @endpoint get /purchaseOrders/{id}/items
@@ -4894,5 +5024,5 @@ declare class ApiModule {
4894
5024
 
4895
5025
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
4896
5026
 
4897
- export { APIS, AmendConfirmationTypes, ApiModule, ApprovalContainerInfo, ApprovalShipmentTimelineItem, ApprovalTypes, AuditLog, AuditLogsService, BASE_PATH, BookingStates, BookingsService, COLLECTION_FORMATS, CompaniesService, 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, PurchaseOrderGridView, PurchaseOrderItem, 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, TransportMode, TransportationShipmentTimelineItem, UnbookedPoLineItem, UserCompanyType, UserService, WorkflowArtifacts, provideApi };
4898
- export type { 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, ModelError, NoteView, Notes, Param, ParamLocation, ParamStyle, PaymentTerm, PendingMessagesCount, PoItemDc, PoItemSummary, PoItemTotals, Port, PurchaseOrderItems, PurchaseOrders, SetNewFeaturesVisibilityCommand, SettingValue, SettingView, ShipmentApprovals, ShipmentContainers, ShipmentItem, ShipmentItemSummaries, ShipmentItems, ShipmentProduct, ShipmentProductTotals, ShipmentProducts, ShipmentRoutingsInner, ShipmentTimelineInner, Shipments, ShipmentsApprovalCount, ShipmentsCount, ShipmentsInTransitCount, StandardDataFormat, StandardDataType, StandardParamStyle, SummaryDashboardReports, Supplier, TransportCarrier, TransportLocation, UnbookedPoLineItems, User, UserApplication, UserApplications, UserCapabilitiesModel, UserPermissions };
5027
+ export { APIS, AmendConfirmationTypes, ApiModule, ApprovalContainerInfo, ApprovalShipmentTimelineItem, ApprovalTypes, AuditLog, AuditLogsService, BASE_PATH, BookingStates, BookingsService, COLLECTION_FORMATS, CompaniesService, 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, PurchaseOrderGridView, PurchaseOrderItem, PurchaseOrderItemProduct, 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, TransportMode, TransportationShipmentTimelineItem, UnbookedPoLineItem, UserCompanyType, UserService, WorkflowArtifacts, provideApi };
5028
+ export type { 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, ModelError, NoteView, Notes, Param, ParamLocation, ParamStyle, PaymentTerm, PendingMessagesCount, PoItemDc, PoItemSummary, PoItemTotals, Port, PurchaseOrderItemProducts, PurchaseOrderItems, PurchaseOrders, SetNewFeaturesVisibilityCommand, SettingValue, SettingView, ShipmentApprovals, ShipmentContainers, ShipmentItem, ShipmentItemSummaries, ShipmentItems, ShipmentProduct, ShipmentProductTotals, ShipmentProducts, ShipmentRoutingsInner, ShipmentTimelineInner, Shipments, ShipmentsApprovalCount, ShipmentsCount, ShipmentsInTransitCount, StandardDataFormat, StandardDataType, StandardParamStyle, SummaryDashboardReports, Supplier, TransportCarrier, TransportLocation, UnbookedPoLineItems, User, UserApplication, UserApplications, UserCapabilitiesModel, UserPermissions };