@indigina/myseko-api 0.0.29 → 0.0.30

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.29",
3
+ "version": "0.0.30",
4
4
  "description": "OpenAPI client for @indigina/myseko-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -705,6 +705,161 @@ declare class DocumentService extends BaseService {
705
705
  static ɵprov: i0.ɵɵInjectableDeclaration<DocumentService>;
706
706
  }
707
707
 
708
+ /**
709
+ * MySeko.API.Client
710
+ *
711
+ *
712
+ *
713
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
714
+ * https://openapi-generator.tech
715
+ * Do not edit the class manually.
716
+ */
717
+ /**
718
+ * Type of exception
719
+ */
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];
732
+
733
+ /**
734
+ * MySeko.API.Client
735
+ *
736
+ *
737
+ *
738
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
739
+ * https://openapi-generator.tech
740
+ * Do not edit the class manually.
741
+ */
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
+
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];
769
+
770
+ /**
771
+ * MySeko.API.Client
772
+ *
773
+ *
774
+ *
775
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
776
+ * https://openapi-generator.tech
777
+ * Do not edit the class manually.
778
+ */
779
+
780
+ interface Exception {
781
+ id: number;
782
+ sourceType?: string | null;
783
+ sourceId?: string | null;
784
+ exceptionType?: ExceptionType;
785
+ status?: ExceptionStatus;
786
+ criticality?: Criticality;
787
+ 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>;
805
+ }
806
+
807
+ declare class ExceptionsService extends BaseService {
808
+ protected httpClient: HttpClient;
809
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
810
+ /**
811
+ * Get a specific exception by ID
812
+ * @endpoint get /exceptions/{id}
813
+ * @param id
814
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
815
+ * @param reportProgress flag to report request and response progress.
816
+ * @param options additional options
817
+ */
818
+ getException(id: number, observe?: 'body', reportProgress?: boolean, options?: {
819
+ httpHeaderAccept?: 'application/json';
820
+ context?: HttpContext;
821
+ transferCache?: boolean;
822
+ }): Observable<Exception>;
823
+ getException(id: number, observe?: 'response', reportProgress?: boolean, options?: {
824
+ httpHeaderAccept?: 'application/json';
825
+ context?: HttpContext;
826
+ transferCache?: boolean;
827
+ }): Observable<HttpResponse<Exception>>;
828
+ getException(id: number, observe?: 'events', reportProgress?: boolean, options?: {
829
+ httpHeaderAccept?: 'application/json';
830
+ context?: HttpContext;
831
+ transferCache?: boolean;
832
+ }): Observable<HttpEvent<Exception>>;
833
+ /**
834
+ * Get all exceptions
835
+ * @endpoint get /exceptions
836
+ * @param $skip
837
+ * @param $top
838
+ * @param $orderby
839
+ * @param $filter
840
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
841
+ * @param reportProgress flag to report request and response progress.
842
+ * @param options additional options
843
+ */
844
+ getExceptions($skip?: number, $top?: number, $orderby?: string, $filter?: string, observe?: 'body', reportProgress?: boolean, options?: {
845
+ httpHeaderAccept?: 'application/json';
846
+ context?: HttpContext;
847
+ transferCache?: boolean;
848
+ }): Observable<Exceptions>;
849
+ getExceptions($skip?: number, $top?: number, $orderby?: string, $filter?: string, observe?: 'response', reportProgress?: boolean, options?: {
850
+ httpHeaderAccept?: 'application/json';
851
+ context?: HttpContext;
852
+ transferCache?: boolean;
853
+ }): Observable<HttpResponse<Exceptions>>;
854
+ getExceptions($skip?: number, $top?: number, $orderby?: string, $filter?: string, observe?: 'events', reportProgress?: boolean, options?: {
855
+ httpHeaderAccept?: 'application/json';
856
+ context?: HttpContext;
857
+ transferCache?: boolean;
858
+ }): Observable<HttpEvent<Exceptions>>;
859
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExceptionsService, [null, { optional: true; }, { optional: true; }]>;
860
+ static ɵprov: i0.ɵɵInjectableDeclaration<ExceptionsService>;
861
+ }
862
+
708
863
  declare class HealthService extends BaseService {
709
864
  protected httpClient: HttpClient;
710
865
  constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
@@ -1984,7 +2139,7 @@ declare class UsergroupService extends BaseService {
1984
2139
  static ɵprov: i0.ɵɵInjectableDeclaration<UsergroupService>;
1985
2140
  }
1986
2141
 
1987
- declare const APIS: (typeof AuthService | typeof CalendarService | typeof DashboardService | typeof DocumentService | typeof HealthService | typeof SettingsService | typeof ShipmentService | typeof UserService | typeof UsergroupService)[];
2142
+ declare const APIS: (typeof AuthService | typeof CalendarService | typeof DashboardService | typeof DocumentService | typeof ExceptionsService | typeof HealthService | typeof SettingsService | typeof ShipmentService | typeof UserService | typeof UsergroupService)[];
1988
2143
 
1989
2144
  /**
1990
2145
  * MySeko.API.Client
@@ -2064,5 +2219,5 @@ declare class ApiModule {
2064
2219
 
2065
2220
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
2066
2221
 
2067
- export { APIS, AddDocumentRequest, ApiModule, AuthService, BASE_PATH, COLLECTION_FORMATS, CalendarService, CalendarViewBy, Configuration, DashboardService, DocumentCategoryType, DocumentService, HealthService, SettingsService, ShipmentService, ShipmentStage, TimelineEvent, UserService, UsergroupService, provideApi };
2068
- export type { ActiveShipment, Address, BaseShipmentSummary, ConfigurationParameters, Contact, CreateIssueRequest, CreateIssueResponse, DataFormat, DataType, DeliveriesToday, Document, DocumentCategory, DocumentInfo, DocumentInfoList, EntityList, 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 };
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 };