@indigina/wms-api 0.0.37 → 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.
@@ -711,6 +711,202 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
711
711
  type: Optional
712
712
  }] }] });
713
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: [{
897
+ type: Injectable,
898
+ args: [{
899
+ providedIn: 'root'
900
+ }]
901
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
902
+ type: Optional
903
+ }, {
904
+ type: Inject,
905
+ args: [BASE_PATH]
906
+ }] }, { type: Configuration, decorators: [{
907
+ type: Optional
908
+ }] }] });
909
+
714
910
  /**
715
911
  * Wms.API.Client
716
912
  *
@@ -896,30 +1092,528 @@ class DcsService {
896
1092
  if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
897
1093
  responseType_ = 'text';
898
1094
  }
899
- else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
900
- responseType_ = 'json';
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));
1589
+ }
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
+ }
901
1597
  }
902
1598
  else {
903
- responseType_ = 'blob';
1599
+ Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
904
1600
  }
905
1601
  }
906
- let localVarPath = `/dcs/receiving/summary`;
907
- return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
908
- context: localVarHttpContext,
909
- responseType: responseType_,
910
- withCredentials: this.configuration.withCredentials,
911
- headers: localVarHeaders,
912
- observe: observe,
913
- transferCache: localVarTransferCache,
914
- reportProgress: reportProgress
915
- });
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;
916
1609
  }
917
- getReplenishmentSummary(observe = 'body', reportProgress = false, options) {
1610
+ getHealth(observe = 'body', reportProgress = false, options) {
918
1611
  let localVarHeaders = this.defaultHeaders;
919
1612
  let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
920
1613
  if (localVarHttpHeaderAcceptSelected === undefined) {
921
1614
  // to determine the Accept header
922
1615
  const httpHeaderAccepts = [
1616
+ 'text/plain',
923
1617
  'application/json'
924
1618
  ];
925
1619
  localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
@@ -947,7 +1641,7 @@ class DcsService {
947
1641
  responseType_ = 'blob';
948
1642
  }
949
1643
  }
950
- let localVarPath = `/dcs/replenishment/summary`;
1644
+ let localVarPath = `/health`;
951
1645
  return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
952
1646
  context: localVarHttpContext,
953
1647
  responseType: responseType_,
@@ -958,10 +1652,10 @@ class DcsService {
958
1652
  reportProgress: reportProgress
959
1653
  });
960
1654
  }
961
- 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 });
962
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DcsService, providedIn: 'root' });
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' });
963
1657
  }
964
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DcsService, decorators: [{
1658
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: HealthService, decorators: [{
965
1659
  type: Injectable,
966
1660
  args: [{
967
1661
  providedIn: 'root'
@@ -985,7 +1679,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
985
1679
  * Do not edit the class manually.
986
1680
  */
987
1681
  /* tslint:disable:no-unused-variable member-ordering */
988
- class HealthService {
1682
+ class NotesService {
989
1683
  httpClient;
990
1684
  basePath = 'http://localhost';
991
1685
  defaultHeaders = new HttpHeaders();
@@ -1046,13 +1740,12 @@ class HealthService {
1046
1740
  }
1047
1741
  return httpParams;
1048
1742
  }
1049
- getHealth(observe = 'body', reportProgress = false, options) {
1743
+ createNote(note, observe = 'body', reportProgress = false, options) {
1050
1744
  let localVarHeaders = this.defaultHeaders;
1051
1745
  let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
1052
1746
  if (localVarHttpHeaderAcceptSelected === undefined) {
1053
1747
  // to determine the Accept header
1054
1748
  const httpHeaderAccepts = [
1055
- 'text/plain',
1056
1749
  'application/json'
1057
1750
  ];
1058
1751
  localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
@@ -1068,6 +1761,14 @@ class HealthService {
1068
1761
  if (localVarTransferCache === undefined) {
1069
1762
  localVarTransferCache = true;
1070
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
+ }
1071
1772
  let responseType_ = 'json';
1072
1773
  if (localVarHttpHeaderAcceptSelected) {
1073
1774
  if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
@@ -1080,9 +1781,77 @@ class HealthService {
1080
1781
  responseType_ = 'blob';
1081
1782
  }
1082
1783
  }
1083
- let localVarPath = `/health`;
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 })}`;
1084
1852
  return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
1085
1853
  context: localVarHttpContext,
1854
+ params: localVarQueryParameters,
1086
1855
  responseType: responseType_,
1087
1856
  withCredentials: this.configuration.withCredentials,
1088
1857
  headers: localVarHeaders,
@@ -1091,10 +1860,80 @@ class HealthService {
1091
1860
  reportProgress: reportProgress
1092
1861
  });
1093
1862
  }
1094
- 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 });
1095
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: HealthService, providedIn: 'root' });
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 })}`;
1922
+ return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
1923
+ context: localVarHttpContext,
1924
+ params: localVarQueryParameters,
1925
+ responseType: responseType_,
1926
+ withCredentials: this.configuration.withCredentials,
1927
+ headers: localVarHeaders,
1928
+ observe: observe,
1929
+ transferCache: localVarTransferCache,
1930
+ reportProgress: reportProgress
1931
+ });
1932
+ }
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' });
1096
1935
  }
1097
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: HealthService, decorators: [{
1936
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: NotesService, decorators: [{
1098
1937
  type: Injectable,
1099
1938
  args: [{
1100
1939
  providedIn: 'root'
@@ -1648,7 +2487,104 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
1648
2487
  type: Optional
1649
2488
  }] }] });
1650
2489
 
1651
- 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
+ */
1652
2588
 
1653
2589
  /**
1654
2590
  * Wms.API.Client
@@ -1679,6 +2615,12 @@ const APIS = [AnalyticsService, DcsService, HealthService, PermissionsService, S
1679
2615
  * https://openapi-generator.tech
1680
2616
  * Do not edit the class manually.
1681
2617
  */
2618
+ const NoteCategory = {
2619
+ Notes: 'Notes',
2620
+ ShippingMarks: 'ShippingMarks',
2621
+ SpecialInstructions: 'SpecialInstructions',
2622
+ Comments: 'Comments'
2623
+ };
1682
2624
 
1683
2625
  /**
1684
2626
  * Wms.API.Client
@@ -1689,6 +2631,10 @@ const APIS = [AnalyticsService, DcsService, HealthService, PermissionsService, S
1689
2631
  * https://openapi-generator.tech
1690
2632
  * Do not edit the class manually.
1691
2633
  */
2634
+ const NoteSourceType = {
2635
+ Shipment: 'Shipment',
2636
+ Delivery: 'Delivery'
2637
+ };
1692
2638
 
1693
2639
  /**
1694
2640
  * Wms.API.Client
@@ -1709,6 +2655,26 @@ const APIS = [AnalyticsService, DcsService, HealthService, PermissionsService, S
1709
2655
  * https://openapi-generator.tech
1710
2656
  * Do not edit the class manually.
1711
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
+ };
1712
2678
 
1713
2679
  /**
1714
2680
  * Wms.API.Client
@@ -1729,6 +2695,10 @@ const APIS = [AnalyticsService, DcsService, HealthService, PermissionsService, S
1729
2695
  * https://openapi-generator.tech
1730
2696
  * Do not edit the class manually.
1731
2697
  */
2698
+ const RecordType = {
2699
+ Web: 'Web',
2700
+ Hub: 'Hub'
2701
+ };
1732
2702
 
1733
2703
  /**
1734
2704
  * Wms.API.Client
@@ -1820,5 +2790,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
1820
2790
  * Generated bundle index. Do not edit.
1821
2791
  */
1822
2792
 
1823
- 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 };
1824
2794
  //# sourceMappingURL=indigina-wms-api.mjs.map