@indigina/myseko-api 0.0.7 → 0.0.9
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 +401 -2
- package/fesm2022/indigina-myseko-api.mjs.map +1 -1
- package/index.d.ts +530 -12
- 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.9
|
|
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.9 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -445,6 +445,275 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
445
445
|
type: Optional
|
|
446
446
|
}] }] });
|
|
447
447
|
|
|
448
|
+
/**
|
|
449
|
+
* MySeko.API.Client
|
|
450
|
+
*
|
|
451
|
+
*
|
|
452
|
+
*
|
|
453
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
454
|
+
* https://openapi-generator.tech
|
|
455
|
+
* Do not edit the class manually.
|
|
456
|
+
*/
|
|
457
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
458
|
+
class SettingsService extends BaseService {
|
|
459
|
+
httpClient;
|
|
460
|
+
constructor(httpClient, basePath, configuration) {
|
|
461
|
+
super(basePath, configuration);
|
|
462
|
+
this.httpClient = httpClient;
|
|
463
|
+
}
|
|
464
|
+
deleteSettingByGroupAndKey(key, group, observe = 'body', reportProgress = false, options) {
|
|
465
|
+
if (key === null || key === undefined) {
|
|
466
|
+
throw new Error('Required parameter key was null or undefined when calling deleteSettingByGroupAndKey.');
|
|
467
|
+
}
|
|
468
|
+
if (group === null || group === undefined) {
|
|
469
|
+
throw new Error('Required parameter group was null or undefined when calling deleteSettingByGroupAndKey.');
|
|
470
|
+
}
|
|
471
|
+
let localVarHeaders = this.defaultHeaders;
|
|
472
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
473
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
474
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
475
|
+
}
|
|
476
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
477
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
478
|
+
let responseType_ = 'json';
|
|
479
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
480
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
481
|
+
responseType_ = 'text';
|
|
482
|
+
}
|
|
483
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
484
|
+
responseType_ = 'json';
|
|
485
|
+
}
|
|
486
|
+
else {
|
|
487
|
+
responseType_ = 'blob';
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
let localVarPath = `/users/me/settings/groups/${this.configuration.encodeParam({ name: "group", value: group, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/${this.configuration.encodeParam({ name: "key", value: key, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
491
|
+
const { basePath, withCredentials } = this.configuration;
|
|
492
|
+
return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
|
|
493
|
+
context: localVarHttpContext,
|
|
494
|
+
responseType: responseType_,
|
|
495
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
496
|
+
headers: localVarHeaders,
|
|
497
|
+
observe: observe,
|
|
498
|
+
transferCache: localVarTransferCache,
|
|
499
|
+
reportProgress: reportProgress
|
|
500
|
+
});
|
|
501
|
+
}
|
|
502
|
+
deleteSettingByKey(key, observe = 'body', reportProgress = false, options) {
|
|
503
|
+
if (key === null || key === undefined) {
|
|
504
|
+
throw new Error('Required parameter key was null or undefined when calling deleteSettingByKey.');
|
|
505
|
+
}
|
|
506
|
+
let localVarHeaders = this.defaultHeaders;
|
|
507
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
508
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
509
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
510
|
+
}
|
|
511
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
512
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
513
|
+
let responseType_ = 'json';
|
|
514
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
515
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
516
|
+
responseType_ = 'text';
|
|
517
|
+
}
|
|
518
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
519
|
+
responseType_ = 'json';
|
|
520
|
+
}
|
|
521
|
+
else {
|
|
522
|
+
responseType_ = 'blob';
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
let localVarPath = `/users/me/settings/${this.configuration.encodeParam({ name: "key", value: key, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
526
|
+
const { basePath, withCredentials } = this.configuration;
|
|
527
|
+
return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
|
|
528
|
+
context: localVarHttpContext,
|
|
529
|
+
responseType: responseType_,
|
|
530
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
531
|
+
headers: localVarHeaders,
|
|
532
|
+
observe: observe,
|
|
533
|
+
transferCache: localVarTransferCache,
|
|
534
|
+
reportProgress: reportProgress
|
|
535
|
+
});
|
|
536
|
+
}
|
|
537
|
+
getSettingByGroupAndKey(key, group, observe = 'body', reportProgress = false, options) {
|
|
538
|
+
if (key === null || key === undefined) {
|
|
539
|
+
throw new Error('Required parameter key was null or undefined when calling getSettingByGroupAndKey.');
|
|
540
|
+
}
|
|
541
|
+
if (group === null || group === undefined) {
|
|
542
|
+
throw new Error('Required parameter group was null or undefined when calling getSettingByGroupAndKey.');
|
|
543
|
+
}
|
|
544
|
+
let localVarHeaders = this.defaultHeaders;
|
|
545
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
546
|
+
'application/json'
|
|
547
|
+
]);
|
|
548
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
549
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
550
|
+
}
|
|
551
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
552
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
553
|
+
let responseType_ = 'json';
|
|
554
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
555
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
556
|
+
responseType_ = 'text';
|
|
557
|
+
}
|
|
558
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
559
|
+
responseType_ = 'json';
|
|
560
|
+
}
|
|
561
|
+
else {
|
|
562
|
+
responseType_ = 'blob';
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
let localVarPath = `/users/me/settings/groups/${this.configuration.encodeParam({ name: "group", value: group, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/${this.configuration.encodeParam({ name: "key", value: key, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
566
|
+
const { basePath, withCredentials } = this.configuration;
|
|
567
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
568
|
+
context: localVarHttpContext,
|
|
569
|
+
responseType: responseType_,
|
|
570
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
571
|
+
headers: localVarHeaders,
|
|
572
|
+
observe: observe,
|
|
573
|
+
transferCache: localVarTransferCache,
|
|
574
|
+
reportProgress: reportProgress
|
|
575
|
+
});
|
|
576
|
+
}
|
|
577
|
+
getSettingByKey(key, observe = 'body', reportProgress = false, options) {
|
|
578
|
+
if (key === null || key === undefined) {
|
|
579
|
+
throw new Error('Required parameter key was null or undefined when calling getSettingByKey.');
|
|
580
|
+
}
|
|
581
|
+
let localVarHeaders = this.defaultHeaders;
|
|
582
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
583
|
+
'application/json'
|
|
584
|
+
]);
|
|
585
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
586
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
587
|
+
}
|
|
588
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
589
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
590
|
+
let responseType_ = 'json';
|
|
591
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
592
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
593
|
+
responseType_ = 'text';
|
|
594
|
+
}
|
|
595
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
596
|
+
responseType_ = 'json';
|
|
597
|
+
}
|
|
598
|
+
else {
|
|
599
|
+
responseType_ = 'blob';
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
let localVarPath = `/users/me/settings/${this.configuration.encodeParam({ name: "key", value: key, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
603
|
+
const { basePath, withCredentials } = this.configuration;
|
|
604
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
605
|
+
context: localVarHttpContext,
|
|
606
|
+
responseType: responseType_,
|
|
607
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
608
|
+
headers: localVarHeaders,
|
|
609
|
+
observe: observe,
|
|
610
|
+
transferCache: localVarTransferCache,
|
|
611
|
+
reportProgress: reportProgress
|
|
612
|
+
});
|
|
613
|
+
}
|
|
614
|
+
getSettingsByGroup(group, observe = 'body', reportProgress = false, options) {
|
|
615
|
+
if (group === null || group === undefined) {
|
|
616
|
+
throw new Error('Required parameter group was null or undefined when calling getSettingsByGroup.');
|
|
617
|
+
}
|
|
618
|
+
let localVarHeaders = this.defaultHeaders;
|
|
619
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
620
|
+
'application/json'
|
|
621
|
+
]);
|
|
622
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
623
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
624
|
+
}
|
|
625
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
626
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
627
|
+
let responseType_ = 'json';
|
|
628
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
629
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
630
|
+
responseType_ = 'text';
|
|
631
|
+
}
|
|
632
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
633
|
+
responseType_ = 'json';
|
|
634
|
+
}
|
|
635
|
+
else {
|
|
636
|
+
responseType_ = 'blob';
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
let localVarPath = `/users/me/settings/groups/${this.configuration.encodeParam({ name: "group", value: group, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
640
|
+
const { basePath, withCredentials } = this.configuration;
|
|
641
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
642
|
+
context: localVarHttpContext,
|
|
643
|
+
responseType: responseType_,
|
|
644
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
645
|
+
headers: localVarHeaders,
|
|
646
|
+
observe: observe,
|
|
647
|
+
transferCache: localVarTransferCache,
|
|
648
|
+
reportProgress: reportProgress
|
|
649
|
+
});
|
|
650
|
+
}
|
|
651
|
+
setSettingByKey(key, settingValue, observe = 'body', reportProgress = false, options) {
|
|
652
|
+
if (key === null || key === undefined) {
|
|
653
|
+
throw new Error('Required parameter key was null or undefined when calling setSettingByKey.');
|
|
654
|
+
}
|
|
655
|
+
if (settingValue === null || settingValue === undefined) {
|
|
656
|
+
throw new Error('Required parameter settingValue was null or undefined when calling setSettingByKey.');
|
|
657
|
+
}
|
|
658
|
+
let localVarHeaders = this.defaultHeaders;
|
|
659
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
660
|
+
'application/json'
|
|
661
|
+
]);
|
|
662
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
663
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
664
|
+
}
|
|
665
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
666
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
667
|
+
// to determine the Content-Type header
|
|
668
|
+
const consumes = [
|
|
669
|
+
'application/json'
|
|
670
|
+
];
|
|
671
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
672
|
+
if (httpContentTypeSelected !== undefined) {
|
|
673
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
674
|
+
}
|
|
675
|
+
let responseType_ = 'json';
|
|
676
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
677
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
678
|
+
responseType_ = 'text';
|
|
679
|
+
}
|
|
680
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
681
|
+
responseType_ = 'json';
|
|
682
|
+
}
|
|
683
|
+
else {
|
|
684
|
+
responseType_ = 'blob';
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
let localVarPath = `/users/me/settings/${this.configuration.encodeParam({ name: "key", value: key, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
688
|
+
const { basePath, withCredentials } = this.configuration;
|
|
689
|
+
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
690
|
+
context: localVarHttpContext,
|
|
691
|
+
body: settingValue,
|
|
692
|
+
responseType: responseType_,
|
|
693
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
694
|
+
headers: localVarHeaders,
|
|
695
|
+
observe: observe,
|
|
696
|
+
transferCache: localVarTransferCache,
|
|
697
|
+
reportProgress: reportProgress
|
|
698
|
+
});
|
|
699
|
+
}
|
|
700
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: SettingsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
701
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: SettingsService, providedIn: 'root' });
|
|
702
|
+
}
|
|
703
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: SettingsService, decorators: [{
|
|
704
|
+
type: Injectable,
|
|
705
|
+
args: [{
|
|
706
|
+
providedIn: 'root'
|
|
707
|
+
}]
|
|
708
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
709
|
+
type: Optional
|
|
710
|
+
}, {
|
|
711
|
+
type: Inject,
|
|
712
|
+
args: [BASE_PATH]
|
|
713
|
+
}] }, { type: Configuration, decorators: [{
|
|
714
|
+
type: Optional
|
|
715
|
+
}] }] });
|
|
716
|
+
|
|
448
717
|
/**
|
|
449
718
|
* MySeko.API.Client
|
|
450
719
|
*
|
|
@@ -461,6 +730,46 @@ class ShipmentService extends BaseService {
|
|
|
461
730
|
super(basePath, configuration);
|
|
462
731
|
this.httpClient = httpClient;
|
|
463
732
|
}
|
|
733
|
+
getCombinedShipments($skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
|
|
734
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
735
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
736
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
737
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
738
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
739
|
+
let localVarHeaders = this.defaultHeaders;
|
|
740
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
741
|
+
'application/json'
|
|
742
|
+
]);
|
|
743
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
744
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
745
|
+
}
|
|
746
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
747
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
748
|
+
let responseType_ = 'json';
|
|
749
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
750
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
751
|
+
responseType_ = 'text';
|
|
752
|
+
}
|
|
753
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
754
|
+
responseType_ = 'json';
|
|
755
|
+
}
|
|
756
|
+
else {
|
|
757
|
+
responseType_ = 'blob';
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
let localVarPath = `/myseko/shipments/combined`;
|
|
761
|
+
const { basePath, withCredentials } = this.configuration;
|
|
762
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
763
|
+
context: localVarHttpContext,
|
|
764
|
+
params: localVarQueryParameters,
|
|
765
|
+
responseType: responseType_,
|
|
766
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
767
|
+
headers: localVarHeaders,
|
|
768
|
+
observe: observe,
|
|
769
|
+
transferCache: localVarTransferCache,
|
|
770
|
+
reportProgress: reportProgress
|
|
771
|
+
});
|
|
772
|
+
}
|
|
464
773
|
getDomesticShipments($skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
|
|
465
774
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
466
775
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
@@ -501,6 +810,46 @@ class ShipmentService extends BaseService {
|
|
|
501
810
|
reportProgress: reportProgress
|
|
502
811
|
});
|
|
503
812
|
}
|
|
813
|
+
getInternationalShipments($skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
|
|
814
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
815
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
816
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
817
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
818
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
819
|
+
let localVarHeaders = this.defaultHeaders;
|
|
820
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
821
|
+
'application/json'
|
|
822
|
+
]);
|
|
823
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
824
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
825
|
+
}
|
|
826
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
827
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
828
|
+
let responseType_ = 'json';
|
|
829
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
830
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
831
|
+
responseType_ = 'text';
|
|
832
|
+
}
|
|
833
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
834
|
+
responseType_ = 'json';
|
|
835
|
+
}
|
|
836
|
+
else {
|
|
837
|
+
responseType_ = 'blob';
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
let localVarPath = `/myseko/shipments/international`;
|
|
841
|
+
const { basePath, withCredentials } = this.configuration;
|
|
842
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
843
|
+
context: localVarHttpContext,
|
|
844
|
+
params: localVarQueryParameters,
|
|
845
|
+
responseType: responseType_,
|
|
846
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
847
|
+
headers: localVarHeaders,
|
|
848
|
+
observe: observe,
|
|
849
|
+
transferCache: localVarTransferCache,
|
|
850
|
+
reportProgress: reportProgress
|
|
851
|
+
});
|
|
852
|
+
}
|
|
504
853
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ShipmentService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
505
854
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ShipmentService, providedIn: 'root' });
|
|
506
855
|
}
|
|
@@ -692,7 +1041,57 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
692
1041
|
type: Optional
|
|
693
1042
|
}] }] });
|
|
694
1043
|
|
|
695
|
-
const APIS = [AuthService, DashboardService, HealthService, ShipmentService, UserService, UsergroupService];
|
|
1044
|
+
const APIS = [AuthService, DashboardService, HealthService, SettingsService, ShipmentService, UserService, UsergroupService];
|
|
1045
|
+
|
|
1046
|
+
/**
|
|
1047
|
+
* MySeko.API.Client
|
|
1048
|
+
*
|
|
1049
|
+
*
|
|
1050
|
+
*
|
|
1051
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1052
|
+
* https://openapi-generator.tech
|
|
1053
|
+
* Do not edit the class manually.
|
|
1054
|
+
*/
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* MySeko.API.Client
|
|
1058
|
+
*
|
|
1059
|
+
*
|
|
1060
|
+
*
|
|
1061
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1062
|
+
* https://openapi-generator.tech
|
|
1063
|
+
* Do not edit the class manually.
|
|
1064
|
+
*/
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* MySeko.API.Client
|
|
1068
|
+
*
|
|
1069
|
+
*
|
|
1070
|
+
*
|
|
1071
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1072
|
+
* https://openapi-generator.tech
|
|
1073
|
+
* Do not edit the class manually.
|
|
1074
|
+
*/
|
|
1075
|
+
|
|
1076
|
+
/**
|
|
1077
|
+
* MySeko.API.Client
|
|
1078
|
+
*
|
|
1079
|
+
*
|
|
1080
|
+
*
|
|
1081
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1082
|
+
* https://openapi-generator.tech
|
|
1083
|
+
* Do not edit the class manually.
|
|
1084
|
+
*/
|
|
1085
|
+
|
|
1086
|
+
/**
|
|
1087
|
+
* MySeko.API.Client
|
|
1088
|
+
*
|
|
1089
|
+
*
|
|
1090
|
+
*
|
|
1091
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1092
|
+
* https://openapi-generator.tech
|
|
1093
|
+
* Do not edit the class manually.
|
|
1094
|
+
*/
|
|
696
1095
|
|
|
697
1096
|
/**
|
|
698
1097
|
* MySeko.API.Client
|
|
@@ -806,5 +1205,5 @@ function provideApi(configOrBasePath) {
|
|
|
806
1205
|
* Generated bundle index. Do not edit.
|
|
807
1206
|
*/
|
|
808
1207
|
|
|
809
|
-
export { APIS, ApiModule, AuthService, BASE_PATH, COLLECTION_FORMATS, Configuration, DashboardService, HealthService, ShipmentService, UserService, UsergroupService, provideApi };
|
|
1208
|
+
export { APIS, ApiModule, AuthService, BASE_PATH, COLLECTION_FORMATS, Configuration, DashboardService, HealthService, SettingsService, ShipmentService, UserService, UsergroupService, provideApi };
|
|
810
1209
|
//# sourceMappingURL=indigina-myseko-api.mjs.map
|