@indigina/wms-api 0.0.49 → 0.0.51

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.
@@ -1415,6 +1415,51 @@ class DeliveriesService {
1415
1415
  }
1416
1416
  return httpParams;
1417
1417
  }
1418
+ confirmDelivery(id, observe = 'body', reportProgress = false, options) {
1419
+ if (id === null || id === undefined) {
1420
+ throw new Error('Required parameter id was null or undefined when calling confirmDelivery.');
1421
+ }
1422
+ let localVarHeaders = this.defaultHeaders;
1423
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
1424
+ if (localVarHttpHeaderAcceptSelected === undefined) {
1425
+ // to determine the Accept header
1426
+ const httpHeaderAccepts = [];
1427
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1428
+ }
1429
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1430
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1431
+ }
1432
+ let localVarHttpContext = options && options.context;
1433
+ if (localVarHttpContext === undefined) {
1434
+ localVarHttpContext = new HttpContext();
1435
+ }
1436
+ let localVarTransferCache = options && options.transferCache;
1437
+ if (localVarTransferCache === undefined) {
1438
+ localVarTransferCache = true;
1439
+ }
1440
+ let responseType_ = 'json';
1441
+ if (localVarHttpHeaderAcceptSelected) {
1442
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1443
+ responseType_ = 'text';
1444
+ }
1445
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1446
+ responseType_ = 'json';
1447
+ }
1448
+ else {
1449
+ responseType_ = 'blob';
1450
+ }
1451
+ }
1452
+ let localVarPath = `/deliveries/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/confirm`;
1453
+ return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
1454
+ context: localVarHttpContext,
1455
+ responseType: responseType_,
1456
+ withCredentials: this.configuration.withCredentials,
1457
+ headers: localVarHeaders,
1458
+ observe: observe,
1459
+ transferCache: localVarTransferCache,
1460
+ reportProgress: reportProgress
1461
+ });
1462
+ }
1418
1463
  createDelivery(delivery, observe = 'body', reportProgress = false, options) {
1419
1464
  if (delivery === null || delivery === undefined) {
1420
1465
  throw new Error('Required parameter delivery was null or undefined when calling createDelivery.');
@@ -1505,7 +1550,7 @@ class DeliveriesService {
1505
1550
  responseType_ = 'blob';
1506
1551
  }
1507
1552
  }
1508
- let localVarPath = `/deliveries/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/`;
1553
+ let localVarPath = `/deliveries/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
1509
1554
  return this.httpClient.request('delete', `${this.configuration.basePath}${localVarPath}`, {
1510
1555
  context: localVarHttpContext,
1511
1556
  responseType: responseType_,
@@ -1702,25 +1747,56 @@ class DeliveriesService {
1702
1747
  reportProgress: reportProgress
1703
1748
  });
1704
1749
  }
1705
- getDelivery(id, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
1750
+ getDelivery(id, observe = 'body', reportProgress = false, options) {
1706
1751
  if (id === null || id === undefined) {
1707
1752
  throw new Error('Required parameter id was null or undefined when calling getDelivery.');
1708
1753
  }
1709
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1710
- if ($skip !== undefined && $skip !== null) {
1711
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
1754
+ let localVarHeaders = this.defaultHeaders;
1755
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
1756
+ if (localVarHttpHeaderAcceptSelected === undefined) {
1757
+ // to determine the Accept header
1758
+ const httpHeaderAccepts = [
1759
+ 'application/json'
1760
+ ];
1761
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1712
1762
  }
1713
- if ($top !== undefined && $top !== null) {
1714
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
1763
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1764
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1715
1765
  }
1716
- if ($orderby !== undefined && $orderby !== null) {
1717
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
1766
+ let localVarHttpContext = options && options.context;
1767
+ if (localVarHttpContext === undefined) {
1768
+ localVarHttpContext = new HttpContext();
1718
1769
  }
1719
- if ($filter !== undefined && $filter !== null) {
1720
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
1770
+ let localVarTransferCache = options && options.transferCache;
1771
+ if (localVarTransferCache === undefined) {
1772
+ localVarTransferCache = true;
1721
1773
  }
1722
- if ($search !== undefined && $search !== null) {
1723
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
1774
+ let responseType_ = 'json';
1775
+ if (localVarHttpHeaderAcceptSelected) {
1776
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1777
+ responseType_ = 'text';
1778
+ }
1779
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1780
+ responseType_ = 'json';
1781
+ }
1782
+ else {
1783
+ responseType_ = 'blob';
1784
+ }
1785
+ }
1786
+ let localVarPath = `/deliveries/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
1787
+ return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
1788
+ context: localVarHttpContext,
1789
+ responseType: responseType_,
1790
+ withCredentials: this.configuration.withCredentials,
1791
+ headers: localVarHeaders,
1792
+ observe: observe,
1793
+ transferCache: localVarTransferCache,
1794
+ reportProgress: reportProgress
1795
+ });
1796
+ }
1797
+ getDeliverySummary(id, observe = 'body', reportProgress = false, options) {
1798
+ if (id === null || id === undefined) {
1799
+ throw new Error('Required parameter id was null or undefined when calling getDeliverySummary.');
1724
1800
  }
1725
1801
  let localVarHeaders = this.defaultHeaders;
1726
1802
  let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
@@ -1754,10 +1830,9 @@ class DeliveriesService {
1754
1830
  responseType_ = 'blob';
1755
1831
  }
1756
1832
  }
1757
- let localVarPath = `/deliveries/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/`;
1833
+ let localVarPath = `/deliveries/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/summary`;
1758
1834
  return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
1759
1835
  context: localVarHttpContext,
1760
- params: localVarQueryParameters,
1761
1836
  responseType: responseType_,
1762
1837
  withCredentials: this.configuration.withCredentials,
1763
1838
  headers: localVarHeaders,
@@ -1766,13 +1841,19 @@ class DeliveriesService {
1766
1841
  reportProgress: reportProgress
1767
1842
  });
1768
1843
  }
1769
- setDelivery(id, delivery, observe = 'body', reportProgress = false, options) {
1844
+ setDelivery(id, delivery, propertiesToUpdate, observe = 'body', reportProgress = false, options) {
1770
1845
  if (id === null || id === undefined) {
1771
1846
  throw new Error('Required parameter id was null or undefined when calling setDelivery.');
1772
1847
  }
1773
1848
  if (delivery === null || delivery === undefined) {
1774
1849
  throw new Error('Required parameter delivery was null or undefined when calling setDelivery.');
1775
1850
  }
1851
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1852
+ if (propertiesToUpdate) {
1853
+ propertiesToUpdate.forEach((element) => {
1854
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, 'propertiesToUpdate');
1855
+ });
1856
+ }
1776
1857
  let localVarHeaders = this.defaultHeaders;
1777
1858
  let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
1778
1859
  if (localVarHttpHeaderAcceptSelected === undefined) {
@@ -1813,10 +1894,11 @@ class DeliveriesService {
1813
1894
  responseType_ = 'blob';
1814
1895
  }
1815
1896
  }
1816
- let localVarPath = `/deliveries/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/`;
1897
+ let localVarPath = `/deliveries/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
1817
1898
  return this.httpClient.request('put', `${this.configuration.basePath}${localVarPath}`, {
1818
1899
  context: localVarHttpContext,
1819
1900
  body: delivery,
1901
+ params: localVarQueryParameters,
1820
1902
  responseType: responseType_,
1821
1903
  withCredentials: this.configuration.withCredentials,
1822
1904
  headers: localVarHeaders,
@@ -2078,13 +2160,19 @@ class DeliveryItemsService {
2078
2160
  reportProgress: reportProgress
2079
2161
  });
2080
2162
  }
2081
- setDeliveryItem(id, deliveryItem, observe = 'body', reportProgress = false, options) {
2163
+ setDeliveryItem(id, deliveryItem, propertiesToUpdate, observe = 'body', reportProgress = false, options) {
2082
2164
  if (id === null || id === undefined) {
2083
2165
  throw new Error('Required parameter id was null or undefined when calling setDeliveryItem.');
2084
2166
  }
2085
2167
  if (deliveryItem === null || deliveryItem === undefined) {
2086
2168
  throw new Error('Required parameter deliveryItem was null or undefined when calling setDeliveryItem.');
2087
2169
  }
2170
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
2171
+ if (propertiesToUpdate) {
2172
+ propertiesToUpdate.forEach((element) => {
2173
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, 'propertiesToUpdate');
2174
+ });
2175
+ }
2088
2176
  let localVarHeaders = this.defaultHeaders;
2089
2177
  let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
2090
2178
  if (localVarHttpHeaderAcceptSelected === undefined) {
@@ -2129,6 +2217,7 @@ class DeliveryItemsService {
2129
2217
  return this.httpClient.request('put', `${this.configuration.basePath}${localVarPath}`, {
2130
2218
  context: localVarHttpContext,
2131
2219
  body: deliveryItem,
2220
+ params: localVarQueryParameters,
2132
2221
  responseType: responseType_,
2133
2222
  withCredentials: this.configuration.withCredentials,
2134
2223
  headers: localVarHeaders,
@@ -3673,7 +3762,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
3673
3762
  * Do not edit the class manually.
3674
3763
  */
3675
3764
  /* tslint:disable:no-unused-variable member-ordering */
3676
- class UserService {
3765
+ class TaskOperationsService {
3677
3766
  httpClient;
3678
3767
  basePath = 'http://localhost';
3679
3768
  defaultHeaders = new HttpHeaders();
@@ -3734,9 +3823,9 @@ class UserService {
3734
3823
  }
3735
3824
  return httpParams;
3736
3825
  }
3737
- getApplicationSetting(name, observe = 'body', reportProgress = false, options) {
3738
- if (name === null || name === undefined) {
3739
- throw new Error('Required parameter name was null or undefined when calling getApplicationSetting.');
3826
+ createTaskOperation(taskOperation, observe = 'body', reportProgress = false, options) {
3827
+ if (taskOperation === null || taskOperation === undefined) {
3828
+ throw new Error('Required parameter taskOperation was null or undefined when calling createTaskOperation.');
3740
3829
  }
3741
3830
  let localVarHeaders = this.defaultHeaders;
3742
3831
  let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
@@ -3758,6 +3847,14 @@ class UserService {
3758
3847
  if (localVarTransferCache === undefined) {
3759
3848
  localVarTransferCache = true;
3760
3849
  }
3850
+ // to determine the Content-Type header
3851
+ const consumes = [
3852
+ 'application/json'
3853
+ ];
3854
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
3855
+ if (httpContentTypeSelected !== undefined) {
3856
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
3857
+ }
3761
3858
  let responseType_ = 'json';
3762
3859
  if (localVarHttpHeaderAcceptSelected) {
3763
3860
  if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
@@ -3770,9 +3867,10 @@ class UserService {
3770
3867
  responseType_ = 'blob';
3771
3868
  }
3772
3869
  }
3773
- let localVarPath = `/user/me/settings/${this.configuration.encodeParam({ name: "name", value: name, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
3774
- return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
3870
+ let localVarPath = `/taskOperations`;
3871
+ return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
3775
3872
  context: localVarHttpContext,
3873
+ body: taskOperation,
3776
3874
  responseType: responseType_,
3777
3875
  withCredentials: this.configuration.withCredentials,
3778
3876
  headers: localVarHeaders,
@@ -3781,7 +3879,55 @@ class UserService {
3781
3879
  reportProgress: reportProgress
3782
3880
  });
3783
3881
  }
3784
- getUserApplicationList(observe = 'body', reportProgress = false, options) {
3882
+ deleteTaskOperation(id, observe = 'body', reportProgress = false, options) {
3883
+ if (id === null || id === undefined) {
3884
+ throw new Error('Required parameter id was null or undefined when calling deleteTaskOperation.');
3885
+ }
3886
+ let localVarHeaders = this.defaultHeaders;
3887
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
3888
+ if (localVarHttpHeaderAcceptSelected === undefined) {
3889
+ // to determine the Accept header
3890
+ const httpHeaderAccepts = [];
3891
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
3892
+ }
3893
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3894
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3895
+ }
3896
+ let localVarHttpContext = options && options.context;
3897
+ if (localVarHttpContext === undefined) {
3898
+ localVarHttpContext = new HttpContext();
3899
+ }
3900
+ let localVarTransferCache = options && options.transferCache;
3901
+ if (localVarTransferCache === undefined) {
3902
+ localVarTransferCache = true;
3903
+ }
3904
+ let responseType_ = 'json';
3905
+ if (localVarHttpHeaderAcceptSelected) {
3906
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3907
+ responseType_ = 'text';
3908
+ }
3909
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3910
+ responseType_ = 'json';
3911
+ }
3912
+ else {
3913
+ responseType_ = 'blob';
3914
+ }
3915
+ }
3916
+ let localVarPath = `/taskOperations/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}`;
3917
+ return this.httpClient.request('delete', `${this.configuration.basePath}${localVarPath}`, {
3918
+ context: localVarHttpContext,
3919
+ responseType: responseType_,
3920
+ withCredentials: this.configuration.withCredentials,
3921
+ headers: localVarHeaders,
3922
+ observe: observe,
3923
+ transferCache: localVarTransferCache,
3924
+ reportProgress: reportProgress
3925
+ });
3926
+ }
3927
+ getTaskOperationById(id, observe = 'body', reportProgress = false, options) {
3928
+ if (id === null || id === undefined) {
3929
+ throw new Error('Required parameter id was null or undefined when calling getTaskOperationById.');
3930
+ }
3785
3931
  let localVarHeaders = this.defaultHeaders;
3786
3932
  let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
3787
3933
  if (localVarHttpHeaderAcceptSelected === undefined) {
@@ -3814,7 +3960,7 @@ class UserService {
3814
3960
  responseType_ = 'blob';
3815
3961
  }
3816
3962
  }
3817
- let localVarPath = `/users/me/applications`;
3963
+ let localVarPath = `/taskOperations/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}`;
3818
3964
  return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
3819
3965
  context: localVarHttpContext,
3820
3966
  responseType: responseType_,
@@ -3825,7 +3971,23 @@ class UserService {
3825
3971
  reportProgress: reportProgress
3826
3972
  });
3827
3973
  }
3828
- getUserInfo(observe = 'body', reportProgress = false, options) {
3974
+ getTaskOperations($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
3975
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
3976
+ if ($skip !== undefined && $skip !== null) {
3977
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
3978
+ }
3979
+ if ($top !== undefined && $top !== null) {
3980
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
3981
+ }
3982
+ if ($orderby !== undefined && $orderby !== null) {
3983
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
3984
+ }
3985
+ if ($filter !== undefined && $filter !== null) {
3986
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
3987
+ }
3988
+ if ($search !== undefined && $search !== null) {
3989
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
3990
+ }
3829
3991
  let localVarHeaders = this.defaultHeaders;
3830
3992
  let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
3831
3993
  if (localVarHttpHeaderAcceptSelected === undefined) {
@@ -3858,9 +4020,10 @@ class UserService {
3858
4020
  responseType_ = 'blob';
3859
4021
  }
3860
4022
  }
3861
- let localVarPath = `/user/me`;
4023
+ let localVarPath = `/taskOperations`;
3862
4024
  return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
3863
4025
  context: localVarHttpContext,
4026
+ params: localVarQueryParameters,
3864
4027
  responseType: responseType_,
3865
4028
  withCredentials: this.configuration.withCredentials,
3866
4029
  headers: localVarHeaders,
@@ -3869,7 +4032,13 @@ class UserService {
3869
4032
  reportProgress: reportProgress
3870
4033
  });
3871
4034
  }
3872
- setNewFeaturesVisibility(setNewFeaturesVisibilityCommand, observe = 'body', reportProgress = false, options) {
4035
+ updateTaskOperation(id, taskOperation, observe = 'body', reportProgress = false, options) {
4036
+ if (id === null || id === undefined) {
4037
+ throw new Error('Required parameter id was null or undefined when calling updateTaskOperation.');
4038
+ }
4039
+ if (taskOperation === null || taskOperation === undefined) {
4040
+ throw new Error('Required parameter taskOperation was null or undefined when calling updateTaskOperation.');
4041
+ }
3873
4042
  let localVarHeaders = this.defaultHeaders;
3874
4043
  let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
3875
4044
  if (localVarHttpHeaderAcceptSelected === undefined) {
@@ -3910,10 +4079,10 @@ class UserService {
3910
4079
  responseType_ = 'blob';
3911
4080
  }
3912
4081
  }
3913
- let localVarPath = `/user/me/settings/newfeaturevisibility`;
4082
+ let localVarPath = `/taskOperations/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}`;
3914
4083
  return this.httpClient.request('put', `${this.configuration.basePath}${localVarPath}`, {
3915
4084
  context: localVarHttpContext,
3916
- body: setNewFeaturesVisibilityCommand,
4085
+ body: taskOperation,
3917
4086
  responseType: responseType_,
3918
4087
  withCredentials: this.configuration.withCredentials,
3919
4088
  headers: localVarHeaders,
@@ -3922,10 +4091,10 @@ class UserService {
3922
4091
  reportProgress: reportProgress
3923
4092
  });
3924
4093
  }
3925
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3926
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: UserService, providedIn: 'root' });
4094
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TaskOperationsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
4095
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TaskOperationsService, providedIn: 'root' });
3927
4096
  }
3928
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: UserService, decorators: [{
4097
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TaskOperationsService, decorators: [{
3929
4098
  type: Injectable,
3930
4099
  args: [{
3931
4100
  providedIn: 'root'
@@ -3939,68 +4108,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
3939
4108
  type: Optional
3940
4109
  }] }] });
3941
4110
 
3942
- const APIS = [AnalyticsService, CompaniesService, DcsService, DeliveriesService, DeliveryItemsService, HealthService, NotesService, PermissionsService, ProductMastersService, ProductQuantitiesService, ReasonsService, SettingsService, SummaryService, UserService];
3943
-
3944
- /**
3945
- * Wms.API.Client
3946
- *
3947
- *
3948
- *
3949
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3950
- * https://openapi-generator.tech
3951
- * Do not edit the class manually.
3952
- */
3953
-
3954
- /**
3955
- * Wms.API.Client
3956
- *
3957
- *
3958
- *
3959
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3960
- * https://openapi-generator.tech
3961
- * Do not edit the class manually.
3962
- */
3963
-
3964
- /**
3965
- * Wms.API.Client
3966
- *
3967
- *
3968
- *
3969
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3970
- * https://openapi-generator.tech
3971
- * Do not edit the class manually.
3972
- */
3973
-
3974
- /**
3975
- * Wms.API.Client
3976
- *
3977
- *
3978
- *
3979
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3980
- * https://openapi-generator.tech
3981
- * Do not edit the class manually.
3982
- */
3983
-
3984
- /**
3985
- * Wms.API.Client
3986
- *
3987
- *
3988
- *
3989
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3990
- * https://openapi-generator.tech
3991
- * Do not edit the class manually.
3992
- */
3993
-
3994
- /**
3995
- * Wms.API.Client
3996
- *
3997
- *
3998
- *
3999
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4000
- * https://openapi-generator.tech
4001
- * Do not edit the class manually.
4002
- */
4003
-
4004
4111
  /**
4005
4112
  * Wms.API.Client
4006
4113
  *
@@ -4010,11 +4117,685 @@ const APIS = [AnalyticsService, CompaniesService, DcsService, DeliveriesService,
4010
4117
  * https://openapi-generator.tech
4011
4118
  * Do not edit the class manually.
4012
4119
  */
4013
-
4014
- /**
4015
- * Wms.API.Client
4016
- *
4017
- *
4120
+ /* tslint:disable:no-unused-variable member-ordering */
4121
+ class TaskUserRecordsService {
4122
+ httpClient;
4123
+ basePath = 'http://localhost';
4124
+ defaultHeaders = new HttpHeaders();
4125
+ configuration = new Configuration();
4126
+ encoder;
4127
+ constructor(httpClient, basePath, configuration) {
4128
+ this.httpClient = httpClient;
4129
+ if (configuration) {
4130
+ this.configuration = configuration;
4131
+ }
4132
+ if (typeof this.configuration.basePath !== 'string') {
4133
+ const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
4134
+ if (firstBasePath != undefined) {
4135
+ basePath = firstBasePath;
4136
+ }
4137
+ if (typeof basePath !== 'string') {
4138
+ basePath = this.basePath;
4139
+ }
4140
+ this.configuration.basePath = basePath;
4141
+ }
4142
+ this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
4143
+ }
4144
+ // @ts-ignore
4145
+ addToHttpParams(httpParams, value, key) {
4146
+ if (typeof value === "object" && value instanceof Date === false) {
4147
+ httpParams = this.addToHttpParamsRecursive(httpParams, value);
4148
+ }
4149
+ else {
4150
+ httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
4151
+ }
4152
+ return httpParams;
4153
+ }
4154
+ addToHttpParamsRecursive(httpParams, value, key) {
4155
+ if (value == null) {
4156
+ return httpParams;
4157
+ }
4158
+ if (typeof value === "object") {
4159
+ if (Array.isArray(value)) {
4160
+ value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
4161
+ }
4162
+ else if (value instanceof Date) {
4163
+ if (key != null) {
4164
+ httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
4165
+ }
4166
+ else {
4167
+ throw Error("key may not be null if value is Date");
4168
+ }
4169
+ }
4170
+ else {
4171
+ Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
4172
+ }
4173
+ }
4174
+ else if (key != null) {
4175
+ httpParams = httpParams.append(key, value);
4176
+ }
4177
+ else {
4178
+ throw Error("key may not be null if value is not object or array");
4179
+ }
4180
+ return httpParams;
4181
+ }
4182
+ createTaskUserRecord(taskUserRecord, observe = 'body', reportProgress = false, options) {
4183
+ if (taskUserRecord === null || taskUserRecord === undefined) {
4184
+ throw new Error('Required parameter taskUserRecord was null or undefined when calling createTaskUserRecord.');
4185
+ }
4186
+ let localVarHeaders = this.defaultHeaders;
4187
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
4188
+ if (localVarHttpHeaderAcceptSelected === undefined) {
4189
+ // to determine the Accept header
4190
+ const httpHeaderAccepts = [
4191
+ 'application/json'
4192
+ ];
4193
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
4194
+ }
4195
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
4196
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
4197
+ }
4198
+ let localVarHttpContext = options && options.context;
4199
+ if (localVarHttpContext === undefined) {
4200
+ localVarHttpContext = new HttpContext();
4201
+ }
4202
+ let localVarTransferCache = options && options.transferCache;
4203
+ if (localVarTransferCache === undefined) {
4204
+ localVarTransferCache = true;
4205
+ }
4206
+ // to determine the Content-Type header
4207
+ const consumes = [
4208
+ 'application/json'
4209
+ ];
4210
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
4211
+ if (httpContentTypeSelected !== undefined) {
4212
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
4213
+ }
4214
+ let responseType_ = 'json';
4215
+ if (localVarHttpHeaderAcceptSelected) {
4216
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
4217
+ responseType_ = 'text';
4218
+ }
4219
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4220
+ responseType_ = 'json';
4221
+ }
4222
+ else {
4223
+ responseType_ = 'blob';
4224
+ }
4225
+ }
4226
+ let localVarPath = `/taskUserRecords`;
4227
+ return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
4228
+ context: localVarHttpContext,
4229
+ body: taskUserRecord,
4230
+ responseType: responseType_,
4231
+ withCredentials: this.configuration.withCredentials,
4232
+ headers: localVarHeaders,
4233
+ observe: observe,
4234
+ transferCache: localVarTransferCache,
4235
+ reportProgress: reportProgress
4236
+ });
4237
+ }
4238
+ deleteTaskUserRecord(id, observe = 'body', reportProgress = false, options) {
4239
+ if (id === null || id === undefined) {
4240
+ throw new Error('Required parameter id was null or undefined when calling deleteTaskUserRecord.');
4241
+ }
4242
+ let localVarHeaders = this.defaultHeaders;
4243
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
4244
+ if (localVarHttpHeaderAcceptSelected === undefined) {
4245
+ // to determine the Accept header
4246
+ const httpHeaderAccepts = [];
4247
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
4248
+ }
4249
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
4250
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
4251
+ }
4252
+ let localVarHttpContext = options && options.context;
4253
+ if (localVarHttpContext === undefined) {
4254
+ localVarHttpContext = new HttpContext();
4255
+ }
4256
+ let localVarTransferCache = options && options.transferCache;
4257
+ if (localVarTransferCache === undefined) {
4258
+ localVarTransferCache = true;
4259
+ }
4260
+ let responseType_ = 'json';
4261
+ if (localVarHttpHeaderAcceptSelected) {
4262
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
4263
+ responseType_ = 'text';
4264
+ }
4265
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4266
+ responseType_ = 'json';
4267
+ }
4268
+ else {
4269
+ responseType_ = 'blob';
4270
+ }
4271
+ }
4272
+ let localVarPath = `/taskUserRecords/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}`;
4273
+ return this.httpClient.request('delete', `${this.configuration.basePath}${localVarPath}`, {
4274
+ context: localVarHttpContext,
4275
+ responseType: responseType_,
4276
+ withCredentials: this.configuration.withCredentials,
4277
+ headers: localVarHeaders,
4278
+ observe: observe,
4279
+ transferCache: localVarTransferCache,
4280
+ reportProgress: reportProgress
4281
+ });
4282
+ }
4283
+ getTaskUserRecordById(id, observe = 'body', reportProgress = false, options) {
4284
+ if (id === null || id === undefined) {
4285
+ throw new Error('Required parameter id was null or undefined when calling getTaskUserRecordById.');
4286
+ }
4287
+ let localVarHeaders = this.defaultHeaders;
4288
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
4289
+ if (localVarHttpHeaderAcceptSelected === undefined) {
4290
+ // to determine the Accept header
4291
+ const httpHeaderAccepts = [
4292
+ 'application/json'
4293
+ ];
4294
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
4295
+ }
4296
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
4297
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
4298
+ }
4299
+ let localVarHttpContext = options && options.context;
4300
+ if (localVarHttpContext === undefined) {
4301
+ localVarHttpContext = new HttpContext();
4302
+ }
4303
+ let localVarTransferCache = options && options.transferCache;
4304
+ if (localVarTransferCache === undefined) {
4305
+ localVarTransferCache = true;
4306
+ }
4307
+ let responseType_ = 'json';
4308
+ if (localVarHttpHeaderAcceptSelected) {
4309
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
4310
+ responseType_ = 'text';
4311
+ }
4312
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4313
+ responseType_ = 'json';
4314
+ }
4315
+ else {
4316
+ responseType_ = 'blob';
4317
+ }
4318
+ }
4319
+ let localVarPath = `/taskUserRecords/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}`;
4320
+ return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
4321
+ context: localVarHttpContext,
4322
+ responseType: responseType_,
4323
+ withCredentials: this.configuration.withCredentials,
4324
+ headers: localVarHeaders,
4325
+ observe: observe,
4326
+ transferCache: localVarTransferCache,
4327
+ reportProgress: reportProgress
4328
+ });
4329
+ }
4330
+ getTaskUserRecords($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
4331
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
4332
+ if ($skip !== undefined && $skip !== null) {
4333
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
4334
+ }
4335
+ if ($top !== undefined && $top !== null) {
4336
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
4337
+ }
4338
+ if ($orderby !== undefined && $orderby !== null) {
4339
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
4340
+ }
4341
+ if ($filter !== undefined && $filter !== null) {
4342
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
4343
+ }
4344
+ if ($search !== undefined && $search !== null) {
4345
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
4346
+ }
4347
+ let localVarHeaders = this.defaultHeaders;
4348
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
4349
+ if (localVarHttpHeaderAcceptSelected === undefined) {
4350
+ // to determine the Accept header
4351
+ const httpHeaderAccepts = [
4352
+ 'application/json'
4353
+ ];
4354
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
4355
+ }
4356
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
4357
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
4358
+ }
4359
+ let localVarHttpContext = options && options.context;
4360
+ if (localVarHttpContext === undefined) {
4361
+ localVarHttpContext = new HttpContext();
4362
+ }
4363
+ let localVarTransferCache = options && options.transferCache;
4364
+ if (localVarTransferCache === undefined) {
4365
+ localVarTransferCache = true;
4366
+ }
4367
+ let responseType_ = 'json';
4368
+ if (localVarHttpHeaderAcceptSelected) {
4369
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
4370
+ responseType_ = 'text';
4371
+ }
4372
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4373
+ responseType_ = 'json';
4374
+ }
4375
+ else {
4376
+ responseType_ = 'blob';
4377
+ }
4378
+ }
4379
+ let localVarPath = `/taskUserRecords`;
4380
+ return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
4381
+ context: localVarHttpContext,
4382
+ params: localVarQueryParameters,
4383
+ responseType: responseType_,
4384
+ withCredentials: this.configuration.withCredentials,
4385
+ headers: localVarHeaders,
4386
+ observe: observe,
4387
+ transferCache: localVarTransferCache,
4388
+ reportProgress: reportProgress
4389
+ });
4390
+ }
4391
+ updateTaskUserRecord(id, taskUserRecord, observe = 'body', reportProgress = false, options) {
4392
+ if (id === null || id === undefined) {
4393
+ throw new Error('Required parameter id was null or undefined when calling updateTaskUserRecord.');
4394
+ }
4395
+ if (taskUserRecord === null || taskUserRecord === undefined) {
4396
+ throw new Error('Required parameter taskUserRecord was null or undefined when calling updateTaskUserRecord.');
4397
+ }
4398
+ let localVarHeaders = this.defaultHeaders;
4399
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
4400
+ if (localVarHttpHeaderAcceptSelected === undefined) {
4401
+ // to determine the Accept header
4402
+ const httpHeaderAccepts = [
4403
+ 'application/json'
4404
+ ];
4405
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
4406
+ }
4407
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
4408
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
4409
+ }
4410
+ let localVarHttpContext = options && options.context;
4411
+ if (localVarHttpContext === undefined) {
4412
+ localVarHttpContext = new HttpContext();
4413
+ }
4414
+ let localVarTransferCache = options && options.transferCache;
4415
+ if (localVarTransferCache === undefined) {
4416
+ localVarTransferCache = true;
4417
+ }
4418
+ // to determine the Content-Type header
4419
+ const consumes = [
4420
+ 'application/json'
4421
+ ];
4422
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
4423
+ if (httpContentTypeSelected !== undefined) {
4424
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
4425
+ }
4426
+ let responseType_ = 'json';
4427
+ if (localVarHttpHeaderAcceptSelected) {
4428
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
4429
+ responseType_ = 'text';
4430
+ }
4431
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4432
+ responseType_ = 'json';
4433
+ }
4434
+ else {
4435
+ responseType_ = 'blob';
4436
+ }
4437
+ }
4438
+ let localVarPath = `/taskUserRecords/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}`;
4439
+ return this.httpClient.request('put', `${this.configuration.basePath}${localVarPath}`, {
4440
+ context: localVarHttpContext,
4441
+ body: taskUserRecord,
4442
+ responseType: responseType_,
4443
+ withCredentials: this.configuration.withCredentials,
4444
+ headers: localVarHeaders,
4445
+ observe: observe,
4446
+ transferCache: localVarTransferCache,
4447
+ reportProgress: reportProgress
4448
+ });
4449
+ }
4450
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TaskUserRecordsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
4451
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TaskUserRecordsService, providedIn: 'root' });
4452
+ }
4453
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TaskUserRecordsService, decorators: [{
4454
+ type: Injectable,
4455
+ args: [{
4456
+ providedIn: 'root'
4457
+ }]
4458
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
4459
+ type: Optional
4460
+ }, {
4461
+ type: Inject,
4462
+ args: [BASE_PATH]
4463
+ }] }, { type: Configuration, decorators: [{
4464
+ type: Optional
4465
+ }] }] });
4466
+
4467
+ /**
4468
+ * Wms.API.Client
4469
+ *
4470
+ *
4471
+ *
4472
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4473
+ * https://openapi-generator.tech
4474
+ * Do not edit the class manually.
4475
+ */
4476
+ /* tslint:disable:no-unused-variable member-ordering */
4477
+ class UserService {
4478
+ httpClient;
4479
+ basePath = 'http://localhost';
4480
+ defaultHeaders = new HttpHeaders();
4481
+ configuration = new Configuration();
4482
+ encoder;
4483
+ constructor(httpClient, basePath, configuration) {
4484
+ this.httpClient = httpClient;
4485
+ if (configuration) {
4486
+ this.configuration = configuration;
4487
+ }
4488
+ if (typeof this.configuration.basePath !== 'string') {
4489
+ const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
4490
+ if (firstBasePath != undefined) {
4491
+ basePath = firstBasePath;
4492
+ }
4493
+ if (typeof basePath !== 'string') {
4494
+ basePath = this.basePath;
4495
+ }
4496
+ this.configuration.basePath = basePath;
4497
+ }
4498
+ this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
4499
+ }
4500
+ // @ts-ignore
4501
+ addToHttpParams(httpParams, value, key) {
4502
+ if (typeof value === "object" && value instanceof Date === false) {
4503
+ httpParams = this.addToHttpParamsRecursive(httpParams, value);
4504
+ }
4505
+ else {
4506
+ httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
4507
+ }
4508
+ return httpParams;
4509
+ }
4510
+ addToHttpParamsRecursive(httpParams, value, key) {
4511
+ if (value == null) {
4512
+ return httpParams;
4513
+ }
4514
+ if (typeof value === "object") {
4515
+ if (Array.isArray(value)) {
4516
+ value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
4517
+ }
4518
+ else if (value instanceof Date) {
4519
+ if (key != null) {
4520
+ httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
4521
+ }
4522
+ else {
4523
+ throw Error("key may not be null if value is Date");
4524
+ }
4525
+ }
4526
+ else {
4527
+ Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
4528
+ }
4529
+ }
4530
+ else if (key != null) {
4531
+ httpParams = httpParams.append(key, value);
4532
+ }
4533
+ else {
4534
+ throw Error("key may not be null if value is not object or array");
4535
+ }
4536
+ return httpParams;
4537
+ }
4538
+ getApplicationSetting(name, observe = 'body', reportProgress = false, options) {
4539
+ if (name === null || name === undefined) {
4540
+ throw new Error('Required parameter name was null or undefined when calling getApplicationSetting.');
4541
+ }
4542
+ let localVarHeaders = this.defaultHeaders;
4543
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
4544
+ if (localVarHttpHeaderAcceptSelected === undefined) {
4545
+ // to determine the Accept header
4546
+ const httpHeaderAccepts = [
4547
+ 'application/json'
4548
+ ];
4549
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
4550
+ }
4551
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
4552
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
4553
+ }
4554
+ let localVarHttpContext = options && options.context;
4555
+ if (localVarHttpContext === undefined) {
4556
+ localVarHttpContext = new HttpContext();
4557
+ }
4558
+ let localVarTransferCache = options && options.transferCache;
4559
+ if (localVarTransferCache === undefined) {
4560
+ localVarTransferCache = true;
4561
+ }
4562
+ let responseType_ = 'json';
4563
+ if (localVarHttpHeaderAcceptSelected) {
4564
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
4565
+ responseType_ = 'text';
4566
+ }
4567
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4568
+ responseType_ = 'json';
4569
+ }
4570
+ else {
4571
+ responseType_ = 'blob';
4572
+ }
4573
+ }
4574
+ let localVarPath = `/user/me/settings/${this.configuration.encodeParam({ name: "name", value: name, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
4575
+ return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
4576
+ context: localVarHttpContext,
4577
+ responseType: responseType_,
4578
+ withCredentials: this.configuration.withCredentials,
4579
+ headers: localVarHeaders,
4580
+ observe: observe,
4581
+ transferCache: localVarTransferCache,
4582
+ reportProgress: reportProgress
4583
+ });
4584
+ }
4585
+ getUserApplicationList(observe = 'body', reportProgress = false, options) {
4586
+ let localVarHeaders = this.defaultHeaders;
4587
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
4588
+ if (localVarHttpHeaderAcceptSelected === undefined) {
4589
+ // to determine the Accept header
4590
+ const httpHeaderAccepts = [
4591
+ 'application/json'
4592
+ ];
4593
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
4594
+ }
4595
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
4596
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
4597
+ }
4598
+ let localVarHttpContext = options && options.context;
4599
+ if (localVarHttpContext === undefined) {
4600
+ localVarHttpContext = new HttpContext();
4601
+ }
4602
+ let localVarTransferCache = options && options.transferCache;
4603
+ if (localVarTransferCache === undefined) {
4604
+ localVarTransferCache = true;
4605
+ }
4606
+ let responseType_ = 'json';
4607
+ if (localVarHttpHeaderAcceptSelected) {
4608
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
4609
+ responseType_ = 'text';
4610
+ }
4611
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4612
+ responseType_ = 'json';
4613
+ }
4614
+ else {
4615
+ responseType_ = 'blob';
4616
+ }
4617
+ }
4618
+ let localVarPath = `/users/me/applications`;
4619
+ return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
4620
+ context: localVarHttpContext,
4621
+ responseType: responseType_,
4622
+ withCredentials: this.configuration.withCredentials,
4623
+ headers: localVarHeaders,
4624
+ observe: observe,
4625
+ transferCache: localVarTransferCache,
4626
+ reportProgress: reportProgress
4627
+ });
4628
+ }
4629
+ getUserInfo(observe = 'body', reportProgress = false, options) {
4630
+ let localVarHeaders = this.defaultHeaders;
4631
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
4632
+ if (localVarHttpHeaderAcceptSelected === undefined) {
4633
+ // to determine the Accept header
4634
+ const httpHeaderAccepts = [
4635
+ 'application/json'
4636
+ ];
4637
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
4638
+ }
4639
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
4640
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
4641
+ }
4642
+ let localVarHttpContext = options && options.context;
4643
+ if (localVarHttpContext === undefined) {
4644
+ localVarHttpContext = new HttpContext();
4645
+ }
4646
+ let localVarTransferCache = options && options.transferCache;
4647
+ if (localVarTransferCache === undefined) {
4648
+ localVarTransferCache = true;
4649
+ }
4650
+ let responseType_ = 'json';
4651
+ if (localVarHttpHeaderAcceptSelected) {
4652
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
4653
+ responseType_ = 'text';
4654
+ }
4655
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4656
+ responseType_ = 'json';
4657
+ }
4658
+ else {
4659
+ responseType_ = 'blob';
4660
+ }
4661
+ }
4662
+ let localVarPath = `/user/me`;
4663
+ return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
4664
+ context: localVarHttpContext,
4665
+ responseType: responseType_,
4666
+ withCredentials: this.configuration.withCredentials,
4667
+ headers: localVarHeaders,
4668
+ observe: observe,
4669
+ transferCache: localVarTransferCache,
4670
+ reportProgress: reportProgress
4671
+ });
4672
+ }
4673
+ setNewFeaturesVisibility(setNewFeaturesVisibilityCommand, observe = 'body', reportProgress = false, options) {
4674
+ let localVarHeaders = this.defaultHeaders;
4675
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
4676
+ if (localVarHttpHeaderAcceptSelected === undefined) {
4677
+ // to determine the Accept header
4678
+ const httpHeaderAccepts = [
4679
+ 'application/json'
4680
+ ];
4681
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
4682
+ }
4683
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
4684
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
4685
+ }
4686
+ let localVarHttpContext = options && options.context;
4687
+ if (localVarHttpContext === undefined) {
4688
+ localVarHttpContext = new HttpContext();
4689
+ }
4690
+ let localVarTransferCache = options && options.transferCache;
4691
+ if (localVarTransferCache === undefined) {
4692
+ localVarTransferCache = true;
4693
+ }
4694
+ // to determine the Content-Type header
4695
+ const consumes = [
4696
+ 'application/json'
4697
+ ];
4698
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
4699
+ if (httpContentTypeSelected !== undefined) {
4700
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
4701
+ }
4702
+ let responseType_ = 'json';
4703
+ if (localVarHttpHeaderAcceptSelected) {
4704
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
4705
+ responseType_ = 'text';
4706
+ }
4707
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4708
+ responseType_ = 'json';
4709
+ }
4710
+ else {
4711
+ responseType_ = 'blob';
4712
+ }
4713
+ }
4714
+ let localVarPath = `/user/me/settings/newfeaturevisibility`;
4715
+ return this.httpClient.request('put', `${this.configuration.basePath}${localVarPath}`, {
4716
+ context: localVarHttpContext,
4717
+ body: setNewFeaturesVisibilityCommand,
4718
+ responseType: responseType_,
4719
+ withCredentials: this.configuration.withCredentials,
4720
+ headers: localVarHeaders,
4721
+ observe: observe,
4722
+ transferCache: localVarTransferCache,
4723
+ reportProgress: reportProgress
4724
+ });
4725
+ }
4726
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
4727
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: UserService, providedIn: 'root' });
4728
+ }
4729
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: UserService, decorators: [{
4730
+ type: Injectable,
4731
+ args: [{
4732
+ providedIn: 'root'
4733
+ }]
4734
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
4735
+ type: Optional
4736
+ }, {
4737
+ type: Inject,
4738
+ args: [BASE_PATH]
4739
+ }] }, { type: Configuration, decorators: [{
4740
+ type: Optional
4741
+ }] }] });
4742
+
4743
+ const APIS = [AnalyticsService, CompaniesService, DcsService, DeliveriesService, DeliveryItemsService, HealthService, NotesService, PermissionsService, ProductMastersService, ProductQuantitiesService, ReasonsService, SettingsService, SummaryService, TaskOperationsService, TaskUserRecordsService, UserService];
4744
+
4745
+ /**
4746
+ * Wms.API.Client
4747
+ *
4748
+ *
4749
+ *
4750
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4751
+ * https://openapi-generator.tech
4752
+ * Do not edit the class manually.
4753
+ */
4754
+
4755
+ /**
4756
+ * Wms.API.Client
4757
+ *
4758
+ *
4759
+ *
4760
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4761
+ * https://openapi-generator.tech
4762
+ * Do not edit the class manually.
4763
+ */
4764
+
4765
+ /**
4766
+ * Wms.API.Client
4767
+ *
4768
+ *
4769
+ *
4770
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4771
+ * https://openapi-generator.tech
4772
+ * Do not edit the class manually.
4773
+ */
4774
+
4775
+ /**
4776
+ * Wms.API.Client
4777
+ *
4778
+ *
4779
+ *
4780
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4781
+ * https://openapi-generator.tech
4782
+ * Do not edit the class manually.
4783
+ */
4784
+
4785
+ /**
4786
+ * Wms.API.Client
4787
+ *
4788
+ *
4789
+ *
4790
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4791
+ * https://openapi-generator.tech
4792
+ * Do not edit the class manually.
4793
+ */
4794
+
4795
+ /**
4796
+ * Wms.API.Client
4797
+ *
4798
+ *
4018
4799
  *
4019
4800
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4020
4801
  * https://openapi-generator.tech
@@ -4038,6 +4819,21 @@ const DeliveryType = {
4038
4819
  WorkOrder: 'WorkOrder'
4039
4820
  };
4040
4821
 
4822
+ /**
4823
+ * Wms.API.Client
4824
+ *
4825
+ *
4826
+ *
4827
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4828
+ * https://openapi-generator.tech
4829
+ * Do not edit the class manually.
4830
+ */
4831
+ const DeviceType = {
4832
+ Unknown: 'Unknown',
4833
+ Desktop: 'Desktop',
4834
+ Hht: 'HHT'
4835
+ };
4836
+
4041
4837
  /**
4042
4838
  * Wms.API.Client
4043
4839
  *
@@ -4278,6 +5074,16 @@ const RecordType = {
4278
5074
  * Do not edit the class manually.
4279
5075
  */
4280
5076
 
5077
+ /**
5078
+ * Wms.API.Client
5079
+ *
5080
+ *
5081
+ *
5082
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5083
+ * https://openapi-generator.tech
5084
+ * Do not edit the class manually.
5085
+ */
5086
+
4281
5087
  class ApiModule {
4282
5088
  static forRoot(configurationFactory) {
4283
5089
  return {
@@ -4318,5 +5124,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
4318
5124
  * Generated bundle index. Do not edit.
4319
5125
  */
4320
5126
 
4321
- export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CompaniesService, Configuration, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, HealthService, NoteCategory, NoteSourceType, NotesService, OrderStatus, PermissionsService, ProductMastersService, ProductQuantitiesService, QcType, ReasonType, ReasonsService, RecordType, SettingsService, SummaryService, UserService };
5127
+ export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CompaniesService, Configuration, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, HealthService, NoteCategory, NoteSourceType, NotesService, OrderStatus, PermissionsService, ProductMastersService, ProductQuantitiesService, QcType, ReasonType, ReasonsService, RecordType, SettingsService, SummaryService, TaskOperationsService, TaskUserRecordsService, UserService };
4322
5128
  //# sourceMappingURL=indigina-wms-api.mjs.map