@indigina/wms-api 0.0.58 → 0.0.59
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/taskCompletionTime.service.d.ts +128 -0
- package/fesm2022/indigina-wms-api.mjs +368 -2
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/model/models.d.ts +2 -0
- package/model/taskCompletionTime.d.ts +13 -0
- package/model/taskCompletionTimes.d.ts +14 -0
- package/model/taskUserRecord.d.ts +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.59
|
|
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.59 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
package/api/api.d.ts
CHANGED
|
@@ -28,10 +28,12 @@ export * from './settings.service';
|
|
|
28
28
|
import { SettingsService } from './settings.service';
|
|
29
29
|
export * from './summary.service';
|
|
30
30
|
import { SummaryService } from './summary.service';
|
|
31
|
+
export * from './taskCompletionTime.service';
|
|
32
|
+
import { TaskCompletionTimeService } from './taskCompletionTime.service';
|
|
31
33
|
export * from './taskOperations.service';
|
|
32
34
|
import { TaskOperationsService } from './taskOperations.service';
|
|
33
35
|
export * from './taskUserRecords.service';
|
|
34
36
|
import { TaskUserRecordsService } from './taskUserRecords.service';
|
|
35
37
|
export * from './user.service';
|
|
36
38
|
import { UserService } from './user.service';
|
|
37
|
-
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 TaskOperationsService | typeof TaskUserRecordsService | typeof UserService)[];
|
|
39
|
+
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)[];
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { TaskCompletionTime } from '../model/taskCompletionTime';
|
|
4
|
+
import { TaskCompletionTimes } from '../model/taskCompletionTimes';
|
|
5
|
+
import { Configuration } from '../configuration';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class TaskCompletionTimeService {
|
|
8
|
+
protected httpClient: HttpClient;
|
|
9
|
+
protected basePath: string;
|
|
10
|
+
defaultHeaders: HttpHeaders;
|
|
11
|
+
configuration: Configuration;
|
|
12
|
+
encoder: HttpParameterCodec;
|
|
13
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
14
|
+
private addToHttpParams;
|
|
15
|
+
private addToHttpParamsRecursive;
|
|
16
|
+
/**
|
|
17
|
+
* Create a new task completion time
|
|
18
|
+
* @param taskCompletionTime
|
|
19
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
20
|
+
* @param reportProgress flag to report request and response progress.
|
|
21
|
+
*/
|
|
22
|
+
createTaskCompletionTime(taskCompletionTime: TaskCompletionTime, observe?: 'body', reportProgress?: boolean, options?: {
|
|
23
|
+
httpHeaderAccept?: 'application/json';
|
|
24
|
+
context?: HttpContext;
|
|
25
|
+
transferCache?: boolean;
|
|
26
|
+
}): Observable<TaskCompletionTime>;
|
|
27
|
+
createTaskCompletionTime(taskCompletionTime: TaskCompletionTime, observe?: 'response', reportProgress?: boolean, options?: {
|
|
28
|
+
httpHeaderAccept?: 'application/json';
|
|
29
|
+
context?: HttpContext;
|
|
30
|
+
transferCache?: boolean;
|
|
31
|
+
}): Observable<HttpResponse<TaskCompletionTime>>;
|
|
32
|
+
createTaskCompletionTime(taskCompletionTime: TaskCompletionTime, observe?: 'events', reportProgress?: boolean, options?: {
|
|
33
|
+
httpHeaderAccept?: 'application/json';
|
|
34
|
+
context?: HttpContext;
|
|
35
|
+
transferCache?: boolean;
|
|
36
|
+
}): Observable<HttpEvent<TaskCompletionTime>>;
|
|
37
|
+
/**
|
|
38
|
+
* Delete a task completion time
|
|
39
|
+
* @param id
|
|
40
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
41
|
+
* @param reportProgress flag to report request and response progress.
|
|
42
|
+
*/
|
|
43
|
+
deleteTaskCompletionTime(id: number, observe?: 'body', reportProgress?: boolean, options?: {
|
|
44
|
+
httpHeaderAccept?: undefined;
|
|
45
|
+
context?: HttpContext;
|
|
46
|
+
transferCache?: boolean;
|
|
47
|
+
}): Observable<any>;
|
|
48
|
+
deleteTaskCompletionTime(id: number, observe?: 'response', reportProgress?: boolean, options?: {
|
|
49
|
+
httpHeaderAccept?: undefined;
|
|
50
|
+
context?: HttpContext;
|
|
51
|
+
transferCache?: boolean;
|
|
52
|
+
}): Observable<HttpResponse<any>>;
|
|
53
|
+
deleteTaskCompletionTime(id: number, observe?: 'events', reportProgress?: boolean, options?: {
|
|
54
|
+
httpHeaderAccept?: undefined;
|
|
55
|
+
context?: HttpContext;
|
|
56
|
+
transferCache?: boolean;
|
|
57
|
+
}): Observable<HttpEvent<any>>;
|
|
58
|
+
/**
|
|
59
|
+
* Retrieve a task completion time by ID
|
|
60
|
+
* @param id
|
|
61
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
62
|
+
* @param reportProgress flag to report request and response progress.
|
|
63
|
+
*/
|
|
64
|
+
getTaskCompletionTimeById(id: number, observe?: 'body', reportProgress?: boolean, options?: {
|
|
65
|
+
httpHeaderAccept?: 'application/json';
|
|
66
|
+
context?: HttpContext;
|
|
67
|
+
transferCache?: boolean;
|
|
68
|
+
}): Observable<TaskCompletionTime>;
|
|
69
|
+
getTaskCompletionTimeById(id: number, observe?: 'response', reportProgress?: boolean, options?: {
|
|
70
|
+
httpHeaderAccept?: 'application/json';
|
|
71
|
+
context?: HttpContext;
|
|
72
|
+
transferCache?: boolean;
|
|
73
|
+
}): Observable<HttpResponse<TaskCompletionTime>>;
|
|
74
|
+
getTaskCompletionTimeById(id: number, observe?: 'events', reportProgress?: boolean, options?: {
|
|
75
|
+
httpHeaderAccept?: 'application/json';
|
|
76
|
+
context?: HttpContext;
|
|
77
|
+
transferCache?: boolean;
|
|
78
|
+
}): Observable<HttpEvent<TaskCompletionTime>>;
|
|
79
|
+
/**
|
|
80
|
+
* Getting task completion times
|
|
81
|
+
* @param $skip
|
|
82
|
+
* @param $top
|
|
83
|
+
* @param $orderby
|
|
84
|
+
* @param $filter
|
|
85
|
+
* @param $search
|
|
86
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
87
|
+
* @param reportProgress flag to report request and response progress.
|
|
88
|
+
*/
|
|
89
|
+
getTaskCompletionTimes($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
90
|
+
httpHeaderAccept?: 'application/json';
|
|
91
|
+
context?: HttpContext;
|
|
92
|
+
transferCache?: boolean;
|
|
93
|
+
}): Observable<TaskCompletionTimes>;
|
|
94
|
+
getTaskCompletionTimes($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
95
|
+
httpHeaderAccept?: 'application/json';
|
|
96
|
+
context?: HttpContext;
|
|
97
|
+
transferCache?: boolean;
|
|
98
|
+
}): Observable<HttpResponse<TaskCompletionTimes>>;
|
|
99
|
+
getTaskCompletionTimes($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
100
|
+
httpHeaderAccept?: 'application/json';
|
|
101
|
+
context?: HttpContext;
|
|
102
|
+
transferCache?: boolean;
|
|
103
|
+
}): Observable<HttpEvent<TaskCompletionTimes>>;
|
|
104
|
+
/**
|
|
105
|
+
* Update an existing task completion time
|
|
106
|
+
* @param id
|
|
107
|
+
* @param taskCompletionTime
|
|
108
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
109
|
+
* @param reportProgress flag to report request and response progress.
|
|
110
|
+
*/
|
|
111
|
+
updateTaskCompletionTime(id: number, taskCompletionTime: TaskCompletionTime, observe?: 'body', reportProgress?: boolean, options?: {
|
|
112
|
+
httpHeaderAccept?: 'application/json';
|
|
113
|
+
context?: HttpContext;
|
|
114
|
+
transferCache?: boolean;
|
|
115
|
+
}): Observable<TaskCompletionTime>;
|
|
116
|
+
updateTaskCompletionTime(id: number, taskCompletionTime: TaskCompletionTime, observe?: 'response', reportProgress?: boolean, options?: {
|
|
117
|
+
httpHeaderAccept?: 'application/json';
|
|
118
|
+
context?: HttpContext;
|
|
119
|
+
transferCache?: boolean;
|
|
120
|
+
}): Observable<HttpResponse<TaskCompletionTime>>;
|
|
121
|
+
updateTaskCompletionTime(id: number, taskCompletionTime: TaskCompletionTime, observe?: 'events', reportProgress?: boolean, options?: {
|
|
122
|
+
httpHeaderAccept?: 'application/json';
|
|
123
|
+
context?: HttpContext;
|
|
124
|
+
transferCache?: boolean;
|
|
125
|
+
}): Observable<HttpEvent<TaskCompletionTime>>;
|
|
126
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskCompletionTimeService, [null, { optional: true; }, { optional: true; }]>;
|
|
127
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TaskCompletionTimeService>;
|
|
128
|
+
}
|
|
@@ -4318,6 +4318,362 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
4318
4318
|
type: Optional
|
|
4319
4319
|
}] }] });
|
|
4320
4320
|
|
|
4321
|
+
/**
|
|
4322
|
+
* Wms.API.Client
|
|
4323
|
+
*
|
|
4324
|
+
*
|
|
4325
|
+
*
|
|
4326
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4327
|
+
* https://openapi-generator.tech
|
|
4328
|
+
* Do not edit the class manually.
|
|
4329
|
+
*/
|
|
4330
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
4331
|
+
class TaskCompletionTimeService {
|
|
4332
|
+
httpClient;
|
|
4333
|
+
basePath = 'http://localhost';
|
|
4334
|
+
defaultHeaders = new HttpHeaders();
|
|
4335
|
+
configuration = new Configuration();
|
|
4336
|
+
encoder;
|
|
4337
|
+
constructor(httpClient, basePath, configuration) {
|
|
4338
|
+
this.httpClient = httpClient;
|
|
4339
|
+
if (configuration) {
|
|
4340
|
+
this.configuration = configuration;
|
|
4341
|
+
}
|
|
4342
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
4343
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
4344
|
+
if (firstBasePath != undefined) {
|
|
4345
|
+
basePath = firstBasePath;
|
|
4346
|
+
}
|
|
4347
|
+
if (typeof basePath !== 'string') {
|
|
4348
|
+
basePath = this.basePath;
|
|
4349
|
+
}
|
|
4350
|
+
this.configuration.basePath = basePath;
|
|
4351
|
+
}
|
|
4352
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
4353
|
+
}
|
|
4354
|
+
// @ts-ignore
|
|
4355
|
+
addToHttpParams(httpParams, value, key) {
|
|
4356
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
4357
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
4358
|
+
}
|
|
4359
|
+
else {
|
|
4360
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
4361
|
+
}
|
|
4362
|
+
return httpParams;
|
|
4363
|
+
}
|
|
4364
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
4365
|
+
if (value == null) {
|
|
4366
|
+
return httpParams;
|
|
4367
|
+
}
|
|
4368
|
+
if (typeof value === "object") {
|
|
4369
|
+
if (Array.isArray(value)) {
|
|
4370
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
4371
|
+
}
|
|
4372
|
+
else if (value instanceof Date) {
|
|
4373
|
+
if (key != null) {
|
|
4374
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
4375
|
+
}
|
|
4376
|
+
else {
|
|
4377
|
+
throw Error("key may not be null if value is Date");
|
|
4378
|
+
}
|
|
4379
|
+
}
|
|
4380
|
+
else {
|
|
4381
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
4382
|
+
}
|
|
4383
|
+
}
|
|
4384
|
+
else if (key != null) {
|
|
4385
|
+
httpParams = httpParams.append(key, value);
|
|
4386
|
+
}
|
|
4387
|
+
else {
|
|
4388
|
+
throw Error("key may not be null if value is not object or array");
|
|
4389
|
+
}
|
|
4390
|
+
return httpParams;
|
|
4391
|
+
}
|
|
4392
|
+
createTaskCompletionTime(taskCompletionTime, observe = 'body', reportProgress = false, options) {
|
|
4393
|
+
if (taskCompletionTime === null || taskCompletionTime === undefined) {
|
|
4394
|
+
throw new Error('Required parameter taskCompletionTime was null or undefined when calling createTaskCompletionTime.');
|
|
4395
|
+
}
|
|
4396
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4397
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
4398
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
4399
|
+
// to determine the Accept header
|
|
4400
|
+
const httpHeaderAccepts = [
|
|
4401
|
+
'application/json'
|
|
4402
|
+
];
|
|
4403
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
4404
|
+
}
|
|
4405
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4406
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
4407
|
+
}
|
|
4408
|
+
let localVarHttpContext = options && options.context;
|
|
4409
|
+
if (localVarHttpContext === undefined) {
|
|
4410
|
+
localVarHttpContext = new HttpContext();
|
|
4411
|
+
}
|
|
4412
|
+
let localVarTransferCache = options && options.transferCache;
|
|
4413
|
+
if (localVarTransferCache === undefined) {
|
|
4414
|
+
localVarTransferCache = true;
|
|
4415
|
+
}
|
|
4416
|
+
// to determine the Content-Type header
|
|
4417
|
+
const consumes = [
|
|
4418
|
+
'application/json'
|
|
4419
|
+
];
|
|
4420
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
4421
|
+
if (httpContentTypeSelected !== undefined) {
|
|
4422
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
4423
|
+
}
|
|
4424
|
+
let responseType_ = 'json';
|
|
4425
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4426
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
4427
|
+
responseType_ = 'text';
|
|
4428
|
+
}
|
|
4429
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4430
|
+
responseType_ = 'json';
|
|
4431
|
+
}
|
|
4432
|
+
else {
|
|
4433
|
+
responseType_ = 'blob';
|
|
4434
|
+
}
|
|
4435
|
+
}
|
|
4436
|
+
let localVarPath = `/taskCompletionTime`;
|
|
4437
|
+
return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
4438
|
+
context: localVarHttpContext,
|
|
4439
|
+
body: taskCompletionTime,
|
|
4440
|
+
responseType: responseType_,
|
|
4441
|
+
withCredentials: this.configuration.withCredentials,
|
|
4442
|
+
headers: localVarHeaders,
|
|
4443
|
+
observe: observe,
|
|
4444
|
+
transferCache: localVarTransferCache,
|
|
4445
|
+
reportProgress: reportProgress
|
|
4446
|
+
});
|
|
4447
|
+
}
|
|
4448
|
+
deleteTaskCompletionTime(id, observe = 'body', reportProgress = false, options) {
|
|
4449
|
+
if (id === null || id === undefined) {
|
|
4450
|
+
throw new Error('Required parameter id was null or undefined when calling deleteTaskCompletionTime.');
|
|
4451
|
+
}
|
|
4452
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4453
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
4454
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
4455
|
+
// to determine the Accept header
|
|
4456
|
+
const httpHeaderAccepts = [];
|
|
4457
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
4458
|
+
}
|
|
4459
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4460
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
4461
|
+
}
|
|
4462
|
+
let localVarHttpContext = options && options.context;
|
|
4463
|
+
if (localVarHttpContext === undefined) {
|
|
4464
|
+
localVarHttpContext = new HttpContext();
|
|
4465
|
+
}
|
|
4466
|
+
let localVarTransferCache = options && options.transferCache;
|
|
4467
|
+
if (localVarTransferCache === undefined) {
|
|
4468
|
+
localVarTransferCache = true;
|
|
4469
|
+
}
|
|
4470
|
+
let responseType_ = 'json';
|
|
4471
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4472
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
4473
|
+
responseType_ = 'text';
|
|
4474
|
+
}
|
|
4475
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4476
|
+
responseType_ = 'json';
|
|
4477
|
+
}
|
|
4478
|
+
else {
|
|
4479
|
+
responseType_ = 'blob';
|
|
4480
|
+
}
|
|
4481
|
+
}
|
|
4482
|
+
let localVarPath = `/taskCompletionTime/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}`;
|
|
4483
|
+
return this.httpClient.request('delete', `${this.configuration.basePath}${localVarPath}`, {
|
|
4484
|
+
context: localVarHttpContext,
|
|
4485
|
+
responseType: responseType_,
|
|
4486
|
+
withCredentials: this.configuration.withCredentials,
|
|
4487
|
+
headers: localVarHeaders,
|
|
4488
|
+
observe: observe,
|
|
4489
|
+
transferCache: localVarTransferCache,
|
|
4490
|
+
reportProgress: reportProgress
|
|
4491
|
+
});
|
|
4492
|
+
}
|
|
4493
|
+
getTaskCompletionTimeById(id, observe = 'body', reportProgress = false, options) {
|
|
4494
|
+
if (id === null || id === undefined) {
|
|
4495
|
+
throw new Error('Required parameter id was null or undefined when calling getTaskCompletionTimeById.');
|
|
4496
|
+
}
|
|
4497
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4498
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
4499
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
4500
|
+
// to determine the Accept header
|
|
4501
|
+
const httpHeaderAccepts = [
|
|
4502
|
+
'application/json'
|
|
4503
|
+
];
|
|
4504
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
4505
|
+
}
|
|
4506
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4507
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
4508
|
+
}
|
|
4509
|
+
let localVarHttpContext = options && options.context;
|
|
4510
|
+
if (localVarHttpContext === undefined) {
|
|
4511
|
+
localVarHttpContext = new HttpContext();
|
|
4512
|
+
}
|
|
4513
|
+
let localVarTransferCache = options && options.transferCache;
|
|
4514
|
+
if (localVarTransferCache === undefined) {
|
|
4515
|
+
localVarTransferCache = true;
|
|
4516
|
+
}
|
|
4517
|
+
let responseType_ = 'json';
|
|
4518
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4519
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
4520
|
+
responseType_ = 'text';
|
|
4521
|
+
}
|
|
4522
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4523
|
+
responseType_ = 'json';
|
|
4524
|
+
}
|
|
4525
|
+
else {
|
|
4526
|
+
responseType_ = 'blob';
|
|
4527
|
+
}
|
|
4528
|
+
}
|
|
4529
|
+
let localVarPath = `/taskCompletionTime/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}`;
|
|
4530
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
4531
|
+
context: localVarHttpContext,
|
|
4532
|
+
responseType: responseType_,
|
|
4533
|
+
withCredentials: this.configuration.withCredentials,
|
|
4534
|
+
headers: localVarHeaders,
|
|
4535
|
+
observe: observe,
|
|
4536
|
+
transferCache: localVarTransferCache,
|
|
4537
|
+
reportProgress: reportProgress
|
|
4538
|
+
});
|
|
4539
|
+
}
|
|
4540
|
+
getTaskCompletionTimes($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
4541
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
4542
|
+
if ($skip !== undefined && $skip !== null) {
|
|
4543
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
4544
|
+
}
|
|
4545
|
+
if ($top !== undefined && $top !== null) {
|
|
4546
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
4547
|
+
}
|
|
4548
|
+
if ($orderby !== undefined && $orderby !== null) {
|
|
4549
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
4550
|
+
}
|
|
4551
|
+
if ($filter !== undefined && $filter !== null) {
|
|
4552
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
4553
|
+
}
|
|
4554
|
+
if ($search !== undefined && $search !== null) {
|
|
4555
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
4556
|
+
}
|
|
4557
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4558
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
4559
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
4560
|
+
// to determine the Accept header
|
|
4561
|
+
const httpHeaderAccepts = [
|
|
4562
|
+
'application/json'
|
|
4563
|
+
];
|
|
4564
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
4565
|
+
}
|
|
4566
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4567
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
4568
|
+
}
|
|
4569
|
+
let localVarHttpContext = options && options.context;
|
|
4570
|
+
if (localVarHttpContext === undefined) {
|
|
4571
|
+
localVarHttpContext = new HttpContext();
|
|
4572
|
+
}
|
|
4573
|
+
let localVarTransferCache = options && options.transferCache;
|
|
4574
|
+
if (localVarTransferCache === undefined) {
|
|
4575
|
+
localVarTransferCache = true;
|
|
4576
|
+
}
|
|
4577
|
+
let responseType_ = 'json';
|
|
4578
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4579
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
4580
|
+
responseType_ = 'text';
|
|
4581
|
+
}
|
|
4582
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4583
|
+
responseType_ = 'json';
|
|
4584
|
+
}
|
|
4585
|
+
else {
|
|
4586
|
+
responseType_ = 'blob';
|
|
4587
|
+
}
|
|
4588
|
+
}
|
|
4589
|
+
let localVarPath = `/taskCompletionTime`;
|
|
4590
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
4591
|
+
context: localVarHttpContext,
|
|
4592
|
+
params: localVarQueryParameters,
|
|
4593
|
+
responseType: responseType_,
|
|
4594
|
+
withCredentials: this.configuration.withCredentials,
|
|
4595
|
+
headers: localVarHeaders,
|
|
4596
|
+
observe: observe,
|
|
4597
|
+
transferCache: localVarTransferCache,
|
|
4598
|
+
reportProgress: reportProgress
|
|
4599
|
+
});
|
|
4600
|
+
}
|
|
4601
|
+
updateTaskCompletionTime(id, taskCompletionTime, observe = 'body', reportProgress = false, options) {
|
|
4602
|
+
if (id === null || id === undefined) {
|
|
4603
|
+
throw new Error('Required parameter id was null or undefined when calling updateTaskCompletionTime.');
|
|
4604
|
+
}
|
|
4605
|
+
if (taskCompletionTime === null || taskCompletionTime === undefined) {
|
|
4606
|
+
throw new Error('Required parameter taskCompletionTime was null or undefined when calling updateTaskCompletionTime.');
|
|
4607
|
+
}
|
|
4608
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4609
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
4610
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
4611
|
+
// to determine the Accept header
|
|
4612
|
+
const httpHeaderAccepts = [
|
|
4613
|
+
'application/json'
|
|
4614
|
+
];
|
|
4615
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
4616
|
+
}
|
|
4617
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4618
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
4619
|
+
}
|
|
4620
|
+
let localVarHttpContext = options && options.context;
|
|
4621
|
+
if (localVarHttpContext === undefined) {
|
|
4622
|
+
localVarHttpContext = new HttpContext();
|
|
4623
|
+
}
|
|
4624
|
+
let localVarTransferCache = options && options.transferCache;
|
|
4625
|
+
if (localVarTransferCache === undefined) {
|
|
4626
|
+
localVarTransferCache = true;
|
|
4627
|
+
}
|
|
4628
|
+
// to determine the Content-Type header
|
|
4629
|
+
const consumes = [
|
|
4630
|
+
'application/json'
|
|
4631
|
+
];
|
|
4632
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
4633
|
+
if (httpContentTypeSelected !== undefined) {
|
|
4634
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
4635
|
+
}
|
|
4636
|
+
let responseType_ = 'json';
|
|
4637
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4638
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
4639
|
+
responseType_ = 'text';
|
|
4640
|
+
}
|
|
4641
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4642
|
+
responseType_ = 'json';
|
|
4643
|
+
}
|
|
4644
|
+
else {
|
|
4645
|
+
responseType_ = 'blob';
|
|
4646
|
+
}
|
|
4647
|
+
}
|
|
4648
|
+
let localVarPath = `/taskCompletionTime/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}`;
|
|
4649
|
+
return this.httpClient.request('put', `${this.configuration.basePath}${localVarPath}`, {
|
|
4650
|
+
context: localVarHttpContext,
|
|
4651
|
+
body: taskCompletionTime,
|
|
4652
|
+
responseType: responseType_,
|
|
4653
|
+
withCredentials: this.configuration.withCredentials,
|
|
4654
|
+
headers: localVarHeaders,
|
|
4655
|
+
observe: observe,
|
|
4656
|
+
transferCache: localVarTransferCache,
|
|
4657
|
+
reportProgress: reportProgress
|
|
4658
|
+
});
|
|
4659
|
+
}
|
|
4660
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TaskCompletionTimeService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4661
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TaskCompletionTimeService, providedIn: 'root' });
|
|
4662
|
+
}
|
|
4663
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TaskCompletionTimeService, decorators: [{
|
|
4664
|
+
type: Injectable,
|
|
4665
|
+
args: [{
|
|
4666
|
+
providedIn: 'root'
|
|
4667
|
+
}]
|
|
4668
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
4669
|
+
type: Optional
|
|
4670
|
+
}, {
|
|
4671
|
+
type: Inject,
|
|
4672
|
+
args: [BASE_PATH]
|
|
4673
|
+
}] }, { type: Configuration, decorators: [{
|
|
4674
|
+
type: Optional
|
|
4675
|
+
}] }] });
|
|
4676
|
+
|
|
4321
4677
|
/**
|
|
4322
4678
|
* Wms.API.Client
|
|
4323
4679
|
*
|
|
@@ -5306,7 +5662,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
5306
5662
|
type: Optional
|
|
5307
5663
|
}] }] });
|
|
5308
5664
|
|
|
5309
|
-
const APIS = [AnalyticsService, CompaniesService, DcsService, DeliveriesService, DeliveryItemsService, DispatchService, DispatchItemsService, HealthService, NotesService, PermissionsService, ProductMastersService, ProductQuantitiesService, ReasonsService, SettingsService, SummaryService, TaskOperationsService, TaskUserRecordsService, UserService];
|
|
5665
|
+
const APIS = [AnalyticsService, CompaniesService, DcsService, DeliveriesService, DeliveryItemsService, DispatchService, DispatchItemsService, HealthService, NotesService, PermissionsService, ProductMastersService, ProductQuantitiesService, ReasonsService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService];
|
|
5310
5666
|
|
|
5311
5667
|
/**
|
|
5312
5668
|
* Wms.API.Client
|
|
@@ -5714,6 +6070,16 @@ const RecordType = {
|
|
|
5714
6070
|
* Do not edit the class manually.
|
|
5715
6071
|
*/
|
|
5716
6072
|
|
|
6073
|
+
/**
|
|
6074
|
+
* Wms.API.Client
|
|
6075
|
+
*
|
|
6076
|
+
*
|
|
6077
|
+
*
|
|
6078
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
6079
|
+
* https://openapi-generator.tech
|
|
6080
|
+
* Do not edit the class manually.
|
|
6081
|
+
*/
|
|
6082
|
+
|
|
5717
6083
|
class ApiModule {
|
|
5718
6084
|
static forRoot(configurationFactory) {
|
|
5719
6085
|
return {
|
|
@@ -5754,5 +6120,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
5754
6120
|
* Generated bundle index. Do not edit.
|
|
5755
6121
|
*/
|
|
5756
6122
|
|
|
5757
|
-
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, TaskOperationsService, TaskUserRecordsService, UserService };
|
|
6123
|
+
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, UserService };
|
|
5758
6124
|
//# sourceMappingURL=indigina-wms-api.mjs.map
|