@indigina/wms-api 0.0.74 → 0.0.76
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/api/api.d.ts +3 -3
- package/api/carrierProviderIntegrations.service.d.ts +42 -0
- package/api/dispatches.service.d.ts +98 -0
- package/fesm2022/indigina-wms-api.mjs +403 -332
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/model/carrierProviderIntegration.d.ts +15 -0
- package/model/carrierProviderIntegrations.d.ts +14 -0
- package/model/models.d.ts +2 -0
- package/package.json +1 -1
- package/api/dispatch.service.d.ts +0 -114
|
@@ -711,6 +711,155 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
711
711
|
type: Optional
|
|
712
712
|
}] }] });
|
|
713
713
|
|
|
714
|
+
/**
|
|
715
|
+
* Wms.API.Client
|
|
716
|
+
*
|
|
717
|
+
*
|
|
718
|
+
*
|
|
719
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
720
|
+
* https://openapi-generator.tech
|
|
721
|
+
* Do not edit the class manually.
|
|
722
|
+
*/
|
|
723
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
724
|
+
class CarrierProviderIntegrationsService {
|
|
725
|
+
httpClient;
|
|
726
|
+
basePath = 'http://localhost';
|
|
727
|
+
defaultHeaders = new HttpHeaders();
|
|
728
|
+
configuration = new Configuration();
|
|
729
|
+
encoder;
|
|
730
|
+
constructor(httpClient, basePath, configuration) {
|
|
731
|
+
this.httpClient = httpClient;
|
|
732
|
+
if (configuration) {
|
|
733
|
+
this.configuration = configuration;
|
|
734
|
+
}
|
|
735
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
736
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
737
|
+
if (firstBasePath != undefined) {
|
|
738
|
+
basePath = firstBasePath;
|
|
739
|
+
}
|
|
740
|
+
if (typeof basePath !== 'string') {
|
|
741
|
+
basePath = this.basePath;
|
|
742
|
+
}
|
|
743
|
+
this.configuration.basePath = basePath;
|
|
744
|
+
}
|
|
745
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
746
|
+
}
|
|
747
|
+
// @ts-ignore
|
|
748
|
+
addToHttpParams(httpParams, value, key) {
|
|
749
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
750
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
751
|
+
}
|
|
752
|
+
else {
|
|
753
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
754
|
+
}
|
|
755
|
+
return httpParams;
|
|
756
|
+
}
|
|
757
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
758
|
+
if (value == null) {
|
|
759
|
+
return httpParams;
|
|
760
|
+
}
|
|
761
|
+
if (typeof value === "object") {
|
|
762
|
+
if (Array.isArray(value)) {
|
|
763
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
764
|
+
}
|
|
765
|
+
else if (value instanceof Date) {
|
|
766
|
+
if (key != null) {
|
|
767
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
768
|
+
}
|
|
769
|
+
else {
|
|
770
|
+
throw Error("key may not be null if value is Date");
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
else {
|
|
774
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
else if (key != null) {
|
|
778
|
+
httpParams = httpParams.append(key, value);
|
|
779
|
+
}
|
|
780
|
+
else {
|
|
781
|
+
throw Error("key may not be null if value is not object or array");
|
|
782
|
+
}
|
|
783
|
+
return httpParams;
|
|
784
|
+
}
|
|
785
|
+
getCarrierProviderIntegrations($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
786
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
787
|
+
if ($skip !== undefined && $skip !== null) {
|
|
788
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
789
|
+
}
|
|
790
|
+
if ($top !== undefined && $top !== null) {
|
|
791
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
792
|
+
}
|
|
793
|
+
if ($orderby !== undefined && $orderby !== null) {
|
|
794
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
795
|
+
}
|
|
796
|
+
if ($filter !== undefined && $filter !== null) {
|
|
797
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
798
|
+
}
|
|
799
|
+
if ($search !== undefined && $search !== null) {
|
|
800
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
801
|
+
}
|
|
802
|
+
let localVarHeaders = this.defaultHeaders;
|
|
803
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
804
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
805
|
+
// to determine the Accept header
|
|
806
|
+
const httpHeaderAccepts = [
|
|
807
|
+
'application/json'
|
|
808
|
+
];
|
|
809
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
810
|
+
}
|
|
811
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
812
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
813
|
+
}
|
|
814
|
+
let localVarHttpContext = options && options.context;
|
|
815
|
+
if (localVarHttpContext === undefined) {
|
|
816
|
+
localVarHttpContext = new HttpContext();
|
|
817
|
+
}
|
|
818
|
+
let localVarTransferCache = options && options.transferCache;
|
|
819
|
+
if (localVarTransferCache === undefined) {
|
|
820
|
+
localVarTransferCache = true;
|
|
821
|
+
}
|
|
822
|
+
let responseType_ = 'json';
|
|
823
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
824
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
825
|
+
responseType_ = 'text';
|
|
826
|
+
}
|
|
827
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
828
|
+
responseType_ = 'json';
|
|
829
|
+
}
|
|
830
|
+
else {
|
|
831
|
+
responseType_ = 'blob';
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
let localVarPath = `/carrierProviderIntegrations`;
|
|
835
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
836
|
+
context: localVarHttpContext,
|
|
837
|
+
params: localVarQueryParameters,
|
|
838
|
+
responseType: responseType_,
|
|
839
|
+
withCredentials: this.configuration.withCredentials,
|
|
840
|
+
headers: localVarHeaders,
|
|
841
|
+
observe: observe,
|
|
842
|
+
transferCache: localVarTransferCache,
|
|
843
|
+
reportProgress: reportProgress
|
|
844
|
+
});
|
|
845
|
+
}
|
|
846
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: CarrierProviderIntegrationsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
847
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: CarrierProviderIntegrationsService, providedIn: 'root' });
|
|
848
|
+
}
|
|
849
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: CarrierProviderIntegrationsService, decorators: [{
|
|
850
|
+
type: Injectable,
|
|
851
|
+
args: [{
|
|
852
|
+
providedIn: 'root'
|
|
853
|
+
}]
|
|
854
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
855
|
+
type: Optional
|
|
856
|
+
}, {
|
|
857
|
+
type: Inject,
|
|
858
|
+
args: [BASE_PATH]
|
|
859
|
+
}] }, { type: Configuration, decorators: [{
|
|
860
|
+
type: Optional
|
|
861
|
+
}] }] });
|
|
862
|
+
|
|
714
863
|
/**
|
|
715
864
|
* Wms.API.Client
|
|
716
865
|
*
|
|
@@ -2363,332 +2512,13 @@ class DeliveryItemsService {
|
|
|
2363
2512
|
throw new Error('Required parameter id was null or undefined when calling setDeliveryItem.');
|
|
2364
2513
|
}
|
|
2365
2514
|
if (deliveryItem === null || deliveryItem === undefined) {
|
|
2366
|
-
throw new Error('Required parameter deliveryItem was null or undefined when calling setDeliveryItem.');
|
|
2367
|
-
}
|
|
2368
|
-
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
2369
|
-
if (propertiesToUpdate) {
|
|
2370
|
-
propertiesToUpdate.forEach((element) => {
|
|
2371
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, 'propertiesToUpdate');
|
|
2372
|
-
});
|
|
2373
|
-
}
|
|
2374
|
-
let localVarHeaders = this.defaultHeaders;
|
|
2375
|
-
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
2376
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
2377
|
-
// to determine the Accept header
|
|
2378
|
-
const httpHeaderAccepts = [
|
|
2379
|
-
'application/json'
|
|
2380
|
-
];
|
|
2381
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
2382
|
-
}
|
|
2383
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2384
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2385
|
-
}
|
|
2386
|
-
let localVarHttpContext = options && options.context;
|
|
2387
|
-
if (localVarHttpContext === undefined) {
|
|
2388
|
-
localVarHttpContext = new HttpContext();
|
|
2389
|
-
}
|
|
2390
|
-
let localVarTransferCache = options && options.transferCache;
|
|
2391
|
-
if (localVarTransferCache === undefined) {
|
|
2392
|
-
localVarTransferCache = true;
|
|
2393
|
-
}
|
|
2394
|
-
// to determine the Content-Type header
|
|
2395
|
-
const consumes = [
|
|
2396
|
-
'application/json'
|
|
2397
|
-
];
|
|
2398
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2399
|
-
if (httpContentTypeSelected !== undefined) {
|
|
2400
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
2401
|
-
}
|
|
2402
|
-
let responseType_ = 'json';
|
|
2403
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
2404
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2405
|
-
responseType_ = 'text';
|
|
2406
|
-
}
|
|
2407
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2408
|
-
responseType_ = 'json';
|
|
2409
|
-
}
|
|
2410
|
-
else {
|
|
2411
|
-
responseType_ = 'blob';
|
|
2412
|
-
}
|
|
2413
|
-
}
|
|
2414
|
-
let localVarPath = `/deliveryItems/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
2415
|
-
return this.httpClient.request('put', `${this.configuration.basePath}${localVarPath}`, {
|
|
2416
|
-
context: localVarHttpContext,
|
|
2417
|
-
body: deliveryItem,
|
|
2418
|
-
params: localVarQueryParameters,
|
|
2419
|
-
responseType: responseType_,
|
|
2420
|
-
withCredentials: this.configuration.withCredentials,
|
|
2421
|
-
headers: localVarHeaders,
|
|
2422
|
-
observe: observe,
|
|
2423
|
-
transferCache: localVarTransferCache,
|
|
2424
|
-
reportProgress: reportProgress
|
|
2425
|
-
});
|
|
2426
|
-
}
|
|
2427
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DeliveryItemsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2428
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DeliveryItemsService, providedIn: 'root' });
|
|
2429
|
-
}
|
|
2430
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DeliveryItemsService, decorators: [{
|
|
2431
|
-
type: Injectable,
|
|
2432
|
-
args: [{
|
|
2433
|
-
providedIn: 'root'
|
|
2434
|
-
}]
|
|
2435
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
2436
|
-
type: Optional
|
|
2437
|
-
}, {
|
|
2438
|
-
type: Inject,
|
|
2439
|
-
args: [BASE_PATH]
|
|
2440
|
-
}] }, { type: Configuration, decorators: [{
|
|
2441
|
-
type: Optional
|
|
2442
|
-
}] }] });
|
|
2443
|
-
|
|
2444
|
-
/**
|
|
2445
|
-
* Wms.API.Client
|
|
2446
|
-
*
|
|
2447
|
-
*
|
|
2448
|
-
*
|
|
2449
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2450
|
-
* https://openapi-generator.tech
|
|
2451
|
-
* Do not edit the class manually.
|
|
2452
|
-
*/
|
|
2453
|
-
/* tslint:disable:no-unused-variable member-ordering */
|
|
2454
|
-
class DispatchService {
|
|
2455
|
-
httpClient;
|
|
2456
|
-
basePath = 'http://localhost';
|
|
2457
|
-
defaultHeaders = new HttpHeaders();
|
|
2458
|
-
configuration = new Configuration();
|
|
2459
|
-
encoder;
|
|
2460
|
-
constructor(httpClient, basePath, configuration) {
|
|
2461
|
-
this.httpClient = httpClient;
|
|
2462
|
-
if (configuration) {
|
|
2463
|
-
this.configuration = configuration;
|
|
2464
|
-
}
|
|
2465
|
-
if (typeof this.configuration.basePath !== 'string') {
|
|
2466
|
-
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
2467
|
-
if (firstBasePath != undefined) {
|
|
2468
|
-
basePath = firstBasePath;
|
|
2469
|
-
}
|
|
2470
|
-
if (typeof basePath !== 'string') {
|
|
2471
|
-
basePath = this.basePath;
|
|
2472
|
-
}
|
|
2473
|
-
this.configuration.basePath = basePath;
|
|
2474
|
-
}
|
|
2475
|
-
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
2476
|
-
}
|
|
2477
|
-
// @ts-ignore
|
|
2478
|
-
addToHttpParams(httpParams, value, key) {
|
|
2479
|
-
if (typeof value === "object" && value instanceof Date === false) {
|
|
2480
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
2481
|
-
}
|
|
2482
|
-
else {
|
|
2483
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
2484
|
-
}
|
|
2485
|
-
return httpParams;
|
|
2486
|
-
}
|
|
2487
|
-
addToHttpParamsRecursive(httpParams, value, key) {
|
|
2488
|
-
if (value == null) {
|
|
2489
|
-
return httpParams;
|
|
2490
|
-
}
|
|
2491
|
-
if (typeof value === "object") {
|
|
2492
|
-
if (Array.isArray(value)) {
|
|
2493
|
-
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
2494
|
-
}
|
|
2495
|
-
else if (value instanceof Date) {
|
|
2496
|
-
if (key != null) {
|
|
2497
|
-
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
2498
|
-
}
|
|
2499
|
-
else {
|
|
2500
|
-
throw Error("key may not be null if value is Date");
|
|
2501
|
-
}
|
|
2502
|
-
}
|
|
2503
|
-
else {
|
|
2504
|
-
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
2505
|
-
}
|
|
2506
|
-
}
|
|
2507
|
-
else if (key != null) {
|
|
2508
|
-
httpParams = httpParams.append(key, value);
|
|
2509
|
-
}
|
|
2510
|
-
else {
|
|
2511
|
-
throw Error("key may not be null if value is not object or array");
|
|
2512
|
-
}
|
|
2513
|
-
return httpParams;
|
|
2514
|
-
}
|
|
2515
|
-
getDispatch(id, observe = 'body', reportProgress = false, options) {
|
|
2516
|
-
if (id === null || id === undefined) {
|
|
2517
|
-
throw new Error('Required parameter id was null or undefined when calling getDispatch.');
|
|
2518
|
-
}
|
|
2519
|
-
let localVarHeaders = this.defaultHeaders;
|
|
2520
|
-
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
2521
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
2522
|
-
// to determine the Accept header
|
|
2523
|
-
const httpHeaderAccepts = [
|
|
2524
|
-
'application/json'
|
|
2525
|
-
];
|
|
2526
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
2527
|
-
}
|
|
2528
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2529
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2530
|
-
}
|
|
2531
|
-
let localVarHttpContext = options && options.context;
|
|
2532
|
-
if (localVarHttpContext === undefined) {
|
|
2533
|
-
localVarHttpContext = new HttpContext();
|
|
2534
|
-
}
|
|
2535
|
-
let localVarTransferCache = options && options.transferCache;
|
|
2536
|
-
if (localVarTransferCache === undefined) {
|
|
2537
|
-
localVarTransferCache = true;
|
|
2538
|
-
}
|
|
2539
|
-
let responseType_ = 'json';
|
|
2540
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
2541
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2542
|
-
responseType_ = 'text';
|
|
2543
|
-
}
|
|
2544
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2545
|
-
responseType_ = 'json';
|
|
2546
|
-
}
|
|
2547
|
-
else {
|
|
2548
|
-
responseType_ = 'blob';
|
|
2549
|
-
}
|
|
2550
|
-
}
|
|
2551
|
-
let localVarPath = `/dispatches/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
2552
|
-
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
2553
|
-
context: localVarHttpContext,
|
|
2554
|
-
responseType: responseType_,
|
|
2555
|
-
withCredentials: this.configuration.withCredentials,
|
|
2556
|
-
headers: localVarHeaders,
|
|
2557
|
-
observe: observe,
|
|
2558
|
-
transferCache: localVarTransferCache,
|
|
2559
|
-
reportProgress: reportProgress
|
|
2560
|
-
});
|
|
2561
|
-
}
|
|
2562
|
-
getDispatchSummaryView(id, observe = 'body', reportProgress = false, options) {
|
|
2563
|
-
if (id === null || id === undefined) {
|
|
2564
|
-
throw new Error('Required parameter id was null or undefined when calling getDispatchSummaryView.');
|
|
2565
|
-
}
|
|
2566
|
-
let localVarHeaders = this.defaultHeaders;
|
|
2567
|
-
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
2568
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
2569
|
-
// to determine the Accept header
|
|
2570
|
-
const httpHeaderAccepts = [
|
|
2571
|
-
'application/json'
|
|
2572
|
-
];
|
|
2573
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
2574
|
-
}
|
|
2575
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2576
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2577
|
-
}
|
|
2578
|
-
let localVarHttpContext = options && options.context;
|
|
2579
|
-
if (localVarHttpContext === undefined) {
|
|
2580
|
-
localVarHttpContext = new HttpContext();
|
|
2581
|
-
}
|
|
2582
|
-
let localVarTransferCache = options && options.transferCache;
|
|
2583
|
-
if (localVarTransferCache === undefined) {
|
|
2584
|
-
localVarTransferCache = true;
|
|
2585
|
-
}
|
|
2586
|
-
let responseType_ = 'json';
|
|
2587
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
2588
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2589
|
-
responseType_ = 'text';
|
|
2590
|
-
}
|
|
2591
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2592
|
-
responseType_ = 'json';
|
|
2593
|
-
}
|
|
2594
|
-
else {
|
|
2595
|
-
responseType_ = 'blob';
|
|
2596
|
-
}
|
|
2597
|
-
}
|
|
2598
|
-
let localVarPath = `/dispatches/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/summary`;
|
|
2599
|
-
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
2600
|
-
context: localVarHttpContext,
|
|
2601
|
-
responseType: responseType_,
|
|
2602
|
-
withCredentials: this.configuration.withCredentials,
|
|
2603
|
-
headers: localVarHeaders,
|
|
2604
|
-
observe: observe,
|
|
2605
|
-
transferCache: localVarTransferCache,
|
|
2606
|
-
reportProgress: reportProgress
|
|
2607
|
-
});
|
|
2608
|
-
}
|
|
2609
|
-
getDispatchesByOrderStatus(orderStatus, $skip, $top, $orderby, $filter, $search, tabName, observe = 'body', reportProgress = false, options) {
|
|
2610
|
-
if (orderStatus === null || orderStatus === undefined) {
|
|
2611
|
-
throw new Error('Required parameter orderStatus was null or undefined when calling getDispatchesByOrderStatus.');
|
|
2612
|
-
}
|
|
2613
|
-
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
2614
|
-
if ($skip !== undefined && $skip !== null) {
|
|
2615
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
2616
|
-
}
|
|
2617
|
-
if ($top !== undefined && $top !== null) {
|
|
2618
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
2619
|
-
}
|
|
2620
|
-
if ($orderby !== undefined && $orderby !== null) {
|
|
2621
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
2622
|
-
}
|
|
2623
|
-
if ($filter !== undefined && $filter !== null) {
|
|
2624
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
2625
|
-
}
|
|
2626
|
-
if ($search !== undefined && $search !== null) {
|
|
2627
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
2628
|
-
}
|
|
2629
|
-
if (tabName !== undefined && tabName !== null) {
|
|
2630
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, tabName, 'tabName');
|
|
2631
|
-
}
|
|
2632
|
-
let localVarHeaders = this.defaultHeaders;
|
|
2633
|
-
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
2634
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
2635
|
-
// to determine the Accept header
|
|
2636
|
-
const httpHeaderAccepts = [
|
|
2637
|
-
'application/json'
|
|
2638
|
-
];
|
|
2639
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
2640
|
-
}
|
|
2641
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2642
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2643
|
-
}
|
|
2644
|
-
let localVarHttpContext = options && options.context;
|
|
2645
|
-
if (localVarHttpContext === undefined) {
|
|
2646
|
-
localVarHttpContext = new HttpContext();
|
|
2647
|
-
}
|
|
2648
|
-
let localVarTransferCache = options && options.transferCache;
|
|
2649
|
-
if (localVarTransferCache === undefined) {
|
|
2650
|
-
localVarTransferCache = true;
|
|
2651
|
-
}
|
|
2652
|
-
let responseType_ = 'json';
|
|
2653
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
2654
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2655
|
-
responseType_ = 'text';
|
|
2656
|
-
}
|
|
2657
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2658
|
-
responseType_ = 'json';
|
|
2659
|
-
}
|
|
2660
|
-
else {
|
|
2661
|
-
responseType_ = 'blob';
|
|
2662
|
-
}
|
|
2663
|
-
}
|
|
2664
|
-
let localVarPath = `/dispatches/${this.configuration.encodeParam({ name: "orderStatus", value: orderStatus, in: "path", style: "simple", explode: false, dataType: "OrderStatus", dataFormat: undefined })}`;
|
|
2665
|
-
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
2666
|
-
context: localVarHttpContext,
|
|
2667
|
-
params: localVarQueryParameters,
|
|
2668
|
-
responseType: responseType_,
|
|
2669
|
-
withCredentials: this.configuration.withCredentials,
|
|
2670
|
-
headers: localVarHeaders,
|
|
2671
|
-
observe: observe,
|
|
2672
|
-
transferCache: localVarTransferCache,
|
|
2673
|
-
reportProgress: reportProgress
|
|
2674
|
-
});
|
|
2675
|
-
}
|
|
2676
|
-
getDispatchesFromIndex($skip, $top, $orderby, $filter, searchTerm, observe = 'body', reportProgress = false, options) {
|
|
2677
|
-
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
2678
|
-
if ($skip !== undefined && $skip !== null) {
|
|
2679
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
2680
|
-
}
|
|
2681
|
-
if ($top !== undefined && $top !== null) {
|
|
2682
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
2683
|
-
}
|
|
2684
|
-
if ($orderby !== undefined && $orderby !== null) {
|
|
2685
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
2686
|
-
}
|
|
2687
|
-
if ($filter !== undefined && $filter !== null) {
|
|
2688
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
2515
|
+
throw new Error('Required parameter deliveryItem was null or undefined when calling setDeliveryItem.');
|
|
2689
2516
|
}
|
|
2690
|
-
|
|
2691
|
-
|
|
2517
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
2518
|
+
if (propertiesToUpdate) {
|
|
2519
|
+
propertiesToUpdate.forEach((element) => {
|
|
2520
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, 'propertiesToUpdate');
|
|
2521
|
+
});
|
|
2692
2522
|
}
|
|
2693
2523
|
let localVarHeaders = this.defaultHeaders;
|
|
2694
2524
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
@@ -2710,6 +2540,14 @@ class DispatchService {
|
|
|
2710
2540
|
if (localVarTransferCache === undefined) {
|
|
2711
2541
|
localVarTransferCache = true;
|
|
2712
2542
|
}
|
|
2543
|
+
// to determine the Content-Type header
|
|
2544
|
+
const consumes = [
|
|
2545
|
+
'application/json'
|
|
2546
|
+
];
|
|
2547
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2548
|
+
if (httpContentTypeSelected !== undefined) {
|
|
2549
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
2550
|
+
}
|
|
2713
2551
|
let responseType_ = 'json';
|
|
2714
2552
|
if (localVarHttpHeaderAcceptSelected) {
|
|
2715
2553
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -2722,9 +2560,10 @@ class DispatchService {
|
|
|
2722
2560
|
responseType_ = 'blob';
|
|
2723
2561
|
}
|
|
2724
2562
|
}
|
|
2725
|
-
let localVarPath = `/
|
|
2726
|
-
return this.httpClient.request('
|
|
2563
|
+
let localVarPath = `/deliveryItems/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
2564
|
+
return this.httpClient.request('put', `${this.configuration.basePath}${localVarPath}`, {
|
|
2727
2565
|
context: localVarHttpContext,
|
|
2566
|
+
body: deliveryItem,
|
|
2728
2567
|
params: localVarQueryParameters,
|
|
2729
2568
|
responseType: responseType_,
|
|
2730
2569
|
withCredentials: this.configuration.withCredentials,
|
|
@@ -2734,10 +2573,10 @@ class DispatchService {
|
|
|
2734
2573
|
reportProgress: reportProgress
|
|
2735
2574
|
});
|
|
2736
2575
|
}
|
|
2737
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type:
|
|
2738
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type:
|
|
2576
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DeliveryItemsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2577
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DeliveryItemsService, providedIn: 'root' });
|
|
2739
2578
|
}
|
|
2740
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type:
|
|
2579
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DeliveryItemsService, decorators: [{
|
|
2741
2580
|
type: Injectable,
|
|
2742
2581
|
args: [{
|
|
2743
2582
|
providedIn: 'root'
|
|
@@ -3084,6 +2923,228 @@ class DispatchesService {
|
|
|
3084
2923
|
reportProgress: reportProgress
|
|
3085
2924
|
});
|
|
3086
2925
|
}
|
|
2926
|
+
getDispatch(id, observe = 'body', reportProgress = false, options) {
|
|
2927
|
+
if (id === null || id === undefined) {
|
|
2928
|
+
throw new Error('Required parameter id was null or undefined when calling getDispatch.');
|
|
2929
|
+
}
|
|
2930
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2931
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
2932
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
2933
|
+
// to determine the Accept header
|
|
2934
|
+
const httpHeaderAccepts = [
|
|
2935
|
+
'application/json'
|
|
2936
|
+
];
|
|
2937
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
2938
|
+
}
|
|
2939
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2940
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2941
|
+
}
|
|
2942
|
+
let localVarHttpContext = options && options.context;
|
|
2943
|
+
if (localVarHttpContext === undefined) {
|
|
2944
|
+
localVarHttpContext = new HttpContext();
|
|
2945
|
+
}
|
|
2946
|
+
let localVarTransferCache = options && options.transferCache;
|
|
2947
|
+
if (localVarTransferCache === undefined) {
|
|
2948
|
+
localVarTransferCache = true;
|
|
2949
|
+
}
|
|
2950
|
+
let responseType_ = 'json';
|
|
2951
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2952
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2953
|
+
responseType_ = 'text';
|
|
2954
|
+
}
|
|
2955
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2956
|
+
responseType_ = 'json';
|
|
2957
|
+
}
|
|
2958
|
+
else {
|
|
2959
|
+
responseType_ = 'blob';
|
|
2960
|
+
}
|
|
2961
|
+
}
|
|
2962
|
+
let localVarPath = `/dispatches/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
2963
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
2964
|
+
context: localVarHttpContext,
|
|
2965
|
+
responseType: responseType_,
|
|
2966
|
+
withCredentials: this.configuration.withCredentials,
|
|
2967
|
+
headers: localVarHeaders,
|
|
2968
|
+
observe: observe,
|
|
2969
|
+
transferCache: localVarTransferCache,
|
|
2970
|
+
reportProgress: reportProgress
|
|
2971
|
+
});
|
|
2972
|
+
}
|
|
2973
|
+
getDispatchSummaryView(id, observe = 'body', reportProgress = false, options) {
|
|
2974
|
+
if (id === null || id === undefined) {
|
|
2975
|
+
throw new Error('Required parameter id was null or undefined when calling getDispatchSummaryView.');
|
|
2976
|
+
}
|
|
2977
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2978
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
2979
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
2980
|
+
// to determine the Accept header
|
|
2981
|
+
const httpHeaderAccepts = [
|
|
2982
|
+
'application/json'
|
|
2983
|
+
];
|
|
2984
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
2985
|
+
}
|
|
2986
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2987
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2988
|
+
}
|
|
2989
|
+
let localVarHttpContext = options && options.context;
|
|
2990
|
+
if (localVarHttpContext === undefined) {
|
|
2991
|
+
localVarHttpContext = new HttpContext();
|
|
2992
|
+
}
|
|
2993
|
+
let localVarTransferCache = options && options.transferCache;
|
|
2994
|
+
if (localVarTransferCache === undefined) {
|
|
2995
|
+
localVarTransferCache = true;
|
|
2996
|
+
}
|
|
2997
|
+
let responseType_ = 'json';
|
|
2998
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2999
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3000
|
+
responseType_ = 'text';
|
|
3001
|
+
}
|
|
3002
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3003
|
+
responseType_ = 'json';
|
|
3004
|
+
}
|
|
3005
|
+
else {
|
|
3006
|
+
responseType_ = 'blob';
|
|
3007
|
+
}
|
|
3008
|
+
}
|
|
3009
|
+
let localVarPath = `/dispatches/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/summary`;
|
|
3010
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
3011
|
+
context: localVarHttpContext,
|
|
3012
|
+
responseType: responseType_,
|
|
3013
|
+
withCredentials: this.configuration.withCredentials,
|
|
3014
|
+
headers: localVarHeaders,
|
|
3015
|
+
observe: observe,
|
|
3016
|
+
transferCache: localVarTransferCache,
|
|
3017
|
+
reportProgress: reportProgress
|
|
3018
|
+
});
|
|
3019
|
+
}
|
|
3020
|
+
getDispatchesByOrderStatus(orderStatus, $skip, $top, $orderby, $filter, $search, tabName, observe = 'body', reportProgress = false, options) {
|
|
3021
|
+
if (orderStatus === null || orderStatus === undefined) {
|
|
3022
|
+
throw new Error('Required parameter orderStatus was null or undefined when calling getDispatchesByOrderStatus.');
|
|
3023
|
+
}
|
|
3024
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
3025
|
+
if ($skip !== undefined && $skip !== null) {
|
|
3026
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
3027
|
+
}
|
|
3028
|
+
if ($top !== undefined && $top !== null) {
|
|
3029
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
3030
|
+
}
|
|
3031
|
+
if ($orderby !== undefined && $orderby !== null) {
|
|
3032
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
3033
|
+
}
|
|
3034
|
+
if ($filter !== undefined && $filter !== null) {
|
|
3035
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
3036
|
+
}
|
|
3037
|
+
if ($search !== undefined && $search !== null) {
|
|
3038
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
3039
|
+
}
|
|
3040
|
+
if (tabName !== undefined && tabName !== null) {
|
|
3041
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, tabName, 'tabName');
|
|
3042
|
+
}
|
|
3043
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3044
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
3045
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
3046
|
+
// to determine the Accept header
|
|
3047
|
+
const httpHeaderAccepts = [
|
|
3048
|
+
'application/json'
|
|
3049
|
+
];
|
|
3050
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
3051
|
+
}
|
|
3052
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3053
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3054
|
+
}
|
|
3055
|
+
let localVarHttpContext = options && options.context;
|
|
3056
|
+
if (localVarHttpContext === undefined) {
|
|
3057
|
+
localVarHttpContext = new HttpContext();
|
|
3058
|
+
}
|
|
3059
|
+
let localVarTransferCache = options && options.transferCache;
|
|
3060
|
+
if (localVarTransferCache === undefined) {
|
|
3061
|
+
localVarTransferCache = true;
|
|
3062
|
+
}
|
|
3063
|
+
let responseType_ = 'json';
|
|
3064
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3065
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3066
|
+
responseType_ = 'text';
|
|
3067
|
+
}
|
|
3068
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3069
|
+
responseType_ = 'json';
|
|
3070
|
+
}
|
|
3071
|
+
else {
|
|
3072
|
+
responseType_ = 'blob';
|
|
3073
|
+
}
|
|
3074
|
+
}
|
|
3075
|
+
let localVarPath = `/dispatches/${this.configuration.encodeParam({ name: "orderStatus", value: orderStatus, in: "path", style: "simple", explode: false, dataType: "OrderStatus", dataFormat: undefined })}`;
|
|
3076
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
3077
|
+
context: localVarHttpContext,
|
|
3078
|
+
params: localVarQueryParameters,
|
|
3079
|
+
responseType: responseType_,
|
|
3080
|
+
withCredentials: this.configuration.withCredentials,
|
|
3081
|
+
headers: localVarHeaders,
|
|
3082
|
+
observe: observe,
|
|
3083
|
+
transferCache: localVarTransferCache,
|
|
3084
|
+
reportProgress: reportProgress
|
|
3085
|
+
});
|
|
3086
|
+
}
|
|
3087
|
+
getDispatchesFromIndex($skip, $top, $orderby, $filter, searchTerm, observe = 'body', reportProgress = false, options) {
|
|
3088
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
3089
|
+
if ($skip !== undefined && $skip !== null) {
|
|
3090
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
3091
|
+
}
|
|
3092
|
+
if ($top !== undefined && $top !== null) {
|
|
3093
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
3094
|
+
}
|
|
3095
|
+
if ($orderby !== undefined && $orderby !== null) {
|
|
3096
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
3097
|
+
}
|
|
3098
|
+
if ($filter !== undefined && $filter !== null) {
|
|
3099
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
3100
|
+
}
|
|
3101
|
+
if (searchTerm !== undefined && searchTerm !== null) {
|
|
3102
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, searchTerm, 'searchTerm');
|
|
3103
|
+
}
|
|
3104
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3105
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
3106
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
3107
|
+
// to determine the Accept header
|
|
3108
|
+
const httpHeaderAccepts = [
|
|
3109
|
+
'application/json'
|
|
3110
|
+
];
|
|
3111
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
3112
|
+
}
|
|
3113
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3114
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3115
|
+
}
|
|
3116
|
+
let localVarHttpContext = options && options.context;
|
|
3117
|
+
if (localVarHttpContext === undefined) {
|
|
3118
|
+
localVarHttpContext = new HttpContext();
|
|
3119
|
+
}
|
|
3120
|
+
let localVarTransferCache = options && options.transferCache;
|
|
3121
|
+
if (localVarTransferCache === undefined) {
|
|
3122
|
+
localVarTransferCache = true;
|
|
3123
|
+
}
|
|
3124
|
+
let responseType_ = 'json';
|
|
3125
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3126
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3127
|
+
responseType_ = 'text';
|
|
3128
|
+
}
|
|
3129
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3130
|
+
responseType_ = 'json';
|
|
3131
|
+
}
|
|
3132
|
+
else {
|
|
3133
|
+
responseType_ = 'blob';
|
|
3134
|
+
}
|
|
3135
|
+
}
|
|
3136
|
+
let localVarPath = `/dispatch/search`;
|
|
3137
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
3138
|
+
context: localVarHttpContext,
|
|
3139
|
+
params: localVarQueryParameters,
|
|
3140
|
+
responseType: responseType_,
|
|
3141
|
+
withCredentials: this.configuration.withCredentials,
|
|
3142
|
+
headers: localVarHeaders,
|
|
3143
|
+
observe: observe,
|
|
3144
|
+
transferCache: localVarTransferCache,
|
|
3145
|
+
reportProgress: reportProgress
|
|
3146
|
+
});
|
|
3147
|
+
}
|
|
3087
3148
|
releaseOnHoldDispatches(ids, observe = 'body', reportProgress = false, options) {
|
|
3088
3149
|
if (ids === null || ids === undefined) {
|
|
3089
3150
|
throw new Error('Required parameter ids was null or undefined when calling releaseOnHoldDispatches.');
|
|
@@ -6343,7 +6404,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
6343
6404
|
type: Optional
|
|
6344
6405
|
}] }] });
|
|
6345
6406
|
|
|
6346
|
-
const APIS = [AnalyticsService, CompaniesService, DcsService, DeliveriesService, DeliveryItemsService,
|
|
6407
|
+
const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CompaniesService, DcsService, DeliveriesService, DeliveryItemsService, DispatchItemsService, DispatchesService, HealthService, NotesService, PermissionsService, ProductMastersService, ProductQuantitiesService, ReasonsService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UsersInternalService];
|
|
6408
|
+
|
|
6409
|
+
/**
|
|
6410
|
+
* Wms.API.Client
|
|
6411
|
+
*
|
|
6412
|
+
*
|
|
6413
|
+
*
|
|
6414
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
6415
|
+
* https://openapi-generator.tech
|
|
6416
|
+
* Do not edit the class manually.
|
|
6417
|
+
*/
|
|
6347
6418
|
|
|
6348
6419
|
/**
|
|
6349
6420
|
* Wms.API.Client
|
|
@@ -6824,5 +6895,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
6824
6895
|
* Generated bundle index. Do not edit.
|
|
6825
6896
|
*/
|
|
6826
6897
|
|
|
6827
|
-
export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CompaniesService, Configuration, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchItemsService,
|
|
6898
|
+
export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CompaniesService, Configuration, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchItemsService, DispatchesService, HealthService, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcess, PermissionsService, PickingProcess, ProductMastersService, ProductQuantitiesService, QcType, ReasonType, ReasonsService, RecordType, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserCompanyType, UserService, UsersInternalService };
|
|
6828
6899
|
//# sourceMappingURL=indigina-wms-api.mjs.map
|