@indigina/dcm-api 0.0.67 → 0.0.69

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/index.d.ts CHANGED
@@ -385,21 +385,9 @@ declare class CompaniesService extends BaseService {
385
385
  * https://openapi-generator.tech
386
386
  * Do not edit the class manually.
387
387
  */
388
- interface ContainerItemView {
389
- containerId: string;
390
- poNumber: string;
391
- productCode: string;
392
- lineNo: number | null;
393
- productDescription?: string;
394
- colour: string;
395
- size: string;
396
- supplierName: string;
397
- department: string;
398
- destinationDc: string;
399
- poQty: number;
400
- shippedQuantity: number | null;
401
- exDate: string | null;
402
- deliveryDate: string | null;
388
+ interface Country {
389
+ id: string;
390
+ countryName: string;
403
391
  }
404
392
 
405
393
  /**
@@ -412,9 +400,12 @@ interface ContainerItemView {
412
400
  * Do not edit the class manually.
413
401
  */
414
402
 
415
- interface ContainerItems {
416
- total: number;
417
- data: Array<ContainerItemView>;
403
+ interface Port {
404
+ id: string;
405
+ countryId: string;
406
+ country: Country;
407
+ name: string;
408
+ fullCode?: string;
418
409
  }
419
410
 
420
411
  /**
@@ -426,9 +417,26 @@ interface ContainerItems {
426
417
  * https://openapi-generator.tech
427
418
  * Do not edit the class manually.
428
419
  */
429
- interface Country {
430
- id: string;
431
- countryName: string;
420
+ declare const TransportMode: {
421
+ readonly Air: "Air";
422
+ readonly Sea: "Sea";
423
+ readonly Road: "Road";
424
+ readonly Rail: "Rail";
425
+ };
426
+ type TransportMode = typeof TransportMode[keyof typeof TransportMode];
427
+
428
+ /**
429
+ * Dcm.API.Client
430
+ *
431
+ *
432
+ *
433
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
434
+ * https://openapi-generator.tech
435
+ * Do not edit the class manually.
436
+ */
437
+ interface TransportCarrier {
438
+ carrierEnumId: number | null;
439
+ name: string;
432
440
  }
433
441
 
434
442
  /**
@@ -440,15 +448,11 @@ interface Country {
440
448
  * https://openapi-generator.tech
441
449
  * Do not edit the class manually.
442
450
  */
443
- declare const ContainerBookedState: {
444
- readonly ToBooked: "ToBooked";
445
- readonly Booked: "Booked";
446
- readonly Confirmed: "Confirmed";
447
- readonly Delivered: "Delivered";
448
- readonly ToReschedule: "ToReschedule";
449
- readonly Amended: "Amended";
450
- };
451
- type ContainerBookedState = typeof ContainerBookedState[keyof typeof ContainerBookedState];
451
+ interface TransportLocation {
452
+ id: string;
453
+ name: string;
454
+ code?: string;
455
+ }
452
456
 
453
457
  /**
454
458
  * Dcm.API.Client
@@ -459,12 +463,33 @@ type ContainerBookedState = typeof ContainerBookedState[keyof typeof ContainerBo
459
463
  * https://openapi-generator.tech
460
464
  * Do not edit the class manually.
461
465
  */
462
- declare const ContainerType: {
463
- readonly CfsCfs: "CfsCfs";
464
- readonly CfsCy: "CfsCy";
465
- readonly CyCy: "CyCy";
466
- };
467
- type ContainerType = typeof ContainerType[keyof typeof ContainerType];
466
+
467
+ interface ContainerDeliveryShipmentView {
468
+ type: TransportMode | null;
469
+ routingVehicleName?: string;
470
+ etd?: string | null;
471
+ eta?: string | null;
472
+ ata?: string | null;
473
+ customsClearedDate?: string | null;
474
+ lastFreeDay?: string | null;
475
+ etaPod?: string | null;
476
+ ataPod?: string | null;
477
+ inlandEta?: string | null;
478
+ inlandAta?: string | null;
479
+ masterBillRef?: string | null;
480
+ destinationPortId?: string | null;
481
+ destinationPort?: Port;
482
+ originPortId?: string | null;
483
+ originPort?: Port;
484
+ deliveryTransportLocationId?: string | null;
485
+ deliveryTransportLocation?: TransportLocation;
486
+ transportCarrierId?: string | null;
487
+ transportCarrier?: TransportCarrier;
488
+ clientId?: string | null;
489
+ clientName?: string;
490
+ }
491
+ declare namespace ContainerDeliveryShipmentView {
492
+ }
468
493
 
469
494
  /**
470
495
  * Dcm.API.Client
@@ -516,18 +541,99 @@ type ContainerSize = typeof ContainerSize[keyof typeof ContainerSize];
516
541
  * https://openapi-generator.tech
517
542
  * Do not edit the class manually.
518
543
  */
519
- declare const ShipmentState: {
520
- readonly Draft: "Draft";
521
- readonly RequestAuthorisation: "RequestAuthorisation";
522
- readonly AuthorisedToShip: "AuthorisedToShip";
523
- readonly Amend: "Amend";
544
+
545
+ interface ContainerDeliveryGridView {
546
+ containerIds: Array<string>;
547
+ shipmentId: string;
548
+ number: string;
549
+ size: ContainerSize | null;
550
+ goh: boolean;
551
+ bcn: boolean;
552
+ dangerousGoodsClass: string;
553
+ totalShippedQuantity?: number | null;
554
+ totalWeight?: number | null;
555
+ cbm?: number | null;
556
+ expectedCartonCount?: number | null;
557
+ actualCartonCount?: number | null;
558
+ shipment?: ContainerDeliveryShipmentView;
559
+ }
560
+ declare namespace ContainerDeliveryGridView {
561
+ }
562
+
563
+ /**
564
+ * Dcm.API.Client
565
+ *
566
+ *
567
+ *
568
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
569
+ * https://openapi-generator.tech
570
+ * Do not edit the class manually.
571
+ */
572
+
573
+ interface ContainerDeliveries {
574
+ total: number;
575
+ data: Array<ContainerDeliveryGridView>;
576
+ }
577
+
578
+ /**
579
+ * Dcm.API.Client
580
+ *
581
+ *
582
+ *
583
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
584
+ * https://openapi-generator.tech
585
+ * Do not edit the class manually.
586
+ */
587
+ interface ContainerItemView {
588
+ containerId: string;
589
+ poNumber: string;
590
+ productCode: string;
591
+ lineNo: number | null;
592
+ productDescription?: string;
593
+ colour: string;
594
+ size: string;
595
+ supplierName: string;
596
+ department: string;
597
+ destinationDc: string;
598
+ poQty: number;
599
+ shippedQuantity: number | null;
600
+ exDate: string | null;
601
+ deliveryDate: string | null;
602
+ }
603
+
604
+ /**
605
+ * Dcm.API.Client
606
+ *
607
+ *
608
+ *
609
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
610
+ * https://openapi-generator.tech
611
+ * Do not edit the class manually.
612
+ */
613
+
614
+ interface ContainerItems {
615
+ total: number;
616
+ data: Array<ContainerItemView>;
617
+ }
618
+
619
+ /**
620
+ * Dcm.API.Client
621
+ *
622
+ *
623
+ *
624
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
625
+ * https://openapi-generator.tech
626
+ * Do not edit the class manually.
627
+ */
628
+ declare const ContainerBookedState: {
629
+ readonly ToBooked: "ToBooked";
630
+ readonly Booked: "Booked";
524
631
  readonly Confirmed: "Confirmed";
525
632
  readonly Delivered: "Delivered";
526
- readonly Arrived: "Arrived";
527
- readonly CancellationRequested: "CancellationRequested";
528
- readonly Cancelled: "Cancelled";
633
+ readonly ToReschedule: "ToReschedule";
634
+ readonly Amended: "Amended";
529
635
  };
530
- type ShipmentState = typeof ShipmentState[keyof typeof ShipmentState];
636
+ type ContainerBookedState = typeof ContainerBookedState[keyof typeof ContainerBookedState];
531
637
 
532
638
  /**
533
639
  * Dcm.API.Client
@@ -538,13 +644,12 @@ type ShipmentState = typeof ShipmentState[keyof typeof ShipmentState];
538
644
  * https://openapi-generator.tech
539
645
  * Do not edit the class manually.
540
646
  */
541
-
542
- interface Port {
543
- id: string;
544
- countryId: string;
545
- country: Country;
546
- name: string;
547
- }
647
+ declare const ContainerType: {
648
+ readonly CfsCfs: "CfsCfs";
649
+ readonly CfsCy: "CfsCy";
650
+ readonly CyCy: "CyCy";
651
+ };
652
+ type ContainerType = typeof ContainerType[keyof typeof ContainerType];
548
653
 
549
654
  /**
550
655
  * Dcm.API.Client
@@ -555,13 +660,18 @@ interface Port {
555
660
  * https://openapi-generator.tech
556
661
  * Do not edit the class manually.
557
662
  */
558
- declare const TransportMode: {
559
- readonly Air: "Air";
560
- readonly Sea: "Sea";
561
- readonly Road: "Road";
562
- readonly Rail: "Rail";
663
+ declare const ShipmentState: {
664
+ readonly Draft: "Draft";
665
+ readonly RequestAuthorisation: "RequestAuthorisation";
666
+ readonly AuthorisedToShip: "AuthorisedToShip";
667
+ readonly Amend: "Amend";
668
+ readonly Confirmed: "Confirmed";
669
+ readonly Delivered: "Delivered";
670
+ readonly Arrived: "Arrived";
671
+ readonly CancellationRequested: "CancellationRequested";
672
+ readonly Cancelled: "Cancelled";
563
673
  };
564
- type TransportMode = typeof TransportMode[keyof typeof TransportMode];
674
+ type ShipmentState = typeof ShipmentState[keyof typeof ShipmentState];
565
675
 
566
676
  /**
567
677
  * Dcm.API.Client
@@ -799,7 +909,7 @@ interface ShipmentContainer {
799
909
  id: string;
800
910
  number: string;
801
911
  sealNumber: string;
802
- containerSize: string;
912
+ size: ContainerSize | null;
803
913
  bcn: boolean;
804
914
  goh: boolean;
805
915
  packsQuantity: number | null;
@@ -833,6 +943,56 @@ interface ShipmentContainers {
833
943
  declare class ContainersService extends BaseService {
834
944
  protected httpClient: HttpClient;
835
945
  constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
946
+ /**
947
+ * Container delivery list
948
+ * @param $skip
949
+ * @param $top
950
+ * @param $orderby
951
+ * @param $filter
952
+ * @param $search
953
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
954
+ * @param reportProgress flag to report request and response progress.
955
+ */
956
+ getContainerDeliveries($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
957
+ httpHeaderAccept?: 'application/json';
958
+ context?: HttpContext;
959
+ transferCache?: boolean;
960
+ }): Observable<ContainerDeliveries>;
961
+ getContainerDeliveries($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
962
+ httpHeaderAccept?: 'application/json';
963
+ context?: HttpContext;
964
+ transferCache?: boolean;
965
+ }): Observable<HttpResponse<ContainerDeliveries>>;
966
+ getContainerDeliveries($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
967
+ httpHeaderAccept?: 'application/json';
968
+ context?: HttpContext;
969
+ transferCache?: boolean;
970
+ }): Observable<HttpEvent<ContainerDeliveries>>;
971
+ /**
972
+ * Container delivery list
973
+ * @param $skip
974
+ * @param $top
975
+ * @param $orderby
976
+ * @param $filter
977
+ * @param searchTerm
978
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
979
+ * @param reportProgress flag to report request and response progress.
980
+ */
981
+ getContainerDeliveriesFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'body', reportProgress?: boolean, options?: {
982
+ httpHeaderAccept?: 'application/json';
983
+ context?: HttpContext;
984
+ transferCache?: boolean;
985
+ }): Observable<ContainerDeliveries>;
986
+ getContainerDeliveriesFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'response', reportProgress?: boolean, options?: {
987
+ httpHeaderAccept?: 'application/json';
988
+ context?: HttpContext;
989
+ transferCache?: boolean;
990
+ }): Observable<HttpResponse<ContainerDeliveries>>;
991
+ getContainerDeliveriesFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'events', reportProgress?: boolean, options?: {
992
+ httpHeaderAccept?: 'application/json';
993
+ context?: HttpContext;
994
+ transferCache?: boolean;
995
+ }): Observable<HttpEvent<ContainerDeliveries>>;
836
996
  /**
837
997
  * Getting container items
838
998
  * @param id
@@ -2354,10 +2514,13 @@ interface User {
2354
2514
  * https://openapi-generator.tech
2355
2515
  * Do not edit the class manually.
2356
2516
  */
2517
+
2357
2518
  interface ApprovalContainerInfo {
2358
- size: string | null;
2519
+ size: ContainerSize | null;
2359
2520
  number: string;
2360
2521
  }
2522
+ declare namespace ApprovalContainerInfo {
2523
+ }
2361
2524
 
2362
2525
  /**
2363
2526
  * Dcm.API.Client
@@ -2959,34 +3122,6 @@ interface DepartmentShipment {
2959
3122
  departmentId: string;
2960
3123
  }
2961
3124
 
2962
- /**
2963
- * Dcm.API.Client
2964
- *
2965
- *
2966
- *
2967
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2968
- * https://openapi-generator.tech
2969
- * Do not edit the class manually.
2970
- */
2971
- interface TransportCarrier {
2972
- carrierEnumId: number | null;
2973
- name: string;
2974
- }
2975
-
2976
- /**
2977
- * Dcm.API.Client
2978
- *
2979
- *
2980
- *
2981
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2982
- * https://openapi-generator.tech
2983
- * Do not edit the class manually.
2984
- */
2985
- interface TransportLocation {
2986
- id: string;
2987
- name: string;
2988
- }
2989
-
2990
3125
  /**
2991
3126
  * Dcm.API.Client
2992
3127
  *
@@ -3842,5 +3977,5 @@ declare class ApiModule {
3842
3977
 
3843
3978
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
3844
3979
 
3845
- export { APIS, ApiModule, ApprovalShipmentTimelineItem, ApprovalTypes, AuditLog, AuditLogsService, BASE_PATH, BookingsService, COLLECTION_FORMATS, CompaniesService, Configuration, ContainerBookedState, ContainerGridView, ContainerShipmentView, ContainerSize, ContainerType, ContainerView, ContainersService, CurrentUser, DeliveryShipmentTimelineItem, Document, DocumentType, DocumentsService, EmbedReportInfoModel, EntityState, HealthService, JourneySegmentType, NoteSourceTypes, NotesService, 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 };
3846
- export type { ApprovalContainerInfo, ApprovalContainerRules, ApprovalItemRules, ApprovalRules, AuditLogs, BookingsCount, Column, CommandStatusResult, Companies, Company, ConfigurationParameters, Consignee, ContainerItemView, ContainerItems, ContainerPoGridView, ContainerPos, Containers, ContainersCount, ContainersToDeliverCount, Country, DashboardReportGroup, DashboardReports, DataFormat, DataType, Dc, DepartmentShipment, Documents, EmbedReport, EmbedTokenDto, EntityList, ModelError, Note, NoteView, Notes, Param, ParamLocation, ParamStyle, PaymentTerm, PendingMessagesCount, 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, UserPermissions };
3980
+ export { APIS, ApiModule, ApprovalContainerInfo, ApprovalShipmentTimelineItem, ApprovalTypes, AuditLog, AuditLogsService, BASE_PATH, BookingsService, COLLECTION_FORMATS, CompaniesService, Configuration, ContainerBookedState, ContainerDeliveryGridView, ContainerDeliveryShipmentView, ContainerGridView, ContainerShipmentView, ContainerSize, ContainerType, ContainerView, ContainersService, CurrentUser, DeliveryShipmentTimelineItem, Document, DocumentType, DocumentsService, EmbedReportInfoModel, EntityState, HealthService, JourneySegmentType, NoteSourceTypes, NotesService, 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 };
3981
+ export type { ApprovalContainerRules, ApprovalItemRules, ApprovalRules, AuditLogs, BookingsCount, Column, CommandStatusResult, Companies, Company, ConfigurationParameters, Consignee, ContainerDeliveries, ContainerItemView, ContainerItems, ContainerPoGridView, ContainerPos, Containers, ContainersCount, ContainersToDeliverCount, Country, DashboardReportGroup, DashboardReports, DataFormat, DataType, Dc, DepartmentShipment, Documents, EmbedReport, EmbedTokenDto, EntityList, ModelError, Note, NoteView, Notes, Param, ParamLocation, ParamStyle, PaymentTerm, PendingMessagesCount, 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, UserPermissions };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indigina/dcm-api",
3
- "version": "0.0.67",
3
+ "version": "0.0.69",
4
4
  "description": "OpenAPI client for @indigina/dcm-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {