@indigina/dcm-api 0.0.90 → 0.0.92

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.90",
3
+ "version": "0.0.92",
4
4
  "description": "OpenAPI client for @indigina/dcm-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -439,6 +439,49 @@ declare class CompaniesService extends BaseService {
439
439
  static ɵprov: i0.ɵɵInjectableDeclaration<CompaniesService>;
440
440
  }
441
441
 
442
+ /**
443
+ * Dcm.API.Client
444
+ *
445
+ *
446
+ *
447
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
448
+ * https://openapi-generator.tech
449
+ * Do not edit the class manually.
450
+ */
451
+ interface AppConfig {
452
+ pendoApiKey: string | null;
453
+ mapsApiKey: string | null;
454
+ }
455
+
456
+ declare class ConfigService extends BaseService {
457
+ protected httpClient: HttpClient;
458
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
459
+ /**
460
+ * Retrieve application configuration
461
+ * @endpoint get /config
462
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
463
+ * @param reportProgress flag to report request and response progress.
464
+ * @param options additional options
465
+ */
466
+ getConfig(observe?: 'body', reportProgress?: boolean, options?: {
467
+ httpHeaderAccept?: 'application/json';
468
+ context?: HttpContext;
469
+ transferCache?: boolean;
470
+ }): Observable<AppConfig>;
471
+ getConfig(observe?: 'response', reportProgress?: boolean, options?: {
472
+ httpHeaderAccept?: 'application/json';
473
+ context?: HttpContext;
474
+ transferCache?: boolean;
475
+ }): Observable<HttpResponse<AppConfig>>;
476
+ getConfig(observe?: 'events', reportProgress?: boolean, options?: {
477
+ httpHeaderAccept?: 'application/json';
478
+ context?: HttpContext;
479
+ transferCache?: boolean;
480
+ }): Observable<HttpEvent<AppConfig>>;
481
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfigService, [null, { optional: true; }, { optional: true; }]>;
482
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfigService>;
483
+ }
484
+
442
485
  /**
443
486
  * Dcm.API.Client
444
487
  *
@@ -2336,10 +2379,12 @@ declare class PendoService extends BaseService {
2336
2379
  constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
2337
2380
  /**
2338
2381
  * Retrieve the Pendo API key
2382
+ * Deprecated. Use /config instead.
2339
2383
  * @endpoint get /pendo/api-key
2340
2384
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2341
2385
  * @param reportProgress flag to report request and response progress.
2342
2386
  * @param options additional options
2387
+ * @deprecated
2343
2388
  */
2344
2389
  getPendoApiKey(observe?: 'body', reportProgress?: boolean, options?: {
2345
2390
  httpHeaderAccept?: 'application/json';
@@ -2477,9 +2522,12 @@ interface PoItemTotals {
2477
2522
  * https://openapi-generator.tech
2478
2523
  * Do not edit the class manually.
2479
2524
  */
2480
- interface PurchaseOrderItemProducts {
2481
- total: number;
2482
- data: Array<object>;
2525
+
2526
+ interface PoItemDc {
2527
+ id: string;
2528
+ countryOfOriginId?: string;
2529
+ countryOfOrigin?: Country;
2530
+ description?: string;
2483
2531
  }
2484
2532
 
2485
2533
  /**
@@ -2491,12 +2539,57 @@ interface PurchaseOrderItemProducts {
2491
2539
  * https://openapi-generator.tech
2492
2540
  * Do not edit the class manually.
2493
2541
  */
2542
+ declare const PurchaseOrderState: {
2543
+ readonly Draft: "Draft";
2544
+ readonly NotAllocated: "NotAllocated";
2545
+ readonly PartlyAllocated: "PartlyAllocated";
2546
+ readonly FullyAllocated: "FullyAllocated";
2547
+ readonly Commit: "Commit";
2548
+ readonly Complete: "Complete";
2549
+ readonly Deleted: "Deleted";
2550
+ };
2551
+ type PurchaseOrderState = typeof PurchaseOrderState[keyof typeof PurchaseOrderState];
2494
2552
 
2495
- interface PoItemDc {
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
+
2563
+ interface PurchaseOrderProduct {
2496
2564
  id: string;
2497
- countryOfOriginId?: string;
2498
- countryOfOrigin?: Country;
2499
- description?: string;
2565
+ poNumber: string;
2566
+ clientId: string | null;
2567
+ clientName: string;
2568
+ supplierId?: string | null;
2569
+ supplierName: string;
2570
+ supplierCode: string;
2571
+ currencyId: string | null;
2572
+ currencyCode: string;
2573
+ currencyDescription: string;
2574
+ buyer: string;
2575
+ poDate: string;
2576
+ shippingTermLocation: string;
2577
+ deliveryDate: string | null;
2578
+ state: PurchaseOrderState | null;
2579
+ shippingTerms: ShipmentTerm | null;
2580
+ transportMode: TransportMode | null;
2581
+ noOfLines: number;
2582
+ totalUnits: number;
2583
+ exDate: string | null;
2584
+ createdDate: string;
2585
+ consigneeId: string | null;
2586
+ consigneeName: string;
2587
+ origincountryid?: string;
2588
+ origincountry?: Country;
2589
+ departmentid?: string;
2590
+ departmentname?: string;
2591
+ }
2592
+ declare namespace PurchaseOrderProduct {
2500
2593
  }
2501
2594
 
2502
2595
  /**
@@ -2526,13 +2619,11 @@ type PoItemState = typeof PoItemState[keyof typeof PoItemState];
2526
2619
  * Do not edit the class manually.
2527
2620
  */
2528
2621
 
2529
- interface PurchaseOrderItem {
2622
+ interface PurchaseOrderItemProduct {
2530
2623
  id: string;
2531
2624
  code: string;
2532
2625
  description: string;
2533
2626
  price: number | null;
2534
- qcApproved: boolean | null;
2535
- qcApprovedDate: string | null;
2536
2627
  ean: string;
2537
2628
  lineNo: number | null;
2538
2629
  quantity: number;
@@ -2549,15 +2640,19 @@ interface PurchaseOrderItem {
2549
2640
  size: string;
2550
2641
  state: PoItemState | null;
2551
2642
  customerDeliveryRef: string;
2552
- restrictSplit: boolean | null;
2553
- buyersItemNumber: string;
2554
2643
  latestExDate: string | null;
2555
- shippingTerms: ShipmentTerm | null;
2556
2644
  purchaseOrderId: string | null;
2557
2645
  dcId: string | null;
2558
2646
  dc?: PoItemDc;
2647
+ category?: string;
2648
+ createddate?: string | null;
2649
+ purchaseorder?: PurchaseOrderProduct;
2650
+ bookedpercentage?: number | null;
2651
+ uom?: string;
2652
+ bookedbysupplier?: boolean | null;
2653
+ bookingduedate?: string | null;
2559
2654
  }
2560
- declare namespace PurchaseOrderItem {
2655
+ declare namespace PurchaseOrderItemProduct {
2561
2656
  }
2562
2657
 
2563
2658
  /**
@@ -2570,9 +2665,9 @@ declare namespace PurchaseOrderItem {
2570
2665
  * Do not edit the class manually.
2571
2666
  */
2572
2667
 
2573
- interface PurchaseOrderItems {
2668
+ interface PurchaseOrderItemProducts {
2574
2669
  total: number;
2575
- data: Array<PurchaseOrderItem>;
2670
+ data: Array<PurchaseOrderItemProduct>;
2576
2671
  }
2577
2672
 
2578
2673
  /**
@@ -2584,16 +2679,55 @@ interface PurchaseOrderItems {
2584
2679
  * https://openapi-generator.tech
2585
2680
  * Do not edit the class manually.
2586
2681
  */
2587
- declare const PurchaseOrderState: {
2588
- readonly Draft: "Draft";
2589
- readonly NotAllocated: "NotAllocated";
2590
- readonly PartlyAllocated: "PartlyAllocated";
2591
- readonly FullyAllocated: "FullyAllocated";
2592
- readonly Commit: "Commit";
2593
- readonly Complete: "Complete";
2594
- readonly Deleted: "Deleted";
2595
- };
2596
- type PurchaseOrderState = typeof PurchaseOrderState[keyof typeof PurchaseOrderState];
2682
+
2683
+ interface PurchaseOrderItem {
2684
+ id: string;
2685
+ code: string;
2686
+ description: string;
2687
+ price: number | null;
2688
+ qcApproved: boolean | null;
2689
+ qcApprovedDate: string | null;
2690
+ ean: string;
2691
+ lineNo: number | null;
2692
+ quantity: number;
2693
+ totalBookedQuantity: number | null;
2694
+ estimatedCbm: number | null;
2695
+ exDate: string | null;
2696
+ deliveryDate: string | null;
2697
+ commodityCode: string;
2698
+ season: string;
2699
+ seasonYear: number | null;
2700
+ productCategory: string;
2701
+ colour: string;
2702
+ attributeList: string;
2703
+ size: string;
2704
+ state: PoItemState | null;
2705
+ customerDeliveryRef: string;
2706
+ restrictSplit: boolean | null;
2707
+ buyersItemNumber: string;
2708
+ latestExDate: string | null;
2709
+ shippingTerms: ShipmentTerm | null;
2710
+ purchaseOrderId: string | null;
2711
+ dcId: string | null;
2712
+ dc?: PoItemDc;
2713
+ }
2714
+ declare namespace PurchaseOrderItem {
2715
+ }
2716
+
2717
+ /**
2718
+ * Dcm.API.Client
2719
+ *
2720
+ *
2721
+ *
2722
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2723
+ * https://openapi-generator.tech
2724
+ * Do not edit the class manually.
2725
+ */
2726
+
2727
+ interface PurchaseOrderItems {
2728
+ total: number;
2729
+ data: Array<PurchaseOrderItem>;
2730
+ }
2597
2731
 
2598
2732
  /**
2599
2733
  * Dcm.API.Client
@@ -3469,6 +3603,72 @@ interface ShipmentApprovals {
3469
3603
  data: Array<ShipmentApproval>;
3470
3604
  }
3471
3605
 
3606
+ /**
3607
+ * Dcm.API.Client
3608
+ *
3609
+ *
3610
+ *
3611
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3612
+ * https://openapi-generator.tech
3613
+ * Do not edit the class manually.
3614
+ */
3615
+ interface GeoCoordinate {
3616
+ latitude: number;
3617
+ longitude: number;
3618
+ }
3619
+
3620
+ /**
3621
+ * Dcm.API.Client
3622
+ *
3623
+ *
3624
+ *
3625
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3626
+ * https://openapi-generator.tech
3627
+ * Do not edit the class manually.
3628
+ */
3629
+
3630
+ interface TransportPosition {
3631
+ coordinate: GeoCoordinate;
3632
+ timestamp: string;
3633
+ speed: number | null;
3634
+ course: number | null;
3635
+ }
3636
+
3637
+ /**
3638
+ * Dcm.API.Client
3639
+ *
3640
+ *
3641
+ *
3642
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3643
+ * https://openapi-generator.tech
3644
+ * Do not edit the class manually.
3645
+ */
3646
+
3647
+ interface TrackedVehicle {
3648
+ transportMode: TransportMode;
3649
+ vehicleName: string | null;
3650
+ vehicleNumber: string | null;
3651
+ currentPosition: TransportPosition;
3652
+ route: Array<TransportPosition>;
3653
+ }
3654
+ declare namespace TrackedVehicle {
3655
+ }
3656
+
3657
+ /**
3658
+ * Dcm.API.Client
3659
+ *
3660
+ *
3661
+ *
3662
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3663
+ * https://openapi-generator.tech
3664
+ * Do not edit the class manually.
3665
+ */
3666
+
3667
+ interface ShipmentGeoTracking {
3668
+ shipmentId: string;
3669
+ vehicles: Array<TrackedVehicle>;
3670
+ }
3671
+
3472
3672
  /**
3473
3673
  * Dcm.API.Client
3474
3674
  *
@@ -4189,6 +4389,30 @@ declare class ShipmentsService extends BaseService {
4189
4389
  context?: HttpContext;
4190
4390
  transferCache?: boolean;
4191
4391
  }): Observable<HttpEvent<ShipmentApprovals>>;
4392
+ /**
4393
+ * Getting geo coordinates and transport route by shipmentId and transport type
4394
+ * @endpoint get /shipments/{shipmentId}/{type}/geo-tracking
4395
+ * @param shipmentId
4396
+ * @param type
4397
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
4398
+ * @param reportProgress flag to report request and response progress.
4399
+ * @param options additional options
4400
+ */
4401
+ getShipmentGeoTracking(shipmentId: string, type: TransportMode, observe?: 'body', reportProgress?: boolean, options?: {
4402
+ httpHeaderAccept?: 'application/json';
4403
+ context?: HttpContext;
4404
+ transferCache?: boolean;
4405
+ }): Observable<ShipmentGeoTracking>;
4406
+ getShipmentGeoTracking(shipmentId: string, type: TransportMode, observe?: 'response', reportProgress?: boolean, options?: {
4407
+ httpHeaderAccept?: 'application/json';
4408
+ context?: HttpContext;
4409
+ transferCache?: boolean;
4410
+ }): Observable<HttpResponse<ShipmentGeoTracking>>;
4411
+ getShipmentGeoTracking(shipmentId: string, type: TransportMode, observe?: 'events', reportProgress?: boolean, options?: {
4412
+ httpHeaderAccept?: 'application/json';
4413
+ context?: HttpContext;
4414
+ transferCache?: boolean;
4415
+ }): Observable<HttpEvent<ShipmentGeoTracking>>;
4192
4416
  /**
4193
4417
  * Shipment items list
4194
4418
  * @endpoint get /shipments/{id}/items
@@ -4846,7 +5070,7 @@ declare class UserService extends BaseService {
4846
5070
  static ɵprov: i0.ɵɵInjectableDeclaration<UserService>;
4847
5071
  }
4848
5072
 
4849
- declare const APIS: (typeof AuditLogsService | typeof BookingsService | typeof CompaniesService | typeof ContainersService | typeof DcsService | typeof DeliveryBookingDcsService | typeof DeliveryBookingsService | typeof DocumentsService | typeof HealthService | typeof NotesService | typeof PendoService | typeof PermissionsService | typeof PoItemsService | typeof PurchaseOrdersService | typeof ReportsService | typeof SettingsService | typeof ShipmentsService | typeof SipmetItemsService | typeof UserService)[];
5073
+ declare const APIS: (typeof AuditLogsService | typeof BookingsService | typeof CompaniesService | typeof ConfigService | typeof ContainersService | typeof DcsService | typeof DeliveryBookingDcsService | typeof DeliveryBookingsService | typeof DocumentsService | typeof HealthService | typeof NotesService | typeof PendoService | typeof PermissionsService | typeof PoItemsService | typeof PurchaseOrdersService | typeof ReportsService | typeof SettingsService | typeof ShipmentsService | typeof SipmetItemsService | typeof UserService)[];
4850
5074
 
4851
5075
  /**
4852
5076
  * Dcm.API.Client
@@ -4935,5 +5159,5 @@ declare class ApiModule {
4935
5159
 
4936
5160
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
4937
5161
 
4938
- 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 };
4939
- 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 };
5162
+ export { APIS, AmendConfirmationTypes, ApiModule, ApprovalContainerInfo, ApprovalShipmentTimelineItem, ApprovalTypes, AuditLog, AuditLogsService, BASE_PATH, BookingStates, 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, 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, TrackedVehicle, TransportMode, TransportationShipmentTimelineItem, UnbookedPoLineItem, UserCompanyType, UserService, WorkflowArtifacts, provideApi };
5163
+ 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, PurchaseOrderItemProducts, 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, UnbookedPoLineItems, User, UserApplication, UserApplications, UserCapabilitiesModel, UserPermissions };