@indigina/wms-api 0.0.135 → 0.0.137

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.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @indigina/wms-api@0.0.135
1
+ # @indigina/wms-api@0.0.137
2
2
 
3
3
  WMS API Client for Angular applications
4
4
 
@@ -24,7 +24,7 @@ Navigate to the folder of your consuming project and run one of next commands.
24
24
  _published:_
25
25
 
26
26
  ```console
27
- npm install @indigina/wms-api@0.0.135 --save
27
+ npm install @indigina/wms-api@0.0.137 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -3684,6 +3684,310 @@ class PrintersService extends BaseService {
3684
3684
  super(basePath, configuration);
3685
3685
  this.httpClient = httpClient;
3686
3686
  }
3687
+ createPrintTypePrinterTray(id, printTypePrinterTrayCreateModel, observe = 'body', reportProgress = false, options) {
3688
+ if (id === null || id === undefined) {
3689
+ throw new Error('Required parameter id was null or undefined when calling createPrintTypePrinterTray.');
3690
+ }
3691
+ if (printTypePrinterTrayCreateModel === null || printTypePrinterTrayCreateModel === undefined) {
3692
+ throw new Error('Required parameter printTypePrinterTrayCreateModel was null or undefined when calling createPrintTypePrinterTray.');
3693
+ }
3694
+ let localVarHeaders = this.defaultHeaders;
3695
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3696
+ 'application/json'
3697
+ ]);
3698
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3699
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3700
+ }
3701
+ const localVarHttpContext = options?.context ?? new HttpContext();
3702
+ const localVarTransferCache = options?.transferCache ?? true;
3703
+ // to determine the Content-Type header
3704
+ const consumes = [
3705
+ 'application/json'
3706
+ ];
3707
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
3708
+ if (httpContentTypeSelected !== undefined) {
3709
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
3710
+ }
3711
+ let responseType_ = 'json';
3712
+ if (localVarHttpHeaderAcceptSelected) {
3713
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3714
+ responseType_ = 'text';
3715
+ }
3716
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3717
+ responseType_ = 'json';
3718
+ }
3719
+ else {
3720
+ responseType_ = 'blob';
3721
+ }
3722
+ }
3723
+ let localVarPath = `/printers/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/printTypePrinterTrays`;
3724
+ const { basePath, withCredentials } = this.configuration;
3725
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
3726
+ context: localVarHttpContext,
3727
+ body: printTypePrinterTrayCreateModel,
3728
+ responseType: responseType_,
3729
+ ...(withCredentials ? { withCredentials } : {}),
3730
+ headers: localVarHeaders,
3731
+ observe: observe,
3732
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3733
+ reportProgress: reportProgress
3734
+ });
3735
+ }
3736
+ createPrinter(printerCreateModel, observe = 'body', reportProgress = false, options) {
3737
+ if (printerCreateModel === null || printerCreateModel === undefined) {
3738
+ throw new Error('Required parameter printerCreateModel was null or undefined when calling createPrinter.');
3739
+ }
3740
+ let localVarHeaders = this.defaultHeaders;
3741
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3742
+ 'application/json'
3743
+ ]);
3744
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3745
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3746
+ }
3747
+ const localVarHttpContext = options?.context ?? new HttpContext();
3748
+ const localVarTransferCache = options?.transferCache ?? true;
3749
+ // to determine the Content-Type header
3750
+ const consumes = [
3751
+ 'application/json'
3752
+ ];
3753
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
3754
+ if (httpContentTypeSelected !== undefined) {
3755
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
3756
+ }
3757
+ let responseType_ = 'json';
3758
+ if (localVarHttpHeaderAcceptSelected) {
3759
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3760
+ responseType_ = 'text';
3761
+ }
3762
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3763
+ responseType_ = 'json';
3764
+ }
3765
+ else {
3766
+ responseType_ = 'blob';
3767
+ }
3768
+ }
3769
+ let localVarPath = `/printers`;
3770
+ const { basePath, withCredentials } = this.configuration;
3771
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
3772
+ context: localVarHttpContext,
3773
+ body: printerCreateModel,
3774
+ responseType: responseType_,
3775
+ ...(withCredentials ? { withCredentials } : {}),
3776
+ headers: localVarHeaders,
3777
+ observe: observe,
3778
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3779
+ reportProgress: reportProgress
3780
+ });
3781
+ }
3782
+ createPrinterTray(id, printerTrayCreateModel, observe = 'body', reportProgress = false, options) {
3783
+ if (id === null || id === undefined) {
3784
+ throw new Error('Required parameter id was null or undefined when calling createPrinterTray.');
3785
+ }
3786
+ if (printerTrayCreateModel === null || printerTrayCreateModel === undefined) {
3787
+ throw new Error('Required parameter printerTrayCreateModel was null or undefined when calling createPrinterTray.');
3788
+ }
3789
+ let localVarHeaders = this.defaultHeaders;
3790
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3791
+ 'application/json'
3792
+ ]);
3793
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3794
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3795
+ }
3796
+ const localVarHttpContext = options?.context ?? new HttpContext();
3797
+ const localVarTransferCache = options?.transferCache ?? true;
3798
+ // to determine the Content-Type header
3799
+ const consumes = [
3800
+ 'application/json'
3801
+ ];
3802
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
3803
+ if (httpContentTypeSelected !== undefined) {
3804
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
3805
+ }
3806
+ let responseType_ = 'json';
3807
+ if (localVarHttpHeaderAcceptSelected) {
3808
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3809
+ responseType_ = 'text';
3810
+ }
3811
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3812
+ responseType_ = 'json';
3813
+ }
3814
+ else {
3815
+ responseType_ = 'blob';
3816
+ }
3817
+ }
3818
+ let localVarPath = `/printers/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/printerTrays`;
3819
+ const { basePath, withCredentials } = this.configuration;
3820
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
3821
+ context: localVarHttpContext,
3822
+ body: printerTrayCreateModel,
3823
+ responseType: responseType_,
3824
+ ...(withCredentials ? { withCredentials } : {}),
3825
+ headers: localVarHeaders,
3826
+ observe: observe,
3827
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3828
+ reportProgress: reportProgress
3829
+ });
3830
+ }
3831
+ deletePrinter(id, observe = 'body', reportProgress = false, options) {
3832
+ if (id === null || id === undefined) {
3833
+ throw new Error('Required parameter id was null or undefined when calling deletePrinter.');
3834
+ }
3835
+ let localVarHeaders = this.defaultHeaders;
3836
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
3837
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3838
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3839
+ }
3840
+ const localVarHttpContext = options?.context ?? new HttpContext();
3841
+ const localVarTransferCache = options?.transferCache ?? true;
3842
+ let responseType_ = 'json';
3843
+ if (localVarHttpHeaderAcceptSelected) {
3844
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3845
+ responseType_ = 'text';
3846
+ }
3847
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3848
+ responseType_ = 'json';
3849
+ }
3850
+ else {
3851
+ responseType_ = 'blob';
3852
+ }
3853
+ }
3854
+ let localVarPath = `/printers/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}`;
3855
+ const { basePath, withCredentials } = this.configuration;
3856
+ return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
3857
+ context: localVarHttpContext,
3858
+ responseType: responseType_,
3859
+ ...(withCredentials ? { withCredentials } : {}),
3860
+ headers: localVarHeaders,
3861
+ observe: observe,
3862
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3863
+ reportProgress: reportProgress
3864
+ });
3865
+ }
3866
+ getPrintTypePrinterTrays(id, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
3867
+ if (id === null || id === undefined) {
3868
+ throw new Error('Required parameter id was null or undefined when calling getPrintTypePrinterTrays.');
3869
+ }
3870
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
3871
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
3872
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
3873
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
3874
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
3875
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
3876
+ let localVarHeaders = this.defaultHeaders;
3877
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3878
+ 'application/json'
3879
+ ]);
3880
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3881
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3882
+ }
3883
+ const localVarHttpContext = options?.context ?? new HttpContext();
3884
+ const localVarTransferCache = options?.transferCache ?? true;
3885
+ let responseType_ = 'json';
3886
+ if (localVarHttpHeaderAcceptSelected) {
3887
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3888
+ responseType_ = 'text';
3889
+ }
3890
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3891
+ responseType_ = 'json';
3892
+ }
3893
+ else {
3894
+ responseType_ = 'blob';
3895
+ }
3896
+ }
3897
+ let localVarPath = `/printers/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/printTypePrinterTrays`;
3898
+ const { basePath, withCredentials } = this.configuration;
3899
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
3900
+ context: localVarHttpContext,
3901
+ params: localVarQueryParameters.toHttpParams(),
3902
+ responseType: responseType_,
3903
+ ...(withCredentials ? { withCredentials } : {}),
3904
+ headers: localVarHeaders,
3905
+ observe: observe,
3906
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3907
+ reportProgress: reportProgress
3908
+ });
3909
+ }
3910
+ getPrinterById(id, observe = 'body', reportProgress = false, options) {
3911
+ if (id === null || id === undefined) {
3912
+ throw new Error('Required parameter id was null or undefined when calling getPrinterById.');
3913
+ }
3914
+ let localVarHeaders = this.defaultHeaders;
3915
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3916
+ 'application/json'
3917
+ ]);
3918
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3919
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3920
+ }
3921
+ const localVarHttpContext = options?.context ?? new HttpContext();
3922
+ const localVarTransferCache = options?.transferCache ?? true;
3923
+ let responseType_ = 'json';
3924
+ if (localVarHttpHeaderAcceptSelected) {
3925
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3926
+ responseType_ = 'text';
3927
+ }
3928
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3929
+ responseType_ = 'json';
3930
+ }
3931
+ else {
3932
+ responseType_ = 'blob';
3933
+ }
3934
+ }
3935
+ let localVarPath = `/printers/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}`;
3936
+ const { basePath, withCredentials } = this.configuration;
3937
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
3938
+ context: localVarHttpContext,
3939
+ responseType: responseType_,
3940
+ ...(withCredentials ? { withCredentials } : {}),
3941
+ headers: localVarHeaders,
3942
+ observe: observe,
3943
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3944
+ reportProgress: reportProgress
3945
+ });
3946
+ }
3947
+ getPrinterTrays(id, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
3948
+ if (id === null || id === undefined) {
3949
+ throw new Error('Required parameter id was null or undefined when calling getPrinterTrays.');
3950
+ }
3951
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
3952
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
3953
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
3954
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
3955
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
3956
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
3957
+ let localVarHeaders = this.defaultHeaders;
3958
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3959
+ 'application/json'
3960
+ ]);
3961
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3962
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3963
+ }
3964
+ const localVarHttpContext = options?.context ?? new HttpContext();
3965
+ const localVarTransferCache = options?.transferCache ?? true;
3966
+ let responseType_ = 'json';
3967
+ if (localVarHttpHeaderAcceptSelected) {
3968
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3969
+ responseType_ = 'text';
3970
+ }
3971
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3972
+ responseType_ = 'json';
3973
+ }
3974
+ else {
3975
+ responseType_ = 'blob';
3976
+ }
3977
+ }
3978
+ let localVarPath = `/printers/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/printerTrays`;
3979
+ const { basePath, withCredentials } = this.configuration;
3980
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
3981
+ context: localVarHttpContext,
3982
+ params: localVarQueryParameters.toHttpParams(),
3983
+ responseType: responseType_,
3984
+ ...(withCredentials ? { withCredentials } : {}),
3985
+ headers: localVarHeaders,
3986
+ observe: observe,
3987
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3988
+ reportProgress: reportProgress
3989
+ });
3990
+ }
3687
3991
  getPrinters($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
3688
3992
  let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
3689
3993
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
@@ -3725,6 +4029,194 @@ class PrintersService extends BaseService {
3725
4029
  reportProgress: reportProgress
3726
4030
  });
3727
4031
  }
4032
+ getPrintersFromIndex($skip, $top, $orderby, $filter, searchTerm, observe = 'body', reportProgress = false, options) {
4033
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
4034
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
4035
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
4036
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
4037
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
4038
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'searchTerm', searchTerm, QueryParamStyle.Form, true);
4039
+ let localVarHeaders = this.defaultHeaders;
4040
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
4041
+ 'application/json'
4042
+ ]);
4043
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
4044
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
4045
+ }
4046
+ const localVarHttpContext = options?.context ?? new HttpContext();
4047
+ const localVarTransferCache = options?.transferCache ?? true;
4048
+ let responseType_ = 'json';
4049
+ if (localVarHttpHeaderAcceptSelected) {
4050
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
4051
+ responseType_ = 'text';
4052
+ }
4053
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4054
+ responseType_ = 'json';
4055
+ }
4056
+ else {
4057
+ responseType_ = 'blob';
4058
+ }
4059
+ }
4060
+ let localVarPath = `/printers/search`;
4061
+ const { basePath, withCredentials } = this.configuration;
4062
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
4063
+ context: localVarHttpContext,
4064
+ params: localVarQueryParameters.toHttpParams(),
4065
+ responseType: responseType_,
4066
+ ...(withCredentials ? { withCredentials } : {}),
4067
+ headers: localVarHeaders,
4068
+ observe: observe,
4069
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
4070
+ reportProgress: reportProgress
4071
+ });
4072
+ }
4073
+ updatePrintTypePrinterTrays(id, printTypePrinterTrayUpdateModel, observe = 'body', reportProgress = false, options) {
4074
+ if (id === null || id === undefined) {
4075
+ throw new Error('Required parameter id was null or undefined when calling updatePrintTypePrinterTrays.');
4076
+ }
4077
+ if (printTypePrinterTrayUpdateModel === null || printTypePrinterTrayUpdateModel === undefined) {
4078
+ throw new Error('Required parameter printTypePrinterTrayUpdateModel was null or undefined when calling updatePrintTypePrinterTrays.');
4079
+ }
4080
+ let localVarHeaders = this.defaultHeaders;
4081
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
4082
+ 'application/json'
4083
+ ]);
4084
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
4085
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
4086
+ }
4087
+ const localVarHttpContext = options?.context ?? new HttpContext();
4088
+ const localVarTransferCache = options?.transferCache ?? true;
4089
+ // to determine the Content-Type header
4090
+ const consumes = [
4091
+ 'application/json'
4092
+ ];
4093
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
4094
+ if (httpContentTypeSelected !== undefined) {
4095
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
4096
+ }
4097
+ let responseType_ = 'json';
4098
+ if (localVarHttpHeaderAcceptSelected) {
4099
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
4100
+ responseType_ = 'text';
4101
+ }
4102
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4103
+ responseType_ = 'json';
4104
+ }
4105
+ else {
4106
+ responseType_ = 'blob';
4107
+ }
4108
+ }
4109
+ let localVarPath = `/printers/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/printTypePrinterTrays`;
4110
+ const { basePath, withCredentials } = this.configuration;
4111
+ return this.httpClient.request('put', `${basePath}${localVarPath}`, {
4112
+ context: localVarHttpContext,
4113
+ body: printTypePrinterTrayUpdateModel,
4114
+ responseType: responseType_,
4115
+ ...(withCredentials ? { withCredentials } : {}),
4116
+ headers: localVarHeaders,
4117
+ observe: observe,
4118
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
4119
+ reportProgress: reportProgress
4120
+ });
4121
+ }
4122
+ updatePrinter(id, printerUpdateModel, observe = 'body', reportProgress = false, options) {
4123
+ if (id === null || id === undefined) {
4124
+ throw new Error('Required parameter id was null or undefined when calling updatePrinter.');
4125
+ }
4126
+ if (printerUpdateModel === null || printerUpdateModel === undefined) {
4127
+ throw new Error('Required parameter printerUpdateModel was null or undefined when calling updatePrinter.');
4128
+ }
4129
+ let localVarHeaders = this.defaultHeaders;
4130
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
4131
+ 'application/json'
4132
+ ]);
4133
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
4134
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
4135
+ }
4136
+ const localVarHttpContext = options?.context ?? new HttpContext();
4137
+ const localVarTransferCache = options?.transferCache ?? true;
4138
+ // to determine the Content-Type header
4139
+ const consumes = [
4140
+ 'application/json'
4141
+ ];
4142
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
4143
+ if (httpContentTypeSelected !== undefined) {
4144
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
4145
+ }
4146
+ let responseType_ = 'json';
4147
+ if (localVarHttpHeaderAcceptSelected) {
4148
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
4149
+ responseType_ = 'text';
4150
+ }
4151
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4152
+ responseType_ = 'json';
4153
+ }
4154
+ else {
4155
+ responseType_ = 'blob';
4156
+ }
4157
+ }
4158
+ let localVarPath = `/printers/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}`;
4159
+ const { basePath, withCredentials } = this.configuration;
4160
+ return this.httpClient.request('put', `${basePath}${localVarPath}`, {
4161
+ context: localVarHttpContext,
4162
+ body: printerUpdateModel,
4163
+ responseType: responseType_,
4164
+ ...(withCredentials ? { withCredentials } : {}),
4165
+ headers: localVarHeaders,
4166
+ observe: observe,
4167
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
4168
+ reportProgress: reportProgress
4169
+ });
4170
+ }
4171
+ updatePrinterTrays(id, printerTrayUpdateModel, observe = 'body', reportProgress = false, options) {
4172
+ if (id === null || id === undefined) {
4173
+ throw new Error('Required parameter id was null or undefined when calling updatePrinterTrays.');
4174
+ }
4175
+ if (printerTrayUpdateModel === null || printerTrayUpdateModel === undefined) {
4176
+ throw new Error('Required parameter printerTrayUpdateModel was null or undefined when calling updatePrinterTrays.');
4177
+ }
4178
+ let localVarHeaders = this.defaultHeaders;
4179
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
4180
+ 'application/json'
4181
+ ]);
4182
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
4183
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
4184
+ }
4185
+ const localVarHttpContext = options?.context ?? new HttpContext();
4186
+ const localVarTransferCache = options?.transferCache ?? true;
4187
+ // to determine the Content-Type header
4188
+ const consumes = [
4189
+ 'application/json'
4190
+ ];
4191
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
4192
+ if (httpContentTypeSelected !== undefined) {
4193
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
4194
+ }
4195
+ let responseType_ = 'json';
4196
+ if (localVarHttpHeaderAcceptSelected) {
4197
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
4198
+ responseType_ = 'text';
4199
+ }
4200
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4201
+ responseType_ = 'json';
4202
+ }
4203
+ else {
4204
+ responseType_ = 'blob';
4205
+ }
4206
+ }
4207
+ let localVarPath = `/printers/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/printerTrays`;
4208
+ const { basePath, withCredentials } = this.configuration;
4209
+ return this.httpClient.request('put', `${basePath}${localVarPath}`, {
4210
+ context: localVarHttpContext,
4211
+ body: printerTrayUpdateModel,
4212
+ responseType: responseType_,
4213
+ ...(withCredentials ? { withCredentials } : {}),
4214
+ headers: localVarHeaders,
4215
+ observe: observe,
4216
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
4217
+ reportProgress: reportProgress
4218
+ });
4219
+ }
3728
4220
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PrintersService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3729
4221
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PrintersService, providedIn: 'root' });
3730
4222
  }
@@ -6940,6 +7432,36 @@ const DocumentGenerationStatuses = {
6940
7432
  Exception: 'Exception'
6941
7433
  };
6942
7434
 
7435
+ /**
7436
+ * Wms.API.Client
7437
+ *
7438
+ *
7439
+ *
7440
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
7441
+ * https://openapi-generator.tech
7442
+ * Do not edit the class manually.
7443
+ */
7444
+ const DocumentTypes = {
7445
+ PickNote: 'PickNote',
7446
+ DispatchNote: 'DispatchNote',
7447
+ CarrierLabel: 'CarrierLabel',
7448
+ CommercialInvoice: 'CommercialInvoice',
7449
+ PackingList: 'PackingList',
7450
+ GiftMessageCard: 'GiftMessageCard',
7451
+ IntegratedDispatchNote: 'IntegratedDispatchNote',
7452
+ DangerousGoodsForm: 'DangerousGoodsForm',
7453
+ Cn22: 'CN22',
7454
+ Cn23: 'CN23',
7455
+ WaveSummarySheet: 'WaveSummarySheet',
7456
+ PlateLabel: 'PlateLabel',
7457
+ NonStandardRequirement: 'NonStandardRequirement',
7458
+ BoxLabel: 'BoxLabel',
7459
+ ProductLabel: 'ProductLabel',
7460
+ KitToOrder: 'KitToOrder',
7461
+ IntegratedEmptyDispatchNote: 'IntegratedEmptyDispatchNote',
7462
+ DeliveryPo: 'DeliveryPO'
7463
+ };
7464
+
6943
7465
  /**
6944
7466
  * Wms.API.Client
6945
7467
  *
@@ -7601,5 +8123,5 @@ function provideApi(configOrBasePath) {
7601
8123
  * Generated bundle index. Do not edit.
7602
8124
  */
7603
8125
 
7604
- export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, CompaniesService, Configuration, DcLocationStatus, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, DocumentGenerationStatuses, HealthService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PendoService, PermissionsService, PickReleaseHistoryTypes, PickingProcesses, PrintTypes, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ProductStatus, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentAccessService, ReplenishmentRecordsService, ReplenishmentStages, ReplenishmentStatuses, ReplenishmentTypes, ReturnedItemsService, SettingsService, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompanyType, UserPrintersService, UserService, UsersInternalService, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WavePickingAccessService, WaveStatuses, WavesByPickReleaseIdService, provideApi };
8126
+ export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, CompaniesService, Configuration, DcLocationStatus, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, DocumentGenerationStatuses, DocumentTypes, HealthService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PendoService, PermissionsService, PickReleaseHistoryTypes, PickingProcesses, PrintTypes, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ProductStatus, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentAccessService, ReplenishmentRecordsService, ReplenishmentStages, ReplenishmentStatuses, ReplenishmentTypes, ReturnedItemsService, SettingsService, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompanyType, UserPrintersService, UserService, UsersInternalService, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WavePickingAccessService, WaveStatuses, WavesByPickReleaseIdService, provideApi };
7605
8127
  //# sourceMappingURL=indigina-wms-api.mjs.map