@indigina/myseko-api 0.0.44 → 0.0.46
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
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @indigina/myseko-api@0.0.
|
|
1
|
+
# @indigina/myseko-api@0.0.46
|
|
2
2
|
|
|
3
3
|
MySeko 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/myseko-api@0.0.
|
|
27
|
+
npm install @indigina/myseko-api@0.0.46 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -1784,6 +1784,49 @@ class ShipmentService extends BaseService {
|
|
|
1784
1784
|
reportProgress: reportProgress
|
|
1785
1785
|
});
|
|
1786
1786
|
}
|
|
1787
|
+
getSubShipments(ordOrderID, $skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
|
|
1788
|
+
if (ordOrderID === null || ordOrderID === undefined) {
|
|
1789
|
+
throw new Error('Required parameter ordOrderID was null or undefined when calling getSubShipments.');
|
|
1790
|
+
}
|
|
1791
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
1792
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
1793
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
1794
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
|
|
1795
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
|
|
1796
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1797
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1798
|
+
'application/json'
|
|
1799
|
+
]);
|
|
1800
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1801
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1802
|
+
}
|
|
1803
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1804
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1805
|
+
let responseType_ = 'json';
|
|
1806
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1807
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1808
|
+
responseType_ = 'text';
|
|
1809
|
+
}
|
|
1810
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1811
|
+
responseType_ = 'json';
|
|
1812
|
+
}
|
|
1813
|
+
else {
|
|
1814
|
+
responseType_ = 'blob';
|
|
1815
|
+
}
|
|
1816
|
+
}
|
|
1817
|
+
let localVarPath = `/myseko/shipments/${this.configuration.encodeParam({ name: "ordOrderID", value: ordOrderID, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/sub-shipments`;
|
|
1818
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1819
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1820
|
+
context: localVarHttpContext,
|
|
1821
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
1822
|
+
responseType: responseType_,
|
|
1823
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1824
|
+
headers: localVarHeaders,
|
|
1825
|
+
observe: observe,
|
|
1826
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1827
|
+
reportProgress: reportProgress
|
|
1828
|
+
});
|
|
1829
|
+
}
|
|
1787
1830
|
updateShipmentIssue(ordOrderID, issueID, updateIssueRequest, observe = 'body', reportProgress = false, options) {
|
|
1788
1831
|
if (ordOrderID === null || ordOrderID === undefined) {
|
|
1789
1832
|
throw new Error('Required parameter ordOrderID was null or undefined when calling updateShipmentIssue.');
|