@indigina/dcm-api 0.0.128 → 0.0.129

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.128",
3
+ "version": "0.0.129",
4
4
  "description": "OpenAPI client for @indigina/dcm-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -3653,6 +3653,193 @@ declare class PoItemsService extends BaseService {
3653
3653
  static ɵprov: i0.ɵɵInjectableDeclaration<PoItemsService>;
3654
3654
  }
3655
3655
 
3656
+ /**
3657
+ * Dcm.API.Client
3658
+ *
3659
+ *
3660
+ *
3661
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3662
+ * https://openapi-generator.tech
3663
+ * Do not edit the class manually.
3664
+ */
3665
+ declare const PortType: {
3666
+ readonly Air: "Air";
3667
+ readonly Sea: "Sea";
3668
+ readonly Road: "Road";
3669
+ readonly Rail: "Rail";
3670
+ };
3671
+ type PortType = typeof PortType[keyof typeof PortType];
3672
+
3673
+ /**
3674
+ * Dcm.API.Client
3675
+ *
3676
+ *
3677
+ *
3678
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3679
+ * https://openapi-generator.tech
3680
+ * Do not edit the class manually.
3681
+ */
3682
+
3683
+ interface PortData {
3684
+ type: PortType;
3685
+ countryId: string;
3686
+ name: string;
3687
+ code: string;
3688
+ customsPortCode?: string | null;
3689
+ latitude?: number | null;
3690
+ longitude?: number | null;
3691
+ }
3692
+ declare namespace PortData {
3693
+ }
3694
+
3695
+ /**
3696
+ * Dcm.API.Client
3697
+ *
3698
+ *
3699
+ *
3700
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3701
+ * https://openapi-generator.tech
3702
+ * Do not edit the class manually.
3703
+ */
3704
+
3705
+ interface PortDetails {
3706
+ id: string;
3707
+ type?: PortType;
3708
+ countryId: string;
3709
+ countryName: string;
3710
+ name?: string | null;
3711
+ code: string;
3712
+ fullCode?: string | null;
3713
+ customsPortCode?: string | null;
3714
+ locationName?: string | null;
3715
+ latitude?: number | null;
3716
+ longitude?: number | null;
3717
+ }
3718
+ declare namespace PortDetails {
3719
+ }
3720
+
3721
+ declare class PortsService extends BaseService {
3722
+ protected httpClient: HttpClient;
3723
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
3724
+ /**
3725
+ * Create a port
3726
+ * @endpoint post /ports
3727
+ * @param portData
3728
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3729
+ * @param reportProgress flag to report request and response progress.
3730
+ * @param options additional options
3731
+ */
3732
+ createPort(portData: PortData, observe?: 'body', reportProgress?: boolean, options?: {
3733
+ httpHeaderAccept?: 'application/json';
3734
+ context?: HttpContext;
3735
+ transferCache?: boolean;
3736
+ }): Observable<PortDetails>;
3737
+ createPort(portData: PortData, observe?: 'response', reportProgress?: boolean, options?: {
3738
+ httpHeaderAccept?: 'application/json';
3739
+ context?: HttpContext;
3740
+ transferCache?: boolean;
3741
+ }): Observable<HttpResponse<PortDetails>>;
3742
+ createPort(portData: PortData, observe?: 'events', reportProgress?: boolean, options?: {
3743
+ httpHeaderAccept?: 'application/json';
3744
+ context?: HttpContext;
3745
+ transferCache?: boolean;
3746
+ }): Observable<HttpEvent<PortDetails>>;
3747
+ /**
3748
+ * Delete a port that is not used by shipments, bookings or routing legs
3749
+ * @endpoint delete /ports/{id}
3750
+ * @param id
3751
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3752
+ * @param reportProgress flag to report request and response progress.
3753
+ * @param options additional options
3754
+ */
3755
+ deletePort(id: string, observe?: 'body', reportProgress?: boolean, options?: {
3756
+ httpHeaderAccept?: undefined;
3757
+ context?: HttpContext;
3758
+ transferCache?: boolean;
3759
+ }): Observable<any>;
3760
+ deletePort(id: string, observe?: 'response', reportProgress?: boolean, options?: {
3761
+ httpHeaderAccept?: undefined;
3762
+ context?: HttpContext;
3763
+ transferCache?: boolean;
3764
+ }): Observable<HttpResponse<any>>;
3765
+ deletePort(id: string, observe?: 'events', reportProgress?: boolean, options?: {
3766
+ httpHeaderAccept?: undefined;
3767
+ context?: HttpContext;
3768
+ transferCache?: boolean;
3769
+ }): Observable<HttpEvent<any>>;
3770
+ /**
3771
+ * Get active countries
3772
+ * @endpoint get /ports/countries
3773
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3774
+ * @param reportProgress flag to report request and response progress.
3775
+ * @param options additional options
3776
+ */
3777
+ getPortCountries(observe?: 'body', reportProgress?: boolean, options?: {
3778
+ httpHeaderAccept?: 'application/json';
3779
+ context?: HttpContext;
3780
+ transferCache?: boolean;
3781
+ }): Observable<Array<Country>>;
3782
+ getPortCountries(observe?: 'response', reportProgress?: boolean, options?: {
3783
+ httpHeaderAccept?: 'application/json';
3784
+ context?: HttpContext;
3785
+ transferCache?: boolean;
3786
+ }): Observable<HttpResponse<Array<Country>>>;
3787
+ getPortCountries(observe?: 'events', reportProgress?: boolean, options?: {
3788
+ httpHeaderAccept?: 'application/json';
3789
+ context?: HttpContext;
3790
+ transferCache?: boolean;
3791
+ }): Observable<HttpEvent<Array<Country>>>;
3792
+ /**
3793
+ * Get active ports
3794
+ * @endpoint get /ports
3795
+ * @param type
3796
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3797
+ * @param reportProgress flag to report request and response progress.
3798
+ * @param options additional options
3799
+ */
3800
+ getPorts(type?: PortType, observe?: 'body', reportProgress?: boolean, options?: {
3801
+ httpHeaderAccept?: 'application/json';
3802
+ context?: HttpContext;
3803
+ transferCache?: boolean;
3804
+ }): Observable<Array<PortDetails>>;
3805
+ getPorts(type?: PortType, observe?: 'response', reportProgress?: boolean, options?: {
3806
+ httpHeaderAccept?: 'application/json';
3807
+ context?: HttpContext;
3808
+ transferCache?: boolean;
3809
+ }): Observable<HttpResponse<Array<PortDetails>>>;
3810
+ getPorts(type?: PortType, observe?: 'events', reportProgress?: boolean, options?: {
3811
+ httpHeaderAccept?: 'application/json';
3812
+ context?: HttpContext;
3813
+ transferCache?: boolean;
3814
+ }): Observable<HttpEvent<Array<PortDetails>>>;
3815
+ /**
3816
+ * Update a port
3817
+ * @endpoint put /ports/{id}
3818
+ * @param id
3819
+ * @param portData
3820
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3821
+ * @param reportProgress flag to report request and response progress.
3822
+ * @param options additional options
3823
+ */
3824
+ updatePort(id: string, portData: PortData, observe?: 'body', reportProgress?: boolean, options?: {
3825
+ httpHeaderAccept?: 'application/json';
3826
+ context?: HttpContext;
3827
+ transferCache?: boolean;
3828
+ }): Observable<PortDetails>;
3829
+ updatePort(id: string, portData: PortData, observe?: 'response', reportProgress?: boolean, options?: {
3830
+ httpHeaderAccept?: 'application/json';
3831
+ context?: HttpContext;
3832
+ transferCache?: boolean;
3833
+ }): Observable<HttpResponse<PortDetails>>;
3834
+ updatePort(id: string, portData: PortData, observe?: 'events', reportProgress?: boolean, options?: {
3835
+ httpHeaderAccept?: 'application/json';
3836
+ context?: HttpContext;
3837
+ transferCache?: boolean;
3838
+ }): Observable<HttpEvent<PortDetails>>;
3839
+ static ɵfac: i0.ɵɵFactoryDeclaration<PortsService, [null, { optional: true; }, { optional: true; }]>;
3840
+ static ɵprov: i0.ɵɵInjectableDeclaration<PortsService>;
3841
+ }
3842
+
3656
3843
  /**
3657
3844
  * Dcm.API.Client
3658
3845
  *
@@ -6128,7 +6315,7 @@ declare class VendorBookingsService extends BaseService {
6128
6315
  static ɵprov: i0.ɵɵInjectableDeclaration<VendorBookingsService>;
6129
6316
  }
6130
6317
 
6131
- declare const APIS: (typeof ApprovalRulesService | typeof AuditLogsService | typeof BookingsService | typeof CompaniesService | typeof ConfigService | typeof ContainersService | typeof DcsService | typeof DeliveryBookingDcsService | typeof DeliveryBookingsService | typeof DocumentsService | typeof HealthService | typeof NotesService | typeof PackingRulesService | typeof PendoService | typeof PermissionsService | typeof PoItemsService | typeof PurchaseOrdersService | typeof ReportsService | typeof SettingsService | typeof ShipmentsService | typeof SipmetItemsService | typeof UserService | typeof VendorBookingsService)[];
6318
+ declare const APIS: (typeof ApprovalRulesService | typeof AuditLogsService | typeof BookingsService | typeof CompaniesService | typeof ConfigService | typeof ContainersService | typeof DcsService | typeof DeliveryBookingDcsService | typeof DeliveryBookingsService | typeof DocumentsService | typeof HealthService | typeof NotesService | typeof PackingRulesService | typeof PendoService | typeof PermissionsService | typeof PoItemsService | typeof PortsService | typeof PurchaseOrdersService | typeof ReportsService | typeof SettingsService | typeof ShipmentsService | typeof SipmetItemsService | typeof UserService | typeof VendorBookingsService)[];
6132
6319
 
6133
6320
  /**
6134
6321
  * Dcm.API.Client
@@ -6217,5 +6404,5 @@ declare class ApiModule {
6217
6404
 
6218
6405
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
6219
6406
 
6220
- export { APIS, AmendConfirmationTypes, ApiModule, ApprovalContainerInfo, ApprovalProcess, ApprovalProcessConsignee, ApprovalProcessContainer, ApprovalProcessContainerData, ApprovalProcessData, ApprovalRuleType, ApprovalRulesService, 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, PackingRulesService, 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 };
6407
+ export { APIS, AmendConfirmationTypes, ApiModule, ApprovalContainerInfo, ApprovalProcess, ApprovalProcessConsignee, ApprovalProcessContainer, ApprovalProcessContainerData, ApprovalProcessData, ApprovalRuleType, ApprovalRulesService, 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, PackingRulesService, PendoService, PermissionsService, PoItemDetails, PoItemShippingDetail, PoItemState, PoItemsService, PortData, PortDetails, PortType, PortsService, 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 };
6221
6408
  export type { AppConfig, ApprovalContainerRules, ApprovalItemRules, ApprovalProcessConsigneeData, 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, PackingRule, PackingRuleData, Param, ParamLocation, ParamStyle, PaymentTerm, PendingMessagesCount, PoItemDc, PoItemShippingDetails, 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 };