@indigina/wms-api 0.0.36 → 0.0.38
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 +35 -27
- package/api/api.d.ts +9 -1
- package/api/companies.service.d.ts +63 -0
- package/api/deliveries.service.d.ts +69 -0
- package/api/deliveryItems.service.d.ts +43 -0
- package/api/notes.service.d.ts +96 -0
- package/fesm2022/indigina-wms-api.mjs +1018 -67
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/model/applicationSetting.d.ts +0 -1
- package/model/commandStatusResult.d.ts +0 -1
- package/model/companies.d.ts +14 -0
- package/model/company.d.ts +14 -0
- package/model/countingSummary.d.ts +0 -1
- package/model/currentUser.d.ts +0 -1
- package/model/deliveries.d.ts +14 -0
- package/model/deliveryItemView.d.ts +23 -0
- package/model/deliveryItems.d.ts +14 -0
- package/model/deliveryType.d.ts +17 -0
- package/model/deliveryView.d.ts +42 -0
- package/model/dispatchSummary.d.ts +0 -1
- package/model/embedReport.d.ts +0 -1
- package/model/embedTokenDto.d.ts +0 -1
- package/model/entityList.d.ts +13 -0
- package/model/failures.d.ts +0 -1
- package/model/group.d.ts +0 -1
- package/model/modelError.d.ts +0 -1
- package/model/models.d.ts +15 -0
- package/model/note.d.ts +20 -0
- package/model/noteCategory.d.ts +16 -0
- package/model/noteSourceType.d.ts +14 -0
- package/model/noteView.d.ts +16 -0
- package/model/notes.d.ts +14 -0
- package/model/orderStatus.d.ts +30 -0
- package/model/receivingSummary.d.ts +0 -1
- package/model/recordType.d.ts +14 -0
- package/model/replenishmentSummary.d.ts +0 -1
- package/model/report.d.ts +0 -1
- package/model/setNewFeaturesVisibilityCommand.d.ts +0 -1
- package/model/summaryDashboardReports.d.ts +0 -1
- package/model/userApplication.d.ts +0 -1
- package/model/userApplications.d.ts +0 -1
- package/model/userPermissions.d.ts +0 -1
- package/package.json +2 -4
- package/esm2022/api/analytics.service.mjs +0 -570
- package/esm2022/api/api.mjs +0 -14
- package/esm2022/api/dcs.service.mjs +0 -274
- package/esm2022/api/health.service.mjs +0 -143
- package/esm2022/api/permissions.service.mjs +0 -142
- package/esm2022/api/summary.service.mjs +0 -142
- package/esm2022/api/user.service.mjs +0 -286
- package/esm2022/api.module.mjs +0 -40
- package/esm2022/configuration.mjs +0 -121
- package/esm2022/encoder.mjs +0 -19
- package/esm2022/index.mjs +0 -7
- package/esm2022/indigina-wms-api.mjs +0 -5
- package/esm2022/model/applicationSetting.mjs +0 -12
- package/esm2022/model/commandStatusResult.mjs +0 -12
- package/esm2022/model/countingSummary.mjs +0 -12
- package/esm2022/model/currentUser.mjs +0 -12
- package/esm2022/model/dispatchSummary.mjs +0 -12
- package/esm2022/model/embedReport.mjs +0 -2
- package/esm2022/model/embedTokenDto.mjs +0 -12
- package/esm2022/model/failures.mjs +0 -12
- package/esm2022/model/group.mjs +0 -2
- package/esm2022/model/modelError.mjs +0 -2
- package/esm2022/model/models.mjs +0 -19
- package/esm2022/model/receivingSummary.mjs +0 -12
- package/esm2022/model/replenishmentSummary.mjs +0 -12
- package/esm2022/model/report.mjs +0 -12
- package/esm2022/model/setNewFeaturesVisibilityCommand.mjs +0 -12
- package/esm2022/model/summaryDashboardReports.mjs +0 -2
- package/esm2022/model/userApplication.mjs +0 -12
- package/esm2022/model/userApplications.mjs +0 -2
- package/esm2022/model/userPermissions.mjs +0 -12
- package/esm2022/param.mjs +0 -2
- package/esm2022/variables.mjs +0 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken,
|
|
2
|
+
import { InjectionToken, Optional, Inject, Injectable, SkipSelf, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common/http';
|
|
4
4
|
import { HttpHeaders, HttpContext, HttpParams } from '@angular/common/http';
|
|
5
5
|
|
|
@@ -153,7 +153,6 @@ class Configuration {
|
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
155
|
* Wms.API.Client
|
|
156
|
-
* WMS API Client for Angular applications
|
|
157
156
|
*
|
|
158
157
|
*
|
|
159
158
|
*
|
|
@@ -695,10 +694,206 @@ class AnalyticsService {
|
|
|
695
694
|
reportProgress: reportProgress
|
|
696
695
|
});
|
|
697
696
|
}
|
|
698
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
699
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
697
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: AnalyticsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
698
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: AnalyticsService, providedIn: 'root' });
|
|
700
699
|
}
|
|
701
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
700
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: AnalyticsService, decorators: [{
|
|
701
|
+
type: Injectable,
|
|
702
|
+
args: [{
|
|
703
|
+
providedIn: 'root'
|
|
704
|
+
}]
|
|
705
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
706
|
+
type: Optional
|
|
707
|
+
}, {
|
|
708
|
+
type: Inject,
|
|
709
|
+
args: [BASE_PATH]
|
|
710
|
+
}] }, { type: Configuration, decorators: [{
|
|
711
|
+
type: Optional
|
|
712
|
+
}] }] });
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* Wms.API.Client
|
|
716
|
+
*
|
|
717
|
+
*
|
|
718
|
+
*
|
|
719
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
720
|
+
* https://openapi-generator.tech
|
|
721
|
+
* Do not edit the class manually.
|
|
722
|
+
*/
|
|
723
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
724
|
+
class CompaniesService {
|
|
725
|
+
httpClient;
|
|
726
|
+
basePath = 'http://localhost';
|
|
727
|
+
defaultHeaders = new HttpHeaders();
|
|
728
|
+
configuration = new Configuration();
|
|
729
|
+
encoder;
|
|
730
|
+
constructor(httpClient, basePath, configuration) {
|
|
731
|
+
this.httpClient = httpClient;
|
|
732
|
+
if (configuration) {
|
|
733
|
+
this.configuration = configuration;
|
|
734
|
+
}
|
|
735
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
736
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
737
|
+
if (firstBasePath != undefined) {
|
|
738
|
+
basePath = firstBasePath;
|
|
739
|
+
}
|
|
740
|
+
if (typeof basePath !== 'string') {
|
|
741
|
+
basePath = this.basePath;
|
|
742
|
+
}
|
|
743
|
+
this.configuration.basePath = basePath;
|
|
744
|
+
}
|
|
745
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
746
|
+
}
|
|
747
|
+
// @ts-ignore
|
|
748
|
+
addToHttpParams(httpParams, value, key) {
|
|
749
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
750
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
751
|
+
}
|
|
752
|
+
else {
|
|
753
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
754
|
+
}
|
|
755
|
+
return httpParams;
|
|
756
|
+
}
|
|
757
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
758
|
+
if (value == null) {
|
|
759
|
+
return httpParams;
|
|
760
|
+
}
|
|
761
|
+
if (typeof value === "object") {
|
|
762
|
+
if (Array.isArray(value)) {
|
|
763
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
764
|
+
}
|
|
765
|
+
else if (value instanceof Date) {
|
|
766
|
+
if (key != null) {
|
|
767
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
768
|
+
}
|
|
769
|
+
else {
|
|
770
|
+
throw Error("key may not be null if value is Date");
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
else {
|
|
774
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
else if (key != null) {
|
|
778
|
+
httpParams = httpParams.append(key, value);
|
|
779
|
+
}
|
|
780
|
+
else {
|
|
781
|
+
throw Error("key may not be null if value is not object or array");
|
|
782
|
+
}
|
|
783
|
+
return httpParams;
|
|
784
|
+
}
|
|
785
|
+
getClients($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
786
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
787
|
+
if ($skip !== undefined && $skip !== null) {
|
|
788
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
789
|
+
}
|
|
790
|
+
if ($top !== undefined && $top !== null) {
|
|
791
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
792
|
+
}
|
|
793
|
+
if ($orderby !== undefined && $orderby !== null) {
|
|
794
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
795
|
+
}
|
|
796
|
+
if ($filter !== undefined && $filter !== null) {
|
|
797
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
798
|
+
}
|
|
799
|
+
if ($search !== undefined && $search !== null) {
|
|
800
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
801
|
+
}
|
|
802
|
+
let localVarHeaders = this.defaultHeaders;
|
|
803
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
804
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
805
|
+
// to determine the Accept header
|
|
806
|
+
const httpHeaderAccepts = [
|
|
807
|
+
'application/json'
|
|
808
|
+
];
|
|
809
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
810
|
+
}
|
|
811
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
812
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
813
|
+
}
|
|
814
|
+
let localVarHttpContext = options && options.context;
|
|
815
|
+
if (localVarHttpContext === undefined) {
|
|
816
|
+
localVarHttpContext = new HttpContext();
|
|
817
|
+
}
|
|
818
|
+
let localVarTransferCache = options && options.transferCache;
|
|
819
|
+
if (localVarTransferCache === undefined) {
|
|
820
|
+
localVarTransferCache = true;
|
|
821
|
+
}
|
|
822
|
+
let responseType_ = 'json';
|
|
823
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
824
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
825
|
+
responseType_ = 'text';
|
|
826
|
+
}
|
|
827
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
828
|
+
responseType_ = 'json';
|
|
829
|
+
}
|
|
830
|
+
else {
|
|
831
|
+
responseType_ = 'blob';
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
let localVarPath = `/companies/clients`;
|
|
835
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
836
|
+
context: localVarHttpContext,
|
|
837
|
+
params: localVarQueryParameters,
|
|
838
|
+
responseType: responseType_,
|
|
839
|
+
withCredentials: this.configuration.withCredentials,
|
|
840
|
+
headers: localVarHeaders,
|
|
841
|
+
observe: observe,
|
|
842
|
+
transferCache: localVarTransferCache,
|
|
843
|
+
reportProgress: reportProgress
|
|
844
|
+
});
|
|
845
|
+
}
|
|
846
|
+
getSuppliers(id, observe = 'body', reportProgress = false, options) {
|
|
847
|
+
if (id === null || id === undefined) {
|
|
848
|
+
throw new Error('Required parameter id was null or undefined when calling getSuppliers.');
|
|
849
|
+
}
|
|
850
|
+
let localVarHeaders = this.defaultHeaders;
|
|
851
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
852
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
853
|
+
// to determine the Accept header
|
|
854
|
+
const httpHeaderAccepts = [
|
|
855
|
+
'application/json'
|
|
856
|
+
];
|
|
857
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
858
|
+
}
|
|
859
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
860
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
861
|
+
}
|
|
862
|
+
let localVarHttpContext = options && options.context;
|
|
863
|
+
if (localVarHttpContext === undefined) {
|
|
864
|
+
localVarHttpContext = new HttpContext();
|
|
865
|
+
}
|
|
866
|
+
let localVarTransferCache = options && options.transferCache;
|
|
867
|
+
if (localVarTransferCache === undefined) {
|
|
868
|
+
localVarTransferCache = true;
|
|
869
|
+
}
|
|
870
|
+
let responseType_ = 'json';
|
|
871
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
872
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
873
|
+
responseType_ = 'text';
|
|
874
|
+
}
|
|
875
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
876
|
+
responseType_ = 'json';
|
|
877
|
+
}
|
|
878
|
+
else {
|
|
879
|
+
responseType_ = 'blob';
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
let localVarPath = `/companies/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/suppliers`;
|
|
883
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
884
|
+
context: localVarHttpContext,
|
|
885
|
+
responseType: responseType_,
|
|
886
|
+
withCredentials: this.configuration.withCredentials,
|
|
887
|
+
headers: localVarHeaders,
|
|
888
|
+
observe: observe,
|
|
889
|
+
transferCache: localVarTransferCache,
|
|
890
|
+
reportProgress: reportProgress
|
|
891
|
+
});
|
|
892
|
+
}
|
|
893
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: CompaniesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
894
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: CompaniesService, providedIn: 'root' });
|
|
895
|
+
}
|
|
896
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: CompaniesService, decorators: [{
|
|
702
897
|
type: Injectable,
|
|
703
898
|
args: [{
|
|
704
899
|
providedIn: 'root'
|
|
@@ -714,7 +909,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
|
|
|
714
909
|
|
|
715
910
|
/**
|
|
716
911
|
* Wms.API.Client
|
|
717
|
-
* WMS API Client for Angular applications
|
|
718
912
|
*
|
|
719
913
|
*
|
|
720
914
|
*
|
|
@@ -893,35 +1087,533 @@ class DcsService {
|
|
|
893
1087
|
if (localVarTransferCache === undefined) {
|
|
894
1088
|
localVarTransferCache = true;
|
|
895
1089
|
}
|
|
896
|
-
let responseType_ = 'json';
|
|
897
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
898
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
899
|
-
responseType_ = 'text';
|
|
1090
|
+
let responseType_ = 'json';
|
|
1091
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1092
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1093
|
+
responseType_ = 'text';
|
|
1094
|
+
}
|
|
1095
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1096
|
+
responseType_ = 'json';
|
|
1097
|
+
}
|
|
1098
|
+
else {
|
|
1099
|
+
responseType_ = 'blob';
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
let localVarPath = `/dcs/receiving/summary`;
|
|
1103
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1104
|
+
context: localVarHttpContext,
|
|
1105
|
+
responseType: responseType_,
|
|
1106
|
+
withCredentials: this.configuration.withCredentials,
|
|
1107
|
+
headers: localVarHeaders,
|
|
1108
|
+
observe: observe,
|
|
1109
|
+
transferCache: localVarTransferCache,
|
|
1110
|
+
reportProgress: reportProgress
|
|
1111
|
+
});
|
|
1112
|
+
}
|
|
1113
|
+
getReplenishmentSummary(observe = 'body', reportProgress = false, options) {
|
|
1114
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1115
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1116
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1117
|
+
// to determine the Accept header
|
|
1118
|
+
const httpHeaderAccepts = [
|
|
1119
|
+
'application/json'
|
|
1120
|
+
];
|
|
1121
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1122
|
+
}
|
|
1123
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1124
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1125
|
+
}
|
|
1126
|
+
let localVarHttpContext = options && options.context;
|
|
1127
|
+
if (localVarHttpContext === undefined) {
|
|
1128
|
+
localVarHttpContext = new HttpContext();
|
|
1129
|
+
}
|
|
1130
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1131
|
+
if (localVarTransferCache === undefined) {
|
|
1132
|
+
localVarTransferCache = true;
|
|
1133
|
+
}
|
|
1134
|
+
let responseType_ = 'json';
|
|
1135
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1136
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1137
|
+
responseType_ = 'text';
|
|
1138
|
+
}
|
|
1139
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1140
|
+
responseType_ = 'json';
|
|
1141
|
+
}
|
|
1142
|
+
else {
|
|
1143
|
+
responseType_ = 'blob';
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
let localVarPath = `/dcs/replenishment/summary`;
|
|
1147
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1148
|
+
context: localVarHttpContext,
|
|
1149
|
+
responseType: responseType_,
|
|
1150
|
+
withCredentials: this.configuration.withCredentials,
|
|
1151
|
+
headers: localVarHeaders,
|
|
1152
|
+
observe: observe,
|
|
1153
|
+
transferCache: localVarTransferCache,
|
|
1154
|
+
reportProgress: reportProgress
|
|
1155
|
+
});
|
|
1156
|
+
}
|
|
1157
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DcsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1158
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DcsService, providedIn: 'root' });
|
|
1159
|
+
}
|
|
1160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DcsService, decorators: [{
|
|
1161
|
+
type: Injectable,
|
|
1162
|
+
args: [{
|
|
1163
|
+
providedIn: 'root'
|
|
1164
|
+
}]
|
|
1165
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1166
|
+
type: Optional
|
|
1167
|
+
}, {
|
|
1168
|
+
type: Inject,
|
|
1169
|
+
args: [BASE_PATH]
|
|
1170
|
+
}] }, { type: Configuration, decorators: [{
|
|
1171
|
+
type: Optional
|
|
1172
|
+
}] }] });
|
|
1173
|
+
|
|
1174
|
+
/**
|
|
1175
|
+
* Wms.API.Client
|
|
1176
|
+
*
|
|
1177
|
+
*
|
|
1178
|
+
*
|
|
1179
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1180
|
+
* https://openapi-generator.tech
|
|
1181
|
+
* Do not edit the class manually.
|
|
1182
|
+
*/
|
|
1183
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1184
|
+
class DeliveriesService {
|
|
1185
|
+
httpClient;
|
|
1186
|
+
basePath = 'http://localhost';
|
|
1187
|
+
defaultHeaders = new HttpHeaders();
|
|
1188
|
+
configuration = new Configuration();
|
|
1189
|
+
encoder;
|
|
1190
|
+
constructor(httpClient, basePath, configuration) {
|
|
1191
|
+
this.httpClient = httpClient;
|
|
1192
|
+
if (configuration) {
|
|
1193
|
+
this.configuration = configuration;
|
|
1194
|
+
}
|
|
1195
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
1196
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
1197
|
+
if (firstBasePath != undefined) {
|
|
1198
|
+
basePath = firstBasePath;
|
|
1199
|
+
}
|
|
1200
|
+
if (typeof basePath !== 'string') {
|
|
1201
|
+
basePath = this.basePath;
|
|
1202
|
+
}
|
|
1203
|
+
this.configuration.basePath = basePath;
|
|
1204
|
+
}
|
|
1205
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
1206
|
+
}
|
|
1207
|
+
// @ts-ignore
|
|
1208
|
+
addToHttpParams(httpParams, value, key) {
|
|
1209
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
1210
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
1211
|
+
}
|
|
1212
|
+
else {
|
|
1213
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
1214
|
+
}
|
|
1215
|
+
return httpParams;
|
|
1216
|
+
}
|
|
1217
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
1218
|
+
if (value == null) {
|
|
1219
|
+
return httpParams;
|
|
1220
|
+
}
|
|
1221
|
+
if (typeof value === "object") {
|
|
1222
|
+
if (Array.isArray(value)) {
|
|
1223
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
1224
|
+
}
|
|
1225
|
+
else if (value instanceof Date) {
|
|
1226
|
+
if (key != null) {
|
|
1227
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
1228
|
+
}
|
|
1229
|
+
else {
|
|
1230
|
+
throw Error("key may not be null if value is Date");
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
else {
|
|
1234
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
else if (key != null) {
|
|
1238
|
+
httpParams = httpParams.append(key, value);
|
|
1239
|
+
}
|
|
1240
|
+
else {
|
|
1241
|
+
throw Error("key may not be null if value is not object or array");
|
|
1242
|
+
}
|
|
1243
|
+
return httpParams;
|
|
1244
|
+
}
|
|
1245
|
+
getDeliveries($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
1246
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1247
|
+
if ($skip !== undefined && $skip !== null) {
|
|
1248
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
1249
|
+
}
|
|
1250
|
+
if ($top !== undefined && $top !== null) {
|
|
1251
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
1252
|
+
}
|
|
1253
|
+
if ($orderby !== undefined && $orderby !== null) {
|
|
1254
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
1255
|
+
}
|
|
1256
|
+
if ($filter !== undefined && $filter !== null) {
|
|
1257
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
1258
|
+
}
|
|
1259
|
+
if ($search !== undefined && $search !== null) {
|
|
1260
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
1261
|
+
}
|
|
1262
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1263
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1264
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1265
|
+
// to determine the Accept header
|
|
1266
|
+
const httpHeaderAccepts = [
|
|
1267
|
+
'application/json'
|
|
1268
|
+
];
|
|
1269
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1270
|
+
}
|
|
1271
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1272
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1273
|
+
}
|
|
1274
|
+
let localVarHttpContext = options && options.context;
|
|
1275
|
+
if (localVarHttpContext === undefined) {
|
|
1276
|
+
localVarHttpContext = new HttpContext();
|
|
1277
|
+
}
|
|
1278
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1279
|
+
if (localVarTransferCache === undefined) {
|
|
1280
|
+
localVarTransferCache = true;
|
|
1281
|
+
}
|
|
1282
|
+
let responseType_ = 'json';
|
|
1283
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1284
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1285
|
+
responseType_ = 'text';
|
|
1286
|
+
}
|
|
1287
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1288
|
+
responseType_ = 'json';
|
|
1289
|
+
}
|
|
1290
|
+
else {
|
|
1291
|
+
responseType_ = 'blob';
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
let localVarPath = `/deliveries`;
|
|
1295
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1296
|
+
context: localVarHttpContext,
|
|
1297
|
+
params: localVarQueryParameters,
|
|
1298
|
+
responseType: responseType_,
|
|
1299
|
+
withCredentials: this.configuration.withCredentials,
|
|
1300
|
+
headers: localVarHeaders,
|
|
1301
|
+
observe: observe,
|
|
1302
|
+
transferCache: localVarTransferCache,
|
|
1303
|
+
reportProgress: reportProgress
|
|
1304
|
+
});
|
|
1305
|
+
}
|
|
1306
|
+
getDeliveriesByOrderStatus(deliveryStatus, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
1307
|
+
if (deliveryStatus === null || deliveryStatus === undefined) {
|
|
1308
|
+
throw new Error('Required parameter deliveryStatus was null or undefined when calling getDeliveriesByOrderStatus.');
|
|
1309
|
+
}
|
|
1310
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1311
|
+
if ($skip !== undefined && $skip !== null) {
|
|
1312
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
1313
|
+
}
|
|
1314
|
+
if ($top !== undefined && $top !== null) {
|
|
1315
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
1316
|
+
}
|
|
1317
|
+
if ($orderby !== undefined && $orderby !== null) {
|
|
1318
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
1319
|
+
}
|
|
1320
|
+
if ($filter !== undefined && $filter !== null) {
|
|
1321
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
1322
|
+
}
|
|
1323
|
+
if ($search !== undefined && $search !== null) {
|
|
1324
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
1325
|
+
}
|
|
1326
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1327
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1328
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1329
|
+
// to determine the Accept header
|
|
1330
|
+
const httpHeaderAccepts = [
|
|
1331
|
+
'application/json'
|
|
1332
|
+
];
|
|
1333
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1334
|
+
}
|
|
1335
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1336
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1337
|
+
}
|
|
1338
|
+
let localVarHttpContext = options && options.context;
|
|
1339
|
+
if (localVarHttpContext === undefined) {
|
|
1340
|
+
localVarHttpContext = new HttpContext();
|
|
1341
|
+
}
|
|
1342
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1343
|
+
if (localVarTransferCache === undefined) {
|
|
1344
|
+
localVarTransferCache = true;
|
|
1345
|
+
}
|
|
1346
|
+
let responseType_ = 'json';
|
|
1347
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1348
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1349
|
+
responseType_ = 'text';
|
|
1350
|
+
}
|
|
1351
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1352
|
+
responseType_ = 'json';
|
|
1353
|
+
}
|
|
1354
|
+
else {
|
|
1355
|
+
responseType_ = 'blob';
|
|
1356
|
+
}
|
|
1357
|
+
}
|
|
1358
|
+
let localVarPath = `/deliveries/${this.configuration.encodeParam({ name: "deliveryStatus", value: deliveryStatus, in: "path", style: "simple", explode: false, dataType: "OrderStatus", dataFormat: undefined })}`;
|
|
1359
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1360
|
+
context: localVarHttpContext,
|
|
1361
|
+
params: localVarQueryParameters,
|
|
1362
|
+
responseType: responseType_,
|
|
1363
|
+
withCredentials: this.configuration.withCredentials,
|
|
1364
|
+
headers: localVarHeaders,
|
|
1365
|
+
observe: observe,
|
|
1366
|
+
transferCache: localVarTransferCache,
|
|
1367
|
+
reportProgress: reportProgress
|
|
1368
|
+
});
|
|
1369
|
+
}
|
|
1370
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DeliveriesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1371
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DeliveriesService, providedIn: 'root' });
|
|
1372
|
+
}
|
|
1373
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DeliveriesService, decorators: [{
|
|
1374
|
+
type: Injectable,
|
|
1375
|
+
args: [{
|
|
1376
|
+
providedIn: 'root'
|
|
1377
|
+
}]
|
|
1378
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1379
|
+
type: Optional
|
|
1380
|
+
}, {
|
|
1381
|
+
type: Inject,
|
|
1382
|
+
args: [BASE_PATH]
|
|
1383
|
+
}] }, { type: Configuration, decorators: [{
|
|
1384
|
+
type: Optional
|
|
1385
|
+
}] }] });
|
|
1386
|
+
|
|
1387
|
+
/**
|
|
1388
|
+
* Wms.API.Client
|
|
1389
|
+
*
|
|
1390
|
+
*
|
|
1391
|
+
*
|
|
1392
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1393
|
+
* https://openapi-generator.tech
|
|
1394
|
+
* Do not edit the class manually.
|
|
1395
|
+
*/
|
|
1396
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1397
|
+
class DeliveryItemsService {
|
|
1398
|
+
httpClient;
|
|
1399
|
+
basePath = 'http://localhost';
|
|
1400
|
+
defaultHeaders = new HttpHeaders();
|
|
1401
|
+
configuration = new Configuration();
|
|
1402
|
+
encoder;
|
|
1403
|
+
constructor(httpClient, basePath, configuration) {
|
|
1404
|
+
this.httpClient = httpClient;
|
|
1405
|
+
if (configuration) {
|
|
1406
|
+
this.configuration = configuration;
|
|
1407
|
+
}
|
|
1408
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
1409
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
1410
|
+
if (firstBasePath != undefined) {
|
|
1411
|
+
basePath = firstBasePath;
|
|
1412
|
+
}
|
|
1413
|
+
if (typeof basePath !== 'string') {
|
|
1414
|
+
basePath = this.basePath;
|
|
1415
|
+
}
|
|
1416
|
+
this.configuration.basePath = basePath;
|
|
1417
|
+
}
|
|
1418
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
1419
|
+
}
|
|
1420
|
+
// @ts-ignore
|
|
1421
|
+
addToHttpParams(httpParams, value, key) {
|
|
1422
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
1423
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
1424
|
+
}
|
|
1425
|
+
else {
|
|
1426
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
1427
|
+
}
|
|
1428
|
+
return httpParams;
|
|
1429
|
+
}
|
|
1430
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
1431
|
+
if (value == null) {
|
|
1432
|
+
return httpParams;
|
|
1433
|
+
}
|
|
1434
|
+
if (typeof value === "object") {
|
|
1435
|
+
if (Array.isArray(value)) {
|
|
1436
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
1437
|
+
}
|
|
1438
|
+
else if (value instanceof Date) {
|
|
1439
|
+
if (key != null) {
|
|
1440
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
1441
|
+
}
|
|
1442
|
+
else {
|
|
1443
|
+
throw Error("key may not be null if value is Date");
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1446
|
+
else {
|
|
1447
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
1448
|
+
}
|
|
1449
|
+
}
|
|
1450
|
+
else if (key != null) {
|
|
1451
|
+
httpParams = httpParams.append(key, value);
|
|
1452
|
+
}
|
|
1453
|
+
else {
|
|
1454
|
+
throw Error("key may not be null if value is not object or array");
|
|
1455
|
+
}
|
|
1456
|
+
return httpParams;
|
|
1457
|
+
}
|
|
1458
|
+
getDeliveryItems(id, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
1459
|
+
if (id === null || id === undefined) {
|
|
1460
|
+
throw new Error('Required parameter id was null or undefined when calling getDeliveryItems.');
|
|
1461
|
+
}
|
|
1462
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1463
|
+
if ($skip !== undefined && $skip !== null) {
|
|
1464
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
1465
|
+
}
|
|
1466
|
+
if ($top !== undefined && $top !== null) {
|
|
1467
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
1468
|
+
}
|
|
1469
|
+
if ($orderby !== undefined && $orderby !== null) {
|
|
1470
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
1471
|
+
}
|
|
1472
|
+
if ($filter !== undefined && $filter !== null) {
|
|
1473
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
1474
|
+
}
|
|
1475
|
+
if ($search !== undefined && $search !== null) {
|
|
1476
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
1477
|
+
}
|
|
1478
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1479
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1480
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1481
|
+
// to determine the Accept header
|
|
1482
|
+
const httpHeaderAccepts = [
|
|
1483
|
+
'application/json'
|
|
1484
|
+
];
|
|
1485
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1486
|
+
}
|
|
1487
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1488
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1489
|
+
}
|
|
1490
|
+
let localVarHttpContext = options && options.context;
|
|
1491
|
+
if (localVarHttpContext === undefined) {
|
|
1492
|
+
localVarHttpContext = new HttpContext();
|
|
1493
|
+
}
|
|
1494
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1495
|
+
if (localVarTransferCache === undefined) {
|
|
1496
|
+
localVarTransferCache = true;
|
|
1497
|
+
}
|
|
1498
|
+
let responseType_ = 'json';
|
|
1499
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1500
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1501
|
+
responseType_ = 'text';
|
|
1502
|
+
}
|
|
1503
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1504
|
+
responseType_ = 'json';
|
|
1505
|
+
}
|
|
1506
|
+
else {
|
|
1507
|
+
responseType_ = 'blob';
|
|
1508
|
+
}
|
|
1509
|
+
}
|
|
1510
|
+
let localVarPath = `/deliveries/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/items`;
|
|
1511
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1512
|
+
context: localVarHttpContext,
|
|
1513
|
+
params: localVarQueryParameters,
|
|
1514
|
+
responseType: responseType_,
|
|
1515
|
+
withCredentials: this.configuration.withCredentials,
|
|
1516
|
+
headers: localVarHeaders,
|
|
1517
|
+
observe: observe,
|
|
1518
|
+
transferCache: localVarTransferCache,
|
|
1519
|
+
reportProgress: reportProgress
|
|
1520
|
+
});
|
|
1521
|
+
}
|
|
1522
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DeliveryItemsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1523
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DeliveryItemsService, providedIn: 'root' });
|
|
1524
|
+
}
|
|
1525
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DeliveryItemsService, decorators: [{
|
|
1526
|
+
type: Injectable,
|
|
1527
|
+
args: [{
|
|
1528
|
+
providedIn: 'root'
|
|
1529
|
+
}]
|
|
1530
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1531
|
+
type: Optional
|
|
1532
|
+
}, {
|
|
1533
|
+
type: Inject,
|
|
1534
|
+
args: [BASE_PATH]
|
|
1535
|
+
}] }, { type: Configuration, decorators: [{
|
|
1536
|
+
type: Optional
|
|
1537
|
+
}] }] });
|
|
1538
|
+
|
|
1539
|
+
/**
|
|
1540
|
+
* Wms.API.Client
|
|
1541
|
+
*
|
|
1542
|
+
*
|
|
1543
|
+
*
|
|
1544
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1545
|
+
* https://openapi-generator.tech
|
|
1546
|
+
* Do not edit the class manually.
|
|
1547
|
+
*/
|
|
1548
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1549
|
+
class HealthService {
|
|
1550
|
+
httpClient;
|
|
1551
|
+
basePath = 'http://localhost';
|
|
1552
|
+
defaultHeaders = new HttpHeaders();
|
|
1553
|
+
configuration = new Configuration();
|
|
1554
|
+
encoder;
|
|
1555
|
+
constructor(httpClient, basePath, configuration) {
|
|
1556
|
+
this.httpClient = httpClient;
|
|
1557
|
+
if (configuration) {
|
|
1558
|
+
this.configuration = configuration;
|
|
1559
|
+
}
|
|
1560
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
1561
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
1562
|
+
if (firstBasePath != undefined) {
|
|
1563
|
+
basePath = firstBasePath;
|
|
1564
|
+
}
|
|
1565
|
+
if (typeof basePath !== 'string') {
|
|
1566
|
+
basePath = this.basePath;
|
|
1567
|
+
}
|
|
1568
|
+
this.configuration.basePath = basePath;
|
|
1569
|
+
}
|
|
1570
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
1571
|
+
}
|
|
1572
|
+
// @ts-ignore
|
|
1573
|
+
addToHttpParams(httpParams, value, key) {
|
|
1574
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
1575
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
1576
|
+
}
|
|
1577
|
+
else {
|
|
1578
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
1579
|
+
}
|
|
1580
|
+
return httpParams;
|
|
1581
|
+
}
|
|
1582
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
1583
|
+
if (value == null) {
|
|
1584
|
+
return httpParams;
|
|
1585
|
+
}
|
|
1586
|
+
if (typeof value === "object") {
|
|
1587
|
+
if (Array.isArray(value)) {
|
|
1588
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
900
1589
|
}
|
|
901
|
-
else if (
|
|
902
|
-
|
|
1590
|
+
else if (value instanceof Date) {
|
|
1591
|
+
if (key != null) {
|
|
1592
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
1593
|
+
}
|
|
1594
|
+
else {
|
|
1595
|
+
throw Error("key may not be null if value is Date");
|
|
1596
|
+
}
|
|
903
1597
|
}
|
|
904
1598
|
else {
|
|
905
|
-
|
|
1599
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
906
1600
|
}
|
|
907
1601
|
}
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
transferCache: localVarTransferCache,
|
|
916
|
-
reportProgress: reportProgress
|
|
917
|
-
});
|
|
1602
|
+
else if (key != null) {
|
|
1603
|
+
httpParams = httpParams.append(key, value);
|
|
1604
|
+
}
|
|
1605
|
+
else {
|
|
1606
|
+
throw Error("key may not be null if value is not object or array");
|
|
1607
|
+
}
|
|
1608
|
+
return httpParams;
|
|
918
1609
|
}
|
|
919
|
-
|
|
1610
|
+
getHealth(observe = 'body', reportProgress = false, options) {
|
|
920
1611
|
let localVarHeaders = this.defaultHeaders;
|
|
921
1612
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
922
1613
|
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
923
1614
|
// to determine the Accept header
|
|
924
1615
|
const httpHeaderAccepts = [
|
|
1616
|
+
'text/plain',
|
|
925
1617
|
'application/json'
|
|
926
1618
|
];
|
|
927
1619
|
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
@@ -949,7 +1641,7 @@ class DcsService {
|
|
|
949
1641
|
responseType_ = 'blob';
|
|
950
1642
|
}
|
|
951
1643
|
}
|
|
952
|
-
let localVarPath = `/
|
|
1644
|
+
let localVarPath = `/health`;
|
|
953
1645
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
954
1646
|
context: localVarHttpContext,
|
|
955
1647
|
responseType: responseType_,
|
|
@@ -960,10 +1652,10 @@ class DcsService {
|
|
|
960
1652
|
reportProgress: reportProgress
|
|
961
1653
|
});
|
|
962
1654
|
}
|
|
963
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
964
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1655
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: HealthService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1656
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: HealthService, providedIn: 'root' });
|
|
965
1657
|
}
|
|
966
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1658
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: HealthService, decorators: [{
|
|
967
1659
|
type: Injectable,
|
|
968
1660
|
args: [{
|
|
969
1661
|
providedIn: 'root'
|
|
@@ -979,7 +1671,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
|
|
|
979
1671
|
|
|
980
1672
|
/**
|
|
981
1673
|
* Wms.API.Client
|
|
982
|
-
* WMS API Client for Angular applications
|
|
983
1674
|
*
|
|
984
1675
|
*
|
|
985
1676
|
*
|
|
@@ -988,7 +1679,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
|
|
|
988
1679
|
* Do not edit the class manually.
|
|
989
1680
|
*/
|
|
990
1681
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
991
|
-
class
|
|
1682
|
+
class NotesService {
|
|
992
1683
|
httpClient;
|
|
993
1684
|
basePath = 'http://localhost';
|
|
994
1685
|
defaultHeaders = new HttpHeaders();
|
|
@@ -1049,13 +1740,12 @@ class HealthService {
|
|
|
1049
1740
|
}
|
|
1050
1741
|
return httpParams;
|
|
1051
1742
|
}
|
|
1052
|
-
|
|
1743
|
+
createNote(note, observe = 'body', reportProgress = false, options) {
|
|
1053
1744
|
let localVarHeaders = this.defaultHeaders;
|
|
1054
1745
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1055
1746
|
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1056
1747
|
// to determine the Accept header
|
|
1057
1748
|
const httpHeaderAccepts = [
|
|
1058
|
-
'text/plain',
|
|
1059
1749
|
'application/json'
|
|
1060
1750
|
];
|
|
1061
1751
|
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
@@ -1071,6 +1761,14 @@ class HealthService {
|
|
|
1071
1761
|
if (localVarTransferCache === undefined) {
|
|
1072
1762
|
localVarTransferCache = true;
|
|
1073
1763
|
}
|
|
1764
|
+
// to determine the Content-Type header
|
|
1765
|
+
const consumes = [
|
|
1766
|
+
'application/json'
|
|
1767
|
+
];
|
|
1768
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1769
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1770
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
1771
|
+
}
|
|
1074
1772
|
let responseType_ = 'json';
|
|
1075
1773
|
if (localVarHttpHeaderAcceptSelected) {
|
|
1076
1774
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -1083,9 +1781,147 @@ class HealthService {
|
|
|
1083
1781
|
responseType_ = 'blob';
|
|
1084
1782
|
}
|
|
1085
1783
|
}
|
|
1086
|
-
let localVarPath = `/
|
|
1784
|
+
let localVarPath = `/notes`;
|
|
1785
|
+
return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
1786
|
+
context: localVarHttpContext,
|
|
1787
|
+
body: note,
|
|
1788
|
+
responseType: responseType_,
|
|
1789
|
+
withCredentials: this.configuration.withCredentials,
|
|
1790
|
+
headers: localVarHeaders,
|
|
1791
|
+
observe: observe,
|
|
1792
|
+
transferCache: localVarTransferCache,
|
|
1793
|
+
reportProgress: reportProgress
|
|
1794
|
+
});
|
|
1795
|
+
}
|
|
1796
|
+
getNotes(sourceId, type, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
1797
|
+
if (sourceId === null || sourceId === undefined) {
|
|
1798
|
+
throw new Error('Required parameter sourceId was null or undefined when calling getNotes.');
|
|
1799
|
+
}
|
|
1800
|
+
if (type === null || type === undefined) {
|
|
1801
|
+
throw new Error('Required parameter type was null or undefined when calling getNotes.');
|
|
1802
|
+
}
|
|
1803
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1804
|
+
if ($skip !== undefined && $skip !== null) {
|
|
1805
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
1806
|
+
}
|
|
1807
|
+
if ($top !== undefined && $top !== null) {
|
|
1808
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
1809
|
+
}
|
|
1810
|
+
if ($orderby !== undefined && $orderby !== null) {
|
|
1811
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
1812
|
+
}
|
|
1813
|
+
if ($filter !== undefined && $filter !== null) {
|
|
1814
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
1815
|
+
}
|
|
1816
|
+
if ($search !== undefined && $search !== null) {
|
|
1817
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
1818
|
+
}
|
|
1819
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1820
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1821
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1822
|
+
// to determine the Accept header
|
|
1823
|
+
const httpHeaderAccepts = [
|
|
1824
|
+
'application/json'
|
|
1825
|
+
];
|
|
1826
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1827
|
+
}
|
|
1828
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1829
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1830
|
+
}
|
|
1831
|
+
let localVarHttpContext = options && options.context;
|
|
1832
|
+
if (localVarHttpContext === undefined) {
|
|
1833
|
+
localVarHttpContext = new HttpContext();
|
|
1834
|
+
}
|
|
1835
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1836
|
+
if (localVarTransferCache === undefined) {
|
|
1837
|
+
localVarTransferCache = true;
|
|
1838
|
+
}
|
|
1839
|
+
let responseType_ = 'json';
|
|
1840
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1841
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1842
|
+
responseType_ = 'text';
|
|
1843
|
+
}
|
|
1844
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1845
|
+
responseType_ = 'json';
|
|
1846
|
+
}
|
|
1847
|
+
else {
|
|
1848
|
+
responseType_ = 'blob';
|
|
1849
|
+
}
|
|
1850
|
+
}
|
|
1851
|
+
let localVarPath = `/notes/${this.configuration.encodeParam({ name: "sourceId", value: sourceId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/${this.configuration.encodeParam({ name: "type", value: type, in: "path", style: "simple", explode: false, dataType: "NoteSourceType", dataFormat: undefined })}`;
|
|
1852
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1853
|
+
context: localVarHttpContext,
|
|
1854
|
+
params: localVarQueryParameters,
|
|
1855
|
+
responseType: responseType_,
|
|
1856
|
+
withCredentials: this.configuration.withCredentials,
|
|
1857
|
+
headers: localVarHeaders,
|
|
1858
|
+
observe: observe,
|
|
1859
|
+
transferCache: localVarTransferCache,
|
|
1860
|
+
reportProgress: reportProgress
|
|
1861
|
+
});
|
|
1862
|
+
}
|
|
1863
|
+
getNotesByCategory(sourceId, type, category, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
1864
|
+
if (sourceId === null || sourceId === undefined) {
|
|
1865
|
+
throw new Error('Required parameter sourceId was null or undefined when calling getNotesByCategory.');
|
|
1866
|
+
}
|
|
1867
|
+
if (type === null || type === undefined) {
|
|
1868
|
+
throw new Error('Required parameter type was null or undefined when calling getNotesByCategory.');
|
|
1869
|
+
}
|
|
1870
|
+
if (category === null || category === undefined) {
|
|
1871
|
+
throw new Error('Required parameter category was null or undefined when calling getNotesByCategory.');
|
|
1872
|
+
}
|
|
1873
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1874
|
+
if ($skip !== undefined && $skip !== null) {
|
|
1875
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
1876
|
+
}
|
|
1877
|
+
if ($top !== undefined && $top !== null) {
|
|
1878
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
1879
|
+
}
|
|
1880
|
+
if ($orderby !== undefined && $orderby !== null) {
|
|
1881
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
1882
|
+
}
|
|
1883
|
+
if ($filter !== undefined && $filter !== null) {
|
|
1884
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
1885
|
+
}
|
|
1886
|
+
if ($search !== undefined && $search !== null) {
|
|
1887
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
1888
|
+
}
|
|
1889
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1890
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1891
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1892
|
+
// to determine the Accept header
|
|
1893
|
+
const httpHeaderAccepts = [
|
|
1894
|
+
'application/json'
|
|
1895
|
+
];
|
|
1896
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1897
|
+
}
|
|
1898
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1899
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1900
|
+
}
|
|
1901
|
+
let localVarHttpContext = options && options.context;
|
|
1902
|
+
if (localVarHttpContext === undefined) {
|
|
1903
|
+
localVarHttpContext = new HttpContext();
|
|
1904
|
+
}
|
|
1905
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1906
|
+
if (localVarTransferCache === undefined) {
|
|
1907
|
+
localVarTransferCache = true;
|
|
1908
|
+
}
|
|
1909
|
+
let responseType_ = 'json';
|
|
1910
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1911
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1912
|
+
responseType_ = 'text';
|
|
1913
|
+
}
|
|
1914
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1915
|
+
responseType_ = 'json';
|
|
1916
|
+
}
|
|
1917
|
+
else {
|
|
1918
|
+
responseType_ = 'blob';
|
|
1919
|
+
}
|
|
1920
|
+
}
|
|
1921
|
+
let localVarPath = `/notes/${this.configuration.encodeParam({ name: "sourceId", value: sourceId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/${this.configuration.encodeParam({ name: "type", value: type, in: "path", style: "simple", explode: false, dataType: "NoteSourceType", dataFormat: undefined })}/${this.configuration.encodeParam({ name: "category", value: category, in: "path", style: "simple", explode: false, dataType: "NoteCategory", dataFormat: undefined })}`;
|
|
1087
1922
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1088
1923
|
context: localVarHttpContext,
|
|
1924
|
+
params: localVarQueryParameters,
|
|
1089
1925
|
responseType: responseType_,
|
|
1090
1926
|
withCredentials: this.configuration.withCredentials,
|
|
1091
1927
|
headers: localVarHeaders,
|
|
@@ -1094,10 +1930,10 @@ class HealthService {
|
|
|
1094
1930
|
reportProgress: reportProgress
|
|
1095
1931
|
});
|
|
1096
1932
|
}
|
|
1097
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1098
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1933
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: NotesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1934
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: NotesService, providedIn: 'root' });
|
|
1099
1935
|
}
|
|
1100
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1936
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: NotesService, decorators: [{
|
|
1101
1937
|
type: Injectable,
|
|
1102
1938
|
args: [{
|
|
1103
1939
|
providedIn: 'root'
|
|
@@ -1113,7 +1949,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
|
|
|
1113
1949
|
|
|
1114
1950
|
/**
|
|
1115
1951
|
* Wms.API.Client
|
|
1116
|
-
* WMS API Client for Angular applications
|
|
1117
1952
|
*
|
|
1118
1953
|
*
|
|
1119
1954
|
*
|
|
@@ -1227,10 +2062,10 @@ class PermissionsService {
|
|
|
1227
2062
|
reportProgress: reportProgress
|
|
1228
2063
|
});
|
|
1229
2064
|
}
|
|
1230
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1231
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2065
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: PermissionsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2066
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: PermissionsService, providedIn: 'root' });
|
|
1232
2067
|
}
|
|
1233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2068
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: PermissionsService, decorators: [{
|
|
1234
2069
|
type: Injectable,
|
|
1235
2070
|
args: [{
|
|
1236
2071
|
providedIn: 'root'
|
|
@@ -1246,7 +2081,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
|
|
|
1246
2081
|
|
|
1247
2082
|
/**
|
|
1248
2083
|
* Wms.API.Client
|
|
1249
|
-
* WMS API Client for Angular applications
|
|
1250
2084
|
*
|
|
1251
2085
|
*
|
|
1252
2086
|
*
|
|
@@ -1360,10 +2194,10 @@ class SummaryService {
|
|
|
1360
2194
|
reportProgress: reportProgress
|
|
1361
2195
|
});
|
|
1362
2196
|
}
|
|
1363
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1364
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2197
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: SummaryService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2198
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: SummaryService, providedIn: 'root' });
|
|
1365
2199
|
}
|
|
1366
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: SummaryService, decorators: [{
|
|
1367
2201
|
type: Injectable,
|
|
1368
2202
|
args: [{
|
|
1369
2203
|
providedIn: 'root'
|
|
@@ -1379,7 +2213,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
|
|
|
1379
2213
|
|
|
1380
2214
|
/**
|
|
1381
2215
|
* Wms.API.Client
|
|
1382
|
-
* WMS API Client for Angular applications
|
|
1383
2216
|
*
|
|
1384
2217
|
*
|
|
1385
2218
|
*
|
|
@@ -1637,10 +2470,10 @@ class UserService {
|
|
|
1637
2470
|
reportProgress: reportProgress
|
|
1638
2471
|
});
|
|
1639
2472
|
}
|
|
1640
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1641
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2473
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2474
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: UserService, providedIn: 'root' });
|
|
1642
2475
|
}
|
|
1643
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2476
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: UserService, decorators: [{
|
|
1644
2477
|
type: Injectable,
|
|
1645
2478
|
args: [{
|
|
1646
2479
|
providedIn: 'root'
|
|
@@ -1654,11 +2487,107 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
|
|
|
1654
2487
|
type: Optional
|
|
1655
2488
|
}] }] });
|
|
1656
2489
|
|
|
1657
|
-
const APIS = [AnalyticsService, DcsService, HealthService, PermissionsService, SummaryService, UserService];
|
|
2490
|
+
const APIS = [AnalyticsService, CompaniesService, DcsService, DeliveriesService, DeliveryItemsService, HealthService, NotesService, PermissionsService, SummaryService, UserService];
|
|
2491
|
+
|
|
2492
|
+
/**
|
|
2493
|
+
* Wms.API.Client
|
|
2494
|
+
*
|
|
2495
|
+
*
|
|
2496
|
+
*
|
|
2497
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2498
|
+
* https://openapi-generator.tech
|
|
2499
|
+
* Do not edit the class manually.
|
|
2500
|
+
*/
|
|
2501
|
+
|
|
2502
|
+
/**
|
|
2503
|
+
* Wms.API.Client
|
|
2504
|
+
*
|
|
2505
|
+
*
|
|
2506
|
+
*
|
|
2507
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2508
|
+
* https://openapi-generator.tech
|
|
2509
|
+
* Do not edit the class manually.
|
|
2510
|
+
*/
|
|
2511
|
+
|
|
2512
|
+
/**
|
|
2513
|
+
* Wms.API.Client
|
|
2514
|
+
*
|
|
2515
|
+
*
|
|
2516
|
+
*
|
|
2517
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2518
|
+
* https://openapi-generator.tech
|
|
2519
|
+
* Do not edit the class manually.
|
|
2520
|
+
*/
|
|
2521
|
+
|
|
2522
|
+
/**
|
|
2523
|
+
* Wms.API.Client
|
|
2524
|
+
*
|
|
2525
|
+
*
|
|
2526
|
+
*
|
|
2527
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2528
|
+
* https://openapi-generator.tech
|
|
2529
|
+
* Do not edit the class manually.
|
|
2530
|
+
*/
|
|
2531
|
+
|
|
2532
|
+
/**
|
|
2533
|
+
* Wms.API.Client
|
|
2534
|
+
*
|
|
2535
|
+
*
|
|
2536
|
+
*
|
|
2537
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2538
|
+
* https://openapi-generator.tech
|
|
2539
|
+
* Do not edit the class manually.
|
|
2540
|
+
*/
|
|
2541
|
+
|
|
2542
|
+
/**
|
|
2543
|
+
* Wms.API.Client
|
|
2544
|
+
*
|
|
2545
|
+
*
|
|
2546
|
+
*
|
|
2547
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2548
|
+
* https://openapi-generator.tech
|
|
2549
|
+
* Do not edit the class manually.
|
|
2550
|
+
*/
|
|
2551
|
+
|
|
2552
|
+
/**
|
|
2553
|
+
* Wms.API.Client
|
|
2554
|
+
*
|
|
2555
|
+
*
|
|
2556
|
+
*
|
|
2557
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2558
|
+
* https://openapi-generator.tech
|
|
2559
|
+
* Do not edit the class manually.
|
|
2560
|
+
*/
|
|
2561
|
+
const DeliveryType = {
|
|
2562
|
+
Standard: 'Standard',
|
|
2563
|
+
Return: 'Return',
|
|
2564
|
+
EcomCrossDock: 'EcomCrossDock',
|
|
2565
|
+
Internal: 'Internal',
|
|
2566
|
+
WorkOrder: 'WorkOrder'
|
|
2567
|
+
};
|
|
2568
|
+
|
|
2569
|
+
/**
|
|
2570
|
+
* Wms.API.Client
|
|
2571
|
+
*
|
|
2572
|
+
*
|
|
2573
|
+
*
|
|
2574
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2575
|
+
* https://openapi-generator.tech
|
|
2576
|
+
* Do not edit the class manually.
|
|
2577
|
+
*/
|
|
2578
|
+
|
|
2579
|
+
/**
|
|
2580
|
+
* Wms.API.Client
|
|
2581
|
+
*
|
|
2582
|
+
*
|
|
2583
|
+
*
|
|
2584
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2585
|
+
* https://openapi-generator.tech
|
|
2586
|
+
* Do not edit the class manually.
|
|
2587
|
+
*/
|
|
1658
2588
|
|
|
1659
2589
|
/**
|
|
1660
2590
|
* Wms.API.Client
|
|
1661
|
-
* WMS API Client for Angular applications
|
|
1662
2591
|
*
|
|
1663
2592
|
*
|
|
1664
2593
|
*
|
|
@@ -1669,7 +2598,6 @@ const APIS = [AnalyticsService, DcsService, HealthService, PermissionsService, S
|
|
|
1669
2598
|
|
|
1670
2599
|
/**
|
|
1671
2600
|
* Wms.API.Client
|
|
1672
|
-
* WMS API Client for Angular applications
|
|
1673
2601
|
*
|
|
1674
2602
|
*
|
|
1675
2603
|
*
|
|
@@ -1680,7 +2608,6 @@ const APIS = [AnalyticsService, DcsService, HealthService, PermissionsService, S
|
|
|
1680
2608
|
|
|
1681
2609
|
/**
|
|
1682
2610
|
* Wms.API.Client
|
|
1683
|
-
* WMS API Client for Angular applications
|
|
1684
2611
|
*
|
|
1685
2612
|
*
|
|
1686
2613
|
*
|
|
@@ -1688,10 +2615,15 @@ const APIS = [AnalyticsService, DcsService, HealthService, PermissionsService, S
|
|
|
1688
2615
|
* https://openapi-generator.tech
|
|
1689
2616
|
* Do not edit the class manually.
|
|
1690
2617
|
*/
|
|
2618
|
+
const NoteCategory = {
|
|
2619
|
+
Notes: 'Notes',
|
|
2620
|
+
ShippingMarks: 'ShippingMarks',
|
|
2621
|
+
SpecialInstructions: 'SpecialInstructions',
|
|
2622
|
+
Comments: 'Comments'
|
|
2623
|
+
};
|
|
1691
2624
|
|
|
1692
2625
|
/**
|
|
1693
2626
|
* Wms.API.Client
|
|
1694
|
-
* WMS API Client for Angular applications
|
|
1695
2627
|
*
|
|
1696
2628
|
*
|
|
1697
2629
|
*
|
|
@@ -1699,10 +2631,13 @@ const APIS = [AnalyticsService, DcsService, HealthService, PermissionsService, S
|
|
|
1699
2631
|
* https://openapi-generator.tech
|
|
1700
2632
|
* Do not edit the class manually.
|
|
1701
2633
|
*/
|
|
2634
|
+
const NoteSourceType = {
|
|
2635
|
+
Shipment: 'Shipment',
|
|
2636
|
+
Delivery: 'Delivery'
|
|
2637
|
+
};
|
|
1702
2638
|
|
|
1703
2639
|
/**
|
|
1704
2640
|
* Wms.API.Client
|
|
1705
|
-
* WMS API Client for Angular applications
|
|
1706
2641
|
*
|
|
1707
2642
|
*
|
|
1708
2643
|
*
|
|
@@ -1713,7 +2648,6 @@ const APIS = [AnalyticsService, DcsService, HealthService, PermissionsService, S
|
|
|
1713
2648
|
|
|
1714
2649
|
/**
|
|
1715
2650
|
* Wms.API.Client
|
|
1716
|
-
* WMS API Client for Angular applications
|
|
1717
2651
|
*
|
|
1718
2652
|
*
|
|
1719
2653
|
*
|
|
@@ -1721,10 +2655,29 @@ const APIS = [AnalyticsService, DcsService, HealthService, PermissionsService, S
|
|
|
1721
2655
|
* https://openapi-generator.tech
|
|
1722
2656
|
* Do not edit the class manually.
|
|
1723
2657
|
*/
|
|
2658
|
+
const OrderStatus = {
|
|
2659
|
+
PickComplete: 'PickComplete',
|
|
2660
|
+
SentToSupplier: 'SentToSupplier',
|
|
2661
|
+
UpdatedBySupplier: 'UpdatedBySupplier',
|
|
2662
|
+
Confirmed: 'Confirmed',
|
|
2663
|
+
CompletedBySupplier: 'CompletedBySupplier',
|
|
2664
|
+
InProgress: 'InProgress',
|
|
2665
|
+
Arrived: 'Arrived',
|
|
2666
|
+
BeingPacked: 'BeingPacked',
|
|
2667
|
+
BeingPicked: 'BeingPicked',
|
|
2668
|
+
ToDispatch: 'ToDispatch',
|
|
2669
|
+
InProduction: 'InProduction',
|
|
2670
|
+
Authorised: 'Authorised',
|
|
2671
|
+
Create: 'Create',
|
|
2672
|
+
Commit: 'Commit',
|
|
2673
|
+
Dispatched: 'Dispatched',
|
|
2674
|
+
TempWebOrder: 'TempWebOrder',
|
|
2675
|
+
Cancelled: 'Cancelled',
|
|
2676
|
+
Booked: 'Booked'
|
|
2677
|
+
};
|
|
1724
2678
|
|
|
1725
2679
|
/**
|
|
1726
2680
|
* Wms.API.Client
|
|
1727
|
-
* WMS API Client for Angular applications
|
|
1728
2681
|
*
|
|
1729
2682
|
*
|
|
1730
2683
|
*
|
|
@@ -1735,7 +2688,6 @@ const APIS = [AnalyticsService, DcsService, HealthService, PermissionsService, S
|
|
|
1735
2688
|
|
|
1736
2689
|
/**
|
|
1737
2690
|
* Wms.API.Client
|
|
1738
|
-
* WMS API Client for Angular applications
|
|
1739
2691
|
*
|
|
1740
2692
|
*
|
|
1741
2693
|
*
|
|
@@ -1743,10 +2695,13 @@ const APIS = [AnalyticsService, DcsService, HealthService, PermissionsService, S
|
|
|
1743
2695
|
* https://openapi-generator.tech
|
|
1744
2696
|
* Do not edit the class manually.
|
|
1745
2697
|
*/
|
|
2698
|
+
const RecordType = {
|
|
2699
|
+
Web: 'Web',
|
|
2700
|
+
Hub: 'Hub'
|
|
2701
|
+
};
|
|
1746
2702
|
|
|
1747
2703
|
/**
|
|
1748
2704
|
* Wms.API.Client
|
|
1749
|
-
* WMS API Client for Angular applications
|
|
1750
2705
|
*
|
|
1751
2706
|
*
|
|
1752
2707
|
*
|
|
@@ -1757,7 +2712,6 @@ const APIS = [AnalyticsService, DcsService, HealthService, PermissionsService, S
|
|
|
1757
2712
|
|
|
1758
2713
|
/**
|
|
1759
2714
|
* Wms.API.Client
|
|
1760
|
-
* WMS API Client for Angular applications
|
|
1761
2715
|
*
|
|
1762
2716
|
*
|
|
1763
2717
|
*
|
|
@@ -1768,7 +2722,6 @@ const APIS = [AnalyticsService, DcsService, HealthService, PermissionsService, S
|
|
|
1768
2722
|
|
|
1769
2723
|
/**
|
|
1770
2724
|
* Wms.API.Client
|
|
1771
|
-
* WMS API Client for Angular applications
|
|
1772
2725
|
*
|
|
1773
2726
|
*
|
|
1774
2727
|
*
|
|
@@ -1779,7 +2732,6 @@ const APIS = [AnalyticsService, DcsService, HealthService, PermissionsService, S
|
|
|
1779
2732
|
|
|
1780
2733
|
/**
|
|
1781
2734
|
* Wms.API.Client
|
|
1782
|
-
* WMS API Client for Angular applications
|
|
1783
2735
|
*
|
|
1784
2736
|
*
|
|
1785
2737
|
*
|
|
@@ -1790,7 +2742,6 @@ const APIS = [AnalyticsService, DcsService, HealthService, PermissionsService, S
|
|
|
1790
2742
|
|
|
1791
2743
|
/**
|
|
1792
2744
|
* Wms.API.Client
|
|
1793
|
-
* WMS API Client for Angular applications
|
|
1794
2745
|
*
|
|
1795
2746
|
*
|
|
1796
2747
|
*
|
|
@@ -1815,11 +2766,11 @@ class ApiModule {
|
|
|
1815
2766
|
'See also https://github.com/angular/angular/issues/20575');
|
|
1816
2767
|
}
|
|
1817
2768
|
}
|
|
1818
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1819
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1820
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2769
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2770
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0", ngImport: i0, type: ApiModule });
|
|
2771
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ApiModule });
|
|
1821
2772
|
}
|
|
1822
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2773
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ApiModule, decorators: [{
|
|
1823
2774
|
type: NgModule,
|
|
1824
2775
|
args: [{
|
|
1825
2776
|
imports: [],
|
|
@@ -1839,5 +2790,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
|
|
|
1839
2790
|
* Generated bundle index. Do not edit.
|
|
1840
2791
|
*/
|
|
1841
2792
|
|
|
1842
|
-
export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, Configuration, DcsService, HealthService, PermissionsService, SummaryService, UserService };
|
|
2793
|
+
export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CompaniesService, Configuration, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, HealthService, NoteCategory, NoteSourceType, NotesService, OrderStatus, PermissionsService, RecordType, SummaryService, UserService };
|
|
1843
2794
|
//# sourceMappingURL=indigina-wms-api.mjs.map
|