@indigina/wms-api 0.0.50 → 0.0.51
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 +5 -1
- package/api/taskOperations.service.d.ts +128 -0
- package/api/taskUserRecords.service.d.ts +128 -0
- package/fesm2022/indigina-wms-api.mjs +739 -2
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/model/deviceType.d.ts +15 -0
- package/model/models.d.ts +5 -0
- package/model/taskOperation.d.ts +15 -0
- package/model/taskOperations.d.ts +14 -0
- package/model/taskUserRecord.d.ts +23 -0
- package/model/taskUserRecords.d.ts +14 -0
- 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.51
|
|
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.51 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
package/api/api.d.ts
CHANGED
|
@@ -24,6 +24,10 @@ export * from './settings.service';
|
|
|
24
24
|
import { SettingsService } from './settings.service';
|
|
25
25
|
export * from './summary.service';
|
|
26
26
|
import { SummaryService } from './summary.service';
|
|
27
|
+
export * from './taskOperations.service';
|
|
28
|
+
import { TaskOperationsService } from './taskOperations.service';
|
|
29
|
+
export * from './taskUserRecords.service';
|
|
30
|
+
import { TaskUserRecordsService } from './taskUserRecords.service';
|
|
27
31
|
export * from './user.service';
|
|
28
32
|
import { UserService } from './user.service';
|
|
29
|
-
export declare const APIS: (typeof AnalyticsService | typeof CompaniesService | typeof DcsService | typeof DeliveriesService | typeof DeliveryItemsService | typeof HealthService | typeof NotesService | typeof PermissionsService | typeof ProductMastersService | typeof ProductQuantitiesService | typeof ReasonsService | typeof SettingsService | typeof SummaryService | typeof UserService)[];
|
|
33
|
+
export declare const APIS: (typeof AnalyticsService | typeof CompaniesService | typeof DcsService | typeof DeliveriesService | typeof DeliveryItemsService | typeof HealthService | typeof NotesService | typeof PermissionsService | typeof ProductMastersService | typeof ProductQuantitiesService | typeof ReasonsService | typeof SettingsService | typeof SummaryService | 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 { TaskOperation } from '../model/taskOperation';
|
|
4
|
+
import { TaskOperations } from '../model/taskOperations';
|
|
5
|
+
import { Configuration } from '../configuration';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class TaskOperationsService {
|
|
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 operation
|
|
18
|
+
* @param taskOperation
|
|
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
|
+
createTaskOperation(taskOperation: TaskOperation, observe?: 'body', reportProgress?: boolean, options?: {
|
|
23
|
+
httpHeaderAccept?: 'application/json';
|
|
24
|
+
context?: HttpContext;
|
|
25
|
+
transferCache?: boolean;
|
|
26
|
+
}): Observable<TaskOperation>;
|
|
27
|
+
createTaskOperation(taskOperation: TaskOperation, observe?: 'response', reportProgress?: boolean, options?: {
|
|
28
|
+
httpHeaderAccept?: 'application/json';
|
|
29
|
+
context?: HttpContext;
|
|
30
|
+
transferCache?: boolean;
|
|
31
|
+
}): Observable<HttpResponse<TaskOperation>>;
|
|
32
|
+
createTaskOperation(taskOperation: TaskOperation, observe?: 'events', reportProgress?: boolean, options?: {
|
|
33
|
+
httpHeaderAccept?: 'application/json';
|
|
34
|
+
context?: HttpContext;
|
|
35
|
+
transferCache?: boolean;
|
|
36
|
+
}): Observable<HttpEvent<TaskOperation>>;
|
|
37
|
+
/**
|
|
38
|
+
* Delete a task operation
|
|
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
|
+
deleteTaskOperation(id: number, observe?: 'body', reportProgress?: boolean, options?: {
|
|
44
|
+
httpHeaderAccept?: undefined;
|
|
45
|
+
context?: HttpContext;
|
|
46
|
+
transferCache?: boolean;
|
|
47
|
+
}): Observable<any>;
|
|
48
|
+
deleteTaskOperation(id: number, observe?: 'response', reportProgress?: boolean, options?: {
|
|
49
|
+
httpHeaderAccept?: undefined;
|
|
50
|
+
context?: HttpContext;
|
|
51
|
+
transferCache?: boolean;
|
|
52
|
+
}): Observable<HttpResponse<any>>;
|
|
53
|
+
deleteTaskOperation(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 operation 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
|
+
getTaskOperationById(id: number, observe?: 'body', reportProgress?: boolean, options?: {
|
|
65
|
+
httpHeaderAccept?: 'application/json';
|
|
66
|
+
context?: HttpContext;
|
|
67
|
+
transferCache?: boolean;
|
|
68
|
+
}): Observable<TaskOperation>;
|
|
69
|
+
getTaskOperationById(id: number, observe?: 'response', reportProgress?: boolean, options?: {
|
|
70
|
+
httpHeaderAccept?: 'application/json';
|
|
71
|
+
context?: HttpContext;
|
|
72
|
+
transferCache?: boolean;
|
|
73
|
+
}): Observable<HttpResponse<TaskOperation>>;
|
|
74
|
+
getTaskOperationById(id: number, observe?: 'events', reportProgress?: boolean, options?: {
|
|
75
|
+
httpHeaderAccept?: 'application/json';
|
|
76
|
+
context?: HttpContext;
|
|
77
|
+
transferCache?: boolean;
|
|
78
|
+
}): Observable<HttpEvent<TaskOperation>>;
|
|
79
|
+
/**
|
|
80
|
+
* Getting task operations
|
|
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
|
+
getTaskOperations($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<TaskOperations>;
|
|
94
|
+
getTaskOperations($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<TaskOperations>>;
|
|
99
|
+
getTaskOperations($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<TaskOperations>>;
|
|
104
|
+
/**
|
|
105
|
+
* Update an existing task operation
|
|
106
|
+
* @param id
|
|
107
|
+
* @param taskOperation
|
|
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
|
+
updateTaskOperation(id: number, taskOperation: TaskOperation, observe?: 'body', reportProgress?: boolean, options?: {
|
|
112
|
+
httpHeaderAccept?: 'application/json';
|
|
113
|
+
context?: HttpContext;
|
|
114
|
+
transferCache?: boolean;
|
|
115
|
+
}): Observable<TaskOperation>;
|
|
116
|
+
updateTaskOperation(id: number, taskOperation: TaskOperation, observe?: 'response', reportProgress?: boolean, options?: {
|
|
117
|
+
httpHeaderAccept?: 'application/json';
|
|
118
|
+
context?: HttpContext;
|
|
119
|
+
transferCache?: boolean;
|
|
120
|
+
}): Observable<HttpResponse<TaskOperation>>;
|
|
121
|
+
updateTaskOperation(id: number, taskOperation: TaskOperation, observe?: 'events', reportProgress?: boolean, options?: {
|
|
122
|
+
httpHeaderAccept?: 'application/json';
|
|
123
|
+
context?: HttpContext;
|
|
124
|
+
transferCache?: boolean;
|
|
125
|
+
}): Observable<HttpEvent<TaskOperation>>;
|
|
126
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskOperationsService, [null, { optional: true; }, { optional: true; }]>;
|
|
127
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TaskOperationsService>;
|
|
128
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { TaskUserRecord } from '../model/taskUserRecord';
|
|
4
|
+
import { TaskUserRecords } from '../model/taskUserRecords';
|
|
5
|
+
import { Configuration } from '../configuration';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class TaskUserRecordsService {
|
|
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 user record
|
|
18
|
+
* @param taskUserRecord
|
|
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
|
+
createTaskUserRecord(taskUserRecord: TaskUserRecord, observe?: 'body', reportProgress?: boolean, options?: {
|
|
23
|
+
httpHeaderAccept?: 'application/json';
|
|
24
|
+
context?: HttpContext;
|
|
25
|
+
transferCache?: boolean;
|
|
26
|
+
}): Observable<TaskUserRecord>;
|
|
27
|
+
createTaskUserRecord(taskUserRecord: TaskUserRecord, observe?: 'response', reportProgress?: boolean, options?: {
|
|
28
|
+
httpHeaderAccept?: 'application/json';
|
|
29
|
+
context?: HttpContext;
|
|
30
|
+
transferCache?: boolean;
|
|
31
|
+
}): Observable<HttpResponse<TaskUserRecord>>;
|
|
32
|
+
createTaskUserRecord(taskUserRecord: TaskUserRecord, observe?: 'events', reportProgress?: boolean, options?: {
|
|
33
|
+
httpHeaderAccept?: 'application/json';
|
|
34
|
+
context?: HttpContext;
|
|
35
|
+
transferCache?: boolean;
|
|
36
|
+
}): Observable<HttpEvent<TaskUserRecord>>;
|
|
37
|
+
/**
|
|
38
|
+
* Delete a task user record
|
|
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
|
+
deleteTaskUserRecord(id: number, observe?: 'body', reportProgress?: boolean, options?: {
|
|
44
|
+
httpHeaderAccept?: undefined;
|
|
45
|
+
context?: HttpContext;
|
|
46
|
+
transferCache?: boolean;
|
|
47
|
+
}): Observable<any>;
|
|
48
|
+
deleteTaskUserRecord(id: number, observe?: 'response', reportProgress?: boolean, options?: {
|
|
49
|
+
httpHeaderAccept?: undefined;
|
|
50
|
+
context?: HttpContext;
|
|
51
|
+
transferCache?: boolean;
|
|
52
|
+
}): Observable<HttpResponse<any>>;
|
|
53
|
+
deleteTaskUserRecord(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 user record 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
|
+
getTaskUserRecordById(id: number, observe?: 'body', reportProgress?: boolean, options?: {
|
|
65
|
+
httpHeaderAccept?: 'application/json';
|
|
66
|
+
context?: HttpContext;
|
|
67
|
+
transferCache?: boolean;
|
|
68
|
+
}): Observable<TaskUserRecord>;
|
|
69
|
+
getTaskUserRecordById(id: number, observe?: 'response', reportProgress?: boolean, options?: {
|
|
70
|
+
httpHeaderAccept?: 'application/json';
|
|
71
|
+
context?: HttpContext;
|
|
72
|
+
transferCache?: boolean;
|
|
73
|
+
}): Observable<HttpResponse<TaskUserRecord>>;
|
|
74
|
+
getTaskUserRecordById(id: number, observe?: 'events', reportProgress?: boolean, options?: {
|
|
75
|
+
httpHeaderAccept?: 'application/json';
|
|
76
|
+
context?: HttpContext;
|
|
77
|
+
transferCache?: boolean;
|
|
78
|
+
}): Observable<HttpEvent<TaskUserRecord>>;
|
|
79
|
+
/**
|
|
80
|
+
* Getting task user records
|
|
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
|
+
getTaskUserRecords($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<TaskUserRecords>;
|
|
94
|
+
getTaskUserRecords($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<TaskUserRecords>>;
|
|
99
|
+
getTaskUserRecords($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<TaskUserRecords>>;
|
|
104
|
+
/**
|
|
105
|
+
* Update an existing task user record
|
|
106
|
+
* @param id
|
|
107
|
+
* @param taskUserRecord
|
|
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
|
+
updateTaskUserRecord(id: number, taskUserRecord: TaskUserRecord, observe?: 'body', reportProgress?: boolean, options?: {
|
|
112
|
+
httpHeaderAccept?: 'application/json';
|
|
113
|
+
context?: HttpContext;
|
|
114
|
+
transferCache?: boolean;
|
|
115
|
+
}): Observable<TaskUserRecord>;
|
|
116
|
+
updateTaskUserRecord(id: number, taskUserRecord: TaskUserRecord, observe?: 'response', reportProgress?: boolean, options?: {
|
|
117
|
+
httpHeaderAccept?: 'application/json';
|
|
118
|
+
context?: HttpContext;
|
|
119
|
+
transferCache?: boolean;
|
|
120
|
+
}): Observable<HttpResponse<TaskUserRecord>>;
|
|
121
|
+
updateTaskUserRecord(id: number, taskUserRecord: TaskUserRecord, observe?: 'events', reportProgress?: boolean, options?: {
|
|
122
|
+
httpHeaderAccept?: 'application/json';
|
|
123
|
+
context?: HttpContext;
|
|
124
|
+
transferCache?: boolean;
|
|
125
|
+
}): Observable<HttpEvent<TaskUserRecord>>;
|
|
126
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskUserRecordsService, [null, { optional: true; }, { optional: true; }]>;
|
|
127
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TaskUserRecordsService>;
|
|
128
|
+
}
|