@indigina/myseko-api 0.0.17 → 0.0.18
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.18",
|
|
4
4
|
"description": "OpenAPI client for @indigina/myseko-api",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
@@ -13,17 +13,17 @@
|
|
|
13
13
|
],
|
|
14
14
|
"license": "Unlicense",
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@angular/core": "^
|
|
16
|
+
"@angular/core": "^21.1.0",
|
|
17
17
|
"rxjs": "^7.4.0"
|
|
18
18
|
},
|
|
19
19
|
"module": "fesm2022/indigina-myseko-api.mjs",
|
|
20
|
-
"typings": "
|
|
20
|
+
"typings": "types/indigina-myseko-api.d.ts",
|
|
21
21
|
"exports": {
|
|
22
22
|
"./package.json": {
|
|
23
23
|
"default": "./package.json"
|
|
24
24
|
},
|
|
25
25
|
".": {
|
|
26
|
-
"types": "./
|
|
26
|
+
"types": "./types/indigina-myseko-api.d.ts",
|
|
27
27
|
"default": "./fesm2022/indigina-myseko-api.mjs"
|
|
28
28
|
}
|
|
29
29
|
},
|
|
@@ -146,6 +146,64 @@ declare class Configuration {
|
|
|
146
146
|
private defaultEncodeParam;
|
|
147
147
|
}
|
|
148
148
|
|
|
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
|
+
|
|
149
207
|
/**
|
|
150
208
|
* MySeko.API.Client
|
|
151
209
|
*
|
|
@@ -163,8 +221,7 @@ declare class BaseService {
|
|
|
163
221
|
encoder: HttpParameterCodec;
|
|
164
222
|
constructor(basePath?: string | string[], configuration?: Configuration);
|
|
165
223
|
protected canConsumeForm(consumes: string[]): boolean;
|
|
166
|
-
protected addToHttpParams(httpParams:
|
|
167
|
-
protected addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string, isDeep?: boolean): HttpParams;
|
|
224
|
+
protected addToHttpParams(httpParams: OpenApiHttpParams, key: string, value: any | null | undefined, paramStyle: QueryParamStyle, explode: boolean): OpenApiHttpParams;
|
|
168
225
|
}
|
|
169
226
|
|
|
170
227
|
declare class AuthService extends BaseService {
|
|
@@ -172,8 +229,10 @@ declare class AuthService extends BaseService {
|
|
|
172
229
|
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
173
230
|
/**
|
|
174
231
|
* User login
|
|
232
|
+
* @endpoint post /myseko/auth/login
|
|
175
233
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
176
234
|
* @param reportProgress flag to report request and response progress.
|
|
235
|
+
* @param options additional options
|
|
177
236
|
*/
|
|
178
237
|
userLogin(observe?: 'body', reportProgress?: boolean, options?: {
|
|
179
238
|
httpHeaderAccept?: undefined;
|
|
@@ -266,6 +325,7 @@ declare class CalendarService extends BaseService {
|
|
|
266
325
|
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
267
326
|
/**
|
|
268
327
|
* Returns Calendar for a given range
|
|
328
|
+
* @endpoint get /myseko/shipments/calendar/{startDate}/{endDate}
|
|
269
329
|
* @param startDate
|
|
270
330
|
* @param endDate
|
|
271
331
|
* @param viewBy
|
|
@@ -278,6 +338,7 @@ declare class CalendarService extends BaseService {
|
|
|
278
338
|
* @param $skip
|
|
279
339
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
280
340
|
* @param reportProgress flag to report request and response progress.
|
|
341
|
+
* @param options additional options
|
|
281
342
|
*/
|
|
282
343
|
getShipmentCalendarRange(startDate: string, endDate: string, viewBy?: CalendarViewBy, searchTerm?: string, $filter?: string, $orderby?: string, $select?: string, $expand?: string, $top?: number, $skip?: number, observe?: 'body', reportProgress?: boolean, options?: {
|
|
283
344
|
httpHeaderAccept?: 'application/json';
|
|
@@ -332,8 +393,10 @@ declare class DashboardService extends BaseService {
|
|
|
332
393
|
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
333
394
|
/**
|
|
334
395
|
* Get active shipments statistics
|
|
396
|
+
* @endpoint get /myseko/dashboard/active-shipments
|
|
335
397
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
336
398
|
* @param reportProgress flag to report request and response progress.
|
|
399
|
+
* @param options additional options
|
|
337
400
|
*/
|
|
338
401
|
getActiveShipments(observe?: 'body', reportProgress?: boolean, options?: {
|
|
339
402
|
httpHeaderAccept?: 'application/json';
|
|
@@ -352,8 +415,10 @@ declare class DashboardService extends BaseService {
|
|
|
352
415
|
}): Observable<HttpEvent<ActiveShipment>>;
|
|
353
416
|
/**
|
|
354
417
|
* Get deliveries today statistics
|
|
418
|
+
* @endpoint get /myseko/dashboard/deliveries-today
|
|
355
419
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
356
420
|
* @param reportProgress flag to report request and response progress.
|
|
421
|
+
* @param options additional options
|
|
357
422
|
*/
|
|
358
423
|
getDeliveriesToday(observe?: 'body', reportProgress?: boolean, options?: {
|
|
359
424
|
httpHeaderAccept?: 'application/json';
|
|
@@ -379,8 +444,10 @@ declare class HealthService extends BaseService {
|
|
|
379
444
|
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
380
445
|
/**
|
|
381
446
|
* Api health check
|
|
447
|
+
* @endpoint get /health
|
|
382
448
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
383
449
|
* @param reportProgress flag to report request and response progress.
|
|
450
|
+
* @param options additional options
|
|
384
451
|
*/
|
|
385
452
|
getHealth(observe?: 'body', reportProgress?: boolean, options?: {
|
|
386
453
|
httpHeaderAccept?: 'text/plain' | 'application/json';
|
|
@@ -435,10 +502,12 @@ declare class SettingsService extends BaseService {
|
|
|
435
502
|
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
436
503
|
/**
|
|
437
504
|
* Delete a specific setting by group and key
|
|
505
|
+
* @endpoint delete /users/me/settings/groups/{group}/{key}
|
|
438
506
|
* @param key
|
|
439
507
|
* @param group
|
|
440
508
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
441
509
|
* @param reportProgress flag to report request and response progress.
|
|
510
|
+
* @param options additional options
|
|
442
511
|
*/
|
|
443
512
|
deleteSettingByGroupAndKey(key: string, group: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
444
513
|
httpHeaderAccept?: undefined;
|
|
@@ -457,9 +526,11 @@ declare class SettingsService extends BaseService {
|
|
|
457
526
|
}): Observable<HttpEvent<any>>;
|
|
458
527
|
/**
|
|
459
528
|
* Delete a specific setting by key
|
|
529
|
+
* @endpoint delete /users/me/settings/{key}
|
|
460
530
|
* @param key
|
|
461
531
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
462
532
|
* @param reportProgress flag to report request and response progress.
|
|
533
|
+
* @param options additional options
|
|
463
534
|
*/
|
|
464
535
|
deleteSettingByKey(key: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
465
536
|
httpHeaderAccept?: undefined;
|
|
@@ -478,10 +549,12 @@ declare class SettingsService extends BaseService {
|
|
|
478
549
|
}): Observable<HttpEvent<any>>;
|
|
479
550
|
/**
|
|
480
551
|
* Get a specific setting by group and key
|
|
552
|
+
* @endpoint get /users/me/settings/groups/{group}/{key}
|
|
481
553
|
* @param key
|
|
482
554
|
* @param group
|
|
483
555
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
484
556
|
* @param reportProgress flag to report request and response progress.
|
|
557
|
+
* @param options additional options
|
|
485
558
|
*/
|
|
486
559
|
getSettingByGroupAndKey(key: string, group: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
487
560
|
httpHeaderAccept?: 'application/json';
|
|
@@ -500,9 +573,11 @@ declare class SettingsService extends BaseService {
|
|
|
500
573
|
}): Observable<HttpEvent<SettingValue>>;
|
|
501
574
|
/**
|
|
502
575
|
* Get a specific setting by key
|
|
576
|
+
* @endpoint get /users/me/settings/{key}
|
|
503
577
|
* @param key
|
|
504
578
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
505
579
|
* @param reportProgress flag to report request and response progress.
|
|
580
|
+
* @param options additional options
|
|
506
581
|
*/
|
|
507
582
|
getSettingByKey(key: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
508
583
|
httpHeaderAccept?: 'application/json';
|
|
@@ -521,9 +596,11 @@ declare class SettingsService extends BaseService {
|
|
|
521
596
|
}): Observable<HttpEvent<SettingValue>>;
|
|
522
597
|
/**
|
|
523
598
|
* Get settings by group
|
|
599
|
+
* @endpoint get /users/me/settings/groups/{group}
|
|
524
600
|
* @param group
|
|
525
601
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
526
602
|
* @param reportProgress flag to report request and response progress.
|
|
603
|
+
* @param options additional options
|
|
527
604
|
*/
|
|
528
605
|
getSettingsByGroup(group: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
529
606
|
httpHeaderAccept?: 'application/json';
|
|
@@ -542,10 +619,12 @@ declare class SettingsService extends BaseService {
|
|
|
542
619
|
}): Observable<HttpEvent<Array<SettingView>>>;
|
|
543
620
|
/**
|
|
544
621
|
* Create or update a specific setting by key
|
|
622
|
+
* @endpoint put /users/me/settings/{key}
|
|
545
623
|
* @param key
|
|
546
624
|
* @param settingValue
|
|
547
625
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
548
626
|
* @param reportProgress flag to report request and response progress.
|
|
627
|
+
* @param options additional options
|
|
549
628
|
*/
|
|
550
629
|
setSettingByKey(key: string, settingValue: SettingValue, observe?: 'body', reportProgress?: boolean, options?: {
|
|
551
630
|
httpHeaderAccept?: 'application/json';
|
|
@@ -937,9 +1016,11 @@ declare class ShipmentService extends BaseService {
|
|
|
937
1016
|
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
938
1017
|
/**
|
|
939
1018
|
* Get shipment package details by ordOrderID
|
|
1019
|
+
* @endpoint get /myseko/shipments/{ordOrderID}/package-details
|
|
940
1020
|
* @param ordOrderID
|
|
941
1021
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
942
1022
|
* @param reportProgress flag to report request and response progress.
|
|
1023
|
+
* @param options additional options
|
|
943
1024
|
*/
|
|
944
1025
|
getShipmentPackageDetails(ordOrderID: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
945
1026
|
httpHeaderAccept?: 'application/json';
|
|
@@ -958,9 +1039,11 @@ declare class ShipmentService extends BaseService {
|
|
|
958
1039
|
}): Observable<HttpEvent<PackageDetails>>;
|
|
959
1040
|
/**
|
|
960
1041
|
* Get shipment purchase order details by ordOrderID
|
|
1042
|
+
* @endpoint get /myseko/shipments/{ordOrderID}/purchase-order-details
|
|
961
1043
|
* @param ordOrderID
|
|
962
1044
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
963
1045
|
* @param reportProgress flag to report request and response progress.
|
|
1046
|
+
* @param options additional options
|
|
964
1047
|
*/
|
|
965
1048
|
getShipmentPurchaseOrderDetails(ordOrderID: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
966
1049
|
httpHeaderAccept?: 'application/json';
|
|
@@ -979,9 +1062,11 @@ declare class ShipmentService extends BaseService {
|
|
|
979
1062
|
}): Observable<HttpEvent<ShipmentPurchaseOrderDetails>>;
|
|
980
1063
|
/**
|
|
981
1064
|
* Get shipment summary by ordOrderID
|
|
1065
|
+
* @endpoint get /myseko/shipments/{ordOrderID}/summary
|
|
982
1066
|
* @param ordOrderID
|
|
983
1067
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
984
1068
|
* @param reportProgress flag to report request and response progress.
|
|
1069
|
+
* @param options additional options
|
|
985
1070
|
*/
|
|
986
1071
|
getShipmentSummary(ordOrderID: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
987
1072
|
httpHeaderAccept?: 'application/json';
|
|
@@ -1000,9 +1085,11 @@ declare class ShipmentService extends BaseService {
|
|
|
1000
1085
|
}): Observable<HttpEvent<ShipmentSummary>>;
|
|
1001
1086
|
/**
|
|
1002
1087
|
* Get shipment timeline events by ordOrderID
|
|
1088
|
+
* @endpoint get /myseko/shipments/{ordOrderID}/timeline
|
|
1003
1089
|
* @param ordOrderID
|
|
1004
1090
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1005
1091
|
* @param reportProgress flag to report request and response progress.
|
|
1092
|
+
* @param options additional options
|
|
1006
1093
|
*/
|
|
1007
1094
|
getShipmentTimeline(ordOrderID: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1008
1095
|
httpHeaderAccept?: 'application/json';
|
|
@@ -1021,12 +1108,14 @@ declare class ShipmentService extends BaseService {
|
|
|
1021
1108
|
}): Observable<HttpEvent<ShipmentTimeline>>;
|
|
1022
1109
|
/**
|
|
1023
1110
|
* Get all shipments
|
|
1111
|
+
* @endpoint get /myseko/shipments
|
|
1024
1112
|
* @param $skip
|
|
1025
1113
|
* @param $top
|
|
1026
1114
|
* @param $orderby
|
|
1027
1115
|
* @param $filter
|
|
1028
1116
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1029
1117
|
* @param reportProgress flag to report request and response progress.
|
|
1118
|
+
* @param options additional options
|
|
1030
1119
|
*/
|
|
1031
1120
|
getShipments($skip?: number, $top?: number, $orderby?: string, $filter?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1032
1121
|
httpHeaderAccept?: 'application/json';
|
|
@@ -1045,6 +1134,7 @@ declare class ShipmentService extends BaseService {
|
|
|
1045
1134
|
}): Observable<HttpEvent<Shipments>>;
|
|
1046
1135
|
/**
|
|
1047
1136
|
* Get all shipments
|
|
1137
|
+
* @endpoint get /myseko/shipments/search
|
|
1048
1138
|
* @param $skip
|
|
1049
1139
|
* @param $top
|
|
1050
1140
|
* @param $orderby
|
|
@@ -1052,6 +1142,7 @@ declare class ShipmentService extends BaseService {
|
|
|
1052
1142
|
* @param searchTerm
|
|
1053
1143
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1054
1144
|
* @param reportProgress flag to report request and response progress.
|
|
1145
|
+
* @param options additional options
|
|
1055
1146
|
*/
|
|
1056
1147
|
getShipmentsWithSearch($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1057
1148
|
httpHeaderAccept?: 'application/json';
|
|
@@ -1127,8 +1218,10 @@ declare class UserService extends BaseService {
|
|
|
1127
1218
|
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
1128
1219
|
/**
|
|
1129
1220
|
* Get current user information
|
|
1221
|
+
* @endpoint get /myseko/users/me
|
|
1130
1222
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1131
1223
|
* @param reportProgress flag to report request and response progress.
|
|
1224
|
+
* @param options additional options
|
|
1132
1225
|
*/
|
|
1133
1226
|
getUser(observe?: 'body', reportProgress?: boolean, options?: {
|
|
1134
1227
|
httpHeaderAccept?: 'application/json';
|
|
@@ -1154,8 +1247,10 @@ declare class UsergroupService extends BaseService {
|
|
|
1154
1247
|
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
1155
1248
|
/**
|
|
1156
1249
|
* Get user group for current user
|
|
1250
|
+
* @endpoint get /myseko/users/me/group
|
|
1157
1251
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1158
1252
|
* @param reportProgress flag to report request and response progress.
|
|
1253
|
+
* @param options additional options
|
|
1159
1254
|
*/
|
|
1160
1255
|
getUserGroup(observe?: 'body', reportProgress?: boolean, options?: {
|
|
1161
1256
|
httpHeaderAccept?: 'application/json';
|
|
@@ -1174,9 +1269,11 @@ declare class UsergroupService extends BaseService {
|
|
|
1174
1269
|
}): Observable<HttpEvent<RegGroup>>;
|
|
1175
1270
|
/**
|
|
1176
1271
|
* Set user group for current user
|
|
1272
|
+
* @endpoint patch /myseko/users/me/group
|
|
1177
1273
|
* @param regGroupID
|
|
1178
1274
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1179
1275
|
* @param reportProgress flag to report request and response progress.
|
|
1276
|
+
* @param options additional options
|
|
1180
1277
|
*/
|
|
1181
1278
|
setUserGroup(regGroupID: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1182
1279
|
httpHeaderAccept?: undefined;
|