@indigina/myseko-api 0.0.31 → 0.0.33

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.33",
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
  }
@@ -779,16 +823,29 @@ type Criticality = typeof Criticality[keyof typeof Criticality];
779
823
  * Do not edit the class manually.
780
824
  */
781
825
 
782
- interface Exception {
783
- id: number;
784
- sourceType?: string | null;
785
- sourceId?: string | null;
786
- exceptionType?: ExceptionType;
787
- status?: ExceptionStatus;
788
- criticality?: Criticality;
789
- reason?: string | null;
826
+ /**
827
+ * Grid row returned to the client by the Exception Management endpoint.
828
+ */
829
+ interface ExceptionManagementRow {
830
+ exceptionServiceLogID: number;
831
+ ordOrderID: string;
832
+ number?: string | null;
833
+ status?: string | null;
834
+ serviceLevel?: string | null;
835
+ origin?: string | null;
836
+ destination?: string | null;
837
+ shipName?: string | null;
838
+ consName?: string | null;
839
+ exceptionType?: ExceptionType | null;
840
+ exceptionStatus?: ExceptionStatus | null;
841
+ criticality?: Criticality | null;
842
+ plannedDate?: string | null;
843
+ latestProjectedDate?: string | null;
844
+ description?: string | null;
845
+ createdDateUtc: string;
846
+ lastUpdatedUtc: string;
790
847
  }
791
- declare namespace Exception {
848
+ declare namespace ExceptionManagementRow {
792
849
  }
793
850
 
794
851
  /**
@@ -801,63 +858,101 @@ declare namespace Exception {
801
858
  * Do not edit the class manually.
802
859
  */
803
860
 
804
- interface Exceptions {
861
+ interface ExceptionManagementList {
805
862
  total: number;
806
- data: Array<Exception>;
863
+ data: Array<ExceptionManagementRow> | null;
864
+ }
865
+
866
+ /**
867
+ * MySeko.API.Client
868
+ *
869
+ *
870
+ *
871
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
872
+ * https://openapi-generator.tech
873
+ * Do not edit the class manually.
874
+ */
875
+
876
+ /**
877
+ * Represents a single ExceptionLog row returned for a specific shipment order.
878
+ */
879
+ interface ShipmentException {
880
+ exceptionServiceLogID: number;
881
+ ordOrderID: string;
882
+ sourceType?: string | null;
883
+ exceptionType?: ExceptionType | null;
884
+ exceptionStatus?: ExceptionStatus | null;
885
+ criticality?: Criticality | null;
886
+ /**
887
+ * Formerly Reason.
888
+ */
889
+ description?: string | null;
890
+ createdDateUtc: string;
891
+ lastUpdatedUtc: string;
892
+ }
893
+ declare namespace ShipmentException {
807
894
  }
808
895
 
809
896
  declare class ExceptionsService extends BaseService {
810
897
  protected httpClient: HttpClient;
811
898
  constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
812
899
  /**
813
- * Get a specific exception by ID
814
- * @endpoint get /exceptions/{id}
815
- * @param id
900
+ * Get all shipment exceptions (exception management grid)
901
+ * @endpoint get /myseko/shipments/exceptions
902
+ * @param $skip
903
+ * @param $top
904
+ * @param $filter
905
+ * @param $orderby
906
+ * @param $select
907
+ * @param $expand
816
908
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
817
909
  * @param reportProgress flag to report request and response progress.
818
910
  * @param options additional options
819
911
  */
820
- getException(id: number, observe?: 'body', reportProgress?: boolean, options?: {
912
+ getShipmentExceptionManagement($skip?: number, $top?: number, $filter?: string, $orderby?: string, $select?: string, $expand?: string, observe?: 'body', reportProgress?: boolean, options?: {
821
913
  httpHeaderAccept?: 'application/json';
822
914
  context?: HttpContext;
823
915
  transferCache?: boolean;
824
- }): Observable<Exception>;
825
- getException(id: number, observe?: 'response', reportProgress?: boolean, options?: {
916
+ }): Observable<ExceptionManagementList>;
917
+ getShipmentExceptionManagement($skip?: number, $top?: number, $filter?: string, $orderby?: string, $select?: string, $expand?: string, observe?: 'response', reportProgress?: boolean, options?: {
826
918
  httpHeaderAccept?: 'application/json';
827
919
  context?: HttpContext;
828
920
  transferCache?: boolean;
829
- }): Observable<HttpResponse<Exception>>;
830
- getException(id: number, observe?: 'events', reportProgress?: boolean, options?: {
921
+ }): Observable<HttpResponse<ExceptionManagementList>>;
922
+ getShipmentExceptionManagement($skip?: number, $top?: number, $filter?: string, $orderby?: string, $select?: string, $expand?: string, observe?: 'events', reportProgress?: boolean, options?: {
831
923
  httpHeaderAccept?: 'application/json';
832
924
  context?: HttpContext;
833
925
  transferCache?: boolean;
834
- }): Observable<HttpEvent<Exception>>;
926
+ }): Observable<HttpEvent<ExceptionManagementList>>;
835
927
  /**
836
- * Get all exceptions
837
- * @endpoint get /exceptions
928
+ * Get exceptions for a specific shipment
929
+ * @endpoint get /myseko/shipments/{ordOrderID}/exceptions
930
+ * @param ordOrderID
838
931
  * @param $skip
839
932
  * @param $top
840
- * @param $orderby
841
933
  * @param $filter
934
+ * @param $orderby
935
+ * @param $select
936
+ * @param $expand
842
937
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
843
938
  * @param reportProgress flag to report request and response progress.
844
939
  * @param options additional options
845
940
  */
846
- getExceptions($skip?: number, $top?: number, $orderby?: string, $filter?: string, observe?: 'body', reportProgress?: boolean, options?: {
941
+ getShipmentExceptions(ordOrderID: string, $skip?: number, $top?: number, $filter?: string, $orderby?: string, $select?: string, $expand?: string, observe?: 'body', reportProgress?: boolean, options?: {
847
942
  httpHeaderAccept?: 'application/json';
848
943
  context?: HttpContext;
849
944
  transferCache?: boolean;
850
- }): Observable<Exceptions>;
851
- getExceptions($skip?: number, $top?: number, $orderby?: string, $filter?: string, observe?: 'response', reportProgress?: boolean, options?: {
945
+ }): Observable<Array<ShipmentException>>;
946
+ getShipmentExceptions(ordOrderID: string, $skip?: number, $top?: number, $filter?: string, $orderby?: string, $select?: string, $expand?: string, observe?: 'response', reportProgress?: boolean, options?: {
852
947
  httpHeaderAccept?: 'application/json';
853
948
  context?: HttpContext;
854
949
  transferCache?: boolean;
855
- }): Observable<HttpResponse<Exceptions>>;
856
- getExceptions($skip?: number, $top?: number, $orderby?: string, $filter?: string, observe?: 'events', reportProgress?: boolean, options?: {
950
+ }): Observable<HttpResponse<Array<ShipmentException>>>;
951
+ getShipmentExceptions(ordOrderID: string, $skip?: number, $top?: number, $filter?: string, $orderby?: string, $select?: string, $expand?: string, observe?: 'events', reportProgress?: boolean, options?: {
857
952
  httpHeaderAccept?: 'application/json';
858
953
  context?: HttpContext;
859
954
  transferCache?: boolean;
860
- }): Observable<HttpEvent<Exceptions>>;
955
+ }): Observable<HttpEvent<Array<ShipmentException>>>;
861
956
  static ɵfac: i0.ɵɵFactoryDeclaration<ExceptionsService, [null, { optional: true; }, { optional: true; }]>;
862
957
  static ɵprov: i0.ɵɵInjectableDeclaration<ExceptionsService>;
863
958
  }
@@ -1679,6 +1774,7 @@ interface Shipment {
1679
1774
  etd?: string | null;
1680
1775
  deliveryRequiredBy?: string | null;
1681
1776
  isActive?: boolean | null;
1777
+ isException?: boolean | null;
1682
1778
  }
1683
1779
 
1684
1780
  /**
@@ -2221,5 +2317,5 @@ declare class ApiModule {
2221
2317
 
2222
2318
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
2223
2319
 
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 };
2320
+ export { APIS, AddDocumentRequest, ApiModule, AuthService, BASE_PATH, COLLECTION_FORMATS, CalendarService, CalendarViewBy, Configuration, Criticality, DashboardService, DocumentCategoryType, DocumentService, ExceptionManagementRow, ExceptionStatus, ExceptionType, ExceptionsService, HealthService, SettingsService, ShipmentException, ShipmentService, ShipmentStage, TimelineEvent, UserService, UsergroupService, provideApi };
2321
+ export type { ActiveShipment, Address, BaseShipmentSummary, ConfigurationParameters, Contact, CreateIssueRequest, CreateIssueResponse, DataFormat, DataType, DeliveriesToday, Document, DocumentCategory, DocumentInfo, DocumentInfoList, EntityList, ExceptionManagementList, IntlInnerPieceDetail, IntlOuterPieceDetail, IntlPackageDetails, IntlShipmentSummary, Issue, IssueLog, IssueLogEntry, Issues, ModelError, PackageDetails, Param, ParamLocation, ParamStyle, RegGroup, SekonaPackageDetails, SekonaPieceDetail, SekonaShipmentSummary, SettingValue, SettingView, Shipment, ShipmentCalendarDateGroup, ShipmentCalendarDates, ShipmentCalendarItem, ShipmentContainer, ShipmentExceptionStats, ShipmentParty, ShipmentPurchaseOrder, ShipmentPurchaseOrderDetails, ShipmentRouting, ShipmentSummary, ShipmentTimeline, Shipments, StandardDataFormat, StandardDataType, StandardParamStyle, UpdateIssueRequest, User, UserAccount };