@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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @indigina/myseko-api@0.0.31
1
+ # @indigina/myseko-api@0.0.33
2
2
 
3
3
  MySeko API Client for Angular applications
4
4
 
@@ -24,7 +24,7 @@ Navigate to the folder of your consuming project and run one of next commands.
24
24
  _published:_
25
25
 
26
26
  ```console
27
- npm install @indigina/myseko-api@0.0.31 --save
27
+ npm install @indigina/myseko-api@0.0.33 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -632,6 +632,40 @@ class DashboardService extends BaseService {
632
632
  reportProgress: reportProgress
633
633
  });
634
634
  }
635
+ getShipmentExceptionStats(observe = 'body', reportProgress = false, options) {
636
+ let localVarHeaders = this.defaultHeaders;
637
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
638
+ 'application/json'
639
+ ]);
640
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
641
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
642
+ }
643
+ const localVarHttpContext = options?.context ?? new HttpContext();
644
+ const localVarTransferCache = options?.transferCache ?? true;
645
+ let responseType_ = 'json';
646
+ if (localVarHttpHeaderAcceptSelected) {
647
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
648
+ responseType_ = 'text';
649
+ }
650
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
651
+ responseType_ = 'json';
652
+ }
653
+ else {
654
+ responseType_ = 'blob';
655
+ }
656
+ }
657
+ let localVarPath = `/myseko/dashboard/shipments-exceptions`;
658
+ const { basePath, withCredentials } = this.configuration;
659
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
660
+ context: localVarHttpContext,
661
+ responseType: responseType_,
662
+ ...(withCredentials ? { withCredentials } : {}),
663
+ headers: localVarHeaders,
664
+ observe: observe,
665
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
666
+ reportProgress: reportProgress
667
+ });
668
+ }
635
669
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DashboardService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
636
670
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DashboardService, providedIn: 'root' });
637
671
  }
@@ -856,10 +890,14 @@ class ExceptionsService extends BaseService {
856
890
  super(basePath, configuration);
857
891
  this.httpClient = httpClient;
858
892
  }
859
- getException(id, observe = 'body', reportProgress = false, options) {
860
- if (id === null || id === undefined) {
861
- throw new Error('Required parameter id was null or undefined when calling getException.');
862
- }
893
+ getShipmentExceptionManagement($skip, $top, $filter, $orderby, $select, $expand, observe = 'body', reportProgress = false, options) {
894
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
895
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
896
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
897
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
898
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
899
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$select', $select, QueryParamStyle.Form, true);
900
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$expand', $expand, QueryParamStyle.Form, true);
863
901
  let localVarHeaders = this.defaultHeaders;
864
902
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
865
903
  'application/json'
@@ -881,10 +919,11 @@ class ExceptionsService extends BaseService {
881
919
  responseType_ = 'blob';
882
920
  }
883
921
  }
884
- let localVarPath = `/exceptions/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
922
+ let localVarPath = `/myseko/shipments/exceptions`;
885
923
  const { basePath, withCredentials } = this.configuration;
886
924
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
887
925
  context: localVarHttpContext,
926
+ params: localVarQueryParameters.toHttpParams(),
888
927
  responseType: responseType_,
889
928
  ...(withCredentials ? { withCredentials } : {}),
890
929
  headers: localVarHeaders,
@@ -893,12 +932,17 @@ class ExceptionsService extends BaseService {
893
932
  reportProgress: reportProgress
894
933
  });
895
934
  }
896
- getExceptions($skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
935
+ getShipmentExceptions(ordOrderID, $skip, $top, $filter, $orderby, $select, $expand, observe = 'body', reportProgress = false, options) {
936
+ if (ordOrderID === null || ordOrderID === undefined) {
937
+ throw new Error('Required parameter ordOrderID was null or undefined when calling getShipmentExceptions.');
938
+ }
897
939
  let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
898
940
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
899
941
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
900
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
901
942
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
943
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
944
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$select', $select, QueryParamStyle.Form, true);
945
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$expand', $expand, QueryParamStyle.Form, true);
902
946
  let localVarHeaders = this.defaultHeaders;
903
947
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
904
948
  'application/json'
@@ -920,7 +964,7 @@ class ExceptionsService extends BaseService {
920
964
  responseType_ = 'blob';
921
965
  }
922
966
  }
923
- let localVarPath = `/exceptions`;
967
+ let localVarPath = `/myseko/shipments/${this.configuration.encodeParam({ name: "ordOrderID", value: ordOrderID, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/exceptions`;
924
968
  const { basePath, withCredentials } = this.configuration;
925
969
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
926
970
  context: localVarHttpContext,
@@ -2357,6 +2401,16 @@ const ExceptionType = {
2357
2401
  * Do not edit the class manually.
2358
2402
  */
2359
2403
 
2404
+ /**
2405
+ * MySeko.API.Client
2406
+ *
2407
+ *
2408
+ *
2409
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2410
+ * https://openapi-generator.tech
2411
+ * Do not edit the class manually.
2412
+ */
2413
+
2360
2414
  /**
2361
2415
  * MySeko.API.Client
2362
2416
  *