@indigina/dcm-api 0.0.91 → 0.0.93
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/README.md +2 -2
- package/fesm2022/indigina-dcm-api.mjs +129 -2
- package/fesm2022/indigina-dcm-api.mjs.map +1 -1
- package/package.json +1 -1
- package/types/indigina-dcm-api.d.ts +147 -12
package/package.json
CHANGED
|
@@ -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';
|
|
@@ -2539,10 +2584,11 @@ interface PurchaseOrderProduct {
|
|
|
2539
2584
|
createdDate: string;
|
|
2540
2585
|
consigneeId: string | null;
|
|
2541
2586
|
consigneeName: string;
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2587
|
+
originCountryId?: string;
|
|
2588
|
+
originCountry?: Country;
|
|
2589
|
+
departmentId?: string;
|
|
2590
|
+
departmentName?: string;
|
|
2591
|
+
bookedBySupplier?: boolean | null;
|
|
2546
2592
|
}
|
|
2547
2593
|
declare namespace PurchaseOrderProduct {
|
|
2548
2594
|
}
|
|
@@ -2600,12 +2646,11 @@ interface PurchaseOrderItemProduct {
|
|
|
2600
2646
|
dcId: string | null;
|
|
2601
2647
|
dc?: PoItemDc;
|
|
2602
2648
|
category?: string;
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2649
|
+
createdDate?: string | null;
|
|
2650
|
+
purchaseOrder?: PurchaseOrderProduct;
|
|
2651
|
+
bookedPercentage?: number | null;
|
|
2606
2652
|
uom?: string;
|
|
2607
|
-
|
|
2608
|
-
bookingduedate?: string | null;
|
|
2653
|
+
bookingDueDate?: string | null;
|
|
2609
2654
|
}
|
|
2610
2655
|
declare namespace PurchaseOrderItemProduct {
|
|
2611
2656
|
}
|
|
@@ -3558,6 +3603,72 @@ interface ShipmentApprovals {
|
|
|
3558
3603
|
data: Array<ShipmentApproval>;
|
|
3559
3604
|
}
|
|
3560
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
|
+
|
|
3561
3672
|
/**
|
|
3562
3673
|
* Dcm.API.Client
|
|
3563
3674
|
*
|
|
@@ -4278,6 +4389,30 @@ declare class ShipmentsService extends BaseService {
|
|
|
4278
4389
|
context?: HttpContext;
|
|
4279
4390
|
transferCache?: boolean;
|
|
4280
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>>;
|
|
4281
4416
|
/**
|
|
4282
4417
|
* Shipment items list
|
|
4283
4418
|
* @endpoint get /shipments/{id}/items
|
|
@@ -4935,7 +5070,7 @@ declare class UserService extends BaseService {
|
|
|
4935
5070
|
static ɵprov: i0.ɵɵInjectableDeclaration<UserService>;
|
|
4936
5071
|
}
|
|
4937
5072
|
|
|
4938
|
-
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)[];
|
|
4939
5074
|
|
|
4940
5075
|
/**
|
|
4941
5076
|
* Dcm.API.Client
|
|
@@ -5024,5 +5159,5 @@ declare class ApiModule {
|
|
|
5024
5159
|
|
|
5025
5160
|
declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
|
|
5026
5161
|
|
|
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 };
|
|
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 };
|