@indigina/wms-api 0.0.184 → 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 +312 -2
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/package.json +1 -1
- package/types/indigina-wms-api.d.ts +259 -5
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):_
|
|
@@ -5013,6 +5013,44 @@ class DispatchesService extends BaseService {
|
|
|
5013
5013
|
reportProgress: reportProgress
|
|
5014
5014
|
});
|
|
5015
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
|
+
}
|
|
5016
5054
|
confirmDispatches(ids, dispatchDate, observe = 'body', reportProgress = false, options) {
|
|
5017
5055
|
if (ids === null || ids === undefined) {
|
|
5018
5056
|
throw new Error('Required parameter ids was null or undefined when calling confirmDispatches.');
|
|
@@ -5055,6 +5093,41 @@ class DispatchesService extends BaseService {
|
|
|
5055
5093
|
reportProgress: reportProgress
|
|
5056
5094
|
});
|
|
5057
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
|
+
}
|
|
5058
5131
|
getCarrierLabels(requestBody, observe = 'body', reportProgress = false, options) {
|
|
5059
5132
|
if (requestBody === null || requestBody === undefined) {
|
|
5060
5133
|
throw new Error('Required parameter requestBody was null or undefined when calling getCarrierLabels.');
|
|
@@ -5206,13 +5279,14 @@ class DispatchesService extends BaseService {
|
|
|
5206
5279
|
reportProgress: reportProgress
|
|
5207
5280
|
});
|
|
5208
5281
|
}
|
|
5209
|
-
getDispatchesFromIndex($skip, $top, $orderby, $filter, searchTerm, observe = 'body', reportProgress = false, options) {
|
|
5282
|
+
getDispatchesFromIndex($skip, $top, $orderby, $filter, searchTerm, tabName, observe = 'body', reportProgress = false, options) {
|
|
5210
5283
|
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
5211
5284
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
5212
5285
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
5213
5286
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
|
|
5214
5287
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
|
|
5215
5288
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'searchTerm', searchTerm, QueryParamStyle.Form, true);
|
|
5289
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'tabName', tabName, QueryParamStyle.Form, true);
|
|
5216
5290
|
let localVarHeaders = this.defaultHeaders;
|
|
5217
5291
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
5218
5292
|
'application/json'
|
|
@@ -7793,6 +7867,87 @@ class SalesOrdersService extends BaseService {
|
|
|
7793
7867
|
super(basePath, configuration);
|
|
7794
7868
|
this.httpClient = httpClient;
|
|
7795
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
|
+
}
|
|
7796
7951
|
createSalesOrder(salesOrderHeaderCreateModel, observe = 'body', reportProgress = false, options) {
|
|
7797
7952
|
if (salesOrderHeaderCreateModel === null || salesOrderHeaderCreateModel === undefined) {
|
|
7798
7953
|
throw new Error('Required parameter salesOrderHeaderCreateModel was null or undefined when calling createSalesOrder.');
|
|
@@ -7839,6 +7994,41 @@ class SalesOrdersService extends BaseService {
|
|
|
7839
7994
|
reportProgress: reportProgress
|
|
7840
7995
|
});
|
|
7841
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
|
+
}
|
|
7842
8032
|
getSalesOrder(id, observe = 'body', reportProgress = false, options) {
|
|
7843
8033
|
if (id === null || id === undefined) {
|
|
7844
8034
|
throw new Error('Required parameter id was null or undefined when calling getSalesOrder.');
|
|
@@ -7919,6 +8109,96 @@ class SalesOrdersService extends BaseService {
|
|
|
7919
8109
|
reportProgress: reportProgress
|
|
7920
8110
|
});
|
|
7921
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
|
+
}
|
|
7922
8202
|
updateSalesOrder(id, salesOrderHeaderUpdateModel, observe = 'body', reportProgress = false, options) {
|
|
7923
8203
|
if (id === null || id === undefined) {
|
|
7924
8204
|
throw new Error('Required parameter id was null or undefined when calling updateSalesOrder.');
|
|
@@ -12116,6 +12396,21 @@ const ReprintStatuses = {
|
|
|
12116
12396
|
Completed: 'Completed'
|
|
12117
12397
|
};
|
|
12118
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
|
+
|
|
12119
12414
|
/**
|
|
12120
12415
|
* Wms.API.Client
|
|
12121
12416
|
*
|
|
@@ -12156,6 +12451,21 @@ const ReprintStatuses = {
|
|
|
12156
12451
|
* Do not edit the class manually.
|
|
12157
12452
|
*/
|
|
12158
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
|
+
|
|
12159
12469
|
/**
|
|
12160
12470
|
* Wms.API.Client
|
|
12161
12471
|
*
|
|
@@ -12528,5 +12838,5 @@ function provideApi(configOrBasePath) {
|
|
|
12528
12838
|
* Generated bundle index. Do not edit.
|
|
12529
12839
|
*/
|
|
12530
12840
|
|
|
12531
|
-
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, 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 };
|
|
12532
12842
|
//# sourceMappingURL=indigina-wms-api.mjs.map
|