@indigina/wms-api 0.0.73 → 0.0.74
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 -1
- package/api/dispatches.service.d.ts +80 -0
- package/fesm2022/indigina-wms-api.mjs +256 -6
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @indigina/wms-api@0.0.
|
|
1
|
+
# @indigina/wms-api@0.0.74
|
|
2
2
|
|
|
3
3
|
WMS 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/wms-api@0.0.
|
|
27
|
+
npm install @indigina/wms-api@0.0.74 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
package/api/api.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ export * from './dispatch.service';
|
|
|
12
12
|
import { DispatchService } from './dispatch.service';
|
|
13
13
|
export * from './dispatchItems.service';
|
|
14
14
|
import { DispatchItemsService } from './dispatchItems.service';
|
|
15
|
+
export * from './dispatches.service';
|
|
16
|
+
import { DispatchesService } from './dispatches.service';
|
|
15
17
|
export * from './health.service';
|
|
16
18
|
import { HealthService } from './health.service';
|
|
17
19
|
export * from './notes.service';
|
|
@@ -38,4 +40,4 @@ export * from './user.service';
|
|
|
38
40
|
import { UserService } from './user.service';
|
|
39
41
|
export * from './usersInternal.service';
|
|
40
42
|
import { UsersInternalService } from './usersInternal.service';
|
|
41
|
-
export declare const APIS: (typeof AnalyticsService | typeof CompaniesService | typeof DcsService | typeof DeliveriesService | typeof DeliveryItemsService | typeof DispatchService | typeof DispatchItemsService | typeof HealthService | typeof NotesService | typeof PermissionsService | typeof ProductMastersService | typeof ProductQuantitiesService | typeof ReasonsService | typeof SettingsService | typeof SummaryService | typeof TaskCompletionTimeService | typeof TaskOperationsService | typeof TaskUserRecordsService | typeof UserService | typeof UsersInternalService)[];
|
|
43
|
+
export declare const APIS: (typeof AnalyticsService | typeof CompaniesService | typeof DcsService | typeof DeliveriesService | typeof DeliveryItemsService | typeof DispatchService | typeof DispatchItemsService | typeof DispatchesService | typeof HealthService | typeof NotesService | typeof PermissionsService | typeof ProductMastersService | typeof ProductQuantitiesService | typeof ReasonsService | typeof SettingsService | typeof SummaryService | typeof TaskCompletionTimeService | typeof TaskOperationsService | typeof TaskUserRecordsService | typeof UserService | typeof UsersInternalService)[];
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { Configuration } from '../configuration';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DispatchesService {
|
|
6
|
+
protected httpClient: HttpClient;
|
|
7
|
+
protected basePath: string;
|
|
8
|
+
defaultHeaders: HttpHeaders;
|
|
9
|
+
configuration: Configuration;
|
|
10
|
+
encoder: HttpParameterCodec;
|
|
11
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
12
|
+
private addToHttpParams;
|
|
13
|
+
private addToHttpParamsRecursive;
|
|
14
|
+
/**
|
|
15
|
+
* Cancel dispatches
|
|
16
|
+
* @param ids
|
|
17
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
18
|
+
* @param reportProgress flag to report request and response progress.
|
|
19
|
+
*/
|
|
20
|
+
cancelDispatches(ids: Array<string>, observe?: 'body', reportProgress?: boolean, options?: {
|
|
21
|
+
httpHeaderAccept?: undefined;
|
|
22
|
+
context?: HttpContext;
|
|
23
|
+
transferCache?: boolean;
|
|
24
|
+
}): Observable<any>;
|
|
25
|
+
cancelDispatches(ids: Array<string>, observe?: 'response', reportProgress?: boolean, options?: {
|
|
26
|
+
httpHeaderAccept?: undefined;
|
|
27
|
+
context?: HttpContext;
|
|
28
|
+
transferCache?: boolean;
|
|
29
|
+
}): Observable<HttpResponse<any>>;
|
|
30
|
+
cancelDispatches(ids: Array<string>, observe?: 'events', reportProgress?: boolean, options?: {
|
|
31
|
+
httpHeaderAccept?: undefined;
|
|
32
|
+
context?: HttpContext;
|
|
33
|
+
transferCache?: boolean;
|
|
34
|
+
}): Observable<HttpEvent<any>>;
|
|
35
|
+
/**
|
|
36
|
+
* Confirm dispatches
|
|
37
|
+
* @param ids
|
|
38
|
+
* @param dispatchDate
|
|
39
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
40
|
+
* @param reportProgress flag to report request and response progress.
|
|
41
|
+
*/
|
|
42
|
+
confirmDispatches(ids: Array<string>, dispatchDate: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
43
|
+
httpHeaderAccept?: undefined;
|
|
44
|
+
context?: HttpContext;
|
|
45
|
+
transferCache?: boolean;
|
|
46
|
+
}): Observable<any>;
|
|
47
|
+
confirmDispatches(ids: Array<string>, dispatchDate: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
48
|
+
httpHeaderAccept?: undefined;
|
|
49
|
+
context?: HttpContext;
|
|
50
|
+
transferCache?: boolean;
|
|
51
|
+
}): Observable<HttpResponse<any>>;
|
|
52
|
+
confirmDispatches(ids: Array<string>, dispatchDate: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
53
|
+
httpHeaderAccept?: undefined;
|
|
54
|
+
context?: HttpContext;
|
|
55
|
+
transferCache?: boolean;
|
|
56
|
+
}): Observable<HttpEvent<any>>;
|
|
57
|
+
/**
|
|
58
|
+
* Release on-hold dispatches
|
|
59
|
+
* @param ids
|
|
60
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
61
|
+
* @param reportProgress flag to report request and response progress.
|
|
62
|
+
*/
|
|
63
|
+
releaseOnHoldDispatches(ids: Array<string>, observe?: 'body', reportProgress?: boolean, options?: {
|
|
64
|
+
httpHeaderAccept?: undefined;
|
|
65
|
+
context?: HttpContext;
|
|
66
|
+
transferCache?: boolean;
|
|
67
|
+
}): Observable<any>;
|
|
68
|
+
releaseOnHoldDispatches(ids: Array<string>, observe?: 'response', reportProgress?: boolean, options?: {
|
|
69
|
+
httpHeaderAccept?: undefined;
|
|
70
|
+
context?: HttpContext;
|
|
71
|
+
transferCache?: boolean;
|
|
72
|
+
}): Observable<HttpResponse<any>>;
|
|
73
|
+
releaseOnHoldDispatches(ids: Array<string>, observe?: 'events', reportProgress?: boolean, options?: {
|
|
74
|
+
httpHeaderAccept?: undefined;
|
|
75
|
+
context?: HttpContext;
|
|
76
|
+
transferCache?: boolean;
|
|
77
|
+
}): Observable<HttpEvent<any>>;
|
|
78
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DispatchesService, [null, { optional: true; }, { optional: true; }]>;
|
|
79
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DispatchesService>;
|
|
80
|
+
}
|
|
@@ -2548,7 +2548,7 @@ class DispatchService {
|
|
|
2548
2548
|
responseType_ = 'blob';
|
|
2549
2549
|
}
|
|
2550
2550
|
}
|
|
2551
|
-
let localVarPath = `/
|
|
2551
|
+
let localVarPath = `/dispatches/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
2552
2552
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
2553
2553
|
context: localVarHttpContext,
|
|
2554
2554
|
responseType: responseType_,
|
|
@@ -2595,7 +2595,7 @@ class DispatchService {
|
|
|
2595
2595
|
responseType_ = 'blob';
|
|
2596
2596
|
}
|
|
2597
2597
|
}
|
|
2598
|
-
let localVarPath = `/
|
|
2598
|
+
let localVarPath = `/dispatches/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/summary`;
|
|
2599
2599
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
2600
2600
|
context: localVarHttpContext,
|
|
2601
2601
|
responseType: responseType_,
|
|
@@ -2661,7 +2661,7 @@ class DispatchService {
|
|
|
2661
2661
|
responseType_ = 'blob';
|
|
2662
2662
|
}
|
|
2663
2663
|
}
|
|
2664
|
-
let localVarPath = `/
|
|
2664
|
+
let localVarPath = `/dispatches/${this.configuration.encodeParam({ name: "orderStatus", value: orderStatus, in: "path", style: "simple", explode: false, dataType: "OrderStatus", dataFormat: undefined })}`;
|
|
2665
2665
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
2666
2666
|
context: localVarHttpContext,
|
|
2667
2667
|
params: localVarQueryParameters,
|
|
@@ -2874,7 +2874,7 @@ class DispatchItemsService {
|
|
|
2874
2874
|
responseType_ = 'blob';
|
|
2875
2875
|
}
|
|
2876
2876
|
}
|
|
2877
|
-
let localVarPath = `/
|
|
2877
|
+
let localVarPath = `/dispatches/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/items`;
|
|
2878
2878
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
2879
2879
|
context: localVarHttpContext,
|
|
2880
2880
|
params: localVarQueryParameters,
|
|
@@ -2903,6 +2903,256 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
2903
2903
|
type: Optional
|
|
2904
2904
|
}] }] });
|
|
2905
2905
|
|
|
2906
|
+
/**
|
|
2907
|
+
* Wms.API.Client
|
|
2908
|
+
*
|
|
2909
|
+
*
|
|
2910
|
+
*
|
|
2911
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2912
|
+
* https://openapi-generator.tech
|
|
2913
|
+
* Do not edit the class manually.
|
|
2914
|
+
*/
|
|
2915
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
2916
|
+
class DispatchesService {
|
|
2917
|
+
httpClient;
|
|
2918
|
+
basePath = 'http://localhost';
|
|
2919
|
+
defaultHeaders = new HttpHeaders();
|
|
2920
|
+
configuration = new Configuration();
|
|
2921
|
+
encoder;
|
|
2922
|
+
constructor(httpClient, basePath, configuration) {
|
|
2923
|
+
this.httpClient = httpClient;
|
|
2924
|
+
if (configuration) {
|
|
2925
|
+
this.configuration = configuration;
|
|
2926
|
+
}
|
|
2927
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
2928
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
2929
|
+
if (firstBasePath != undefined) {
|
|
2930
|
+
basePath = firstBasePath;
|
|
2931
|
+
}
|
|
2932
|
+
if (typeof basePath !== 'string') {
|
|
2933
|
+
basePath = this.basePath;
|
|
2934
|
+
}
|
|
2935
|
+
this.configuration.basePath = basePath;
|
|
2936
|
+
}
|
|
2937
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
2938
|
+
}
|
|
2939
|
+
// @ts-ignore
|
|
2940
|
+
addToHttpParams(httpParams, value, key) {
|
|
2941
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
2942
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
2943
|
+
}
|
|
2944
|
+
else {
|
|
2945
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
2946
|
+
}
|
|
2947
|
+
return httpParams;
|
|
2948
|
+
}
|
|
2949
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
2950
|
+
if (value == null) {
|
|
2951
|
+
return httpParams;
|
|
2952
|
+
}
|
|
2953
|
+
if (typeof value === "object") {
|
|
2954
|
+
if (Array.isArray(value)) {
|
|
2955
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
2956
|
+
}
|
|
2957
|
+
else if (value instanceof Date) {
|
|
2958
|
+
if (key != null) {
|
|
2959
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
2960
|
+
}
|
|
2961
|
+
else {
|
|
2962
|
+
throw Error("key may not be null if value is Date");
|
|
2963
|
+
}
|
|
2964
|
+
}
|
|
2965
|
+
else {
|
|
2966
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
2967
|
+
}
|
|
2968
|
+
}
|
|
2969
|
+
else if (key != null) {
|
|
2970
|
+
httpParams = httpParams.append(key, value);
|
|
2971
|
+
}
|
|
2972
|
+
else {
|
|
2973
|
+
throw Error("key may not be null if value is not object or array");
|
|
2974
|
+
}
|
|
2975
|
+
return httpParams;
|
|
2976
|
+
}
|
|
2977
|
+
cancelDispatches(ids, observe = 'body', reportProgress = false, options) {
|
|
2978
|
+
if (ids === null || ids === undefined) {
|
|
2979
|
+
throw new Error('Required parameter ids was null or undefined when calling cancelDispatches.');
|
|
2980
|
+
}
|
|
2981
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
2982
|
+
if (ids) {
|
|
2983
|
+
ids.forEach((element) => {
|
|
2984
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, 'ids');
|
|
2985
|
+
});
|
|
2986
|
+
}
|
|
2987
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2988
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
2989
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
2990
|
+
// to determine the Accept header
|
|
2991
|
+
const httpHeaderAccepts = [];
|
|
2992
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
2993
|
+
}
|
|
2994
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2995
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2996
|
+
}
|
|
2997
|
+
let localVarHttpContext = options && options.context;
|
|
2998
|
+
if (localVarHttpContext === undefined) {
|
|
2999
|
+
localVarHttpContext = new HttpContext();
|
|
3000
|
+
}
|
|
3001
|
+
let localVarTransferCache = options && options.transferCache;
|
|
3002
|
+
if (localVarTransferCache === undefined) {
|
|
3003
|
+
localVarTransferCache = true;
|
|
3004
|
+
}
|
|
3005
|
+
let responseType_ = 'json';
|
|
3006
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3007
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3008
|
+
responseType_ = 'text';
|
|
3009
|
+
}
|
|
3010
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3011
|
+
responseType_ = 'json';
|
|
3012
|
+
}
|
|
3013
|
+
else {
|
|
3014
|
+
responseType_ = 'blob';
|
|
3015
|
+
}
|
|
3016
|
+
}
|
|
3017
|
+
let localVarPath = `/dispatches/cancel`;
|
|
3018
|
+
return this.httpClient.request('put', `${this.configuration.basePath}${localVarPath}`, {
|
|
3019
|
+
context: localVarHttpContext,
|
|
3020
|
+
params: localVarQueryParameters,
|
|
3021
|
+
responseType: responseType_,
|
|
3022
|
+
withCredentials: this.configuration.withCredentials,
|
|
3023
|
+
headers: localVarHeaders,
|
|
3024
|
+
observe: observe,
|
|
3025
|
+
transferCache: localVarTransferCache,
|
|
3026
|
+
reportProgress: reportProgress
|
|
3027
|
+
});
|
|
3028
|
+
}
|
|
3029
|
+
confirmDispatches(ids, dispatchDate, observe = 'body', reportProgress = false, options) {
|
|
3030
|
+
if (ids === null || ids === undefined) {
|
|
3031
|
+
throw new Error('Required parameter ids was null or undefined when calling confirmDispatches.');
|
|
3032
|
+
}
|
|
3033
|
+
if (dispatchDate === null || dispatchDate === undefined) {
|
|
3034
|
+
throw new Error('Required parameter dispatchDate was null or undefined when calling confirmDispatches.');
|
|
3035
|
+
}
|
|
3036
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
3037
|
+
if (ids) {
|
|
3038
|
+
ids.forEach((element) => {
|
|
3039
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, 'ids');
|
|
3040
|
+
});
|
|
3041
|
+
}
|
|
3042
|
+
if (dispatchDate !== undefined && dispatchDate !== null) {
|
|
3043
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, dispatchDate, 'dispatchDate');
|
|
3044
|
+
}
|
|
3045
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3046
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
3047
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
3048
|
+
// to determine the Accept header
|
|
3049
|
+
const httpHeaderAccepts = [];
|
|
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/confirm`;
|
|
3076
|
+
return this.httpClient.request('put', `${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
|
+
releaseOnHoldDispatches(ids, observe = 'body', reportProgress = false, options) {
|
|
3088
|
+
if (ids === null || ids === undefined) {
|
|
3089
|
+
throw new Error('Required parameter ids was null or undefined when calling releaseOnHoldDispatches.');
|
|
3090
|
+
}
|
|
3091
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
3092
|
+
if (ids) {
|
|
3093
|
+
ids.forEach((element) => {
|
|
3094
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, 'ids');
|
|
3095
|
+
});
|
|
3096
|
+
}
|
|
3097
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3098
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
3099
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
3100
|
+
// to determine the Accept header
|
|
3101
|
+
const httpHeaderAccepts = [];
|
|
3102
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
3103
|
+
}
|
|
3104
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3105
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3106
|
+
}
|
|
3107
|
+
let localVarHttpContext = options && options.context;
|
|
3108
|
+
if (localVarHttpContext === undefined) {
|
|
3109
|
+
localVarHttpContext = new HttpContext();
|
|
3110
|
+
}
|
|
3111
|
+
let localVarTransferCache = options && options.transferCache;
|
|
3112
|
+
if (localVarTransferCache === undefined) {
|
|
3113
|
+
localVarTransferCache = true;
|
|
3114
|
+
}
|
|
3115
|
+
let responseType_ = 'json';
|
|
3116
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3117
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3118
|
+
responseType_ = 'text';
|
|
3119
|
+
}
|
|
3120
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3121
|
+
responseType_ = 'json';
|
|
3122
|
+
}
|
|
3123
|
+
else {
|
|
3124
|
+
responseType_ = 'blob';
|
|
3125
|
+
}
|
|
3126
|
+
}
|
|
3127
|
+
let localVarPath = `/dispatches/release-on-hold`;
|
|
3128
|
+
return this.httpClient.request('put', `${this.configuration.basePath}${localVarPath}`, {
|
|
3129
|
+
context: localVarHttpContext,
|
|
3130
|
+
params: localVarQueryParameters,
|
|
3131
|
+
responseType: responseType_,
|
|
3132
|
+
withCredentials: this.configuration.withCredentials,
|
|
3133
|
+
headers: localVarHeaders,
|
|
3134
|
+
observe: observe,
|
|
3135
|
+
transferCache: localVarTransferCache,
|
|
3136
|
+
reportProgress: reportProgress
|
|
3137
|
+
});
|
|
3138
|
+
}
|
|
3139
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DispatchesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3140
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DispatchesService, providedIn: 'root' });
|
|
3141
|
+
}
|
|
3142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DispatchesService, decorators: [{
|
|
3143
|
+
type: Injectable,
|
|
3144
|
+
args: [{
|
|
3145
|
+
providedIn: 'root'
|
|
3146
|
+
}]
|
|
3147
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
3148
|
+
type: Optional
|
|
3149
|
+
}, {
|
|
3150
|
+
type: Inject,
|
|
3151
|
+
args: [BASE_PATH]
|
|
3152
|
+
}] }, { type: Configuration, decorators: [{
|
|
3153
|
+
type: Optional
|
|
3154
|
+
}] }] });
|
|
3155
|
+
|
|
2906
3156
|
/**
|
|
2907
3157
|
* Wms.API.Client
|
|
2908
3158
|
*
|
|
@@ -6093,7 +6343,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
6093
6343
|
type: Optional
|
|
6094
6344
|
}] }] });
|
|
6095
6345
|
|
|
6096
|
-
const APIS = [AnalyticsService, CompaniesService, DcsService, DeliveriesService, DeliveryItemsService, DispatchService, DispatchItemsService, HealthService, NotesService, PermissionsService, ProductMastersService, ProductQuantitiesService, ReasonsService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UsersInternalService];
|
|
6346
|
+
const APIS = [AnalyticsService, CompaniesService, DcsService, DeliveriesService, DeliveryItemsService, DispatchService, DispatchItemsService, DispatchesService, HealthService, NotesService, PermissionsService, ProductMastersService, ProductQuantitiesService, ReasonsService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UsersInternalService];
|
|
6097
6347
|
|
|
6098
6348
|
/**
|
|
6099
6349
|
* Wms.API.Client
|
|
@@ -6574,5 +6824,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
6574
6824
|
* Generated bundle index. Do not edit.
|
|
6575
6825
|
*/
|
|
6576
6826
|
|
|
6577
|
-
export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CompaniesService, Configuration, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchItemsService, DispatchService, HealthService, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcess, PermissionsService, PickingProcess, ProductMastersService, ProductQuantitiesService, QcType, ReasonType, ReasonsService, RecordType, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserCompanyType, UserService, UsersInternalService };
|
|
6827
|
+
export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CompaniesService, Configuration, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchItemsService, DispatchService, DispatchesService, HealthService, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcess, PermissionsService, PickingProcess, ProductMastersService, ProductQuantitiesService, QcType, ReasonType, ReasonsService, RecordType, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserCompanyType, UserService, UsersInternalService };
|
|
6578
6828
|
//# sourceMappingURL=indigina-wms-api.mjs.map
|