@indigina/wms-api 0.0.50 → 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.
@@ -3752,6 +3752,718 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
3752
3752
  type: Optional
3753
3753
  }] }] });
3754
3754
 
3755
+ /**
3756
+ * Wms.API.Client
3757
+ *
3758
+ *
3759
+ *
3760
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3761
+ * https://openapi-generator.tech
3762
+ * Do not edit the class manually.
3763
+ */
3764
+ /* tslint:disable:no-unused-variable member-ordering */
3765
+ class TaskOperationsService {
3766
+ httpClient;
3767
+ basePath = 'http://localhost';
3768
+ defaultHeaders = new HttpHeaders();
3769
+ configuration = new Configuration();
3770
+ encoder;
3771
+ constructor(httpClient, basePath, configuration) {
3772
+ this.httpClient = httpClient;
3773
+ if (configuration) {
3774
+ this.configuration = configuration;
3775
+ }
3776
+ if (typeof this.configuration.basePath !== 'string') {
3777
+ const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
3778
+ if (firstBasePath != undefined) {
3779
+ basePath = firstBasePath;
3780
+ }
3781
+ if (typeof basePath !== 'string') {
3782
+ basePath = this.basePath;
3783
+ }
3784
+ this.configuration.basePath = basePath;
3785
+ }
3786
+ this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
3787
+ }
3788
+ // @ts-ignore
3789
+ addToHttpParams(httpParams, value, key) {
3790
+ if (typeof value === "object" && value instanceof Date === false) {
3791
+ httpParams = this.addToHttpParamsRecursive(httpParams, value);
3792
+ }
3793
+ else {
3794
+ httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
3795
+ }
3796
+ return httpParams;
3797
+ }
3798
+ addToHttpParamsRecursive(httpParams, value, key) {
3799
+ if (value == null) {
3800
+ return httpParams;
3801
+ }
3802
+ if (typeof value === "object") {
3803
+ if (Array.isArray(value)) {
3804
+ value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
3805
+ }
3806
+ else if (value instanceof Date) {
3807
+ if (key != null) {
3808
+ httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
3809
+ }
3810
+ else {
3811
+ throw Error("key may not be null if value is Date");
3812
+ }
3813
+ }
3814
+ else {
3815
+ Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
3816
+ }
3817
+ }
3818
+ else if (key != null) {
3819
+ httpParams = httpParams.append(key, value);
3820
+ }
3821
+ else {
3822
+ throw Error("key may not be null if value is not object or array");
3823
+ }
3824
+ return httpParams;
3825
+ }
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.');
3829
+ }
3830
+ let localVarHeaders = this.defaultHeaders;
3831
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
3832
+ if (localVarHttpHeaderAcceptSelected === undefined) {
3833
+ // to determine the Accept header
3834
+ const httpHeaderAccepts = [
3835
+ 'application/json'
3836
+ ];
3837
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
3838
+ }
3839
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3840
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3841
+ }
3842
+ let localVarHttpContext = options && options.context;
3843
+ if (localVarHttpContext === undefined) {
3844
+ localVarHttpContext = new HttpContext();
3845
+ }
3846
+ let localVarTransferCache = options && options.transferCache;
3847
+ if (localVarTransferCache === undefined) {
3848
+ localVarTransferCache = true;
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
+ }
3858
+ let responseType_ = 'json';
3859
+ if (localVarHttpHeaderAcceptSelected) {
3860
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3861
+ responseType_ = 'text';
3862
+ }
3863
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3864
+ responseType_ = 'json';
3865
+ }
3866
+ else {
3867
+ responseType_ = 'blob';
3868
+ }
3869
+ }
3870
+ let localVarPath = `/taskOperations`;
3871
+ return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
3872
+ context: localVarHttpContext,
3873
+ body: taskOperation,
3874
+ responseType: responseType_,
3875
+ withCredentials: this.configuration.withCredentials,
3876
+ headers: localVarHeaders,
3877
+ observe: observe,
3878
+ transferCache: localVarTransferCache,
3879
+ reportProgress: reportProgress
3880
+ });
3881
+ }
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
+ }
3931
+ let localVarHeaders = this.defaultHeaders;
3932
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
3933
+ if (localVarHttpHeaderAcceptSelected === undefined) {
3934
+ // to determine the Accept header
3935
+ const httpHeaderAccepts = [
3936
+ 'application/json'
3937
+ ];
3938
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
3939
+ }
3940
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3941
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3942
+ }
3943
+ let localVarHttpContext = options && options.context;
3944
+ if (localVarHttpContext === undefined) {
3945
+ localVarHttpContext = new HttpContext();
3946
+ }
3947
+ let localVarTransferCache = options && options.transferCache;
3948
+ if (localVarTransferCache === undefined) {
3949
+ localVarTransferCache = true;
3950
+ }
3951
+ let responseType_ = 'json';
3952
+ if (localVarHttpHeaderAcceptSelected) {
3953
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3954
+ responseType_ = 'text';
3955
+ }
3956
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3957
+ responseType_ = 'json';
3958
+ }
3959
+ else {
3960
+ responseType_ = 'blob';
3961
+ }
3962
+ }
3963
+ let localVarPath = `/taskOperations/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}`;
3964
+ return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
3965
+ context: localVarHttpContext,
3966
+ responseType: responseType_,
3967
+ withCredentials: this.configuration.withCredentials,
3968
+ headers: localVarHeaders,
3969
+ observe: observe,
3970
+ transferCache: localVarTransferCache,
3971
+ reportProgress: reportProgress
3972
+ });
3973
+ }
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
+ }
3991
+ let localVarHeaders = this.defaultHeaders;
3992
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
3993
+ if (localVarHttpHeaderAcceptSelected === undefined) {
3994
+ // to determine the Accept header
3995
+ const httpHeaderAccepts = [
3996
+ 'application/json'
3997
+ ];
3998
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
3999
+ }
4000
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
4001
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
4002
+ }
4003
+ let localVarHttpContext = options && options.context;
4004
+ if (localVarHttpContext === undefined) {
4005
+ localVarHttpContext = new HttpContext();
4006
+ }
4007
+ let localVarTransferCache = options && options.transferCache;
4008
+ if (localVarTransferCache === undefined) {
4009
+ localVarTransferCache = true;
4010
+ }
4011
+ let responseType_ = 'json';
4012
+ if (localVarHttpHeaderAcceptSelected) {
4013
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
4014
+ responseType_ = 'text';
4015
+ }
4016
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4017
+ responseType_ = 'json';
4018
+ }
4019
+ else {
4020
+ responseType_ = 'blob';
4021
+ }
4022
+ }
4023
+ let localVarPath = `/taskOperations`;
4024
+ return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
4025
+ context: localVarHttpContext,
4026
+ params: localVarQueryParameters,
4027
+ responseType: responseType_,
4028
+ withCredentials: this.configuration.withCredentials,
4029
+ headers: localVarHeaders,
4030
+ observe: observe,
4031
+ transferCache: localVarTransferCache,
4032
+ reportProgress: reportProgress
4033
+ });
4034
+ }
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
+ }
4042
+ let localVarHeaders = this.defaultHeaders;
4043
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
4044
+ if (localVarHttpHeaderAcceptSelected === undefined) {
4045
+ // to determine the Accept header
4046
+ const httpHeaderAccepts = [
4047
+ 'application/json'
4048
+ ];
4049
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
4050
+ }
4051
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
4052
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
4053
+ }
4054
+ let localVarHttpContext = options && options.context;
4055
+ if (localVarHttpContext === undefined) {
4056
+ localVarHttpContext = new HttpContext();
4057
+ }
4058
+ let localVarTransferCache = options && options.transferCache;
4059
+ if (localVarTransferCache === undefined) {
4060
+ localVarTransferCache = true;
4061
+ }
4062
+ // to determine the Content-Type header
4063
+ const consumes = [
4064
+ 'application/json'
4065
+ ];
4066
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
4067
+ if (httpContentTypeSelected !== undefined) {
4068
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
4069
+ }
4070
+ let responseType_ = 'json';
4071
+ if (localVarHttpHeaderAcceptSelected) {
4072
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
4073
+ responseType_ = 'text';
4074
+ }
4075
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4076
+ responseType_ = 'json';
4077
+ }
4078
+ else {
4079
+ responseType_ = 'blob';
4080
+ }
4081
+ }
4082
+ let localVarPath = `/taskOperations/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}`;
4083
+ return this.httpClient.request('put', `${this.configuration.basePath}${localVarPath}`, {
4084
+ context: localVarHttpContext,
4085
+ body: taskOperation,
4086
+ responseType: responseType_,
4087
+ withCredentials: this.configuration.withCredentials,
4088
+ headers: localVarHeaders,
4089
+ observe: observe,
4090
+ transferCache: localVarTransferCache,
4091
+ reportProgress: reportProgress
4092
+ });
4093
+ }
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' });
4096
+ }
4097
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TaskOperationsService, decorators: [{
4098
+ type: Injectable,
4099
+ args: [{
4100
+ providedIn: 'root'
4101
+ }]
4102
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
4103
+ type: Optional
4104
+ }, {
4105
+ type: Inject,
4106
+ args: [BASE_PATH]
4107
+ }] }, { type: Configuration, decorators: [{
4108
+ type: Optional
4109
+ }] }] });
4110
+
4111
+ /**
4112
+ * Wms.API.Client
4113
+ *
4114
+ *
4115
+ *
4116
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4117
+ * https://openapi-generator.tech
4118
+ * Do not edit the class manually.
4119
+ */
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
+
3755
4467
  /**
3756
4468
  * Wms.API.Client
3757
4469
  *
@@ -4028,7 +4740,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
4028
4740
  type: Optional
4029
4741
  }] }] });
4030
4742
 
4031
- const APIS = [AnalyticsService, CompaniesService, DcsService, DeliveriesService, DeliveryItemsService, HealthService, NotesService, PermissionsService, ProductMastersService, ProductQuantitiesService, ReasonsService, SettingsService, SummaryService, UserService];
4743
+ const APIS = [AnalyticsService, CompaniesService, DcsService, DeliveriesService, DeliveryItemsService, HealthService, NotesService, PermissionsService, ProductMastersService, ProductQuantitiesService, ReasonsService, SettingsService, SummaryService, TaskOperationsService, TaskUserRecordsService, UserService];
4032
4744
 
4033
4745
  /**
4034
4746
  * Wms.API.Client
@@ -4107,6 +4819,21 @@ const DeliveryType = {
4107
4819
  WorkOrder: 'WorkOrder'
4108
4820
  };
4109
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
+
4110
4837
  /**
4111
4838
  * Wms.API.Client
4112
4839
  *
@@ -4347,6 +5074,16 @@ const RecordType = {
4347
5074
  * Do not edit the class manually.
4348
5075
  */
4349
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
+
4350
5087
  class ApiModule {
4351
5088
  static forRoot(configurationFactory) {
4352
5089
  return {
@@ -4387,5 +5124,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
4387
5124
  * Generated bundle index. Do not edit.
4388
5125
  */
4389
5126
 
4390
- 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 };
4391
5128
  //# sourceMappingURL=indigina-wms-api.mjs.map