@indigina/wms-api 0.0.183 → 0.0.185
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 +383 -3
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/package.json +1 -1
- package/types/indigina-wms-api.d.ts +319 -20
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @indigina/wms-api@0.0.
|
|
1
|
+
# @indigina/wms-api@0.0.185
|
|
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.185 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -1001,6 +1001,76 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
1001
1001
|
type: Optional
|
|
1002
1002
|
}] }] });
|
|
1003
1003
|
|
|
1004
|
+
/**
|
|
1005
|
+
* Wms.API.Client
|
|
1006
|
+
*
|
|
1007
|
+
*
|
|
1008
|
+
*
|
|
1009
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1010
|
+
* https://openapi-generator.tech
|
|
1011
|
+
* Do not edit the class manually.
|
|
1012
|
+
*/
|
|
1013
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1014
|
+
class CarrierServiceTypesService extends BaseService {
|
|
1015
|
+
httpClient;
|
|
1016
|
+
constructor(httpClient, basePath, configuration) {
|
|
1017
|
+
super(basePath, configuration);
|
|
1018
|
+
this.httpClient = httpClient;
|
|
1019
|
+
}
|
|
1020
|
+
getCarrierServiceTypes(carrierId, observe = 'body', reportProgress = false, options) {
|
|
1021
|
+
if (carrierId === null || carrierId === undefined) {
|
|
1022
|
+
throw new Error('Required parameter carrierId was null or undefined when calling getCarrierServiceTypes.');
|
|
1023
|
+
}
|
|
1024
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1025
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1026
|
+
'application/json'
|
|
1027
|
+
]);
|
|
1028
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1029
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1030
|
+
}
|
|
1031
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1032
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1033
|
+
let responseType_ = 'json';
|
|
1034
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1035
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1036
|
+
responseType_ = 'text';
|
|
1037
|
+
}
|
|
1038
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1039
|
+
responseType_ = 'json';
|
|
1040
|
+
}
|
|
1041
|
+
else {
|
|
1042
|
+
responseType_ = 'blob';
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
let localVarPath = `/carrierServiceTypes/${this.configuration.encodeParam({ name: "carrierId", value: carrierId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
1046
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1047
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1048
|
+
context: localVarHttpContext,
|
|
1049
|
+
responseType: responseType_,
|
|
1050
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1051
|
+
headers: localVarHeaders,
|
|
1052
|
+
observe: observe,
|
|
1053
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1054
|
+
reportProgress: reportProgress
|
|
1055
|
+
});
|
|
1056
|
+
}
|
|
1057
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: CarrierServiceTypesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1058
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: CarrierServiceTypesService, providedIn: 'root' });
|
|
1059
|
+
}
|
|
1060
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: CarrierServiceTypesService, decorators: [{
|
|
1061
|
+
type: Injectable,
|
|
1062
|
+
args: [{
|
|
1063
|
+
providedIn: 'root'
|
|
1064
|
+
}]
|
|
1065
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1066
|
+
type: Optional
|
|
1067
|
+
}, {
|
|
1068
|
+
type: Inject,
|
|
1069
|
+
args: [BASE_PATH]
|
|
1070
|
+
}] }, { type: Configuration, decorators: [{
|
|
1071
|
+
type: Optional
|
|
1072
|
+
}] }] });
|
|
1073
|
+
|
|
1004
1074
|
/**
|
|
1005
1075
|
* Wms.API.Client
|
|
1006
1076
|
*
|
|
@@ -4943,6 +5013,44 @@ class DispatchesService extends BaseService {
|
|
|
4943
5013
|
reportProgress: reportProgress
|
|
4944
5014
|
});
|
|
4945
5015
|
}
|
|
5016
|
+
confirmDispatchRequests(ids, observe = 'body', reportProgress = false, options) {
|
|
5017
|
+
if (ids === null || ids === undefined) {
|
|
5018
|
+
throw new Error('Required parameter ids was null or undefined when calling confirmDispatchRequests.');
|
|
5019
|
+
}
|
|
5020
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
5021
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'ids', ids, QueryParamStyle.Form, true);
|
|
5022
|
+
let localVarHeaders = this.defaultHeaders;
|
|
5023
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
5024
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
5025
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
5026
|
+
}
|
|
5027
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
5028
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
5029
|
+
let responseType_ = 'json';
|
|
5030
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
5031
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
5032
|
+
responseType_ = 'text';
|
|
5033
|
+
}
|
|
5034
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
5035
|
+
responseType_ = 'json';
|
|
5036
|
+
}
|
|
5037
|
+
else {
|
|
5038
|
+
responseType_ = 'blob';
|
|
5039
|
+
}
|
|
5040
|
+
}
|
|
5041
|
+
let localVarPath = `/dispatches/confirm-requests`;
|
|
5042
|
+
const { basePath, withCredentials } = this.configuration;
|
|
5043
|
+
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
5044
|
+
context: localVarHttpContext,
|
|
5045
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
5046
|
+
responseType: responseType_,
|
|
5047
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
5048
|
+
headers: localVarHeaders,
|
|
5049
|
+
observe: observe,
|
|
5050
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
5051
|
+
reportProgress: reportProgress
|
|
5052
|
+
});
|
|
5053
|
+
}
|
|
4946
5054
|
confirmDispatches(ids, dispatchDate, observe = 'body', reportProgress = false, options) {
|
|
4947
5055
|
if (ids === null || ids === undefined) {
|
|
4948
5056
|
throw new Error('Required parameter ids was null or undefined when calling confirmDispatches.');
|
|
@@ -4985,6 +5093,41 @@ class DispatchesService extends BaseService {
|
|
|
4985
5093
|
reportProgress: reportProgress
|
|
4986
5094
|
});
|
|
4987
5095
|
}
|
|
5096
|
+
deleteDispatch(id, observe = 'body', reportProgress = false, options) {
|
|
5097
|
+
if (id === null || id === undefined) {
|
|
5098
|
+
throw new Error('Required parameter id was null or undefined when calling deleteDispatch.');
|
|
5099
|
+
}
|
|
5100
|
+
let localVarHeaders = this.defaultHeaders;
|
|
5101
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
5102
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
5103
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
5104
|
+
}
|
|
5105
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
5106
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
5107
|
+
let responseType_ = 'json';
|
|
5108
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
5109
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
5110
|
+
responseType_ = 'text';
|
|
5111
|
+
}
|
|
5112
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
5113
|
+
responseType_ = 'json';
|
|
5114
|
+
}
|
|
5115
|
+
else {
|
|
5116
|
+
responseType_ = 'blob';
|
|
5117
|
+
}
|
|
5118
|
+
}
|
|
5119
|
+
let localVarPath = `/dispatches/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
5120
|
+
const { basePath, withCredentials } = this.configuration;
|
|
5121
|
+
return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
|
|
5122
|
+
context: localVarHttpContext,
|
|
5123
|
+
responseType: responseType_,
|
|
5124
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
5125
|
+
headers: localVarHeaders,
|
|
5126
|
+
observe: observe,
|
|
5127
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
5128
|
+
reportProgress: reportProgress
|
|
5129
|
+
});
|
|
5130
|
+
}
|
|
4988
5131
|
getCarrierLabels(requestBody, observe = 'body', reportProgress = false, options) {
|
|
4989
5132
|
if (requestBody === null || requestBody === undefined) {
|
|
4990
5133
|
throw new Error('Required parameter requestBody was null or undefined when calling getCarrierLabels.');
|
|
@@ -5136,13 +5279,14 @@ class DispatchesService extends BaseService {
|
|
|
5136
5279
|
reportProgress: reportProgress
|
|
5137
5280
|
});
|
|
5138
5281
|
}
|
|
5139
|
-
getDispatchesFromIndex($skip, $top, $orderby, $filter, searchTerm, observe = 'body', reportProgress = false, options) {
|
|
5282
|
+
getDispatchesFromIndex($skip, $top, $orderby, $filter, searchTerm, tabName, observe = 'body', reportProgress = false, options) {
|
|
5140
5283
|
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
5141
5284
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
5142
5285
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
5143
5286
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
|
|
5144
5287
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
|
|
5145
5288
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'searchTerm', searchTerm, QueryParamStyle.Form, true);
|
|
5289
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'tabName', tabName, QueryParamStyle.Form, true);
|
|
5146
5290
|
let localVarHeaders = this.defaultHeaders;
|
|
5147
5291
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
5148
5292
|
'application/json'
|
|
@@ -7723,6 +7867,87 @@ class SalesOrdersService extends BaseService {
|
|
|
7723
7867
|
super(basePath, configuration);
|
|
7724
7868
|
this.httpClient = httpClient;
|
|
7725
7869
|
}
|
|
7870
|
+
cloneSalesOrder(id, salesOrderNumber, observe = 'body', reportProgress = false, options) {
|
|
7871
|
+
if (id === null || id === undefined) {
|
|
7872
|
+
throw new Error('Required parameter id was null or undefined when calling cloneSalesOrder.');
|
|
7873
|
+
}
|
|
7874
|
+
if (salesOrderNumber === null || salesOrderNumber === undefined) {
|
|
7875
|
+
throw new Error('Required parameter salesOrderNumber was null or undefined when calling cloneSalesOrder.');
|
|
7876
|
+
}
|
|
7877
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
7878
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'salesOrderNumber', salesOrderNumber, QueryParamStyle.Form, true);
|
|
7879
|
+
let localVarHeaders = this.defaultHeaders;
|
|
7880
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
7881
|
+
'application/json'
|
|
7882
|
+
]);
|
|
7883
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
7884
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
7885
|
+
}
|
|
7886
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
7887
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
7888
|
+
let responseType_ = 'json';
|
|
7889
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
7890
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
7891
|
+
responseType_ = 'text';
|
|
7892
|
+
}
|
|
7893
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
7894
|
+
responseType_ = 'json';
|
|
7895
|
+
}
|
|
7896
|
+
else {
|
|
7897
|
+
responseType_ = 'blob';
|
|
7898
|
+
}
|
|
7899
|
+
}
|
|
7900
|
+
let localVarPath = `/salesOrders/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/clone`;
|
|
7901
|
+
const { basePath, withCredentials } = this.configuration;
|
|
7902
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
7903
|
+
context: localVarHttpContext,
|
|
7904
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
7905
|
+
responseType: responseType_,
|
|
7906
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
7907
|
+
headers: localVarHeaders,
|
|
7908
|
+
observe: observe,
|
|
7909
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
7910
|
+
reportProgress: reportProgress
|
|
7911
|
+
});
|
|
7912
|
+
}
|
|
7913
|
+
commitSalesOrders(ids, observe = 'body', reportProgress = false, options) {
|
|
7914
|
+
if (ids === null || ids === undefined) {
|
|
7915
|
+
throw new Error('Required parameter ids was null or undefined when calling commitSalesOrders.');
|
|
7916
|
+
}
|
|
7917
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
7918
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'ids', ids, QueryParamStyle.Form, true);
|
|
7919
|
+
let localVarHeaders = this.defaultHeaders;
|
|
7920
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
7921
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
7922
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
7923
|
+
}
|
|
7924
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
7925
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
7926
|
+
let responseType_ = 'json';
|
|
7927
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
7928
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
7929
|
+
responseType_ = 'text';
|
|
7930
|
+
}
|
|
7931
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
7932
|
+
responseType_ = 'json';
|
|
7933
|
+
}
|
|
7934
|
+
else {
|
|
7935
|
+
responseType_ = 'blob';
|
|
7936
|
+
}
|
|
7937
|
+
}
|
|
7938
|
+
let localVarPath = `/salesOrders/commit`;
|
|
7939
|
+
const { basePath, withCredentials } = this.configuration;
|
|
7940
|
+
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
7941
|
+
context: localVarHttpContext,
|
|
7942
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
7943
|
+
responseType: responseType_,
|
|
7944
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
7945
|
+
headers: localVarHeaders,
|
|
7946
|
+
observe: observe,
|
|
7947
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
7948
|
+
reportProgress: reportProgress
|
|
7949
|
+
});
|
|
7950
|
+
}
|
|
7726
7951
|
createSalesOrder(salesOrderHeaderCreateModel, observe = 'body', reportProgress = false, options) {
|
|
7727
7952
|
if (salesOrderHeaderCreateModel === null || salesOrderHeaderCreateModel === undefined) {
|
|
7728
7953
|
throw new Error('Required parameter salesOrderHeaderCreateModel was null or undefined when calling createSalesOrder.');
|
|
@@ -7769,6 +7994,41 @@ class SalesOrdersService extends BaseService {
|
|
|
7769
7994
|
reportProgress: reportProgress
|
|
7770
7995
|
});
|
|
7771
7996
|
}
|
|
7997
|
+
deleteSalesOrder(id, observe = 'body', reportProgress = false, options) {
|
|
7998
|
+
if (id === null || id === undefined) {
|
|
7999
|
+
throw new Error('Required parameter id was null or undefined when calling deleteSalesOrder.');
|
|
8000
|
+
}
|
|
8001
|
+
let localVarHeaders = this.defaultHeaders;
|
|
8002
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
8003
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
8004
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
8005
|
+
}
|
|
8006
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
8007
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
8008
|
+
let responseType_ = 'json';
|
|
8009
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
8010
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
8011
|
+
responseType_ = 'text';
|
|
8012
|
+
}
|
|
8013
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
8014
|
+
responseType_ = 'json';
|
|
8015
|
+
}
|
|
8016
|
+
else {
|
|
8017
|
+
responseType_ = 'blob';
|
|
8018
|
+
}
|
|
8019
|
+
}
|
|
8020
|
+
let localVarPath = `/salesOrders/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
8021
|
+
const { basePath, withCredentials } = this.configuration;
|
|
8022
|
+
return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
|
|
8023
|
+
context: localVarHttpContext,
|
|
8024
|
+
responseType: responseType_,
|
|
8025
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
8026
|
+
headers: localVarHeaders,
|
|
8027
|
+
observe: observe,
|
|
8028
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
8029
|
+
reportProgress: reportProgress
|
|
8030
|
+
});
|
|
8031
|
+
}
|
|
7772
8032
|
getSalesOrder(id, observe = 'body', reportProgress = false, options) {
|
|
7773
8033
|
if (id === null || id === undefined) {
|
|
7774
8034
|
throw new Error('Required parameter id was null or undefined when calling getSalesOrder.');
|
|
@@ -7849,6 +8109,96 @@ class SalesOrdersService extends BaseService {
|
|
|
7849
8109
|
reportProgress: reportProgress
|
|
7850
8110
|
});
|
|
7851
8111
|
}
|
|
8112
|
+
getSalesOrders(tab, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
8113
|
+
if (tab === null || tab === undefined) {
|
|
8114
|
+
throw new Error('Required parameter tab was null or undefined when calling getSalesOrders.');
|
|
8115
|
+
}
|
|
8116
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
8117
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
8118
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
8119
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
|
|
8120
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
|
|
8121
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
|
|
8122
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'tab', tab, QueryParamStyle.Form, true);
|
|
8123
|
+
let localVarHeaders = this.defaultHeaders;
|
|
8124
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
8125
|
+
'application/json'
|
|
8126
|
+
]);
|
|
8127
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
8128
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
8129
|
+
}
|
|
8130
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
8131
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
8132
|
+
let responseType_ = 'json';
|
|
8133
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
8134
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
8135
|
+
responseType_ = 'text';
|
|
8136
|
+
}
|
|
8137
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
8138
|
+
responseType_ = 'json';
|
|
8139
|
+
}
|
|
8140
|
+
else {
|
|
8141
|
+
responseType_ = 'blob';
|
|
8142
|
+
}
|
|
8143
|
+
}
|
|
8144
|
+
let localVarPath = `/salesOrders`;
|
|
8145
|
+
const { basePath, withCredentials } = this.configuration;
|
|
8146
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
8147
|
+
context: localVarHttpContext,
|
|
8148
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
8149
|
+
responseType: responseType_,
|
|
8150
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
8151
|
+
headers: localVarHeaders,
|
|
8152
|
+
observe: observe,
|
|
8153
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
8154
|
+
reportProgress: reportProgress
|
|
8155
|
+
});
|
|
8156
|
+
}
|
|
8157
|
+
getSalesOrdersFromIndex(tab, $skip, $top, $orderby, $filter, searchTerm, observe = 'body', reportProgress = false, options) {
|
|
8158
|
+
if (tab === null || tab === undefined) {
|
|
8159
|
+
throw new Error('Required parameter tab was null or undefined when calling getSalesOrdersFromIndex.');
|
|
8160
|
+
}
|
|
8161
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
8162
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
8163
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
8164
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
|
|
8165
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
|
|
8166
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'searchTerm', searchTerm, QueryParamStyle.Form, true);
|
|
8167
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'tab', tab, QueryParamStyle.Form, true);
|
|
8168
|
+
let localVarHeaders = this.defaultHeaders;
|
|
8169
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
8170
|
+
'application/json'
|
|
8171
|
+
]);
|
|
8172
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
8173
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
8174
|
+
}
|
|
8175
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
8176
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
8177
|
+
let responseType_ = 'json';
|
|
8178
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
8179
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
8180
|
+
responseType_ = 'text';
|
|
8181
|
+
}
|
|
8182
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
8183
|
+
responseType_ = 'json';
|
|
8184
|
+
}
|
|
8185
|
+
else {
|
|
8186
|
+
responseType_ = 'blob';
|
|
8187
|
+
}
|
|
8188
|
+
}
|
|
8189
|
+
let localVarPath = `/salesOrders/search`;
|
|
8190
|
+
const { basePath, withCredentials } = this.configuration;
|
|
8191
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
8192
|
+
context: localVarHttpContext,
|
|
8193
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
8194
|
+
responseType: responseType_,
|
|
8195
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
8196
|
+
headers: localVarHeaders,
|
|
8197
|
+
observe: observe,
|
|
8198
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
8199
|
+
reportProgress: reportProgress
|
|
8200
|
+
});
|
|
8201
|
+
}
|
|
7852
8202
|
updateSalesOrder(id, salesOrderHeaderUpdateModel, observe = 'body', reportProgress = false, options) {
|
|
7853
8203
|
if (id === null || id === undefined) {
|
|
7854
8204
|
throw new Error('Required parameter id was null or undefined when calling updateSalesOrder.');
|
|
@@ -10994,7 +11344,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
10994
11344
|
type: Optional
|
|
10995
11345
|
}] }] });
|
|
10996
11346
|
|
|
10997
|
-
const APIS = [AddressesService, AnalyticsService, CarrierProviderIntegrationsService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackingService, CompaniesService, ContactsService, CountContinuousInventoryService, 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];
|
|
11347
|
+
const APIS = [AddressesService, AnalyticsService, CarrierProviderIntegrationsService, CarrierServiceTypesService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackingService, CompaniesService, ContactsService, CountContinuousInventoryService, 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];
|
|
10998
11348
|
|
|
10999
11349
|
/**
|
|
11000
11350
|
* Wms.API.Client
|
|
@@ -12046,6 +12396,21 @@ const ReprintStatuses = {
|
|
|
12046
12396
|
Completed: 'Completed'
|
|
12047
12397
|
};
|
|
12048
12398
|
|
|
12399
|
+
/**
|
|
12400
|
+
* Wms.API.Client
|
|
12401
|
+
*
|
|
12402
|
+
*
|
|
12403
|
+
*
|
|
12404
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12405
|
+
* https://openapi-generator.tech
|
|
12406
|
+
* Do not edit the class manually.
|
|
12407
|
+
*/
|
|
12408
|
+
const SalesOrderCompletionIssue = {
|
|
12409
|
+
LineItemsRequired: 'LineItemsRequired',
|
|
12410
|
+
PostCodeRequired: 'PostCodeRequired',
|
|
12411
|
+
CountryRequired: 'CountryRequired'
|
|
12412
|
+
};
|
|
12413
|
+
|
|
12049
12414
|
/**
|
|
12050
12415
|
* Wms.API.Client
|
|
12051
12416
|
*
|
|
@@ -12086,6 +12451,21 @@ const ReprintStatuses = {
|
|
|
12086
12451
|
* Do not edit the class manually.
|
|
12087
12452
|
*/
|
|
12088
12453
|
|
|
12454
|
+
/**
|
|
12455
|
+
* Wms.API.Client
|
|
12456
|
+
*
|
|
12457
|
+
*
|
|
12458
|
+
*
|
|
12459
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12460
|
+
* https://openapi-generator.tech
|
|
12461
|
+
* Do not edit the class manually.
|
|
12462
|
+
*/
|
|
12463
|
+
const SalesOrderTab = {
|
|
12464
|
+
All: 'All',
|
|
12465
|
+
ToBeCommitted: 'ToBeCommitted',
|
|
12466
|
+
Committed: 'Committed'
|
|
12467
|
+
};
|
|
12468
|
+
|
|
12089
12469
|
/**
|
|
12090
12470
|
* Wms.API.Client
|
|
12091
12471
|
*
|
|
@@ -12458,5 +12838,5 @@ function provideApi(configOrBasePath) {
|
|
|
12458
12838
|
* Generated bundle index. Do not edit.
|
|
12459
12839
|
*/
|
|
12460
12840
|
|
|
12461
|
-
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, CountContinuousInventoryService, 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 };
|
|
12841
|
+
export { APIS, AddressSource, AddressType, AddressesService, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CarrierServiceTypesService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackStatuses, ClusterPackWaveGridTypes, ClusterPackingService, CompaniesService, CompanyType, Configuration, ContactsService, CountContinuousInventoryService, 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, SalesOrderCompletionIssue, SalesOrderItemsService, SalesOrderTab, 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 };
|
|
12462
12842
|
//# sourceMappingURL=indigina-wms-api.mjs.map
|