@indigina/wms-api 0.0.135 → 0.0.136
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 +2 -2
- package/fesm2022/indigina-wms-api.mjs +480 -1
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/package.json +1 -1
- package/types/indigina-wms-api.d.ts +534 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @indigina/wms-api@0.0.
|
|
1
|
+
# @indigina/wms-api@0.0.136
|
|
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.
|
|
27
|
+
npm install @indigina/wms-api@0.0.136 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -3684,6 +3684,308 @@ 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, 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
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3876
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3877
|
+
'application/json'
|
|
3878
|
+
]);
|
|
3879
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3880
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3881
|
+
}
|
|
3882
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3883
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
3884
|
+
let responseType_ = 'json';
|
|
3885
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3886
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3887
|
+
responseType_ = 'text';
|
|
3888
|
+
}
|
|
3889
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3890
|
+
responseType_ = 'json';
|
|
3891
|
+
}
|
|
3892
|
+
else {
|
|
3893
|
+
responseType_ = 'blob';
|
|
3894
|
+
}
|
|
3895
|
+
}
|
|
3896
|
+
let localVarPath = `/printers/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/printTypePrinterTrays`;
|
|
3897
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3898
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
3899
|
+
context: localVarHttpContext,
|
|
3900
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
3901
|
+
responseType: responseType_,
|
|
3902
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3903
|
+
headers: localVarHeaders,
|
|
3904
|
+
observe: observe,
|
|
3905
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
3906
|
+
reportProgress: reportProgress
|
|
3907
|
+
});
|
|
3908
|
+
}
|
|
3909
|
+
getPrinterById(id, observe = 'body', reportProgress = false, options) {
|
|
3910
|
+
if (id === null || id === undefined) {
|
|
3911
|
+
throw new Error('Required parameter id was null or undefined when calling getPrinterById.');
|
|
3912
|
+
}
|
|
3913
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3914
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3915
|
+
'application/json'
|
|
3916
|
+
]);
|
|
3917
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3918
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3919
|
+
}
|
|
3920
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3921
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
3922
|
+
let responseType_ = 'json';
|
|
3923
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3924
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3925
|
+
responseType_ = 'text';
|
|
3926
|
+
}
|
|
3927
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3928
|
+
responseType_ = 'json';
|
|
3929
|
+
}
|
|
3930
|
+
else {
|
|
3931
|
+
responseType_ = 'blob';
|
|
3932
|
+
}
|
|
3933
|
+
}
|
|
3934
|
+
let localVarPath = `/printers/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}`;
|
|
3935
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3936
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
3937
|
+
context: localVarHttpContext,
|
|
3938
|
+
responseType: responseType_,
|
|
3939
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3940
|
+
headers: localVarHeaders,
|
|
3941
|
+
observe: observe,
|
|
3942
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
3943
|
+
reportProgress: reportProgress
|
|
3944
|
+
});
|
|
3945
|
+
}
|
|
3946
|
+
getPrinterTrays(id, $skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
|
|
3947
|
+
if (id === null || id === undefined) {
|
|
3948
|
+
throw new Error('Required parameter id was null or undefined when calling getPrinterTrays.');
|
|
3949
|
+
}
|
|
3950
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
3951
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
3952
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
3953
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
|
|
3954
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
|
|
3955
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3956
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3957
|
+
'application/json'
|
|
3958
|
+
]);
|
|
3959
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3960
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3961
|
+
}
|
|
3962
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3963
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
3964
|
+
let responseType_ = 'json';
|
|
3965
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3966
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3967
|
+
responseType_ = 'text';
|
|
3968
|
+
}
|
|
3969
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3970
|
+
responseType_ = 'json';
|
|
3971
|
+
}
|
|
3972
|
+
else {
|
|
3973
|
+
responseType_ = 'blob';
|
|
3974
|
+
}
|
|
3975
|
+
}
|
|
3976
|
+
let localVarPath = `/printers/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/printerTrays`;
|
|
3977
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3978
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
3979
|
+
context: localVarHttpContext,
|
|
3980
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
3981
|
+
responseType: responseType_,
|
|
3982
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3983
|
+
headers: localVarHeaders,
|
|
3984
|
+
observe: observe,
|
|
3985
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
3986
|
+
reportProgress: reportProgress
|
|
3987
|
+
});
|
|
3988
|
+
}
|
|
3687
3989
|
getPrinters($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
3688
3990
|
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
3689
3991
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
@@ -3725,6 +4027,153 @@ class PrintersService extends BaseService {
|
|
|
3725
4027
|
reportProgress: reportProgress
|
|
3726
4028
|
});
|
|
3727
4029
|
}
|
|
4030
|
+
updatePrintTypePrinterTrays(id, printTypePrinterTrayUpdateModel, observe = 'body', reportProgress = false, options) {
|
|
4031
|
+
if (id === null || id === undefined) {
|
|
4032
|
+
throw new Error('Required parameter id was null or undefined when calling updatePrintTypePrinterTrays.');
|
|
4033
|
+
}
|
|
4034
|
+
if (printTypePrinterTrayUpdateModel === null || printTypePrinterTrayUpdateModel === undefined) {
|
|
4035
|
+
throw new Error('Required parameter printTypePrinterTrayUpdateModel was null or undefined when calling updatePrintTypePrinterTrays.');
|
|
4036
|
+
}
|
|
4037
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4038
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
4039
|
+
'application/json'
|
|
4040
|
+
]);
|
|
4041
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4042
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
4043
|
+
}
|
|
4044
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
4045
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
4046
|
+
// to determine the Content-Type header
|
|
4047
|
+
const consumes = [
|
|
4048
|
+
'application/json'
|
|
4049
|
+
];
|
|
4050
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
4051
|
+
if (httpContentTypeSelected !== undefined) {
|
|
4052
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
4053
|
+
}
|
|
4054
|
+
let responseType_ = 'json';
|
|
4055
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4056
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
4057
|
+
responseType_ = 'text';
|
|
4058
|
+
}
|
|
4059
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4060
|
+
responseType_ = 'json';
|
|
4061
|
+
}
|
|
4062
|
+
else {
|
|
4063
|
+
responseType_ = 'blob';
|
|
4064
|
+
}
|
|
4065
|
+
}
|
|
4066
|
+
let localVarPath = `/printers/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/printTypePrinterTrays`;
|
|
4067
|
+
const { basePath, withCredentials } = this.configuration;
|
|
4068
|
+
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
4069
|
+
context: localVarHttpContext,
|
|
4070
|
+
body: printTypePrinterTrayUpdateModel,
|
|
4071
|
+
responseType: responseType_,
|
|
4072
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
4073
|
+
headers: localVarHeaders,
|
|
4074
|
+
observe: observe,
|
|
4075
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
4076
|
+
reportProgress: reportProgress
|
|
4077
|
+
});
|
|
4078
|
+
}
|
|
4079
|
+
updatePrinter(id, printerUpdateModel, observe = 'body', reportProgress = false, options) {
|
|
4080
|
+
if (id === null || id === undefined) {
|
|
4081
|
+
throw new Error('Required parameter id was null or undefined when calling updatePrinter.');
|
|
4082
|
+
}
|
|
4083
|
+
if (printerUpdateModel === null || printerUpdateModel === undefined) {
|
|
4084
|
+
throw new Error('Required parameter printerUpdateModel was null or undefined when calling updatePrinter.');
|
|
4085
|
+
}
|
|
4086
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4087
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
4088
|
+
'application/json'
|
|
4089
|
+
]);
|
|
4090
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4091
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
4092
|
+
}
|
|
4093
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
4094
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
4095
|
+
// to determine the Content-Type header
|
|
4096
|
+
const consumes = [
|
|
4097
|
+
'application/json'
|
|
4098
|
+
];
|
|
4099
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
4100
|
+
if (httpContentTypeSelected !== undefined) {
|
|
4101
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
4102
|
+
}
|
|
4103
|
+
let responseType_ = 'json';
|
|
4104
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4105
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
4106
|
+
responseType_ = 'text';
|
|
4107
|
+
}
|
|
4108
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4109
|
+
responseType_ = 'json';
|
|
4110
|
+
}
|
|
4111
|
+
else {
|
|
4112
|
+
responseType_ = 'blob';
|
|
4113
|
+
}
|
|
4114
|
+
}
|
|
4115
|
+
let localVarPath = `/printers/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}`;
|
|
4116
|
+
const { basePath, withCredentials } = this.configuration;
|
|
4117
|
+
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
4118
|
+
context: localVarHttpContext,
|
|
4119
|
+
body: printerUpdateModel,
|
|
4120
|
+
responseType: responseType_,
|
|
4121
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
4122
|
+
headers: localVarHeaders,
|
|
4123
|
+
observe: observe,
|
|
4124
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
4125
|
+
reportProgress: reportProgress
|
|
4126
|
+
});
|
|
4127
|
+
}
|
|
4128
|
+
updatePrinterTrays(id, printerTrayUpdateModel, observe = 'body', reportProgress = false, options) {
|
|
4129
|
+
if (id === null || id === undefined) {
|
|
4130
|
+
throw new Error('Required parameter id was null or undefined when calling updatePrinterTrays.');
|
|
4131
|
+
}
|
|
4132
|
+
if (printerTrayUpdateModel === null || printerTrayUpdateModel === undefined) {
|
|
4133
|
+
throw new Error('Required parameter printerTrayUpdateModel was null or undefined when calling updatePrinterTrays.');
|
|
4134
|
+
}
|
|
4135
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4136
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
4137
|
+
'application/json'
|
|
4138
|
+
]);
|
|
4139
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4140
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
4141
|
+
}
|
|
4142
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
4143
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
4144
|
+
// to determine the Content-Type header
|
|
4145
|
+
const consumes = [
|
|
4146
|
+
'application/json'
|
|
4147
|
+
];
|
|
4148
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
4149
|
+
if (httpContentTypeSelected !== undefined) {
|
|
4150
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
4151
|
+
}
|
|
4152
|
+
let responseType_ = 'json';
|
|
4153
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4154
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
4155
|
+
responseType_ = 'text';
|
|
4156
|
+
}
|
|
4157
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4158
|
+
responseType_ = 'json';
|
|
4159
|
+
}
|
|
4160
|
+
else {
|
|
4161
|
+
responseType_ = 'blob';
|
|
4162
|
+
}
|
|
4163
|
+
}
|
|
4164
|
+
let localVarPath = `/printers/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/printerTrays`;
|
|
4165
|
+
const { basePath, withCredentials } = this.configuration;
|
|
4166
|
+
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
4167
|
+
context: localVarHttpContext,
|
|
4168
|
+
body: printerTrayUpdateModel,
|
|
4169
|
+
responseType: responseType_,
|
|
4170
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
4171
|
+
headers: localVarHeaders,
|
|
4172
|
+
observe: observe,
|
|
4173
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
4174
|
+
reportProgress: reportProgress
|
|
4175
|
+
});
|
|
4176
|
+
}
|
|
3728
4177
|
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
4178
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PrintersService, providedIn: 'root' });
|
|
3730
4179
|
}
|
|
@@ -6940,6 +7389,36 @@ const DocumentGenerationStatuses = {
|
|
|
6940
7389
|
Exception: 'Exception'
|
|
6941
7390
|
};
|
|
6942
7391
|
|
|
7392
|
+
/**
|
|
7393
|
+
* Wms.API.Client
|
|
7394
|
+
*
|
|
7395
|
+
*
|
|
7396
|
+
*
|
|
7397
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7398
|
+
* https://openapi-generator.tech
|
|
7399
|
+
* Do not edit the class manually.
|
|
7400
|
+
*/
|
|
7401
|
+
const DocumentTypes = {
|
|
7402
|
+
PickNote: 'PickNote',
|
|
7403
|
+
DispatchNote: 'DispatchNote',
|
|
7404
|
+
CarrierLabel: 'CarrierLabel',
|
|
7405
|
+
CommercialInvoice: 'CommercialInvoice',
|
|
7406
|
+
PackingList: 'PackingList',
|
|
7407
|
+
GiftMessageCard: 'GiftMessageCard',
|
|
7408
|
+
IntegratedDispatchNote: 'IntegratedDispatchNote',
|
|
7409
|
+
DangerousGoodsForm: 'DangerousGoodsForm',
|
|
7410
|
+
Cn22: 'CN22',
|
|
7411
|
+
Cn23: 'CN23',
|
|
7412
|
+
WaveSummarySheet: 'WaveSummarySheet',
|
|
7413
|
+
PlateLabel: 'PlateLabel',
|
|
7414
|
+
NonStandardRequirement: 'NonStandardRequirement',
|
|
7415
|
+
BoxLabel: 'BoxLabel',
|
|
7416
|
+
ProductLabel: 'ProductLabel',
|
|
7417
|
+
KitToOrder: 'KitToOrder',
|
|
7418
|
+
IntegratedEmptyDispatchNote: 'IntegratedEmptyDispatchNote',
|
|
7419
|
+
DeliveryPo: 'DeliveryPO'
|
|
7420
|
+
};
|
|
7421
|
+
|
|
6943
7422
|
/**
|
|
6944
7423
|
* Wms.API.Client
|
|
6945
7424
|
*
|
|
@@ -7601,5 +8080,5 @@ function provideApi(configOrBasePath) {
|
|
|
7601
8080
|
* Generated bundle index. Do not edit.
|
|
7602
8081
|
*/
|
|
7603
8082
|
|
|
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 };
|
|
8083
|
+
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
8084
|
//# sourceMappingURL=indigina-wms-api.mjs.map
|