@indigina/myseko-api 0.0.30 → 0.0.32

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/myseko-api",
3
- "version": "0.0.30",
3
+ "version": "0.0.32",
4
4
  "description": "OpenAPI client for @indigina/myseko-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -292,6 +292,8 @@ interface ShipmentCalendarItem {
292
292
  consReference?: string | null;
293
293
  isCalculatedScheduledDelivery?: boolean | null;
294
294
  containerNumbers?: string | null;
295
+ mode?: string | null;
296
+ typeOrderID?: string | null;
295
297
  }
296
298
 
297
299
  /**
@@ -392,6 +394,28 @@ interface DeliveriesToday {
392
394
  deliveringThisWeek?: number;
393
395
  }
394
396
 
397
+ /**
398
+ * MySeko.API.Client
399
+ *
400
+ *
401
+ *
402
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
403
+ * https://openapi-generator.tech
404
+ * Do not edit the class manually.
405
+ */
406
+ interface ShipmentExceptionStats {
407
+ total?: number;
408
+ transitDelay?: number;
409
+ arrivalOverdue?: number;
410
+ deliveryOverdue?: number;
411
+ deliveryAppointmentOverdue?: number;
412
+ lateDelivery?: number;
413
+ consigneeUnreachable?: number;
414
+ failedDelivery?: number;
415
+ partialDelivery?: number;
416
+ incompletePOD?: number;
417
+ }
418
+
395
419
  declare class DashboardService extends BaseService {
396
420
  protected httpClient: HttpClient;
397
421
  constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
@@ -439,6 +463,28 @@ declare class DashboardService extends BaseService {
439
463
  context?: HttpContext;
440
464
  transferCache?: boolean;
441
465
  }): Observable<HttpEvent<DeliveriesToday>>;
466
+ /**
467
+ * Get shipment exceptions statistics
468
+ * @endpoint get /myseko/dashboard/shipments-exceptions
469
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
470
+ * @param reportProgress flag to report request and response progress.
471
+ * @param options additional options
472
+ */
473
+ getShipmentExceptionStats(observe?: 'body', reportProgress?: boolean, options?: {
474
+ httpHeaderAccept?: 'application/json';
475
+ context?: HttpContext;
476
+ transferCache?: boolean;
477
+ }): Observable<ShipmentExceptionStats>;
478
+ getShipmentExceptionStats(observe?: 'response', reportProgress?: boolean, options?: {
479
+ httpHeaderAccept?: 'application/json';
480
+ context?: HttpContext;
481
+ transferCache?: boolean;
482
+ }): Observable<HttpResponse<ShipmentExceptionStats>>;
483
+ getShipmentExceptionStats(observe?: 'events', reportProgress?: boolean, options?: {
484
+ httpHeaderAccept?: 'application/json';
485
+ context?: HttpContext;
486
+ transferCache?: boolean;
487
+ }): Observable<HttpEvent<ShipmentExceptionStats>>;
442
488
  static ɵfac: i0.ɵɵFactoryDeclaration<DashboardService, [null, { optional: true; }, { optional: true; }]>;
443
489
  static ɵprov: i0.ɵɵInjectableDeclaration<DashboardService>;
444
490
  }
@@ -715,20 +761,30 @@ declare class DocumentService extends BaseService {
715
761
  * Do not edit the class manually.
716
762
  */
717
763
  /**
718
- * Type of exception
764
+ * Grid row returned to the client by the Exception Management endpoint.
719
765
  */
720
- declare const ExceptionType: {
721
- readonly TransitDelay: "TransitDelay";
722
- readonly ArrivalOverdue: "ArrivalOverdue";
723
- readonly DeliveryOverdue: "DeliveryOverdue";
724
- readonly DeliveryAppointmentOverdue: "DeliveryAppointmentOverdue";
725
- readonly LateDelivery: "LateDelivery";
726
- readonly ConsigneeUnreachable: "ConsigneeUnreachable";
727
- readonly FailedDelivery: "FailedDelivery";
728
- readonly PartialDelivery: "PartialDelivery";
729
- readonly IncompletePod: "IncompletePOD";
730
- };
731
- type ExceptionType = typeof ExceptionType[keyof typeof ExceptionType];
766
+ interface ExceptionManagementRow {
767
+ exceptionLogID: number;
768
+ ordOrderID: string;
769
+ number?: string | null;
770
+ status?: string | null;
771
+ serviceLevel?: string | null;
772
+ origin?: string | null;
773
+ destination?: string | null;
774
+ shipName?: string | null;
775
+ consName?: string | null;
776
+ exceptionType?: string | null;
777
+ exceptionStatus?: string | null;
778
+ criticality?: string | null;
779
+ plannedDate?: string | null;
780
+ latestProjectedDate?: string | null;
781
+ actualDate?: string | null;
782
+ daysOfDelay?: number | null;
783
+ reason?: string | null;
784
+ reportedBy?: string | null;
785
+ createdDateUtc: string;
786
+ lastUpdatedUtc: string;
787
+ }
732
788
 
733
789
  /**
734
790
  * MySeko.API.Client
@@ -739,33 +795,11 @@ type ExceptionType = typeof ExceptionType[keyof typeof ExceptionType];
739
795
  * https://openapi-generator.tech
740
796
  * Do not edit the class manually.
741
797
  */
742
- /**
743
- * Status of exception
744
- */
745
- declare const ExceptionStatus: {
746
- readonly Active: "Active";
747
- readonly Closed: "Closed";
748
- };
749
- type ExceptionStatus = typeof ExceptionStatus[keyof typeof ExceptionStatus];
750
798
 
751
- /**
752
- * MySeko.API.Client
753
- *
754
- *
755
- *
756
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
757
- * https://openapi-generator.tech
758
- * Do not edit the class manually.
759
- */
760
- /**
761
- * Criticality level of exception
762
- */
763
- declare const Criticality: {
764
- readonly Low: "Low";
765
- readonly Medium: "Medium";
766
- readonly High: "High";
767
- };
768
- type Criticality = typeof Criticality[keyof typeof Criticality];
799
+ interface ExceptionManagementList {
800
+ total: number;
801
+ data: Array<ExceptionManagementRow> | null;
802
+ }
769
803
 
770
804
  /**
771
805
  * MySeko.API.Client
@@ -776,86 +810,79 @@ type Criticality = typeof Criticality[keyof typeof Criticality];
776
810
  * https://openapi-generator.tech
777
811
  * Do not edit the class manually.
778
812
  */
779
-
780
- interface Exception {
781
- id: number;
813
+ interface ShipmentException {
814
+ exceptionLogID: number;
815
+ ordOrderID: string;
816
+ eventType?: string | null;
782
817
  sourceType?: string | null;
783
- sourceId?: string | null;
784
- exceptionType?: ExceptionType;
785
- status?: ExceptionStatus;
786
- criticality?: Criticality;
818
+ exceptionType?: string | null;
819
+ status?: string | null;
820
+ criticality?: string | null;
787
821
  reason?: string | null;
788
- }
789
- declare namespace Exception {
790
- }
791
-
792
- /**
793
- * MySeko.API.Client
794
- *
795
- *
796
- *
797
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
798
- * https://openapi-generator.tech
799
- * Do not edit the class manually.
800
- */
801
-
802
- interface Exceptions {
803
- total: number;
804
- data: Array<Exception>;
822
+ createdDateUtc: string;
823
+ lastUpdatedUtc: string;
805
824
  }
806
825
 
807
826
  declare class ExceptionsService extends BaseService {
808
827
  protected httpClient: HttpClient;
809
828
  constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
810
829
  /**
811
- * Get a specific exception by ID
812
- * @endpoint get /exceptions/{id}
813
- * @param id
830
+ * Get all shipment exceptions (exception management grid)
831
+ * @endpoint get /myseko/shipments/exceptions
832
+ * @param $skip
833
+ * @param $top
834
+ * @param $filter
835
+ * @param $orderby
836
+ * @param $select
837
+ * @param $expand
814
838
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
815
839
  * @param reportProgress flag to report request and response progress.
816
840
  * @param options additional options
817
841
  */
818
- getException(id: number, observe?: 'body', reportProgress?: boolean, options?: {
842
+ getShipmentExceptionManagement($skip?: number, $top?: number, $filter?: string, $orderby?: string, $select?: string, $expand?: string, observe?: 'body', reportProgress?: boolean, options?: {
819
843
  httpHeaderAccept?: 'application/json';
820
844
  context?: HttpContext;
821
845
  transferCache?: boolean;
822
- }): Observable<Exception>;
823
- getException(id: number, observe?: 'response', reportProgress?: boolean, options?: {
846
+ }): Observable<ExceptionManagementList>;
847
+ getShipmentExceptionManagement($skip?: number, $top?: number, $filter?: string, $orderby?: string, $select?: string, $expand?: string, observe?: 'response', reportProgress?: boolean, options?: {
824
848
  httpHeaderAccept?: 'application/json';
825
849
  context?: HttpContext;
826
850
  transferCache?: boolean;
827
- }): Observable<HttpResponse<Exception>>;
828
- getException(id: number, observe?: 'events', reportProgress?: boolean, options?: {
851
+ }): Observable<HttpResponse<ExceptionManagementList>>;
852
+ getShipmentExceptionManagement($skip?: number, $top?: number, $filter?: string, $orderby?: string, $select?: string, $expand?: string, observe?: 'events', reportProgress?: boolean, options?: {
829
853
  httpHeaderAccept?: 'application/json';
830
854
  context?: HttpContext;
831
855
  transferCache?: boolean;
832
- }): Observable<HttpEvent<Exception>>;
856
+ }): Observable<HttpEvent<ExceptionManagementList>>;
833
857
  /**
834
- * Get all exceptions
835
- * @endpoint get /exceptions
858
+ * Get exceptions for a specific shipment
859
+ * @endpoint get /myseko/shipments/{ordOrderID}/exceptions
860
+ * @param ordOrderID
836
861
  * @param $skip
837
862
  * @param $top
838
- * @param $orderby
839
863
  * @param $filter
864
+ * @param $orderby
865
+ * @param $select
866
+ * @param $expand
840
867
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
841
868
  * @param reportProgress flag to report request and response progress.
842
869
  * @param options additional options
843
870
  */
844
- getExceptions($skip?: number, $top?: number, $orderby?: string, $filter?: string, observe?: 'body', reportProgress?: boolean, options?: {
871
+ getShipmentExceptions(ordOrderID: string, $skip?: number, $top?: number, $filter?: string, $orderby?: string, $select?: string, $expand?: string, observe?: 'body', reportProgress?: boolean, options?: {
845
872
  httpHeaderAccept?: 'application/json';
846
873
  context?: HttpContext;
847
874
  transferCache?: boolean;
848
- }): Observable<Exceptions>;
849
- getExceptions($skip?: number, $top?: number, $orderby?: string, $filter?: string, observe?: 'response', reportProgress?: boolean, options?: {
875
+ }): Observable<Array<ShipmentException>>;
876
+ getShipmentExceptions(ordOrderID: string, $skip?: number, $top?: number, $filter?: string, $orderby?: string, $select?: string, $expand?: string, observe?: 'response', reportProgress?: boolean, options?: {
850
877
  httpHeaderAccept?: 'application/json';
851
878
  context?: HttpContext;
852
879
  transferCache?: boolean;
853
- }): Observable<HttpResponse<Exceptions>>;
854
- getExceptions($skip?: number, $top?: number, $orderby?: string, $filter?: string, observe?: 'events', reportProgress?: boolean, options?: {
880
+ }): Observable<HttpResponse<Array<ShipmentException>>>;
881
+ getShipmentExceptions(ordOrderID: string, $skip?: number, $top?: number, $filter?: string, $orderby?: string, $select?: string, $expand?: string, observe?: 'events', reportProgress?: boolean, options?: {
855
882
  httpHeaderAccept?: 'application/json';
856
883
  context?: HttpContext;
857
884
  transferCache?: boolean;
858
- }): Observable<HttpEvent<Exceptions>>;
885
+ }): Observable<HttpEvent<Array<ShipmentException>>>;
859
886
  static ɵfac: i0.ɵɵFactoryDeclaration<ExceptionsService, [null, { optional: true; }, { optional: true; }]>;
860
887
  static ɵprov: i0.ɵɵInjectableDeclaration<ExceptionsService>;
861
888
  }
@@ -1677,6 +1704,7 @@ interface Shipment {
1677
1704
  etd?: string | null;
1678
1705
  deliveryRequiredBy?: string | null;
1679
1706
  isActive?: boolean | null;
1707
+ isException?: boolean | null;
1680
1708
  }
1681
1709
 
1682
1710
  /**
@@ -2219,5 +2247,5 @@ declare class ApiModule {
2219
2247
 
2220
2248
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
2221
2249
 
2222
- export { APIS, AddDocumentRequest, ApiModule, AuthService, BASE_PATH, COLLECTION_FORMATS, CalendarService, CalendarViewBy, Configuration, Criticality, DashboardService, DocumentCategoryType, DocumentService, Exception, ExceptionStatus, ExceptionType, ExceptionsService, HealthService, SettingsService, ShipmentService, ShipmentStage, TimelineEvent, UserService, UsergroupService, provideApi };
2223
- export type { ActiveShipment, Address, BaseShipmentSummary, ConfigurationParameters, Contact, CreateIssueRequest, CreateIssueResponse, DataFormat, DataType, DeliveriesToday, Document, DocumentCategory, DocumentInfo, DocumentInfoList, EntityList, Exceptions, IntlInnerPieceDetail, IntlOuterPieceDetail, IntlPackageDetails, IntlShipmentSummary, Issue, IssueLog, IssueLogEntry, Issues, ModelError, PackageDetails, Param, ParamLocation, ParamStyle, RegGroup, SekonaPackageDetails, SekonaPieceDetail, SekonaShipmentSummary, SettingValue, SettingView, Shipment, ShipmentCalendarDateGroup, ShipmentCalendarDates, ShipmentCalendarItem, ShipmentContainer, ShipmentParty, ShipmentPurchaseOrder, ShipmentPurchaseOrderDetails, ShipmentRouting, ShipmentSummary, ShipmentTimeline, Shipments, StandardDataFormat, StandardDataType, StandardParamStyle, UpdateIssueRequest, User, UserAccount };
2250
+ export { APIS, AddDocumentRequest, ApiModule, AuthService, BASE_PATH, COLLECTION_FORMATS, CalendarService, CalendarViewBy, Configuration, DashboardService, DocumentCategoryType, DocumentService, ExceptionsService, HealthService, SettingsService, ShipmentService, ShipmentStage, TimelineEvent, UserService, UsergroupService, provideApi };
2251
+ export type { ActiveShipment, Address, BaseShipmentSummary, ConfigurationParameters, Contact, CreateIssueRequest, CreateIssueResponse, DataFormat, DataType, DeliveriesToday, Document, DocumentCategory, DocumentInfo, DocumentInfoList, EntityList, ExceptionManagementList, ExceptionManagementRow, IntlInnerPieceDetail, IntlOuterPieceDetail, IntlPackageDetails, IntlShipmentSummary, Issue, IssueLog, IssueLogEntry, Issues, ModelError, PackageDetails, Param, ParamLocation, ParamStyle, RegGroup, SekonaPackageDetails, SekonaPieceDetail, SekonaShipmentSummary, SettingValue, SettingView, Shipment, ShipmentCalendarDateGroup, ShipmentCalendarDates, ShipmentCalendarItem, ShipmentContainer, ShipmentException, ShipmentExceptionStats, ShipmentParty, ShipmentPurchaseOrder, ShipmentPurchaseOrderDetails, ShipmentRouting, ShipmentSummary, ShipmentTimeline, Shipments, StandardDataFormat, StandardDataType, StandardParamStyle, UpdateIssueRequest, User, UserAccount };