@indigina/myseko-api 0.0.51 → 0.0.53
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@indigina/myseko-api",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.53",
|
|
4
4
|
"description": "OpenAPI client for @indigina/myseko-api",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
],
|
|
14
14
|
"license": "Unlicense",
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@angular/core": "^
|
|
16
|
+
"@angular/core": "^22.0.0",
|
|
17
17
|
"rxjs": "^7.4.0"
|
|
18
18
|
},
|
|
19
19
|
"module": "fesm2022/indigina-myseko-api.mjs",
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
"sideEffects": false,
|
|
31
|
+
"type": "module",
|
|
31
32
|
"dependencies": {
|
|
32
33
|
"tslib": "^2.3.0"
|
|
33
34
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpParameterCodec,
|
|
1
|
+
import { HttpParameterCodec, HttpParams, HttpHeaders, HttpClient, HttpContext, HttpResponse, HttpEvent } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { InjectionToken, ModuleWithProviders, EnvironmentProviders } from '@angular/core';
|
|
@@ -41,6 +41,64 @@ interface Param {
|
|
|
41
41
|
dataFormat: DataFormat | undefined;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
+
declare enum QueryParamStyle {
|
|
45
|
+
Json = 0,
|
|
46
|
+
Form = 1,
|
|
47
|
+
DeepObject = 2,
|
|
48
|
+
SpaceDelimited = 3,
|
|
49
|
+
PipeDelimited = 4
|
|
50
|
+
}
|
|
51
|
+
type Delimiter = "," | " " | "|" | "\t";
|
|
52
|
+
interface ParamOptions {
|
|
53
|
+
/** When true, serialized as multiple repeated key=value pairs. When false, serialized as a single key with joined values using `delimiter`. */
|
|
54
|
+
explode?: boolean;
|
|
55
|
+
/** Delimiter used when explode=false. The delimiter itself is inserted unencoded between encoded values. */
|
|
56
|
+
delimiter?: Delimiter;
|
|
57
|
+
}
|
|
58
|
+
declare class OpenApiHttpParams {
|
|
59
|
+
private params;
|
|
60
|
+
private defaults;
|
|
61
|
+
private encoder;
|
|
62
|
+
/**
|
|
63
|
+
* @param encoder Parameter serializer
|
|
64
|
+
* @param defaults Global defaults used when a specific parameter has no explicit options.
|
|
65
|
+
* By OpenAPI default, explode is true for query params with style=form.
|
|
66
|
+
*/
|
|
67
|
+
constructor(encoder?: HttpParameterCodec, defaults?: {
|
|
68
|
+
explode?: boolean;
|
|
69
|
+
delimiter?: Delimiter;
|
|
70
|
+
});
|
|
71
|
+
private resolveOptions;
|
|
72
|
+
/**
|
|
73
|
+
* Replace the parameter's values and (optionally) its options.
|
|
74
|
+
* Options are stored per-parameter (not global).
|
|
75
|
+
*/
|
|
76
|
+
set(key: string, values: string[] | string, options?: ParamOptions): this;
|
|
77
|
+
/**
|
|
78
|
+
* Append a single value to the parameter. If the parameter didn't exist it will be created
|
|
79
|
+
* and use resolved options (global defaults merged with any provided options).
|
|
80
|
+
*/
|
|
81
|
+
append(key: string, value: string, options?: ParamOptions): this;
|
|
82
|
+
/**
|
|
83
|
+
* Serialize to a query string according to per-parameter OpenAPI options.
|
|
84
|
+
* - If explode=true for that parameter → repeated key=value pairs (each value encoded).
|
|
85
|
+
* - If explode=false for that parameter → single key=value where values are individually encoded
|
|
86
|
+
* and joined using the configured delimiter. The delimiter character is inserted AS-IS
|
|
87
|
+
* (not percent-encoded).
|
|
88
|
+
*/
|
|
89
|
+
toString(): string;
|
|
90
|
+
/**
|
|
91
|
+
* Return parameters as a plain record.
|
|
92
|
+
* - If a parameter has exactly one value, returns that value directly.
|
|
93
|
+
* - If a parameter has multiple values, returns a readonly array of values.
|
|
94
|
+
*/
|
|
95
|
+
toRecord(): Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
|
|
96
|
+
/**
|
|
97
|
+
* Return an Angular's HttpParams with an identity parameter codec as the parameters are already encoded.
|
|
98
|
+
*/
|
|
99
|
+
toHttpParams(): HttpParams;
|
|
100
|
+
}
|
|
101
|
+
|
|
44
102
|
interface ConfigurationParameters {
|
|
45
103
|
/**
|
|
46
104
|
* @deprecated Since 5.0. Use credentials instead
|
|
@@ -142,68 +200,10 @@ declare class Configuration {
|
|
|
142
200
|
isJsonMime(mime: string): boolean;
|
|
143
201
|
lookupCredential(key: string): string | undefined;
|
|
144
202
|
addCredentialToHeaders(credentialKey: string, headerName: string, headers: HttpHeaders, prefix?: string): HttpHeaders;
|
|
145
|
-
addCredentialToQuery(credentialKey: string, paramName: string, query:
|
|
203
|
+
addCredentialToQuery(credentialKey: string, paramName: string, query: OpenApiHttpParams): OpenApiHttpParams;
|
|
146
204
|
private defaultEncodeParam;
|
|
147
205
|
}
|
|
148
206
|
|
|
149
|
-
declare enum QueryParamStyle {
|
|
150
|
-
Json = 0,
|
|
151
|
-
Form = 1,
|
|
152
|
-
DeepObject = 2,
|
|
153
|
-
SpaceDelimited = 3,
|
|
154
|
-
PipeDelimited = 4
|
|
155
|
-
}
|
|
156
|
-
type Delimiter = "," | " " | "|" | "\t";
|
|
157
|
-
interface ParamOptions {
|
|
158
|
-
/** When true, serialized as multiple repeated key=value pairs. When false, serialized as a single key with joined values using `delimiter`. */
|
|
159
|
-
explode?: boolean;
|
|
160
|
-
/** Delimiter used when explode=false. The delimiter itself is inserted unencoded between encoded values. */
|
|
161
|
-
delimiter?: Delimiter;
|
|
162
|
-
}
|
|
163
|
-
declare class OpenApiHttpParams {
|
|
164
|
-
private params;
|
|
165
|
-
private defaults;
|
|
166
|
-
private encoder;
|
|
167
|
-
/**
|
|
168
|
-
* @param encoder Parameter serializer
|
|
169
|
-
* @param defaults Global defaults used when a specific parameter has no explicit options.
|
|
170
|
-
* By OpenAPI default, explode is true for query params with style=form.
|
|
171
|
-
*/
|
|
172
|
-
constructor(encoder?: HttpParameterCodec, defaults?: {
|
|
173
|
-
explode?: boolean;
|
|
174
|
-
delimiter?: Delimiter;
|
|
175
|
-
});
|
|
176
|
-
private resolveOptions;
|
|
177
|
-
/**
|
|
178
|
-
* Replace the parameter's values and (optionally) its options.
|
|
179
|
-
* Options are stored per-parameter (not global).
|
|
180
|
-
*/
|
|
181
|
-
set(key: string, values: string[] | string, options?: ParamOptions): this;
|
|
182
|
-
/**
|
|
183
|
-
* Append a single value to the parameter. If the parameter didn't exist it will be created
|
|
184
|
-
* and use resolved options (global defaults merged with any provided options).
|
|
185
|
-
*/
|
|
186
|
-
append(key: string, value: string, options?: ParamOptions): this;
|
|
187
|
-
/**
|
|
188
|
-
* Serialize to a query string according to per-parameter OpenAPI options.
|
|
189
|
-
* - If explode=true for that parameter → repeated key=value pairs (each value encoded).
|
|
190
|
-
* - If explode=false for that parameter → single key=value where values are individually encoded
|
|
191
|
-
* and joined using the configured delimiter. The delimiter character is inserted AS-IS
|
|
192
|
-
* (not percent-encoded).
|
|
193
|
-
*/
|
|
194
|
-
toString(): string;
|
|
195
|
-
/**
|
|
196
|
-
* Return parameters as a plain record.
|
|
197
|
-
* - If a parameter has exactly one value, returns that value directly.
|
|
198
|
-
* - If a parameter has multiple values, returns a readonly array of values.
|
|
199
|
-
*/
|
|
200
|
-
toRecord(): Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
|
|
201
|
-
/**
|
|
202
|
-
* Return an Angular's HttpParams with an identity parameter codec as the parameters are already encoded.
|
|
203
|
-
*/
|
|
204
|
-
toHttpParams(): HttpParams;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
207
|
/**
|
|
208
208
|
* MySeko.API.Client
|
|
209
209
|
*
|
|
@@ -901,6 +901,7 @@ type Criticality = typeof Criticality[keyof typeof Criticality];
|
|
|
901
901
|
interface ExceptionManagementRow {
|
|
902
902
|
exceptionServiceLogID: number;
|
|
903
903
|
ordOrderID: string;
|
|
904
|
+
typeOrderID?: string | null;
|
|
904
905
|
number?: string | null;
|
|
905
906
|
status?: string | null;
|
|
906
907
|
serviceLevel?: string | null;
|
|
@@ -939,6 +940,7 @@ declare namespace ExceptionManagementRow {
|
|
|
939
940
|
|
|
940
941
|
interface ExceptionKanbanRowColumn {
|
|
941
942
|
column: string;
|
|
943
|
+
hasMore?: boolean;
|
|
942
944
|
items: Array<ExceptionManagementRow>;
|
|
943
945
|
}
|
|
944
946
|
|
|
@@ -1031,27 +1033,32 @@ declare class ExceptionsService extends BaseService {
|
|
|
1031
1033
|
/**
|
|
1032
1034
|
* Get shipment exception kanban board column/row counts
|
|
1033
1035
|
* @endpoint get /myseko/shipments/exceptions/kanban/counts
|
|
1034
|
-
* @param columnGroup
|
|
1035
|
-
* @param rowGroup
|
|
1036
|
-
* @param rowSkip
|
|
1037
|
-
* @param rowTake
|
|
1038
|
-
* @param
|
|
1039
|
-
* @param
|
|
1036
|
+
* @param columnGroup The field whose distinct values become the board columns. Required. Defaults to myseko.Models.Shipments.Exceptions.Kanban.KanbanGroupField.Criticality when not supplied by the caller.
|
|
1037
|
+
* @param rowGroup The field whose distinct values become the board rows. Optional. When null the board renders a single flat column layout with no row headers. Must differ from myseko.Models.Shipments.Exceptions.Kanban.KanbanCountsRequestDto.ColumnGroup.
|
|
1038
|
+
* @param rowSkip Row-labels to skip (zero-based). Defaults to 0. Ignored when RowGroup is not set.
|
|
1039
|
+
* @param rowTake Maximum number of row-labels to return per call. Defaults to 25. The response TotalRows always reflects the full distinct row count so the client can compute the total number of pages. Ignored when RowGroup is not set.
|
|
1040
|
+
* @param $filter OData filter expression (e.g., \'contains(Number, \'\'TSE\'\')\')
|
|
1041
|
+
* @param $orderby OData orderby expression (e.g., \'OrderID desc\')
|
|
1042
|
+
* @param $select OData select expression (comma-separated properties)
|
|
1043
|
+
* @param $expand OData expand expression (comma-separated navigation properties)
|
|
1044
|
+
* @param $top OData top limit (max results)
|
|
1045
|
+
* @param $skip OData skip offset
|
|
1046
|
+
* @param $count Include total count (true/false)
|
|
1040
1047
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1041
1048
|
* @param reportProgress flag to report request and response progress.
|
|
1042
1049
|
* @param options additional options
|
|
1043
1050
|
*/
|
|
1044
|
-
getShipmentExceptionKanbanCounts(columnGroup: string, rowGroup?: string, rowSkip?: number, rowTake?: number,
|
|
1051
|
+
getShipmentExceptionKanbanCounts(columnGroup: string, rowGroup?: string, rowSkip?: number, rowTake?: number, $filter?: string, $orderby?: string, $select?: string, $expand?: string, $top?: number, $skip?: number, $count?: boolean, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1045
1052
|
httpHeaderAccept?: 'application/json';
|
|
1046
1053
|
context?: HttpContext;
|
|
1047
1054
|
transferCache?: boolean;
|
|
1048
1055
|
}): Observable<ExceptionKanbanCounts>;
|
|
1049
|
-
getShipmentExceptionKanbanCounts(columnGroup: string, rowGroup?: string, rowSkip?: number, rowTake?: number,
|
|
1056
|
+
getShipmentExceptionKanbanCounts(columnGroup: string, rowGroup?: string, rowSkip?: number, rowTake?: number, $filter?: string, $orderby?: string, $select?: string, $expand?: string, $top?: number, $skip?: number, $count?: boolean, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1050
1057
|
httpHeaderAccept?: 'application/json';
|
|
1051
1058
|
context?: HttpContext;
|
|
1052
1059
|
transferCache?: boolean;
|
|
1053
1060
|
}): Observable<HttpResponse<ExceptionKanbanCounts>>;
|
|
1054
|
-
getShipmentExceptionKanbanCounts(columnGroup: string, rowGroup?: string, rowSkip?: number, rowTake?: number,
|
|
1061
|
+
getShipmentExceptionKanbanCounts(columnGroup: string, rowGroup?: string, rowSkip?: number, rowTake?: number, $filter?: string, $orderby?: string, $select?: string, $expand?: string, $top?: number, $skip?: number, $count?: boolean, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1055
1062
|
httpHeaderAccept?: 'application/json';
|
|
1056
1063
|
context?: HttpContext;
|
|
1057
1064
|
transferCache?: boolean;
|
|
@@ -1059,28 +1066,33 @@ declare class ExceptionsService extends BaseService {
|
|
|
1059
1066
|
/**
|
|
1060
1067
|
* Get shipment exception kanban board rows and cards
|
|
1061
1068
|
* @endpoint get /myseko/shipments/exceptions/kanban/row
|
|
1062
|
-
* @param columnGroup
|
|
1063
|
-
* @param rowGroup
|
|
1064
|
-
* @param rowValue
|
|
1065
|
-
* @param skip
|
|
1066
|
-
* @param
|
|
1067
|
-
* @param filter
|
|
1068
|
-
* @param
|
|
1069
|
+
* @param columnGroup The field whose distinct values define the board columns. Required.
|
|
1070
|
+
* @param rowGroup The field used for row grouping. Null when row grouping is not active.
|
|
1071
|
+
* @param rowValue The specific row value to fetch cards for (e.g. \'CHARTER LINK\' when RowGroup = ShipName). Omitted: returns a page of rows controlled by RowSkip/RowTake, each with their first card page driven by $skip/$top. Supplied: returns only the matching row at the card-level offset. Ignored when RowGroup is not set.
|
|
1072
|
+
* @param rowSkip Row-buckets to skip. Defaults to 0. Ignored when RowValue is supplied.
|
|
1073
|
+
* @param rowTake Max row-buckets per call. Defaults to 25. The response Total always reflects the full distinct row count. Ignored when RowValue is supplied.
|
|
1074
|
+
* @param $filter OData filter expression (e.g., \'contains(Number, \'\'TSE\'\')\')
|
|
1075
|
+
* @param $orderby OData orderby expression (e.g., \'OrderID desc\')
|
|
1076
|
+
* @param $select OData select expression (comma-separated properties)
|
|
1077
|
+
* @param $expand OData expand expression (comma-separated navigation properties)
|
|
1078
|
+
* @param $top OData top limit (max results)
|
|
1079
|
+
* @param $skip OData skip offset
|
|
1080
|
+
* @param $count Include total count (true/false)
|
|
1069
1081
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1070
1082
|
* @param reportProgress flag to report request and response progress.
|
|
1071
1083
|
* @param options additional options
|
|
1072
1084
|
*/
|
|
1073
|
-
getShipmentExceptionKanbanRow(columnGroup: string, rowGroup?: string, rowValue?: string,
|
|
1085
|
+
getShipmentExceptionKanbanRow(columnGroup: string, rowGroup?: string, rowValue?: string, rowSkip?: number, rowTake?: number, $filter?: string, $orderby?: string, $select?: string, $expand?: string, $top?: number, $skip?: number, $count?: boolean, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1074
1086
|
httpHeaderAccept?: 'application/json';
|
|
1075
1087
|
context?: HttpContext;
|
|
1076
1088
|
transferCache?: boolean;
|
|
1077
1089
|
}): Observable<ExceptionKanbanRowList>;
|
|
1078
|
-
getShipmentExceptionKanbanRow(columnGroup: string, rowGroup?: string, rowValue?: string,
|
|
1090
|
+
getShipmentExceptionKanbanRow(columnGroup: string, rowGroup?: string, rowValue?: string, rowSkip?: number, rowTake?: number, $filter?: string, $orderby?: string, $select?: string, $expand?: string, $top?: number, $skip?: number, $count?: boolean, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1079
1091
|
httpHeaderAccept?: 'application/json';
|
|
1080
1092
|
context?: HttpContext;
|
|
1081
1093
|
transferCache?: boolean;
|
|
1082
1094
|
}): Observable<HttpResponse<ExceptionKanbanRowList>>;
|
|
1083
|
-
getShipmentExceptionKanbanRow(columnGroup: string, rowGroup?: string, rowValue?: string,
|
|
1095
|
+
getShipmentExceptionKanbanRow(columnGroup: string, rowGroup?: string, rowValue?: string, rowSkip?: number, rowTake?: number, $filter?: string, $orderby?: string, $select?: string, $expand?: string, $top?: number, $skip?: number, $count?: boolean, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1084
1096
|
httpHeaderAccept?: 'application/json';
|
|
1085
1097
|
context?: HttpContext;
|
|
1086
1098
|
transferCache?: boolean;
|