@indigina/wms-api 0.0.134 → 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 -45
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/package.json +1 -1
- package/types/indigina-wms-api.d.ts +534 -26
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):_
|
|
@@ -3131,50 +3131,6 @@ class DispatchesService extends BaseService {
|
|
|
3131
3131
|
reportProgress: reportProgress
|
|
3132
3132
|
});
|
|
3133
3133
|
}
|
|
3134
|
-
getOwnerCompanyIdsWithoutDispatches(orderStatus, ownerCompanyIds, observe = 'body', reportProgress = false, options) {
|
|
3135
|
-
if (orderStatus === null || orderStatus === undefined) {
|
|
3136
|
-
throw new Error('Required parameter orderStatus was null or undefined when calling getOwnerCompanyIdsWithoutDispatches.');
|
|
3137
|
-
}
|
|
3138
|
-
if (ownerCompanyIds === null || ownerCompanyIds === undefined) {
|
|
3139
|
-
throw new Error('Required parameter ownerCompanyIds was null or undefined when calling getOwnerCompanyIdsWithoutDispatches.');
|
|
3140
|
-
}
|
|
3141
|
-
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
3142
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'orderStatus', orderStatus, QueryParamStyle.Form, true);
|
|
3143
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'ownerCompanyIds', ownerCompanyIds, QueryParamStyle.Form, true);
|
|
3144
|
-
let localVarHeaders = this.defaultHeaders;
|
|
3145
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3146
|
-
'application/json'
|
|
3147
|
-
]);
|
|
3148
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3149
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3150
|
-
}
|
|
3151
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3152
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
3153
|
-
let responseType_ = 'json';
|
|
3154
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
3155
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3156
|
-
responseType_ = 'text';
|
|
3157
|
-
}
|
|
3158
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3159
|
-
responseType_ = 'json';
|
|
3160
|
-
}
|
|
3161
|
-
else {
|
|
3162
|
-
responseType_ = 'blob';
|
|
3163
|
-
}
|
|
3164
|
-
}
|
|
3165
|
-
let localVarPath = `/dispatches/owner-companies/without-dispatch`;
|
|
3166
|
-
const { basePath, withCredentials } = this.configuration;
|
|
3167
|
-
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
3168
|
-
context: localVarHttpContext,
|
|
3169
|
-
params: localVarQueryParameters.toHttpParams(),
|
|
3170
|
-
responseType: responseType_,
|
|
3171
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
3172
|
-
headers: localVarHeaders,
|
|
3173
|
-
observe: observe,
|
|
3174
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
3175
|
-
reportProgress: reportProgress
|
|
3176
|
-
});
|
|
3177
|
-
}
|
|
3178
3134
|
getPrintDetails(id, observe = 'body', reportProgress = false, options) {
|
|
3179
3135
|
if (id === null || id === undefined) {
|
|
3180
3136
|
throw new Error('Required parameter id was null or undefined when calling getPrintDetails.');
|
|
@@ -3728,6 +3684,308 @@ class PrintersService extends BaseService {
|
|
|
3728
3684
|
super(basePath, configuration);
|
|
3729
3685
|
this.httpClient = httpClient;
|
|
3730
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
|
+
}
|
|
3731
3989
|
getPrinters($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
3732
3990
|
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
3733
3991
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
@@ -3769,6 +4027,153 @@ class PrintersService extends BaseService {
|
|
|
3769
4027
|
reportProgress: reportProgress
|
|
3770
4028
|
});
|
|
3771
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
|
+
}
|
|
3772
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 });
|
|
3773
4178
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PrintersService, providedIn: 'root' });
|
|
3774
4179
|
}
|
|
@@ -6984,6 +7389,36 @@ const DocumentGenerationStatuses = {
|
|
|
6984
7389
|
Exception: 'Exception'
|
|
6985
7390
|
};
|
|
6986
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
|
+
|
|
6987
7422
|
/**
|
|
6988
7423
|
* Wms.API.Client
|
|
6989
7424
|
*
|
|
@@ -7645,5 +8080,5 @@ function provideApi(configOrBasePath) {
|
|
|
7645
8080
|
* Generated bundle index. Do not edit.
|
|
7646
8081
|
*/
|
|
7647
8082
|
|
|
7648
|
-
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 };
|
|
7649
8084
|
//# sourceMappingURL=indigina-wms-api.mjs.map
|