@indigina/dcm-api 0.0.18 → 0.0.20

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.
Files changed (87) hide show
  1. package/README.md +4 -2
  2. package/api/api.d.ts +3 -1
  3. package/api/bookings.service.d.ts +37 -0
  4. package/api/shipments.service.d.ts +40 -0
  5. package/esm2022/api/api.mjs +4 -2
  6. package/esm2022/api/bookings.service.mjs +142 -0
  7. package/esm2022/api/containers.service.mjs +7 -7
  8. package/esm2022/api/health.service.mjs +7 -7
  9. package/esm2022/api/permissions.service.mjs +7 -7
  10. package/esm2022/api/reports.service.mjs +7 -7
  11. package/esm2022/api/shipments.service.mjs +95 -7
  12. package/esm2022/api/user.service.mjs +7 -7
  13. package/esm2022/api.module.mjs +5 -5
  14. package/esm2022/configuration.mjs +1 -1
  15. package/esm2022/model/bookingsCount.mjs +12 -0
  16. package/esm2022/model/column.mjs +1 -1
  17. package/esm2022/model/commandStatusResult.mjs +1 -2
  18. package/esm2022/model/company.mjs +1 -2
  19. package/esm2022/model/containersToDeliverCount.mjs +1 -2
  20. package/esm2022/model/country.mjs +1 -2
  21. package/esm2022/model/currentUser.mjs +1 -2
  22. package/esm2022/model/dashboardReportGroup.mjs +1 -1
  23. package/esm2022/model/dashboardReports.mjs +1 -1
  24. package/esm2022/model/departmentShipment.mjs +1 -2
  25. package/esm2022/model/embedReport.mjs +1 -1
  26. package/esm2022/model/embedReportInfoModel.mjs +1 -1
  27. package/esm2022/model/embedTokenDto.mjs +1 -2
  28. package/esm2022/model/failures.mjs +1 -2
  29. package/esm2022/model/modelError.mjs +1 -1
  30. package/esm2022/model/models.mjs +2 -1
  31. package/esm2022/model/pendingMessagesCount.mjs +1 -2
  32. package/esm2022/model/port.mjs +1 -1
  33. package/esm2022/model/powerBiTenant.mjs +1 -2
  34. package/esm2022/model/setNewFeaturesVisibilityCommand.mjs +1 -2
  35. package/esm2022/model/shipment.mjs +1 -1
  36. package/esm2022/model/shipmentApprovalType.mjs +1 -2
  37. package/esm2022/model/shipmentItem.mjs +1 -2
  38. package/esm2022/model/shipmentItemsList.mjs +1 -1
  39. package/esm2022/model/shipmentState.mjs +1 -2
  40. package/esm2022/model/shipmentType.mjs +1 -2
  41. package/esm2022/model/shipmentsApprovalCount.mjs +1 -2
  42. package/esm2022/model/shipmentsCount.mjs +1 -2
  43. package/esm2022/model/shipmentsInTransitCount.mjs +1 -2
  44. package/esm2022/model/shipmentsList.mjs +1 -1
  45. package/esm2022/model/summaryDashboardReports.mjs +1 -1
  46. package/esm2022/model/transportCarrier.mjs +1 -2
  47. package/esm2022/model/transportLocation.mjs +1 -2
  48. package/esm2022/model/user.mjs +1 -2
  49. package/esm2022/model/userPermissions.mjs +1 -2
  50. package/fesm2022/indigina-dcm-api.mjs +274 -64
  51. package/fesm2022/indigina-dcm-api.mjs.map +1 -1
  52. package/model/bookingsCount.d.ts +13 -0
  53. package/model/column.d.ts +0 -1
  54. package/model/commandStatusResult.d.ts +0 -1
  55. package/model/company.d.ts +0 -1
  56. package/model/containersToDeliverCount.d.ts +0 -1
  57. package/model/country.d.ts +0 -1
  58. package/model/currentUser.d.ts +0 -1
  59. package/model/dashboardReportGroup.d.ts +0 -1
  60. package/model/dashboardReports.d.ts +0 -1
  61. package/model/departmentShipment.d.ts +0 -1
  62. package/model/embedReport.d.ts +0 -1
  63. package/model/embedReportInfoModel.d.ts +0 -1
  64. package/model/embedTokenDto.d.ts +0 -1
  65. package/model/failures.d.ts +0 -1
  66. package/model/modelError.d.ts +0 -1
  67. package/model/models.d.ts +1 -0
  68. package/model/pendingMessagesCount.d.ts +0 -1
  69. package/model/port.d.ts +0 -1
  70. package/model/powerBiTenant.d.ts +0 -1
  71. package/model/setNewFeaturesVisibilityCommand.d.ts +0 -1
  72. package/model/shipment.d.ts +0 -1
  73. package/model/shipmentApprovalType.d.ts +0 -1
  74. package/model/shipmentItem.d.ts +0 -1
  75. package/model/shipmentItemsList.d.ts +0 -1
  76. package/model/shipmentState.d.ts +0 -1
  77. package/model/shipmentType.d.ts +0 -1
  78. package/model/shipmentsApprovalCount.d.ts +0 -1
  79. package/model/shipmentsCount.d.ts +0 -1
  80. package/model/shipmentsInTransitCount.d.ts +0 -1
  81. package/model/shipmentsList.d.ts +0 -1
  82. package/model/summaryDashboardReports.d.ts +0 -1
  83. package/model/transportCarrier.d.ts +0 -1
  84. package/model/transportLocation.d.ts +0 -1
  85. package/model/user.d.ts +0 -1
  86. package/model/userPermissions.d.ts +0 -1
  87. package/package.json +2 -2
@@ -155,7 +155,139 @@ class Configuration {
155
155
  * Dcm.API.Client
156
156
  * DCM API Client for Angular applications
157
157
  *
158
- * The version of the OpenAPI document: v1
158
+ *
159
+ *
160
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
161
+ * https://openapi-generator.tech
162
+ * Do not edit the class manually.
163
+ */
164
+ /* tslint:disable:no-unused-variable member-ordering */
165
+ class BookingsService {
166
+ httpClient;
167
+ basePath = 'http://localhost';
168
+ defaultHeaders = new HttpHeaders();
169
+ configuration = new Configuration();
170
+ encoder;
171
+ constructor(httpClient, basePath, configuration) {
172
+ this.httpClient = httpClient;
173
+ if (configuration) {
174
+ this.configuration = configuration;
175
+ }
176
+ if (typeof this.configuration.basePath !== 'string') {
177
+ const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
178
+ if (firstBasePath != undefined) {
179
+ basePath = firstBasePath;
180
+ }
181
+ if (typeof basePath !== 'string') {
182
+ basePath = this.basePath;
183
+ }
184
+ this.configuration.basePath = basePath;
185
+ }
186
+ this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
187
+ }
188
+ // @ts-ignore
189
+ addToHttpParams(httpParams, value, key) {
190
+ if (typeof value === "object" && value instanceof Date === false) {
191
+ httpParams = this.addToHttpParamsRecursive(httpParams, value);
192
+ }
193
+ else {
194
+ httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
195
+ }
196
+ return httpParams;
197
+ }
198
+ addToHttpParamsRecursive(httpParams, value, key) {
199
+ if (value == null) {
200
+ return httpParams;
201
+ }
202
+ if (typeof value === "object") {
203
+ if (Array.isArray(value)) {
204
+ value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
205
+ }
206
+ else if (value instanceof Date) {
207
+ if (key != null) {
208
+ httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
209
+ }
210
+ else {
211
+ throw Error("key may not be null if value is Date");
212
+ }
213
+ }
214
+ else {
215
+ Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
216
+ }
217
+ }
218
+ else if (key != null) {
219
+ httpParams = httpParams.append(key, value);
220
+ }
221
+ else {
222
+ throw Error("key may not be null if value is not object or array");
223
+ }
224
+ return httpParams;
225
+ }
226
+ getVendorDraftBookingsCount(observe = 'body', reportProgress = false, options) {
227
+ let localVarHeaders = this.defaultHeaders;
228
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
229
+ if (localVarHttpHeaderAcceptSelected === undefined) {
230
+ // to determine the Accept header
231
+ const httpHeaderAccepts = [
232
+ 'application/json'
233
+ ];
234
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
235
+ }
236
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
237
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
238
+ }
239
+ let localVarHttpContext = options && options.context;
240
+ if (localVarHttpContext === undefined) {
241
+ localVarHttpContext = new HttpContext();
242
+ }
243
+ let localVarTransferCache = options && options.transferCache;
244
+ if (localVarTransferCache === undefined) {
245
+ localVarTransferCache = true;
246
+ }
247
+ let responseType_ = 'json';
248
+ if (localVarHttpHeaderAcceptSelected) {
249
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
250
+ responseType_ = 'text';
251
+ }
252
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
253
+ responseType_ = 'json';
254
+ }
255
+ else {
256
+ responseType_ = 'blob';
257
+ }
258
+ }
259
+ let localVarPath = `/bookings/vendorDrafts/count`;
260
+ return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
261
+ context: localVarHttpContext,
262
+ responseType: responseType_,
263
+ withCredentials: this.configuration.withCredentials,
264
+ headers: localVarHeaders,
265
+ observe: observe,
266
+ transferCache: localVarTransferCache,
267
+ reportProgress: reportProgress
268
+ });
269
+ }
270
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BookingsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
271
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BookingsService, providedIn: 'root' });
272
+ }
273
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BookingsService, decorators: [{
274
+ type: Injectable,
275
+ args: [{
276
+ providedIn: 'root'
277
+ }]
278
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
279
+ type: Optional
280
+ }, {
281
+ type: Inject,
282
+ args: [BASE_PATH]
283
+ }] }, { type: Configuration, decorators: [{
284
+ type: Optional
285
+ }] }] });
286
+
287
+ /**
288
+ * Dcm.API.Client
289
+ * DCM API Client for Angular applications
290
+ *
159
291
  *
160
292
  *
161
293
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -175,8 +307,9 @@ class ContainersService {
175
307
  this.configuration = configuration;
176
308
  }
177
309
  if (typeof this.configuration.basePath !== 'string') {
178
- if (Array.isArray(basePath) && basePath.length > 0) {
179
- basePath = basePath[0];
310
+ const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
311
+ if (firstBasePath != undefined) {
312
+ basePath = firstBasePath;
180
313
  }
181
314
  if (typeof basePath !== 'string') {
182
315
  basePath = this.basePath;
@@ -267,10 +400,10 @@ class ContainersService {
267
400
  reportProgress: reportProgress
268
401
  });
269
402
  }
270
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ContainersService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
271
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ContainersService, providedIn: 'root' });
403
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ContainersService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
404
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ContainersService, providedIn: 'root' });
272
405
  }
273
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ContainersService, decorators: [{
406
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ContainersService, decorators: [{
274
407
  type: Injectable,
275
408
  args: [{
276
409
  providedIn: 'root'
@@ -288,7 +421,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
288
421
  * Dcm.API.Client
289
422
  * DCM API Client for Angular applications
290
423
  *
291
- * The version of the OpenAPI document: v1
292
424
  *
293
425
  *
294
426
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -308,8 +440,9 @@ class HealthService {
308
440
  this.configuration = configuration;
309
441
  }
310
442
  if (typeof this.configuration.basePath !== 'string') {
311
- if (Array.isArray(basePath) && basePath.length > 0) {
312
- basePath = basePath[0];
443
+ const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
444
+ if (firstBasePath != undefined) {
445
+ basePath = firstBasePath;
313
446
  }
314
447
  if (typeof basePath !== 'string') {
315
448
  basePath = this.basePath;
@@ -401,10 +534,10 @@ class HealthService {
401
534
  reportProgress: reportProgress
402
535
  });
403
536
  }
404
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: HealthService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
405
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: HealthService, providedIn: 'root' });
537
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: HealthService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
538
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: HealthService, providedIn: 'root' });
406
539
  }
407
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: HealthService, decorators: [{
540
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: HealthService, decorators: [{
408
541
  type: Injectable,
409
542
  args: [{
410
543
  providedIn: 'root'
@@ -422,7 +555,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
422
555
  * Dcm.API.Client
423
556
  * DCM API Client for Angular applications
424
557
  *
425
- * The version of the OpenAPI document: v1
426
558
  *
427
559
  *
428
560
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -442,8 +574,9 @@ class PermissionsService {
442
574
  this.configuration = configuration;
443
575
  }
444
576
  if (typeof this.configuration.basePath !== 'string') {
445
- if (Array.isArray(basePath) && basePath.length > 0) {
446
- basePath = basePath[0];
577
+ const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
578
+ if (firstBasePath != undefined) {
579
+ basePath = firstBasePath;
447
580
  }
448
581
  if (typeof basePath !== 'string') {
449
582
  basePath = this.basePath;
@@ -534,10 +667,10 @@ class PermissionsService {
534
667
  reportProgress: reportProgress
535
668
  });
536
669
  }
537
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: PermissionsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
538
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: PermissionsService, providedIn: 'root' });
670
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: PermissionsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
671
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: PermissionsService, providedIn: 'root' });
539
672
  }
540
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: PermissionsService, decorators: [{
673
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: PermissionsService, decorators: [{
541
674
  type: Injectable,
542
675
  args: [{
543
676
  providedIn: 'root'
@@ -555,7 +688,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
555
688
  * Dcm.API.Client
556
689
  * DCM API Client for Angular applications
557
690
  *
558
- * The version of the OpenAPI document: v1
559
691
  *
560
692
  *
561
693
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -575,8 +707,9 @@ class ReportsService {
575
707
  this.configuration = configuration;
576
708
  }
577
709
  if (typeof this.configuration.basePath !== 'string') {
578
- if (Array.isArray(basePath) && basePath.length > 0) {
579
- basePath = basePath[0];
710
+ const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
711
+ if (firstBasePath != undefined) {
712
+ basePath = firstBasePath;
580
713
  }
581
714
  if (typeof basePath !== 'string') {
582
715
  basePath = this.basePath;
@@ -711,10 +844,10 @@ class ReportsService {
711
844
  reportProgress: reportProgress
712
845
  });
713
846
  }
714
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ReportsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
715
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ReportsService, providedIn: 'root' });
847
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ReportsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
848
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ReportsService, providedIn: 'root' });
716
849
  }
717
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ReportsService, decorators: [{
850
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ReportsService, decorators: [{
718
851
  type: Injectable,
719
852
  args: [{
720
853
  providedIn: 'root'
@@ -732,7 +865,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
732
865
  * Dcm.API.Client
733
866
  * DCM API Client for Angular applications
734
867
  *
735
- * The version of the OpenAPI document: v1
736
868
  *
737
869
  *
738
870
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -752,8 +884,9 @@ class ShipmentsService {
752
884
  this.configuration = configuration;
753
885
  }
754
886
  if (typeof this.configuration.basePath !== 'string') {
755
- if (Array.isArray(basePath) && basePath.length > 0) {
756
- basePath = basePath[0];
887
+ const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
888
+ if (firstBasePath != undefined) {
889
+ basePath = firstBasePath;
757
890
  }
758
891
  if (typeof basePath !== 'string') {
759
892
  basePath = this.basePath;
@@ -1043,10 +1176,98 @@ class ShipmentsService {
1043
1176
  reportProgress: reportProgress
1044
1177
  });
1045
1178
  }
1046
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ShipmentsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1047
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ShipmentsService, providedIn: 'root' });
1179
+ getShipmentsPendingDocuments(observe = 'body', reportProgress = false, options) {
1180
+ let localVarHeaders = this.defaultHeaders;
1181
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
1182
+ if (localVarHttpHeaderAcceptSelected === undefined) {
1183
+ // to determine the Accept header
1184
+ const httpHeaderAccepts = [
1185
+ 'application/json'
1186
+ ];
1187
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1188
+ }
1189
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1190
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1191
+ }
1192
+ let localVarHttpContext = options && options.context;
1193
+ if (localVarHttpContext === undefined) {
1194
+ localVarHttpContext = new HttpContext();
1195
+ }
1196
+ let localVarTransferCache = options && options.transferCache;
1197
+ if (localVarTransferCache === undefined) {
1198
+ localVarTransferCache = true;
1199
+ }
1200
+ let responseType_ = 'json';
1201
+ if (localVarHttpHeaderAcceptSelected) {
1202
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1203
+ responseType_ = 'text';
1204
+ }
1205
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1206
+ responseType_ = 'json';
1207
+ }
1208
+ else {
1209
+ responseType_ = 'blob';
1210
+ }
1211
+ }
1212
+ let localVarPath = `/shipments/vendorPendingDocuments/count`;
1213
+ return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
1214
+ context: localVarHttpContext,
1215
+ responseType: responseType_,
1216
+ withCredentials: this.configuration.withCredentials,
1217
+ headers: localVarHeaders,
1218
+ observe: observe,
1219
+ transferCache: localVarTransferCache,
1220
+ reportProgress: reportProgress
1221
+ });
1222
+ }
1223
+ getShipmentsPendingInstructions(observe = 'body', reportProgress = false, options) {
1224
+ let localVarHeaders = this.defaultHeaders;
1225
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
1226
+ if (localVarHttpHeaderAcceptSelected === undefined) {
1227
+ // to determine the Accept header
1228
+ const httpHeaderAccepts = [
1229
+ 'application/json'
1230
+ ];
1231
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1232
+ }
1233
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1234
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1235
+ }
1236
+ let localVarHttpContext = options && options.context;
1237
+ if (localVarHttpContext === undefined) {
1238
+ localVarHttpContext = new HttpContext();
1239
+ }
1240
+ let localVarTransferCache = options && options.transferCache;
1241
+ if (localVarTransferCache === undefined) {
1242
+ localVarTransferCache = true;
1243
+ }
1244
+ let responseType_ = 'json';
1245
+ if (localVarHttpHeaderAcceptSelected) {
1246
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1247
+ responseType_ = 'text';
1248
+ }
1249
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1250
+ responseType_ = 'json';
1251
+ }
1252
+ else {
1253
+ responseType_ = 'blob';
1254
+ }
1255
+ }
1256
+ let localVarPath = `/shipments/vendorPendingInstructions/count`;
1257
+ return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
1258
+ context: localVarHttpContext,
1259
+ responseType: responseType_,
1260
+ withCredentials: this.configuration.withCredentials,
1261
+ headers: localVarHeaders,
1262
+ observe: observe,
1263
+ transferCache: localVarTransferCache,
1264
+ reportProgress: reportProgress
1265
+ });
1266
+ }
1267
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ShipmentsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1268
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ShipmentsService, providedIn: 'root' });
1048
1269
  }
1049
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ShipmentsService, decorators: [{
1270
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ShipmentsService, decorators: [{
1050
1271
  type: Injectable,
1051
1272
  args: [{
1052
1273
  providedIn: 'root'
@@ -1064,7 +1285,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
1064
1285
  * Dcm.API.Client
1065
1286
  * DCM API Client for Angular applications
1066
1287
  *
1067
- * The version of the OpenAPI document: v1
1068
1288
  *
1069
1289
  *
1070
1290
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1084,8 +1304,9 @@ class UserService {
1084
1304
  this.configuration = configuration;
1085
1305
  }
1086
1306
  if (typeof this.configuration.basePath !== 'string') {
1087
- if (Array.isArray(basePath) && basePath.length > 0) {
1088
- basePath = basePath[0];
1307
+ const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
1308
+ if (firstBasePath != undefined) {
1309
+ basePath = firstBasePath;
1089
1310
  }
1090
1311
  if (typeof basePath !== 'string') {
1091
1312
  basePath = this.basePath;
@@ -1317,10 +1538,10 @@ class UserService {
1317
1538
  reportProgress: reportProgress
1318
1539
  });
1319
1540
  }
1320
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1321
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: UserService, providedIn: 'root' });
1541
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1542
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: UserService, providedIn: 'root' });
1322
1543
  }
1323
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: UserService, decorators: [{
1544
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: UserService, decorators: [{
1324
1545
  type: Injectable,
1325
1546
  args: [{
1326
1547
  providedIn: 'root'
@@ -1334,13 +1555,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
1334
1555
  type: Optional
1335
1556
  }] }] });
1336
1557
 
1337
- const APIS = [ContainersService, HealthService, PermissionsService, ReportsService, ShipmentsService, UserService];
1558
+ const APIS = [BookingsService, ContainersService, HealthService, PermissionsService, ReportsService, ShipmentsService, UserService];
1559
+
1560
+ /**
1561
+ * Dcm.API.Client
1562
+ * DCM API Client for Angular applications
1563
+ *
1564
+ *
1565
+ *
1566
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1567
+ * https://openapi-generator.tech
1568
+ * Do not edit the class manually.
1569
+ */
1338
1570
 
1339
1571
  /**
1340
1572
  * Dcm.API.Client
1341
1573
  * DCM API Client for Angular applications
1342
1574
  *
1343
- * The version of the OpenAPI document: v1
1344
1575
  *
1345
1576
  *
1346
1577
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1352,7 +1583,6 @@ const APIS = [ContainersService, HealthService, PermissionsService, ReportsServi
1352
1583
  * Dcm.API.Client
1353
1584
  * DCM API Client for Angular applications
1354
1585
  *
1355
- * The version of the OpenAPI document: v1
1356
1586
  *
1357
1587
  *
1358
1588
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1364,7 +1594,6 @@ const APIS = [ContainersService, HealthService, PermissionsService, ReportsServi
1364
1594
  * Dcm.API.Client
1365
1595
  * DCM API Client for Angular applications
1366
1596
  *
1367
- * The version of the OpenAPI document: v1
1368
1597
  *
1369
1598
  *
1370
1599
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1376,7 +1605,6 @@ const APIS = [ContainersService, HealthService, PermissionsService, ReportsServi
1376
1605
  * Dcm.API.Client
1377
1606
  * DCM API Client for Angular applications
1378
1607
  *
1379
- * The version of the OpenAPI document: v1
1380
1608
  *
1381
1609
  *
1382
1610
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1388,7 +1616,6 @@ const APIS = [ContainersService, HealthService, PermissionsService, ReportsServi
1388
1616
  * Dcm.API.Client
1389
1617
  * DCM API Client for Angular applications
1390
1618
  *
1391
- * The version of the OpenAPI document: v1
1392
1619
  *
1393
1620
  *
1394
1621
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1400,7 +1627,6 @@ const APIS = [ContainersService, HealthService, PermissionsService, ReportsServi
1400
1627
  * Dcm.API.Client
1401
1628
  * DCM API Client for Angular applications
1402
1629
  *
1403
- * The version of the OpenAPI document: v1
1404
1630
  *
1405
1631
  *
1406
1632
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1412,7 +1638,6 @@ const APIS = [ContainersService, HealthService, PermissionsService, ReportsServi
1412
1638
  * Dcm.API.Client
1413
1639
  * DCM API Client for Angular applications
1414
1640
  *
1415
- * The version of the OpenAPI document: v1
1416
1641
  *
1417
1642
  *
1418
1643
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1424,7 +1649,6 @@ const APIS = [ContainersService, HealthService, PermissionsService, ReportsServi
1424
1649
  * Dcm.API.Client
1425
1650
  * DCM API Client for Angular applications
1426
1651
  *
1427
- * The version of the OpenAPI document: v1
1428
1652
  *
1429
1653
  *
1430
1654
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1436,7 +1660,6 @@ const APIS = [ContainersService, HealthService, PermissionsService, ReportsServi
1436
1660
  * Dcm.API.Client
1437
1661
  * DCM API Client for Angular applications
1438
1662
  *
1439
- * The version of the OpenAPI document: v1
1440
1663
  *
1441
1664
  *
1442
1665
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1448,7 +1671,6 @@ const APIS = [ContainersService, HealthService, PermissionsService, ReportsServi
1448
1671
  * Dcm.API.Client
1449
1672
  * DCM API Client for Angular applications
1450
1673
  *
1451
- * The version of the OpenAPI document: v1
1452
1674
  *
1453
1675
  *
1454
1676
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1464,7 +1686,6 @@ const PowerBiTenant = {
1464
1686
  * Dcm.API.Client
1465
1687
  * DCM API Client for Angular applications
1466
1688
  *
1467
- * The version of the OpenAPI document: v1
1468
1689
  *
1469
1690
  *
1470
1691
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1476,7 +1697,6 @@ const PowerBiTenant = {
1476
1697
  * Dcm.API.Client
1477
1698
  * DCM API Client for Angular applications
1478
1699
  *
1479
- * The version of the OpenAPI document: v1
1480
1700
  *
1481
1701
  *
1482
1702
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1492,7 +1712,6 @@ const ShipmentApprovalType = {
1492
1712
  * Dcm.API.Client
1493
1713
  * DCM API Client for Angular applications
1494
1714
  *
1495
- * The version of the OpenAPI document: v1
1496
1715
  *
1497
1716
  *
1498
1717
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1504,7 +1723,6 @@ const ShipmentApprovalType = {
1504
1723
  * Dcm.API.Client
1505
1724
  * DCM API Client for Angular applications
1506
1725
  *
1507
- * The version of the OpenAPI document: v1
1508
1726
  *
1509
1727
  *
1510
1728
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1527,7 +1745,6 @@ const ShipmentState = {
1527
1745
  * Dcm.API.Client
1528
1746
  * DCM API Client for Angular applications
1529
1747
  *
1530
- * The version of the OpenAPI document: v1
1531
1748
  *
1532
1749
  *
1533
1750
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1544,7 +1761,6 @@ const ShipmentType = {
1544
1761
  * Dcm.API.Client
1545
1762
  * DCM API Client for Angular applications
1546
1763
  *
1547
- * The version of the OpenAPI document: v1
1548
1764
  *
1549
1765
  *
1550
1766
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1556,7 +1772,6 @@ const ShipmentType = {
1556
1772
  * Dcm.API.Client
1557
1773
  * DCM API Client for Angular applications
1558
1774
  *
1559
- * The version of the OpenAPI document: v1
1560
1775
  *
1561
1776
  *
1562
1777
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1568,7 +1783,6 @@ const ShipmentType = {
1568
1783
  * Dcm.API.Client
1569
1784
  * DCM API Client for Angular applications
1570
1785
  *
1571
- * The version of the OpenAPI document: v1
1572
1786
  *
1573
1787
  *
1574
1788
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1580,7 +1794,6 @@ const ShipmentType = {
1580
1794
  * Dcm.API.Client
1581
1795
  * DCM API Client for Angular applications
1582
1796
  *
1583
- * The version of the OpenAPI document: v1
1584
1797
  *
1585
1798
  *
1586
1799
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1592,7 +1805,6 @@ const ShipmentType = {
1592
1805
  * Dcm.API.Client
1593
1806
  * DCM API Client for Angular applications
1594
1807
  *
1595
- * The version of the OpenAPI document: v1
1596
1808
  *
1597
1809
  *
1598
1810
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1604,7 +1816,6 @@ const ShipmentType = {
1604
1816
  * Dcm.API.Client
1605
1817
  * DCM API Client for Angular applications
1606
1818
  *
1607
- * The version of the OpenAPI document: v1
1608
1819
  *
1609
1820
  *
1610
1821
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1616,7 +1827,6 @@ const ShipmentType = {
1616
1827
  * Dcm.API.Client
1617
1828
  * DCM API Client for Angular applications
1618
1829
  *
1619
- * The version of the OpenAPI document: v1
1620
1830
  *
1621
1831
  *
1622
1832
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1640,11 +1850,11 @@ class ApiModule {
1640
1850
  'See also https://github.com/angular/angular/issues/20575');
1641
1851
  }
1642
1852
  }
1643
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
1644
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.3", ngImport: i0, type: ApiModule });
1645
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ApiModule });
1853
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
1854
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.6", ngImport: i0, type: ApiModule });
1855
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ApiModule });
1646
1856
  }
1647
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ApiModule, decorators: [{
1857
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ApiModule, decorators: [{
1648
1858
  type: NgModule,
1649
1859
  args: [{
1650
1860
  imports: [],
@@ -1664,5 +1874,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
1664
1874
  * Generated bundle index. Do not edit.
1665
1875
  */
1666
1876
 
1667
- export { APIS, ApiModule, BASE_PATH, COLLECTION_FORMATS, Configuration, ContainersService, HealthService, PermissionsService, PowerBiTenant, ReportsService, ShipmentApprovalType, ShipmentState, ShipmentType, ShipmentsService, UserService };
1877
+ export { APIS, ApiModule, BASE_PATH, BookingsService, COLLECTION_FORMATS, Configuration, ContainersService, HealthService, PermissionsService, PowerBiTenant, ReportsService, ShipmentApprovalType, ShipmentState, ShipmentType, ShipmentsService, UserService };
1668
1878
  //# sourceMappingURL=indigina-dcm-api.mjs.map