@indigina/wms-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 (39) hide show
  1. package/README.md +4 -2
  2. package/api/user.service.d.ts +0 -41
  3. package/esm2022/api/health.service.mjs +7 -7
  4. package/esm2022/api/permissions.service.mjs +7 -7
  5. package/esm2022/api/reports.service.mjs +7 -7
  6. package/esm2022/api/user.service.mjs +7 -95
  7. package/esm2022/api.module.mjs +5 -5
  8. package/esm2022/configuration.mjs +1 -1
  9. package/esm2022/model/column.mjs +1 -1
  10. package/esm2022/model/commandStatusResult.mjs +1 -2
  11. package/esm2022/model/currentUser.mjs +1 -2
  12. package/esm2022/model/dashboardReportGroup.mjs +1 -1
  13. package/esm2022/model/dashboardReports.mjs +1 -1
  14. package/esm2022/model/embedReportInfoModel.mjs +1 -1
  15. package/esm2022/model/embedTokenDto.mjs +1 -2
  16. package/esm2022/model/failures.mjs +1 -2
  17. package/esm2022/model/modelError.mjs +1 -1
  18. package/esm2022/model/models.mjs +1 -2
  19. package/esm2022/model/powerBiTenant.mjs +1 -2
  20. package/esm2022/model/setNewFeaturesVisibilityCommand.mjs +1 -2
  21. package/esm2022/model/userPermissions.mjs +1 -2
  22. package/fesm2022/indigina-wms-api.mjs +28 -135
  23. package/fesm2022/indigina-wms-api.mjs.map +1 -1
  24. package/model/column.d.ts +0 -1
  25. package/model/commandStatusResult.d.ts +0 -1
  26. package/model/currentUser.d.ts +0 -1
  27. package/model/dashboardReportGroup.d.ts +0 -1
  28. package/model/dashboardReports.d.ts +0 -1
  29. package/model/embedReportInfoModel.d.ts +0 -1
  30. package/model/embedTokenDto.d.ts +0 -1
  31. package/model/failures.d.ts +0 -1
  32. package/model/modelError.d.ts +0 -1
  33. package/model/models.d.ts +0 -1
  34. package/model/powerBiTenant.d.ts +0 -1
  35. package/model/setNewFeaturesVisibilityCommand.d.ts +0 -1
  36. package/model/userPermissions.d.ts +0 -1
  37. package/package.json +2 -2
  38. package/esm2022/model/pendingMessagesCount.mjs +0 -13
  39. package/model/pendingMessagesCount.d.ts +0 -14
@@ -155,7 +155,6 @@ class Configuration {
155
155
  * Wms.API.Client
156
156
  * WMS API Client for Angular applications
157
157
  *
158
- * The version of the OpenAPI document: v1
159
158
  *
160
159
  *
161
160
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -175,8 +174,9 @@ class HealthService {
175
174
  this.configuration = configuration;
176
175
  }
177
176
  if (typeof this.configuration.basePath !== 'string') {
178
- if (Array.isArray(basePath) && basePath.length > 0) {
179
- basePath = basePath[0];
177
+ const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
178
+ if (firstBasePath != undefined) {
179
+ basePath = firstBasePath;
180
180
  }
181
181
  if (typeof basePath !== 'string') {
182
182
  basePath = this.basePath;
@@ -268,10 +268,10 @@ class HealthService {
268
268
  reportProgress: reportProgress
269
269
  });
270
270
  }
271
- 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 });
272
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: HealthService, providedIn: 'root' });
271
+ 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 });
272
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: HealthService, providedIn: 'root' });
273
273
  }
274
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: HealthService, decorators: [{
274
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: HealthService, decorators: [{
275
275
  type: Injectable,
276
276
  args: [{
277
277
  providedIn: 'root'
@@ -289,7 +289,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
289
289
  * Wms.API.Client
290
290
  * WMS API Client for Angular applications
291
291
  *
292
- * The version of the OpenAPI document: v1
293
292
  *
294
293
  *
295
294
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -309,8 +308,9 @@ class PermissionsService {
309
308
  this.configuration = configuration;
310
309
  }
311
310
  if (typeof this.configuration.basePath !== 'string') {
312
- if (Array.isArray(basePath) && basePath.length > 0) {
313
- basePath = basePath[0];
311
+ const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
312
+ if (firstBasePath != undefined) {
313
+ basePath = firstBasePath;
314
314
  }
315
315
  if (typeof basePath !== 'string') {
316
316
  basePath = this.basePath;
@@ -401,10 +401,10 @@ class PermissionsService {
401
401
  reportProgress: reportProgress
402
402
  });
403
403
  }
404
- 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 });
405
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: PermissionsService, providedIn: 'root' });
404
+ 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 });
405
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: PermissionsService, providedIn: 'root' });
406
406
  }
407
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: PermissionsService, decorators: [{
407
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: PermissionsService, decorators: [{
408
408
  type: Injectable,
409
409
  args: [{
410
410
  providedIn: 'root'
@@ -422,7 +422,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
422
422
  * Wms.API.Client
423
423
  * WMS API Client for Angular applications
424
424
  *
425
- * The version of the OpenAPI document: v1
426
425
  *
427
426
  *
428
427
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -442,8 +441,9 @@ class ReportsService {
442
441
  this.configuration = configuration;
443
442
  }
444
443
  if (typeof this.configuration.basePath !== 'string') {
445
- if (Array.isArray(basePath) && basePath.length > 0) {
446
- basePath = basePath[0];
444
+ const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
445
+ if (firstBasePath != undefined) {
446
+ basePath = firstBasePath;
447
447
  }
448
448
  if (typeof basePath !== 'string') {
449
449
  basePath = this.basePath;
@@ -534,10 +534,10 @@ class ReportsService {
534
534
  reportProgress: reportProgress
535
535
  });
536
536
  }
537
- 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 });
538
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ReportsService, providedIn: 'root' });
537
+ 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 });
538
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ReportsService, providedIn: 'root' });
539
539
  }
540
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ReportsService, decorators: [{
540
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ReportsService, decorators: [{
541
541
  type: Injectable,
542
542
  args: [{
543
543
  providedIn: 'root'
@@ -555,7 +555,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
555
555
  * Wms.API.Client
556
556
  * WMS API Client for Angular applications
557
557
  *
558
- * The version of the OpenAPI document: v1
559
558
  *
560
559
  *
561
560
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -575,8 +574,9 @@ class UserService {
575
574
  this.configuration = configuration;
576
575
  }
577
576
  if (typeof this.configuration.basePath !== 'string') {
578
- if (Array.isArray(basePath) && basePath.length > 0) {
579
- basePath = basePath[0];
577
+ const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
578
+ if (firstBasePath != undefined) {
579
+ basePath = firstBasePath;
580
580
  }
581
581
  if (typeof basePath !== 'string') {
582
582
  basePath = this.basePath;
@@ -623,94 +623,6 @@ class UserService {
623
623
  }
624
624
  return httpParams;
625
625
  }
626
- getChatPendingCount(observe = 'body', reportProgress = false, options) {
627
- let localVarHeaders = this.defaultHeaders;
628
- let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
629
- if (localVarHttpHeaderAcceptSelected === undefined) {
630
- // to determine the Accept header
631
- const httpHeaderAccepts = [
632
- 'application/json'
633
- ];
634
- localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
635
- }
636
- if (localVarHttpHeaderAcceptSelected !== undefined) {
637
- localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
638
- }
639
- let localVarHttpContext = options && options.context;
640
- if (localVarHttpContext === undefined) {
641
- localVarHttpContext = new HttpContext();
642
- }
643
- let localVarTransferCache = options && options.transferCache;
644
- if (localVarTransferCache === undefined) {
645
- localVarTransferCache = true;
646
- }
647
- let responseType_ = 'json';
648
- if (localVarHttpHeaderAcceptSelected) {
649
- if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
650
- responseType_ = 'text';
651
- }
652
- else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
653
- responseType_ = 'json';
654
- }
655
- else {
656
- responseType_ = 'blob';
657
- }
658
- }
659
- let localVarPath = `/user/chatCount`;
660
- return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
661
- context: localVarHttpContext,
662
- responseType: responseType_,
663
- withCredentials: this.configuration.withCredentials,
664
- headers: localVarHeaders,
665
- observe: observe,
666
- transferCache: localVarTransferCache,
667
- reportProgress: reportProgress
668
- });
669
- }
670
- getMailPendingCount(observe = 'body', reportProgress = false, options) {
671
- let localVarHeaders = this.defaultHeaders;
672
- let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
673
- if (localVarHttpHeaderAcceptSelected === undefined) {
674
- // to determine the Accept header
675
- const httpHeaderAccepts = [
676
- 'application/json'
677
- ];
678
- localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
679
- }
680
- if (localVarHttpHeaderAcceptSelected !== undefined) {
681
- localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
682
- }
683
- let localVarHttpContext = options && options.context;
684
- if (localVarHttpContext === undefined) {
685
- localVarHttpContext = new HttpContext();
686
- }
687
- let localVarTransferCache = options && options.transferCache;
688
- if (localVarTransferCache === undefined) {
689
- localVarTransferCache = true;
690
- }
691
- let responseType_ = 'json';
692
- if (localVarHttpHeaderAcceptSelected) {
693
- if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
694
- responseType_ = 'text';
695
- }
696
- else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
697
- responseType_ = 'json';
698
- }
699
- else {
700
- responseType_ = 'blob';
701
- }
702
- }
703
- let localVarPath = `/user/mailCount`;
704
- return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
705
- context: localVarHttpContext,
706
- responseType: responseType_,
707
- withCredentials: this.configuration.withCredentials,
708
- headers: localVarHeaders,
709
- observe: observe,
710
- transferCache: localVarTransferCache,
711
- reportProgress: reportProgress
712
- });
713
- }
714
626
  getUserInfo(observe = 'body', reportProgress = false, options) {
715
627
  let localVarHeaders = this.defaultHeaders;
716
628
  let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
@@ -808,10 +720,10 @@ class UserService {
808
720
  reportProgress: reportProgress
809
721
  });
810
722
  }
811
- 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 });
812
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: UserService, providedIn: 'root' });
723
+ 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 });
724
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: UserService, providedIn: 'root' });
813
725
  }
814
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: UserService, decorators: [{
726
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: UserService, decorators: [{
815
727
  type: Injectable,
816
728
  args: [{
817
729
  providedIn: 'root'
@@ -831,19 +743,6 @@ const APIS = [HealthService, PermissionsService, ReportsService, UserService];
831
743
  * Wms.API.Client
832
744
  * WMS API Client for Angular applications
833
745
  *
834
- * The version of the OpenAPI document: v1
835
- *
836
- *
837
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
838
- * https://openapi-generator.tech
839
- * Do not edit the class manually.
840
- */
841
-
842
- /**
843
- * Wms.API.Client
844
- * WMS API Client for Angular applications
845
- *
846
- * The version of the OpenAPI document: v1
847
746
  *
848
747
  *
849
748
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -855,7 +754,6 @@ const APIS = [HealthService, PermissionsService, ReportsService, UserService];
855
754
  * Wms.API.Client
856
755
  * WMS API Client for Angular applications
857
756
  *
858
- * The version of the OpenAPI document: v1
859
757
  *
860
758
  *
861
759
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -867,7 +765,6 @@ const APIS = [HealthService, PermissionsService, ReportsService, UserService];
867
765
  * Wms.API.Client
868
766
  * WMS API Client for Angular applications
869
767
  *
870
- * The version of the OpenAPI document: v1
871
768
  *
872
769
  *
873
770
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -879,7 +776,6 @@ const APIS = [HealthService, PermissionsService, ReportsService, UserService];
879
776
  * Wms.API.Client
880
777
  * WMS API Client for Angular applications
881
778
  *
882
- * The version of the OpenAPI document: v1
883
779
  *
884
780
  *
885
781
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -891,7 +787,6 @@ const APIS = [HealthService, PermissionsService, ReportsService, UserService];
891
787
  * Wms.API.Client
892
788
  * WMS API Client for Angular applications
893
789
  *
894
- * The version of the OpenAPI document: v1
895
790
  *
896
791
  *
897
792
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -907,7 +802,6 @@ const PowerBiTenant = {
907
802
  * Wms.API.Client
908
803
  * WMS API Client for Angular applications
909
804
  *
910
- * The version of the OpenAPI document: v1
911
805
  *
912
806
  *
913
807
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -919,7 +813,6 @@ const PowerBiTenant = {
919
813
  * Wms.API.Client
920
814
  * WMS API Client for Angular applications
921
815
  *
922
- * The version of the OpenAPI document: v1
923
816
  *
924
817
  *
925
818
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -943,11 +836,11 @@ class ApiModule {
943
836
  'See also https://github.com/angular/angular/issues/20575');
944
837
  }
945
838
  }
946
- 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 });
947
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.3", ngImport: i0, type: ApiModule });
948
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ApiModule });
839
+ 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 });
840
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.6", ngImport: i0, type: ApiModule });
841
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ApiModule });
949
842
  }
950
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ApiModule, decorators: [{
843
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ApiModule, decorators: [{
951
844
  type: NgModule,
952
845
  args: [{
953
846
  imports: [],