@indigina/myseko-api 0.0.11 → 0.0.13
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-myseko-api.mjs +525 -8
- package/fesm2022/indigina-myseko-api.mjs.map +1 -1
- package/index.d.ts +644 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @indigina/myseko-api@0.0.
|
|
1
|
+
# @indigina/myseko-api@0.0.13
|
|
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.13 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -261,9 +261,7 @@ class AuthService extends BaseService {
|
|
|
261
261
|
}
|
|
262
262
|
userLogin(observe = 'body', reportProgress = false, options) {
|
|
263
263
|
let localVarHeaders = this.defaultHeaders;
|
|
264
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
265
|
-
'application/json'
|
|
266
|
-
]);
|
|
264
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
267
265
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
268
266
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
269
267
|
}
|
|
@@ -310,6 +308,303 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
310
308
|
type: Optional
|
|
311
309
|
}] }] });
|
|
312
310
|
|
|
311
|
+
/**
|
|
312
|
+
* MySeko.API.Client
|
|
313
|
+
*
|
|
314
|
+
*
|
|
315
|
+
*
|
|
316
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
317
|
+
* https://openapi-generator.tech
|
|
318
|
+
* Do not edit the class manually.
|
|
319
|
+
*/
|
|
320
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
321
|
+
class CalendarService extends BaseService {
|
|
322
|
+
httpClient;
|
|
323
|
+
constructor(httpClient, basePath, configuration) {
|
|
324
|
+
super(basePath, configuration);
|
|
325
|
+
this.httpClient = httpClient;
|
|
326
|
+
}
|
|
327
|
+
getShipmentCalendarDay(date, viewBy, $filter, $orderby, $select, $expand, $top, $skip, observe = 'body', reportProgress = false, options) {
|
|
328
|
+
if (date === null || date === undefined) {
|
|
329
|
+
throw new Error('Required parameter date was null or undefined when calling getShipmentCalendarDay.');
|
|
330
|
+
}
|
|
331
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
332
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, viewBy, 'viewBy');
|
|
333
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
334
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
335
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $select, '$select');
|
|
336
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $expand, '$expand');
|
|
337
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
338
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
339
|
+
let localVarHeaders = this.defaultHeaders;
|
|
340
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
341
|
+
'application/json'
|
|
342
|
+
]);
|
|
343
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
344
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
345
|
+
}
|
|
346
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
347
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
348
|
+
let responseType_ = 'json';
|
|
349
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
350
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
351
|
+
responseType_ = 'text';
|
|
352
|
+
}
|
|
353
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
354
|
+
responseType_ = 'json';
|
|
355
|
+
}
|
|
356
|
+
else {
|
|
357
|
+
responseType_ = 'blob';
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
let localVarPath = `/myseko/shipments/calendar/day/${this.configuration.encodeParam({ name: "date", value: date, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "date" })}`;
|
|
361
|
+
const { basePath, withCredentials } = this.configuration;
|
|
362
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
363
|
+
context: localVarHttpContext,
|
|
364
|
+
params: localVarQueryParameters,
|
|
365
|
+
responseType: responseType_,
|
|
366
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
367
|
+
headers: localVarHeaders,
|
|
368
|
+
observe: observe,
|
|
369
|
+
transferCache: localVarTransferCache,
|
|
370
|
+
reportProgress: reportProgress
|
|
371
|
+
});
|
|
372
|
+
}
|
|
373
|
+
getShipmentCalendarDayShort(date, viewBy, $filter, $orderby, $select, $expand, $top, $skip, observe = 'body', reportProgress = false, options) {
|
|
374
|
+
if (date === null || date === undefined) {
|
|
375
|
+
throw new Error('Required parameter date was null or undefined when calling getShipmentCalendarDayShort.');
|
|
376
|
+
}
|
|
377
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
378
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, viewBy, 'viewBy');
|
|
379
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
380
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
381
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $select, '$select');
|
|
382
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $expand, '$expand');
|
|
383
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
384
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
385
|
+
let localVarHeaders = this.defaultHeaders;
|
|
386
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
387
|
+
'application/json'
|
|
388
|
+
]);
|
|
389
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
390
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
391
|
+
}
|
|
392
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
393
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
394
|
+
let responseType_ = 'json';
|
|
395
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
396
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
397
|
+
responseType_ = 'text';
|
|
398
|
+
}
|
|
399
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
400
|
+
responseType_ = 'json';
|
|
401
|
+
}
|
|
402
|
+
else {
|
|
403
|
+
responseType_ = 'blob';
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
let localVarPath = `/myseko/shipments/calendar/${this.configuration.encodeParam({ name: "date", value: date, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "date" })}`;
|
|
407
|
+
const { basePath, withCredentials } = this.configuration;
|
|
408
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
409
|
+
context: localVarHttpContext,
|
|
410
|
+
params: localVarQueryParameters,
|
|
411
|
+
responseType: responseType_,
|
|
412
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
413
|
+
headers: localVarHeaders,
|
|
414
|
+
observe: observe,
|
|
415
|
+
transferCache: localVarTransferCache,
|
|
416
|
+
reportProgress: reportProgress
|
|
417
|
+
});
|
|
418
|
+
}
|
|
419
|
+
getShipmentCalendarMonth(year, month, viewBy, observe = 'body', reportProgress = false, options) {
|
|
420
|
+
if (year === null || year === undefined) {
|
|
421
|
+
throw new Error('Required parameter year was null or undefined when calling getShipmentCalendarMonth.');
|
|
422
|
+
}
|
|
423
|
+
if (month === null || month === undefined) {
|
|
424
|
+
throw new Error('Required parameter month was null or undefined when calling getShipmentCalendarMonth.');
|
|
425
|
+
}
|
|
426
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
427
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, viewBy, 'viewBy');
|
|
428
|
+
let localVarHeaders = this.defaultHeaders;
|
|
429
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
430
|
+
'application/json'
|
|
431
|
+
]);
|
|
432
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
433
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
434
|
+
}
|
|
435
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
436
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
437
|
+
let responseType_ = 'json';
|
|
438
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
439
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
440
|
+
responseType_ = 'text';
|
|
441
|
+
}
|
|
442
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
443
|
+
responseType_ = 'json';
|
|
444
|
+
}
|
|
445
|
+
else {
|
|
446
|
+
responseType_ = 'blob';
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
let localVarPath = `/myseko/shipments/calendar/month/${this.configuration.encodeParam({ name: "year", value: year, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/${this.configuration.encodeParam({ name: "month", value: month, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
450
|
+
const { basePath, withCredentials } = this.configuration;
|
|
451
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
452
|
+
context: localVarHttpContext,
|
|
453
|
+
params: localVarQueryParameters,
|
|
454
|
+
responseType: responseType_,
|
|
455
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
456
|
+
headers: localVarHeaders,
|
|
457
|
+
observe: observe,
|
|
458
|
+
transferCache: localVarTransferCache,
|
|
459
|
+
reportProgress: reportProgress
|
|
460
|
+
});
|
|
461
|
+
}
|
|
462
|
+
getShipmentCalendarMonthShort(year, month, viewBy, observe = 'body', reportProgress = false, options) {
|
|
463
|
+
if (year === null || year === undefined) {
|
|
464
|
+
throw new Error('Required parameter year was null or undefined when calling getShipmentCalendarMonthShort.');
|
|
465
|
+
}
|
|
466
|
+
if (month === null || month === undefined) {
|
|
467
|
+
throw new Error('Required parameter month was null or undefined when calling getShipmentCalendarMonthShort.');
|
|
468
|
+
}
|
|
469
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
470
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, viewBy, 'viewBy');
|
|
471
|
+
let localVarHeaders = this.defaultHeaders;
|
|
472
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
473
|
+
'application/json'
|
|
474
|
+
]);
|
|
475
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
476
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
477
|
+
}
|
|
478
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
479
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
480
|
+
let responseType_ = 'json';
|
|
481
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
482
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
483
|
+
responseType_ = 'text';
|
|
484
|
+
}
|
|
485
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
486
|
+
responseType_ = 'json';
|
|
487
|
+
}
|
|
488
|
+
else {
|
|
489
|
+
responseType_ = 'blob';
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
let localVarPath = `/myseko/shipments/calendar/${this.configuration.encodeParam({ name: "year", value: year, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/${this.configuration.encodeParam({ name: "month", value: month, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
493
|
+
const { basePath, withCredentials } = this.configuration;
|
|
494
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
495
|
+
context: localVarHttpContext,
|
|
496
|
+
params: localVarQueryParameters,
|
|
497
|
+
responseType: responseType_,
|
|
498
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
499
|
+
headers: localVarHeaders,
|
|
500
|
+
observe: observe,
|
|
501
|
+
transferCache: localVarTransferCache,
|
|
502
|
+
reportProgress: reportProgress
|
|
503
|
+
});
|
|
504
|
+
}
|
|
505
|
+
getShipmentCalendarRange(startDate, endDate, viewBy, observe = 'body', reportProgress = false, options) {
|
|
506
|
+
if (startDate === null || startDate === undefined) {
|
|
507
|
+
throw new Error('Required parameter startDate was null or undefined when calling getShipmentCalendarRange.');
|
|
508
|
+
}
|
|
509
|
+
if (endDate === null || endDate === undefined) {
|
|
510
|
+
throw new Error('Required parameter endDate was null or undefined when calling getShipmentCalendarRange.');
|
|
511
|
+
}
|
|
512
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
513
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, viewBy, 'viewBy');
|
|
514
|
+
let localVarHeaders = this.defaultHeaders;
|
|
515
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
516
|
+
'application/json'
|
|
517
|
+
]);
|
|
518
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
519
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
520
|
+
}
|
|
521
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
522
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
523
|
+
let responseType_ = 'json';
|
|
524
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
525
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
526
|
+
responseType_ = 'text';
|
|
527
|
+
}
|
|
528
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
529
|
+
responseType_ = 'json';
|
|
530
|
+
}
|
|
531
|
+
else {
|
|
532
|
+
responseType_ = 'blob';
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
let localVarPath = `/myseko/shipments/calendar/range/${this.configuration.encodeParam({ name: "startDate", value: startDate, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "date" })}/${this.configuration.encodeParam({ name: "endDate", value: endDate, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "date" })}`;
|
|
536
|
+
const { basePath, withCredentials } = this.configuration;
|
|
537
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
538
|
+
context: localVarHttpContext,
|
|
539
|
+
params: localVarQueryParameters,
|
|
540
|
+
responseType: responseType_,
|
|
541
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
542
|
+
headers: localVarHeaders,
|
|
543
|
+
observe: observe,
|
|
544
|
+
transferCache: localVarTransferCache,
|
|
545
|
+
reportProgress: reportProgress
|
|
546
|
+
});
|
|
547
|
+
}
|
|
548
|
+
getShipmentCalendarRangeShort(startDate, endDate, viewBy, observe = 'body', reportProgress = false, options) {
|
|
549
|
+
if (startDate === null || startDate === undefined) {
|
|
550
|
+
throw new Error('Required parameter startDate was null or undefined when calling getShipmentCalendarRangeShort.');
|
|
551
|
+
}
|
|
552
|
+
if (endDate === null || endDate === undefined) {
|
|
553
|
+
throw new Error('Required parameter endDate was null or undefined when calling getShipmentCalendarRangeShort.');
|
|
554
|
+
}
|
|
555
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
556
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, viewBy, 'viewBy');
|
|
557
|
+
let localVarHeaders = this.defaultHeaders;
|
|
558
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
559
|
+
'application/json'
|
|
560
|
+
]);
|
|
561
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
562
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
563
|
+
}
|
|
564
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
565
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
566
|
+
let responseType_ = 'json';
|
|
567
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
568
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
569
|
+
responseType_ = 'text';
|
|
570
|
+
}
|
|
571
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
572
|
+
responseType_ = 'json';
|
|
573
|
+
}
|
|
574
|
+
else {
|
|
575
|
+
responseType_ = 'blob';
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
let localVarPath = `/myseko/shipments/calendar/${this.configuration.encodeParam({ name: "startDate", value: startDate, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "date" })}/${this.configuration.encodeParam({ name: "endDate", value: endDate, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "date" })}`;
|
|
579
|
+
const { basePath, withCredentials } = this.configuration;
|
|
580
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
581
|
+
context: localVarHttpContext,
|
|
582
|
+
params: localVarQueryParameters,
|
|
583
|
+
responseType: responseType_,
|
|
584
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
585
|
+
headers: localVarHeaders,
|
|
586
|
+
observe: observe,
|
|
587
|
+
transferCache: localVarTransferCache,
|
|
588
|
+
reportProgress: reportProgress
|
|
589
|
+
});
|
|
590
|
+
}
|
|
591
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: CalendarService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
592
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: CalendarService, providedIn: 'root' });
|
|
593
|
+
}
|
|
594
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: CalendarService, decorators: [{
|
|
595
|
+
type: Injectable,
|
|
596
|
+
args: [{
|
|
597
|
+
providedIn: 'root'
|
|
598
|
+
}]
|
|
599
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
600
|
+
type: Optional
|
|
601
|
+
}, {
|
|
602
|
+
type: Inject,
|
|
603
|
+
args: [BASE_PATH]
|
|
604
|
+
}] }, { type: Configuration, decorators: [{
|
|
605
|
+
type: Optional
|
|
606
|
+
}] }] });
|
|
607
|
+
|
|
313
608
|
/**
|
|
314
609
|
* MySeko.API.Client
|
|
315
610
|
*
|
|
@@ -730,6 +1025,154 @@ class ShipmentService extends BaseService {
|
|
|
730
1025
|
super(basePath, configuration);
|
|
731
1026
|
this.httpClient = httpClient;
|
|
732
1027
|
}
|
|
1028
|
+
getShipmentPackageDetails(ordOrderID, observe = 'body', reportProgress = false, options) {
|
|
1029
|
+
if (ordOrderID === null || ordOrderID === undefined) {
|
|
1030
|
+
throw new Error('Required parameter ordOrderID was null or undefined when calling getShipmentPackageDetails.');
|
|
1031
|
+
}
|
|
1032
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1033
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1034
|
+
'application/json'
|
|
1035
|
+
]);
|
|
1036
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1037
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1038
|
+
}
|
|
1039
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1040
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1041
|
+
let responseType_ = 'json';
|
|
1042
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1043
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1044
|
+
responseType_ = 'text';
|
|
1045
|
+
}
|
|
1046
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1047
|
+
responseType_ = 'json';
|
|
1048
|
+
}
|
|
1049
|
+
else {
|
|
1050
|
+
responseType_ = 'blob';
|
|
1051
|
+
}
|
|
1052
|
+
}
|
|
1053
|
+
let localVarPath = `/myseko/shipments/${this.configuration.encodeParam({ name: "ordOrderID", value: ordOrderID, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/package-details`;
|
|
1054
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1055
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1056
|
+
context: localVarHttpContext,
|
|
1057
|
+
responseType: responseType_,
|
|
1058
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1059
|
+
headers: localVarHeaders,
|
|
1060
|
+
observe: observe,
|
|
1061
|
+
transferCache: localVarTransferCache,
|
|
1062
|
+
reportProgress: reportProgress
|
|
1063
|
+
});
|
|
1064
|
+
}
|
|
1065
|
+
getShipmentPurchaseOrderDetails(ordOrderID, observe = 'body', reportProgress = false, options) {
|
|
1066
|
+
if (ordOrderID === null || ordOrderID === undefined) {
|
|
1067
|
+
throw new Error('Required parameter ordOrderID was null or undefined when calling getShipmentPurchaseOrderDetails.');
|
|
1068
|
+
}
|
|
1069
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1070
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1071
|
+
'application/json'
|
|
1072
|
+
]);
|
|
1073
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1074
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1075
|
+
}
|
|
1076
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1077
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1078
|
+
let responseType_ = 'json';
|
|
1079
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1080
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1081
|
+
responseType_ = 'text';
|
|
1082
|
+
}
|
|
1083
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1084
|
+
responseType_ = 'json';
|
|
1085
|
+
}
|
|
1086
|
+
else {
|
|
1087
|
+
responseType_ = 'blob';
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
let localVarPath = `/myseko/shipments/${this.configuration.encodeParam({ name: "ordOrderID", value: ordOrderID, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/purchase-order-details`;
|
|
1091
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1092
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1093
|
+
context: localVarHttpContext,
|
|
1094
|
+
responseType: responseType_,
|
|
1095
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1096
|
+
headers: localVarHeaders,
|
|
1097
|
+
observe: observe,
|
|
1098
|
+
transferCache: localVarTransferCache,
|
|
1099
|
+
reportProgress: reportProgress
|
|
1100
|
+
});
|
|
1101
|
+
}
|
|
1102
|
+
getShipmentSummary(ordOrderID, observe = 'body', reportProgress = false, options) {
|
|
1103
|
+
if (ordOrderID === null || ordOrderID === undefined) {
|
|
1104
|
+
throw new Error('Required parameter ordOrderID was null or undefined when calling getShipmentSummary.');
|
|
1105
|
+
}
|
|
1106
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1107
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1108
|
+
'application/json'
|
|
1109
|
+
]);
|
|
1110
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1111
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1112
|
+
}
|
|
1113
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1114
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1115
|
+
let responseType_ = 'json';
|
|
1116
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1117
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1118
|
+
responseType_ = 'text';
|
|
1119
|
+
}
|
|
1120
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1121
|
+
responseType_ = 'json';
|
|
1122
|
+
}
|
|
1123
|
+
else {
|
|
1124
|
+
responseType_ = 'blob';
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1127
|
+
let localVarPath = `/myseko/shipments/${this.configuration.encodeParam({ name: "ordOrderID", value: ordOrderID, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/summary`;
|
|
1128
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1129
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1130
|
+
context: localVarHttpContext,
|
|
1131
|
+
responseType: responseType_,
|
|
1132
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1133
|
+
headers: localVarHeaders,
|
|
1134
|
+
observe: observe,
|
|
1135
|
+
transferCache: localVarTransferCache,
|
|
1136
|
+
reportProgress: reportProgress
|
|
1137
|
+
});
|
|
1138
|
+
}
|
|
1139
|
+
getShipmentTimeline(ordOrderID, observe = 'body', reportProgress = false, options) {
|
|
1140
|
+
if (ordOrderID === null || ordOrderID === undefined) {
|
|
1141
|
+
throw new Error('Required parameter ordOrderID was null or undefined when calling getShipmentTimeline.');
|
|
1142
|
+
}
|
|
1143
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1144
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1145
|
+
'application/json'
|
|
1146
|
+
]);
|
|
1147
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1148
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1149
|
+
}
|
|
1150
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1151
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1152
|
+
let responseType_ = 'json';
|
|
1153
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1154
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1155
|
+
responseType_ = 'text';
|
|
1156
|
+
}
|
|
1157
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1158
|
+
responseType_ = 'json';
|
|
1159
|
+
}
|
|
1160
|
+
else {
|
|
1161
|
+
responseType_ = 'blob';
|
|
1162
|
+
}
|
|
1163
|
+
}
|
|
1164
|
+
let localVarPath = `/myseko/shipments/${this.configuration.encodeParam({ name: "ordOrderID", value: ordOrderID, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/timeline`;
|
|
1165
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1166
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1167
|
+
context: localVarHttpContext,
|
|
1168
|
+
responseType: responseType_,
|
|
1169
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1170
|
+
headers: localVarHeaders,
|
|
1171
|
+
observe: observe,
|
|
1172
|
+
transferCache: localVarTransferCache,
|
|
1173
|
+
reportProgress: reportProgress
|
|
1174
|
+
});
|
|
1175
|
+
}
|
|
733
1176
|
getShipments($skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
|
|
734
1177
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
735
1178
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
@@ -952,9 +1395,7 @@ class UsergroupService extends BaseService {
|
|
|
952
1395
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
953
1396
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, regGroupID, 'regGroupID');
|
|
954
1397
|
let localVarHeaders = this.defaultHeaders;
|
|
955
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
956
|
-
'application/json'
|
|
957
|
-
]);
|
|
1398
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
958
1399
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
959
1400
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
960
1401
|
}
|
|
@@ -1002,7 +1443,83 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
1002
1443
|
type: Optional
|
|
1003
1444
|
}] }] });
|
|
1004
1445
|
|
|
1005
|
-
const APIS = [AuthService, DashboardService, HealthService, SettingsService, ShipmentService, UserService, UsergroupService];
|
|
1446
|
+
const APIS = [AuthService, CalendarService, DashboardService, HealthService, SettingsService, ShipmentService, UserService, UsergroupService];
|
|
1447
|
+
|
|
1448
|
+
/**
|
|
1449
|
+
* MySeko.API.Client
|
|
1450
|
+
*
|
|
1451
|
+
*
|
|
1452
|
+
*
|
|
1453
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1454
|
+
* https://openapi-generator.tech
|
|
1455
|
+
* Do not edit the class manually.
|
|
1456
|
+
*/
|
|
1457
|
+
|
|
1458
|
+
/**
|
|
1459
|
+
* MySeko.API.Client
|
|
1460
|
+
*
|
|
1461
|
+
*
|
|
1462
|
+
*
|
|
1463
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1464
|
+
* https://openapi-generator.tech
|
|
1465
|
+
* Do not edit the class manually.
|
|
1466
|
+
*/
|
|
1467
|
+
|
|
1468
|
+
/**
|
|
1469
|
+
* MySeko.API.Client
|
|
1470
|
+
*
|
|
1471
|
+
*
|
|
1472
|
+
*
|
|
1473
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1474
|
+
* https://openapi-generator.tech
|
|
1475
|
+
* Do not edit the class manually.
|
|
1476
|
+
*/
|
|
1477
|
+
const CalendarViewBy = {
|
|
1478
|
+
Due: 'due',
|
|
1479
|
+
Pickup: 'pickup',
|
|
1480
|
+
Pod: 'pod',
|
|
1481
|
+
Created: 'created'
|
|
1482
|
+
};
|
|
1483
|
+
|
|
1484
|
+
/**
|
|
1485
|
+
* MySeko.API.Client
|
|
1486
|
+
*
|
|
1487
|
+
*
|
|
1488
|
+
*
|
|
1489
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1490
|
+
* https://openapi-generator.tech
|
|
1491
|
+
* Do not edit the class manually.
|
|
1492
|
+
*/
|
|
1493
|
+
|
|
1494
|
+
/**
|
|
1495
|
+
* MySeko.API.Client
|
|
1496
|
+
*
|
|
1497
|
+
*
|
|
1498
|
+
*
|
|
1499
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1500
|
+
* https://openapi-generator.tech
|
|
1501
|
+
* Do not edit the class manually.
|
|
1502
|
+
*/
|
|
1503
|
+
|
|
1504
|
+
/**
|
|
1505
|
+
* MySeko.API.Client
|
|
1506
|
+
*
|
|
1507
|
+
*
|
|
1508
|
+
*
|
|
1509
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1510
|
+
* https://openapi-generator.tech
|
|
1511
|
+
* Do not edit the class manually.
|
|
1512
|
+
*/
|
|
1513
|
+
|
|
1514
|
+
/**
|
|
1515
|
+
* MySeko.API.Client
|
|
1516
|
+
*
|
|
1517
|
+
*
|
|
1518
|
+
*
|
|
1519
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1520
|
+
* https://openapi-generator.tech
|
|
1521
|
+
* Do not edit the class manually.
|
|
1522
|
+
*/
|
|
1006
1523
|
|
|
1007
1524
|
/**
|
|
1008
1525
|
* MySeko.API.Client
|
|
@@ -1136,5 +1653,5 @@ function provideApi(configOrBasePath) {
|
|
|
1136
1653
|
* Generated bundle index. Do not edit.
|
|
1137
1654
|
*/
|
|
1138
1655
|
|
|
1139
|
-
export { APIS, ApiModule, AuthService, BASE_PATH, COLLECTION_FORMATS, Configuration, DashboardService, HealthService, SettingsService, ShipmentService, UserService, UsergroupService, provideApi };
|
|
1656
|
+
export { APIS, ApiModule, AuthService, BASE_PATH, COLLECTION_FORMATS, CalendarService, CalendarViewBy, Configuration, DashboardService, HealthService, SettingsService, ShipmentService, UserService, UsergroupService, provideApi };
|
|
1140
1657
|
//# sourceMappingURL=indigina-myseko-api.mjs.map
|