@indigina/myseko-api 0.0.31 → 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.31",
3
+ "version": "0.0.32",
4
4
  "description": "OpenAPI client for @indigina/myseko-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -394,6 +394,28 @@ interface DeliveriesToday {
394
394
  deliveringThisWeek?: number;
395
395
  }
396
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
+
397
419
  declare class DashboardService extends BaseService {
398
420
  protected httpClient: HttpClient;
399
421
  constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
@@ -441,6 +463,28 @@ declare class DashboardService extends BaseService {
441
463
  context?: HttpContext;
442
464
  transferCache?: boolean;
443
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>>;
444
488
  static ɵfac: i0.ɵɵFactoryDeclaration<DashboardService, [null, { optional: true; }, { optional: true; }]>;
445
489
  static ɵprov: i0.ɵɵInjectableDeclaration<DashboardService>;
446
490
  }
@@ -717,20 +761,30 @@ declare class DocumentService extends BaseService {
717
761
  * Do not edit the class manually.
718
762
  */
719
763
  /**
720
- * Type of exception
764
+ * Grid row returned to the client by the Exception Management endpoint.
721
765
  */
722
- declare const ExceptionType: {
723
- readonly TransitDelay: "TransitDelay";
724
- readonly ArrivalOverdue: "ArrivalOverdue";
725
- readonly DeliveryOverdue: "DeliveryOverdue";
726
- readonly DeliveryAppointmentOverdue: "DeliveryAppointmentOverdue";
727
- readonly LateDelivery: "LateDelivery";
728
- readonly ConsigneeUnreachable: "ConsigneeUnreachable";
729
- readonly FailedDelivery: "FailedDelivery";
730
- readonly PartialDelivery: "PartialDelivery";
731
- readonly IncompletePod: "IncompletePOD";
732
- };
733
- 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
+ }
734
788
 
735
789
  /**
736
790
  * MySeko.API.Client
@@ -741,33 +795,11 @@ type ExceptionType = typeof ExceptionType[keyof typeof ExceptionType];
741
795
  * https://openapi-generator.tech
742
796
  * Do not edit the class manually.
743
797
  */
744
- /**
745
- * Status of exception
746
- */
747
- declare const ExceptionStatus: {
748
- readonly Active: "Active";
749
- readonly Closed: "Closed";
750
- };
751
- type ExceptionStatus = typeof ExceptionStatus[keyof typeof ExceptionStatus];
752
798
 
753
- /**
754
- * MySeko.API.Client
755
- *
756
- *
757
- *
758
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
759
- * https://openapi-generator.tech
760
- * Do not edit the class manually.
761
- */
762
- /**
763
- * Criticality level of exception
764
- */
765
- declare const Criticality: {
766
- readonly Low: "Low";
767
- readonly Medium: "Medium";
768
- readonly High: "High";
769
- };
770
- type Criticality = typeof Criticality[keyof typeof Criticality];
799
+ interface ExceptionManagementList {
800
+ total: number;
801
+ data: Array<ExceptionManagementRow> | null;
802
+ }
771
803
 
772
804
  /**
773
805
  * MySeko.API.Client
@@ -778,86 +810,79 @@ type Criticality = typeof Criticality[keyof typeof Criticality];
778
810
  * https://openapi-generator.tech
779
811
  * Do not edit the class manually.
780
812
  */
781
-
782
- interface Exception {
783
- id: number;
813
+ interface ShipmentException {
814
+ exceptionLogID: number;
815
+ ordOrderID: string;
816
+ eventType?: string | null;
784
817
  sourceType?: string | null;
785
- sourceId?: string | null;
786
- exceptionType?: ExceptionType;
787
- status?: ExceptionStatus;
788
- criticality?: Criticality;
818
+ exceptionType?: string | null;
819
+ status?: string | null;
820
+ criticality?: string | null;
789
821
  reason?: string | null;
790
- }
791
- declare namespace Exception {
792
- }
793
-
794
- /**
795
- * MySeko.API.Client
796
- *
797
- *
798
- *
799
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
800
- * https://openapi-generator.tech
801
- * Do not edit the class manually.
802
- */
803
-
804
- interface Exceptions {
805
- total: number;
806
- data: Array<Exception>;
822
+ createdDateUtc: string;
823
+ lastUpdatedUtc: string;
807
824
  }
808
825
 
809
826
  declare class ExceptionsService extends BaseService {
810
827
  protected httpClient: HttpClient;
811
828
  constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
812
829
  /**
813
- * Get a specific exception by ID
814
- * @endpoint get /exceptions/{id}
815
- * @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
816
838
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
817
839
  * @param reportProgress flag to report request and response progress.
818
840
  * @param options additional options
819
841
  */
820
- 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?: {
821
843
  httpHeaderAccept?: 'application/json';
822
844
  context?: HttpContext;
823
845
  transferCache?: boolean;
824
- }): Observable<Exception>;
825
- 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?: {
826
848
  httpHeaderAccept?: 'application/json';
827
849
  context?: HttpContext;
828
850
  transferCache?: boolean;
829
- }): Observable<HttpResponse<Exception>>;
830
- 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?: {
831
853
  httpHeaderAccept?: 'application/json';
832
854
  context?: HttpContext;
833
855
  transferCache?: boolean;
834
- }): Observable<HttpEvent<Exception>>;
856
+ }): Observable<HttpEvent<ExceptionManagementList>>;
835
857
  /**
836
- * Get all exceptions
837
- * @endpoint get /exceptions
858
+ * Get exceptions for a specific shipment
859
+ * @endpoint get /myseko/shipments/{ordOrderID}/exceptions
860
+ * @param ordOrderID
838
861
  * @param $skip
839
862
  * @param $top
840
- * @param $orderby
841
863
  * @param $filter
864
+ * @param $orderby
865
+ * @param $select
866
+ * @param $expand
842
867
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
843
868
  * @param reportProgress flag to report request and response progress.
844
869
  * @param options additional options
845
870
  */
846
- 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?: {
847
872
  httpHeaderAccept?: 'application/json';
848
873
  context?: HttpContext;
849
874
  transferCache?: boolean;
850
- }): Observable<Exceptions>;
851
- 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?: {
852
877
  httpHeaderAccept?: 'application/json';
853
878
  context?: HttpContext;
854
879
  transferCache?: boolean;
855
- }): Observable<HttpResponse<Exceptions>>;
856
- 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?: {
857
882
  httpHeaderAccept?: 'application/json';
858
883
  context?: HttpContext;
859
884
  transferCache?: boolean;
860
- }): Observable<HttpEvent<Exceptions>>;
885
+ }): Observable<HttpEvent<Array<ShipmentException>>>;
861
886
  static ɵfac: i0.ɵɵFactoryDeclaration<ExceptionsService, [null, { optional: true; }, { optional: true; }]>;
862
887
  static ɵprov: i0.ɵɵInjectableDeclaration<ExceptionsService>;
863
888
  }
@@ -1679,6 +1704,7 @@ interface Shipment {
1679
1704
  etd?: string | null;
1680
1705
  deliveryRequiredBy?: string | null;
1681
1706
  isActive?: boolean | null;
1707
+ isException?: boolean | null;
1682
1708
  }
1683
1709
 
1684
1710
  /**
@@ -2221,5 +2247,5 @@ declare class ApiModule {
2221
2247
 
2222
2248
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
2223
2249
 
2224
- 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 };
2225
- 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 };