@indigina/wms-api 0.0.180 → 0.0.182
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 +594 -102
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/package.json +1 -1
- package/types/indigina-wms-api.d.ts +493 -92
|
@@ -2250,6 +2250,49 @@ class CompaniesService extends BaseService {
|
|
|
2250
2250
|
reportProgress: reportProgress
|
|
2251
2251
|
});
|
|
2252
2252
|
}
|
|
2253
|
+
getCompaniesByCompanyType(companyType, $skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
|
|
2254
|
+
if (companyType === null || companyType === undefined) {
|
|
2255
|
+
throw new Error('Required parameter companyType was null or undefined when calling getCompaniesByCompanyType.');
|
|
2256
|
+
}
|
|
2257
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
2258
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
2259
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
2260
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
|
|
2261
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
|
|
2262
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2263
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2264
|
+
'application/json'
|
|
2265
|
+
]);
|
|
2266
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2267
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2268
|
+
}
|
|
2269
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2270
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2271
|
+
let responseType_ = 'json';
|
|
2272
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2273
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2274
|
+
responseType_ = 'text';
|
|
2275
|
+
}
|
|
2276
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2277
|
+
responseType_ = 'json';
|
|
2278
|
+
}
|
|
2279
|
+
else {
|
|
2280
|
+
responseType_ = 'blob';
|
|
2281
|
+
}
|
|
2282
|
+
}
|
|
2283
|
+
let localVarPath = `/companies/${this.configuration.encodeParam({ name: "companyType", value: companyType, in: "path", style: "simple", explode: false, dataType: "CompanyType", dataFormat: undefined })}`;
|
|
2284
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2285
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
2286
|
+
context: localVarHttpContext,
|
|
2287
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
2288
|
+
responseType: responseType_,
|
|
2289
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2290
|
+
headers: localVarHeaders,
|
|
2291
|
+
observe: observe,
|
|
2292
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2293
|
+
reportProgress: reportProgress
|
|
2294
|
+
});
|
|
2295
|
+
}
|
|
2253
2296
|
getShipToCompanies($skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
|
|
2254
2297
|
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
2255
2298
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
@@ -3782,7 +3825,362 @@ class DeliveryItemsService extends BaseService {
|
|
|
3782
3825
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DeliveryItemsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3783
3826
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DeliveryItemsService, providedIn: 'root' });
|
|
3784
3827
|
}
|
|
3785
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DeliveryItemsService, decorators: [{
|
|
3828
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DeliveryItemsService, decorators: [{
|
|
3829
|
+
type: Injectable,
|
|
3830
|
+
args: [{
|
|
3831
|
+
providedIn: 'root'
|
|
3832
|
+
}]
|
|
3833
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
3834
|
+
type: Optional
|
|
3835
|
+
}, {
|
|
3836
|
+
type: Inject,
|
|
3837
|
+
args: [BASE_PATH]
|
|
3838
|
+
}] }, { type: Configuration, decorators: [{
|
|
3839
|
+
type: Optional
|
|
3840
|
+
}] }] });
|
|
3841
|
+
|
|
3842
|
+
/**
|
|
3843
|
+
* Wms.API.Client
|
|
3844
|
+
*
|
|
3845
|
+
*
|
|
3846
|
+
*
|
|
3847
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3848
|
+
* https://openapi-generator.tech
|
|
3849
|
+
* Do not edit the class manually.
|
|
3850
|
+
*/
|
|
3851
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
3852
|
+
class DispatchBoxTypesService extends BaseService {
|
|
3853
|
+
httpClient;
|
|
3854
|
+
constructor(httpClient, basePath, configuration) {
|
|
3855
|
+
super(basePath, configuration);
|
|
3856
|
+
this.httpClient = httpClient;
|
|
3857
|
+
}
|
|
3858
|
+
createDispatchBoxType(dispatchBoxType, observe = 'body', reportProgress = false, options) {
|
|
3859
|
+
if (dispatchBoxType === null || dispatchBoxType === undefined) {
|
|
3860
|
+
throw new Error('Required parameter dispatchBoxType was null or undefined when calling createDispatchBoxType.');
|
|
3861
|
+
}
|
|
3862
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3863
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3864
|
+
'application/json'
|
|
3865
|
+
]);
|
|
3866
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3867
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3868
|
+
}
|
|
3869
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3870
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
3871
|
+
// to determine the Content-Type header
|
|
3872
|
+
const consumes = [
|
|
3873
|
+
'application/json'
|
|
3874
|
+
];
|
|
3875
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
3876
|
+
if (httpContentTypeSelected !== undefined) {
|
|
3877
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
3878
|
+
}
|
|
3879
|
+
let responseType_ = 'json';
|
|
3880
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3881
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3882
|
+
responseType_ = 'text';
|
|
3883
|
+
}
|
|
3884
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3885
|
+
responseType_ = 'json';
|
|
3886
|
+
}
|
|
3887
|
+
else {
|
|
3888
|
+
responseType_ = 'blob';
|
|
3889
|
+
}
|
|
3890
|
+
}
|
|
3891
|
+
let localVarPath = `/dispatchBoxTypes`;
|
|
3892
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3893
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
3894
|
+
context: localVarHttpContext,
|
|
3895
|
+
body: dispatchBoxType,
|
|
3896
|
+
responseType: responseType_,
|
|
3897
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3898
|
+
headers: localVarHeaders,
|
|
3899
|
+
observe: observe,
|
|
3900
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
3901
|
+
reportProgress: reportProgress
|
|
3902
|
+
});
|
|
3903
|
+
}
|
|
3904
|
+
deleteDispatchBoxType(id, observe = 'body', reportProgress = false, options) {
|
|
3905
|
+
if (id === null || id === undefined) {
|
|
3906
|
+
throw new Error('Required parameter id was null or undefined when calling deleteDispatchBoxType.');
|
|
3907
|
+
}
|
|
3908
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3909
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
3910
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3911
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3912
|
+
}
|
|
3913
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3914
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
3915
|
+
let responseType_ = 'json';
|
|
3916
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3917
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3918
|
+
responseType_ = 'text';
|
|
3919
|
+
}
|
|
3920
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3921
|
+
responseType_ = 'json';
|
|
3922
|
+
}
|
|
3923
|
+
else {
|
|
3924
|
+
responseType_ = 'blob';
|
|
3925
|
+
}
|
|
3926
|
+
}
|
|
3927
|
+
let localVarPath = `/dispatchBoxTypes/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
3928
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3929
|
+
return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
|
|
3930
|
+
context: localVarHttpContext,
|
|
3931
|
+
responseType: responseType_,
|
|
3932
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3933
|
+
headers: localVarHeaders,
|
|
3934
|
+
observe: observe,
|
|
3935
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
3936
|
+
reportProgress: reportProgress
|
|
3937
|
+
});
|
|
3938
|
+
}
|
|
3939
|
+
getDispatchBoxType(id, observe = 'body', reportProgress = false, options) {
|
|
3940
|
+
if (id === null || id === undefined) {
|
|
3941
|
+
throw new Error('Required parameter id was null or undefined when calling getDispatchBoxType.');
|
|
3942
|
+
}
|
|
3943
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3944
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3945
|
+
'application/json'
|
|
3946
|
+
]);
|
|
3947
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3948
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3949
|
+
}
|
|
3950
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3951
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
3952
|
+
let responseType_ = 'json';
|
|
3953
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3954
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3955
|
+
responseType_ = 'text';
|
|
3956
|
+
}
|
|
3957
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3958
|
+
responseType_ = 'json';
|
|
3959
|
+
}
|
|
3960
|
+
else {
|
|
3961
|
+
responseType_ = 'blob';
|
|
3962
|
+
}
|
|
3963
|
+
}
|
|
3964
|
+
let localVarPath = `/dispatchBoxTypes/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
3965
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3966
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
3967
|
+
context: localVarHttpContext,
|
|
3968
|
+
responseType: responseType_,
|
|
3969
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3970
|
+
headers: localVarHeaders,
|
|
3971
|
+
observe: observe,
|
|
3972
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
3973
|
+
reportProgress: reportProgress
|
|
3974
|
+
});
|
|
3975
|
+
}
|
|
3976
|
+
getDispatchBoxTypes($skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
|
|
3977
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
3978
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
3979
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
3980
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
|
|
3981
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
|
|
3982
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3983
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3984
|
+
'application/json'
|
|
3985
|
+
]);
|
|
3986
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3987
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3988
|
+
}
|
|
3989
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3990
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
3991
|
+
let responseType_ = 'json';
|
|
3992
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3993
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3994
|
+
responseType_ = 'text';
|
|
3995
|
+
}
|
|
3996
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3997
|
+
responseType_ = 'json';
|
|
3998
|
+
}
|
|
3999
|
+
else {
|
|
4000
|
+
responseType_ = 'blob';
|
|
4001
|
+
}
|
|
4002
|
+
}
|
|
4003
|
+
let localVarPath = `/dispatchBoxTypes`;
|
|
4004
|
+
const { basePath, withCredentials } = this.configuration;
|
|
4005
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
4006
|
+
context: localVarHttpContext,
|
|
4007
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
4008
|
+
responseType: responseType_,
|
|
4009
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
4010
|
+
headers: localVarHeaders,
|
|
4011
|
+
observe: observe,
|
|
4012
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
4013
|
+
reportProgress: reportProgress
|
|
4014
|
+
});
|
|
4015
|
+
}
|
|
4016
|
+
updateDispatchBoxType(id, dispatchBoxType, observe = 'body', reportProgress = false, options) {
|
|
4017
|
+
if (id === null || id === undefined) {
|
|
4018
|
+
throw new Error('Required parameter id was null or undefined when calling updateDispatchBoxType.');
|
|
4019
|
+
}
|
|
4020
|
+
if (dispatchBoxType === null || dispatchBoxType === undefined) {
|
|
4021
|
+
throw new Error('Required parameter dispatchBoxType was null or undefined when calling updateDispatchBoxType.');
|
|
4022
|
+
}
|
|
4023
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4024
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
4025
|
+
'application/json'
|
|
4026
|
+
]);
|
|
4027
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4028
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
4029
|
+
}
|
|
4030
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
4031
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
4032
|
+
// to determine the Content-Type header
|
|
4033
|
+
const consumes = [
|
|
4034
|
+
'application/json'
|
|
4035
|
+
];
|
|
4036
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
4037
|
+
if (httpContentTypeSelected !== undefined) {
|
|
4038
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
4039
|
+
}
|
|
4040
|
+
let responseType_ = 'json';
|
|
4041
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4042
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
4043
|
+
responseType_ = 'text';
|
|
4044
|
+
}
|
|
4045
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4046
|
+
responseType_ = 'json';
|
|
4047
|
+
}
|
|
4048
|
+
else {
|
|
4049
|
+
responseType_ = 'blob';
|
|
4050
|
+
}
|
|
4051
|
+
}
|
|
4052
|
+
let localVarPath = `/dispatchBoxTypes/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
4053
|
+
const { basePath, withCredentials } = this.configuration;
|
|
4054
|
+
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
4055
|
+
context: localVarHttpContext,
|
|
4056
|
+
body: dispatchBoxType,
|
|
4057
|
+
responseType: responseType_,
|
|
4058
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
4059
|
+
headers: localVarHeaders,
|
|
4060
|
+
observe: observe,
|
|
4061
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
4062
|
+
reportProgress: reportProgress
|
|
4063
|
+
});
|
|
4064
|
+
}
|
|
4065
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchBoxTypesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4066
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchBoxTypesService, providedIn: 'root' });
|
|
4067
|
+
}
|
|
4068
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchBoxTypesService, decorators: [{
|
|
4069
|
+
type: Injectable,
|
|
4070
|
+
args: [{
|
|
4071
|
+
providedIn: 'root'
|
|
4072
|
+
}]
|
|
4073
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
4074
|
+
type: Optional
|
|
4075
|
+
}, {
|
|
4076
|
+
type: Inject,
|
|
4077
|
+
args: [BASE_PATH]
|
|
4078
|
+
}] }, { type: Configuration, decorators: [{
|
|
4079
|
+
type: Optional
|
|
4080
|
+
}] }] });
|
|
4081
|
+
|
|
4082
|
+
/**
|
|
4083
|
+
* Wms.API.Client
|
|
4084
|
+
*
|
|
4085
|
+
*
|
|
4086
|
+
*
|
|
4087
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4088
|
+
* https://openapi-generator.tech
|
|
4089
|
+
* Do not edit the class manually.
|
|
4090
|
+
*/
|
|
4091
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
4092
|
+
class DispatchBoxesService extends BaseService {
|
|
4093
|
+
httpClient;
|
|
4094
|
+
constructor(httpClient, basePath, configuration) {
|
|
4095
|
+
super(basePath, configuration);
|
|
4096
|
+
this.httpClient = httpClient;
|
|
4097
|
+
}
|
|
4098
|
+
getDispatchBoxes($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
4099
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
4100
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
4101
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
4102
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
|
|
4103
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
|
|
4104
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
|
|
4105
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4106
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
4107
|
+
'application/json'
|
|
4108
|
+
]);
|
|
4109
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4110
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
4111
|
+
}
|
|
4112
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
4113
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
4114
|
+
let responseType_ = 'json';
|
|
4115
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4116
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
4117
|
+
responseType_ = 'text';
|
|
4118
|
+
}
|
|
4119
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4120
|
+
responseType_ = 'json';
|
|
4121
|
+
}
|
|
4122
|
+
else {
|
|
4123
|
+
responseType_ = 'blob';
|
|
4124
|
+
}
|
|
4125
|
+
}
|
|
4126
|
+
let localVarPath = `/dispatchBoxes`;
|
|
4127
|
+
const { basePath, withCredentials } = this.configuration;
|
|
4128
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
4129
|
+
context: localVarHttpContext,
|
|
4130
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
4131
|
+
responseType: responseType_,
|
|
4132
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
4133
|
+
headers: localVarHeaders,
|
|
4134
|
+
observe: observe,
|
|
4135
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
4136
|
+
reportProgress: reportProgress
|
|
4137
|
+
});
|
|
4138
|
+
}
|
|
4139
|
+
getDispatchBoxesFromIndex($skip, $top, $orderby, $filter, searchTerm, observe = 'body', reportProgress = false, options) {
|
|
4140
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
4141
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
4142
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
4143
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
|
|
4144
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
|
|
4145
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'searchTerm', searchTerm, QueryParamStyle.Form, true);
|
|
4146
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4147
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
4148
|
+
'application/json'
|
|
4149
|
+
]);
|
|
4150
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4151
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
4152
|
+
}
|
|
4153
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
4154
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
4155
|
+
let responseType_ = 'json';
|
|
4156
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4157
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
4158
|
+
responseType_ = 'text';
|
|
4159
|
+
}
|
|
4160
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4161
|
+
responseType_ = 'json';
|
|
4162
|
+
}
|
|
4163
|
+
else {
|
|
4164
|
+
responseType_ = 'blob';
|
|
4165
|
+
}
|
|
4166
|
+
}
|
|
4167
|
+
let localVarPath = `/dispatchBoxes/search`;
|
|
4168
|
+
const { basePath, withCredentials } = this.configuration;
|
|
4169
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
4170
|
+
context: localVarHttpContext,
|
|
4171
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
4172
|
+
responseType: responseType_,
|
|
4173
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
4174
|
+
headers: localVarHeaders,
|
|
4175
|
+
observe: observe,
|
|
4176
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
4177
|
+
reportProgress: reportProgress
|
|
4178
|
+
});
|
|
4179
|
+
}
|
|
4180
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchBoxesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4181
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchBoxesService, providedIn: 'root' });
|
|
4182
|
+
}
|
|
4183
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchBoxesService, decorators: [{
|
|
3786
4184
|
type: Injectable,
|
|
3787
4185
|
args: [{
|
|
3788
4186
|
providedIn: 'root'
|
|
@@ -3806,19 +4204,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
3806
4204
|
* Do not edit the class manually.
|
|
3807
4205
|
*/
|
|
3808
4206
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
3809
|
-
class
|
|
4207
|
+
class DispatchCarriersService extends BaseService {
|
|
3810
4208
|
httpClient;
|
|
3811
4209
|
constructor(httpClient, basePath, configuration) {
|
|
3812
4210
|
super(basePath, configuration);
|
|
3813
4211
|
this.httpClient = httpClient;
|
|
3814
4212
|
}
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
|
|
3820
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
|
|
3821
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
|
|
4213
|
+
getDispatchCarriers(dispatchId, observe = 'body', reportProgress = false, options) {
|
|
4214
|
+
if (dispatchId === null || dispatchId === undefined) {
|
|
4215
|
+
throw new Error('Required parameter dispatchId was null or undefined when calling getDispatchCarriers.');
|
|
4216
|
+
}
|
|
3822
4217
|
let localVarHeaders = this.defaultHeaders;
|
|
3823
4218
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3824
4219
|
'application/json'
|
|
@@ -3840,11 +4235,10 @@ class DispatchBoxesService extends BaseService {
|
|
|
3840
4235
|
responseType_ = 'blob';
|
|
3841
4236
|
}
|
|
3842
4237
|
}
|
|
3843
|
-
let localVarPath = `/
|
|
4238
|
+
let localVarPath = `/dispatchCarriers/dispatches/${this.configuration.encodeParam({ name: "dispatchId", value: dispatchId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/carriers`;
|
|
3844
4239
|
const { basePath, withCredentials } = this.configuration;
|
|
3845
4240
|
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
3846
4241
|
context: localVarHttpContext,
|
|
3847
|
-
params: localVarQueryParameters.toHttpParams(),
|
|
3848
4242
|
responseType: responseType_,
|
|
3849
4243
|
...(withCredentials ? { withCredentials } : {}),
|
|
3850
4244
|
headers: localVarHeaders,
|
|
@@ -3853,13 +4247,10 @@ class DispatchBoxesService extends BaseService {
|
|
|
3853
4247
|
reportProgress: reportProgress
|
|
3854
4248
|
});
|
|
3855
4249
|
}
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
|
|
3861
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
|
|
3862
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'searchTerm', searchTerm, QueryParamStyle.Form, true);
|
|
4250
|
+
getDispatchCarriersForClient(clientId, observe = 'body', reportProgress = false, options) {
|
|
4251
|
+
if (clientId === null || clientId === undefined) {
|
|
4252
|
+
throw new Error('Required parameter clientId was null or undefined when calling getDispatchCarriersForClient.');
|
|
4253
|
+
}
|
|
3863
4254
|
let localVarHeaders = this.defaultHeaders;
|
|
3864
4255
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3865
4256
|
'application/json'
|
|
@@ -3881,9 +4272,49 @@ class DispatchBoxesService extends BaseService {
|
|
|
3881
4272
|
responseType_ = 'blob';
|
|
3882
4273
|
}
|
|
3883
4274
|
}
|
|
3884
|
-
let localVarPath = `/
|
|
4275
|
+
let localVarPath = `/dispatchCarriers/clients/${this.configuration.encodeParam({ name: "clientId", value: clientId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/carriers`;
|
|
3885
4276
|
const { basePath, withCredentials } = this.configuration;
|
|
3886
4277
|
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
4278
|
+
context: localVarHttpContext,
|
|
4279
|
+
responseType: responseType_,
|
|
4280
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
4281
|
+
headers: localVarHeaders,
|
|
4282
|
+
observe: observe,
|
|
4283
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
4284
|
+
reportProgress: reportProgress
|
|
4285
|
+
});
|
|
4286
|
+
}
|
|
4287
|
+
setDispatchCarrier(id, carrierId, observe = 'body', reportProgress = false, options) {
|
|
4288
|
+
if (id === null || id === undefined) {
|
|
4289
|
+
throw new Error('Required parameter id was null or undefined when calling setDispatchCarrier.');
|
|
4290
|
+
}
|
|
4291
|
+
if (carrierId === null || carrierId === undefined) {
|
|
4292
|
+
throw new Error('Required parameter carrierId was null or undefined when calling setDispatchCarrier.');
|
|
4293
|
+
}
|
|
4294
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
4295
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'carrierId', carrierId, QueryParamStyle.Form, true);
|
|
4296
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4297
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
4298
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4299
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
4300
|
+
}
|
|
4301
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
4302
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
4303
|
+
let responseType_ = 'json';
|
|
4304
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4305
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
4306
|
+
responseType_ = 'text';
|
|
4307
|
+
}
|
|
4308
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4309
|
+
responseType_ = 'json';
|
|
4310
|
+
}
|
|
4311
|
+
else {
|
|
4312
|
+
responseType_ = 'blob';
|
|
4313
|
+
}
|
|
4314
|
+
}
|
|
4315
|
+
let localVarPath = `/dispatchCarriers/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/carrier`;
|
|
4316
|
+
const { basePath, withCredentials } = this.configuration;
|
|
4317
|
+
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
3887
4318
|
context: localVarHttpContext,
|
|
3888
4319
|
params: localVarQueryParameters.toHttpParams(),
|
|
3889
4320
|
responseType: responseType_,
|
|
@@ -3894,10 +4325,10 @@ class DispatchBoxesService extends BaseService {
|
|
|
3894
4325
|
reportProgress: reportProgress
|
|
3895
4326
|
});
|
|
3896
4327
|
}
|
|
3897
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
3898
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
4328
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchCarriersService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4329
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchCarriersService, providedIn: 'root' });
|
|
3899
4330
|
}
|
|
3900
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
4331
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchCarriersService, decorators: [{
|
|
3901
4332
|
type: Injectable,
|
|
3902
4333
|
args: [{
|
|
3903
4334
|
providedIn: 'root'
|
|
@@ -4270,43 +4701,6 @@ class DispatchesService extends BaseService {
|
|
|
4270
4701
|
reportProgress: reportProgress
|
|
4271
4702
|
});
|
|
4272
4703
|
}
|
|
4273
|
-
getDispatchCarriers(id, observe = 'body', reportProgress = false, options) {
|
|
4274
|
-
if (id === null || id === undefined) {
|
|
4275
|
-
throw new Error('Required parameter id was null or undefined when calling getDispatchCarriers.');
|
|
4276
|
-
}
|
|
4277
|
-
let localVarHeaders = this.defaultHeaders;
|
|
4278
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
4279
|
-
'application/json'
|
|
4280
|
-
]);
|
|
4281
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4282
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
4283
|
-
}
|
|
4284
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
4285
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
4286
|
-
let responseType_ = 'json';
|
|
4287
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
4288
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
4289
|
-
responseType_ = 'text';
|
|
4290
|
-
}
|
|
4291
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4292
|
-
responseType_ = 'json';
|
|
4293
|
-
}
|
|
4294
|
-
else {
|
|
4295
|
-
responseType_ = 'blob';
|
|
4296
|
-
}
|
|
4297
|
-
}
|
|
4298
|
-
let localVarPath = `/dispatches/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/carriers`;
|
|
4299
|
-
const { basePath, withCredentials } = this.configuration;
|
|
4300
|
-
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
4301
|
-
context: localVarHttpContext,
|
|
4302
|
-
responseType: responseType_,
|
|
4303
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
4304
|
-
headers: localVarHeaders,
|
|
4305
|
-
observe: observe,
|
|
4306
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
4307
|
-
reportProgress: reportProgress
|
|
4308
|
-
});
|
|
4309
|
-
}
|
|
4310
4704
|
getDispatchSummaryView(id, observe = 'body', reportProgress = false, options) {
|
|
4311
4705
|
if (id === null || id === undefined) {
|
|
4312
4706
|
throw new Error('Required parameter id was null or undefined when calling getDispatchSummaryView.');
|
|
@@ -4503,47 +4897,6 @@ class DispatchesService extends BaseService {
|
|
|
4503
4897
|
reportProgress: reportProgress
|
|
4504
4898
|
});
|
|
4505
4899
|
}
|
|
4506
|
-
setDispatchCarrier(id, carrierId, observe = 'body', reportProgress = false, options) {
|
|
4507
|
-
if (id === null || id === undefined) {
|
|
4508
|
-
throw new Error('Required parameter id was null or undefined when calling setDispatchCarrier.');
|
|
4509
|
-
}
|
|
4510
|
-
if (carrierId === null || carrierId === undefined) {
|
|
4511
|
-
throw new Error('Required parameter carrierId was null or undefined when calling setDispatchCarrier.');
|
|
4512
|
-
}
|
|
4513
|
-
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
4514
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'carrierId', carrierId, QueryParamStyle.Form, true);
|
|
4515
|
-
let localVarHeaders = this.defaultHeaders;
|
|
4516
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
4517
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4518
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
4519
|
-
}
|
|
4520
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
4521
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
4522
|
-
let responseType_ = 'json';
|
|
4523
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
4524
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
4525
|
-
responseType_ = 'text';
|
|
4526
|
-
}
|
|
4527
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4528
|
-
responseType_ = 'json';
|
|
4529
|
-
}
|
|
4530
|
-
else {
|
|
4531
|
-
responseType_ = 'blob';
|
|
4532
|
-
}
|
|
4533
|
-
}
|
|
4534
|
-
let localVarPath = `/dispatches/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/carrier`;
|
|
4535
|
-
const { basePath, withCredentials } = this.configuration;
|
|
4536
|
-
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
4537
|
-
context: localVarHttpContext,
|
|
4538
|
-
params: localVarQueryParameters.toHttpParams(),
|
|
4539
|
-
responseType: responseType_,
|
|
4540
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
4541
|
-
headers: localVarHeaders,
|
|
4542
|
-
observe: observe,
|
|
4543
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
4544
|
-
reportProgress: reportProgress
|
|
4545
|
-
});
|
|
4546
|
-
}
|
|
4547
4900
|
setDispatchCarrierReference(id, courierReference, carrierServiceName, observe = 'body', reportProgress = false, options) {
|
|
4548
4901
|
if (id === null || id === undefined) {
|
|
4549
4902
|
throw new Error('Required parameter id was null or undefined when calling setDispatchCarrierReference.');
|
|
@@ -5026,6 +5379,73 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
5026
5379
|
type: Optional
|
|
5027
5380
|
}] }] });
|
|
5028
5381
|
|
|
5382
|
+
/**
|
|
5383
|
+
* Wms.API.Client
|
|
5384
|
+
*
|
|
5385
|
+
*
|
|
5386
|
+
*
|
|
5387
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5388
|
+
* https://openapi-generator.tech
|
|
5389
|
+
* Do not edit the class manually.
|
|
5390
|
+
*/
|
|
5391
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
5392
|
+
class PackageTypesService extends BaseService {
|
|
5393
|
+
httpClient;
|
|
5394
|
+
constructor(httpClient, basePath, configuration) {
|
|
5395
|
+
super(basePath, configuration);
|
|
5396
|
+
this.httpClient = httpClient;
|
|
5397
|
+
}
|
|
5398
|
+
getPackageTypes(observe = 'body', reportProgress = false, options) {
|
|
5399
|
+
let localVarHeaders = this.defaultHeaders;
|
|
5400
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
5401
|
+
'application/json'
|
|
5402
|
+
]);
|
|
5403
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
5404
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
5405
|
+
}
|
|
5406
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
5407
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
5408
|
+
let responseType_ = 'json';
|
|
5409
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
5410
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
5411
|
+
responseType_ = 'text';
|
|
5412
|
+
}
|
|
5413
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
5414
|
+
responseType_ = 'json';
|
|
5415
|
+
}
|
|
5416
|
+
else {
|
|
5417
|
+
responseType_ = 'blob';
|
|
5418
|
+
}
|
|
5419
|
+
}
|
|
5420
|
+
let localVarPath = `/packageTypes`;
|
|
5421
|
+
const { basePath, withCredentials } = this.configuration;
|
|
5422
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
5423
|
+
context: localVarHttpContext,
|
|
5424
|
+
responseType: responseType_,
|
|
5425
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
5426
|
+
headers: localVarHeaders,
|
|
5427
|
+
observe: observe,
|
|
5428
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
5429
|
+
reportProgress: reportProgress
|
|
5430
|
+
});
|
|
5431
|
+
}
|
|
5432
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PackageTypesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5433
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PackageTypesService, providedIn: 'root' });
|
|
5434
|
+
}
|
|
5435
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PackageTypesService, decorators: [{
|
|
5436
|
+
type: Injectable,
|
|
5437
|
+
args: [{
|
|
5438
|
+
providedIn: 'root'
|
|
5439
|
+
}]
|
|
5440
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
5441
|
+
type: Optional
|
|
5442
|
+
}, {
|
|
5443
|
+
type: Inject,
|
|
5444
|
+
args: [BASE_PATH]
|
|
5445
|
+
}] }, { type: Configuration, decorators: [{
|
|
5446
|
+
type: Optional
|
|
5447
|
+
}] }] });
|
|
5448
|
+
|
|
5029
5449
|
/**
|
|
5030
5450
|
* Wms.API.Client
|
|
5031
5451
|
*
|
|
@@ -10219,7 +10639,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
10219
10639
|
type: Optional
|
|
10220
10640
|
}] }] });
|
|
10221
10641
|
|
|
10222
|
-
const APIS = [AddressesService, AnalyticsService, CarrierProviderIntegrationsService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackingService, CompaniesService, ContactsService, CountRecordsService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, LicencePlateSerialsService, NotesService, PendoService, PermissionsService, PickSummariesService, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentAccessService, ReplenishmentRecordsService, ReturnedItemsService, SalesOrderItemsService, SalesOrdersService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UserCompaniesService, UserPrintersService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WavePickReleasesService, WavePickingAccessService, WaveSummariesService, WavesByPickReleaseIdService];
|
|
10642
|
+
const APIS = [AddressesService, AnalyticsService, CarrierProviderIntegrationsService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackingService, CompaniesService, ContactsService, CountRecordsService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxTypesService, DispatchBoxesService, DispatchCarriersService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, LicencePlateSerialsService, NotesService, PackageTypesService, PendoService, PermissionsService, PickSummariesService, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentAccessService, ReplenishmentRecordsService, ReturnedItemsService, SalesOrderItemsService, SalesOrdersService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UserCompaniesService, UserPrintersService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WavePickReleasesService, WavePickingAccessService, WaveSummariesService, WavesByPickReleaseIdService];
|
|
10223
10643
|
|
|
10224
10644
|
/**
|
|
10225
10645
|
* Wms.API.Client
|
|
@@ -10387,6 +10807,26 @@ const AddressType = {
|
|
|
10387
10807
|
* Do not edit the class manually.
|
|
10388
10808
|
*/
|
|
10389
10809
|
|
|
10810
|
+
/**
|
|
10811
|
+
* Wms.API.Client
|
|
10812
|
+
*
|
|
10813
|
+
*
|
|
10814
|
+
*
|
|
10815
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10816
|
+
* https://openapi-generator.tech
|
|
10817
|
+
* Do not edit the class manually.
|
|
10818
|
+
*/
|
|
10819
|
+
|
|
10820
|
+
/**
|
|
10821
|
+
* Wms.API.Client
|
|
10822
|
+
*
|
|
10823
|
+
*
|
|
10824
|
+
*
|
|
10825
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10826
|
+
* https://openapi-generator.tech
|
|
10827
|
+
* Do not edit the class manually.
|
|
10828
|
+
*/
|
|
10829
|
+
|
|
10390
10830
|
/**
|
|
10391
10831
|
* Wms.API.Client
|
|
10392
10832
|
*
|
|
@@ -10462,6 +10902,38 @@ const ClusterPackWaveGridTypes = {
|
|
|
10462
10902
|
* Do not edit the class manually.
|
|
10463
10903
|
*/
|
|
10464
10904
|
|
|
10905
|
+
/**
|
|
10906
|
+
* Wms.API.Client
|
|
10907
|
+
*
|
|
10908
|
+
*
|
|
10909
|
+
*
|
|
10910
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10911
|
+
* https://openapi-generator.tech
|
|
10912
|
+
* Do not edit the class manually.
|
|
10913
|
+
*/
|
|
10914
|
+
const CompanyType = {
|
|
10915
|
+
Carrier: 'Carrier',
|
|
10916
|
+
TransportServices: 'TransportServices',
|
|
10917
|
+
Company: 'Company',
|
|
10918
|
+
Vendor: 'Vendor',
|
|
10919
|
+
Customer: 'Customer',
|
|
10920
|
+
ShippingAgent: 'ShippingAgent',
|
|
10921
|
+
ShipFrom: 'ShipFrom',
|
|
10922
|
+
OriginAgent: 'OriginAgent',
|
|
10923
|
+
ShipTo: 'ShipTo',
|
|
10924
|
+
BuyingAgent: 'BuyingAgent',
|
|
10925
|
+
Seller: 'Seller',
|
|
10926
|
+
DistributionCentre: 'DistributionCentre',
|
|
10927
|
+
Client: 'Client',
|
|
10928
|
+
SysAdmin: 'SysAdmin',
|
|
10929
|
+
LocalAgent: 'LocalAgent',
|
|
10930
|
+
CarrierProvider: 'CarrierProvider',
|
|
10931
|
+
WholesaleCustomer: 'WholesaleCustomer',
|
|
10932
|
+
WebCustomer: 'WebCustomer',
|
|
10933
|
+
DestinationAgent: 'DestinationAgent',
|
|
10934
|
+
ForwardingAgent: 'ForwardingAgent'
|
|
10935
|
+
};
|
|
10936
|
+
|
|
10465
10937
|
/**
|
|
10466
10938
|
* Wms.API.Client
|
|
10467
10939
|
*
|
|
@@ -10858,6 +11330,26 @@ const OrderType = {
|
|
|
10858
11330
|
Retail: 'Retail'
|
|
10859
11331
|
};
|
|
10860
11332
|
|
|
11333
|
+
/**
|
|
11334
|
+
* Wms.API.Client
|
|
11335
|
+
*
|
|
11336
|
+
*
|
|
11337
|
+
*
|
|
11338
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11339
|
+
* https://openapi-generator.tech
|
|
11340
|
+
* Do not edit the class manually.
|
|
11341
|
+
*/
|
|
11342
|
+
|
|
11343
|
+
/**
|
|
11344
|
+
* Wms.API.Client
|
|
11345
|
+
*
|
|
11346
|
+
*
|
|
11347
|
+
*
|
|
11348
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11349
|
+
* https://openapi-generator.tech
|
|
11350
|
+
* Do not edit the class manually.
|
|
11351
|
+
*/
|
|
11352
|
+
|
|
10861
11353
|
/**
|
|
10862
11354
|
* Wms.API.Client
|
|
10863
11355
|
*
|
|
@@ -11561,5 +12053,5 @@ function provideApi(configOrBasePath) {
|
|
|
11561
12053
|
* Generated bundle index. Do not edit.
|
|
11562
12054
|
*/
|
|
11563
12055
|
|
|
11564
|
-
export { APIS, AddressSource, AddressType, AddressesService, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackStatuses, ClusterPackWaveGridTypes, ClusterPackingService, CompaniesService, Configuration, ContactsService, CountRecordsService, CountStatusGroup, CountStatuses, CountType, DcLocationStatus, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, DocumentGenerationStatuses, DocumentTypes, HealthService, LicencePlateSerialsService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PendoService, PeopleGroup, PermissionsService, PickReleaseHistoryTypes, PickSummariesService, PickingProcesses, PrintTypes, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ProductStatus, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentAccessService, ReplenishmentRecordsService, ReplenishmentStages, ReplenishmentStatuses, ReplenishmentTypes, ReprintStatuses, ReturnedItemsService, SalesOrderItemsService, SalesOrdersService, SettingsService, ShipToSubtype, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompaniesService, UserCompanyType, UserPrintersService, UserService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WaveHistoryTypes, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WavePickingAccessService, WaveStatuses, WaveSummariesService, WavesByPickReleaseIdService, provideApi };
|
|
12056
|
+
export { APIS, AddressSource, AddressType, AddressesService, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackStatuses, ClusterPackWaveGridTypes, ClusterPackingService, CompaniesService, CompanyType, Configuration, ContactsService, CountRecordsService, CountStatusGroup, CountStatuses, CountType, DcLocationStatus, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchBoxTypesService, DispatchBoxesService, DispatchCarriersService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, DocumentGenerationStatuses, DocumentTypes, HealthService, LicencePlateSerialsService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackageTypesService, PackingProcesses, PendoService, PeopleGroup, PermissionsService, PickReleaseHistoryTypes, PickSummariesService, PickingProcesses, PrintTypes, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ProductStatus, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentAccessService, ReplenishmentRecordsService, ReplenishmentStages, ReplenishmentStatuses, ReplenishmentTypes, ReprintStatuses, ReturnedItemsService, SalesOrderItemsService, SalesOrdersService, SettingsService, ShipToSubtype, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompaniesService, UserCompanyType, UserPrintersService, UserService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WaveHistoryTypes, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WavePickingAccessService, WaveStatuses, WaveSummariesService, WavesByPickReleaseIdService, provideApi };
|
|
11565
12057
|
//# sourceMappingURL=indigina-wms-api.mjs.map
|