@indigina/myseko-api 0.0.22 → 0.0.24
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.24
|
|
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.24 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -1051,6 +1051,43 @@ class ShipmentService extends BaseService {
|
|
|
1051
1051
|
reportProgress: reportProgress
|
|
1052
1052
|
});
|
|
1053
1053
|
}
|
|
1054
|
+
getShipmentContainers(ordOrderID, observe = 'body', reportProgress = false, options) {
|
|
1055
|
+
if (ordOrderID === null || ordOrderID === undefined) {
|
|
1056
|
+
throw new Error('Required parameter ordOrderID was null or undefined when calling getShipmentContainers.');
|
|
1057
|
+
}
|
|
1058
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1059
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1060
|
+
'application/json'
|
|
1061
|
+
]);
|
|
1062
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1063
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1064
|
+
}
|
|
1065
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1066
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1067
|
+
let responseType_ = 'json';
|
|
1068
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1069
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1070
|
+
responseType_ = 'text';
|
|
1071
|
+
}
|
|
1072
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1073
|
+
responseType_ = 'json';
|
|
1074
|
+
}
|
|
1075
|
+
else {
|
|
1076
|
+
responseType_ = 'blob';
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1079
|
+
let localVarPath = `/myseko/shipments/${this.configuration.encodeParam({ name: "ordOrderID", value: ordOrderID, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/containers`;
|
|
1080
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1081
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1082
|
+
context: localVarHttpContext,
|
|
1083
|
+
responseType: responseType_,
|
|
1084
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1085
|
+
headers: localVarHeaders,
|
|
1086
|
+
observe: observe,
|
|
1087
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1088
|
+
reportProgress: reportProgress
|
|
1089
|
+
});
|
|
1090
|
+
}
|
|
1054
1091
|
getShipmentIssue(ordOrderID, issueID, observe = 'body', reportProgress = false, options) {
|
|
1055
1092
|
if (ordOrderID === null || ordOrderID === undefined) {
|
|
1056
1093
|
throw new Error('Required parameter ordOrderID was null or undefined when calling getShipmentIssue.');
|
|
@@ -1830,6 +1867,36 @@ const CalendarViewBy = {
|
|
|
1830
1867
|
* Do not edit the class manually.
|
|
1831
1868
|
*/
|
|
1832
1869
|
|
|
1870
|
+
/**
|
|
1871
|
+
* MySeko.API.Client
|
|
1872
|
+
*
|
|
1873
|
+
*
|
|
1874
|
+
*
|
|
1875
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1876
|
+
* https://openapi-generator.tech
|
|
1877
|
+
* Do not edit the class manually.
|
|
1878
|
+
*/
|
|
1879
|
+
|
|
1880
|
+
/**
|
|
1881
|
+
* MySeko.API.Client
|
|
1882
|
+
*
|
|
1883
|
+
*
|
|
1884
|
+
*
|
|
1885
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1886
|
+
* https://openapi-generator.tech
|
|
1887
|
+
* Do not edit the class manually.
|
|
1888
|
+
*/
|
|
1889
|
+
|
|
1890
|
+
/**
|
|
1891
|
+
* MySeko.API.Client
|
|
1892
|
+
*
|
|
1893
|
+
*
|
|
1894
|
+
*
|
|
1895
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1896
|
+
* https://openapi-generator.tech
|
|
1897
|
+
* Do not edit the class manually.
|
|
1898
|
+
*/
|
|
1899
|
+
|
|
1833
1900
|
/**
|
|
1834
1901
|
* MySeko.API.Client
|
|
1835
1902
|
*
|