@indigina/wms-api 0.0.37 → 0.0.39
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 +9 -1
- package/api/companies.service.d.ts +63 -0
- package/api/deliveries.service.d.ts +69 -0
- package/api/deliveryItems.service.d.ts +43 -0
- package/api/notes.service.d.ts +96 -0
- package/fesm2022/indigina-wms-api.mjs +997 -27
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/model/companies.d.ts +14 -0
- package/model/company.d.ts +14 -0
- package/model/deliveries.d.ts +14 -0
- package/model/deliveryItemView.d.ts +23 -0
- package/model/deliveryItems.d.ts +14 -0
- package/model/deliveryType.d.ts +17 -0
- package/model/deliveryView.d.ts +42 -0
- package/model/entityList.d.ts +13 -0
- package/model/models.d.ts +15 -0
- package/model/note.d.ts +20 -0
- package/model/noteCategory.d.ts +16 -0
- package/model/noteSourceType.d.ts +14 -0
- package/model/noteView.d.ts +16 -0
- package/model/notes.d.ts +14 -0
- package/model/orderStatus.d.ts +30 -0
- package/model/recordType.d.ts +14 -0
- package/model/report.d.ts +6 -6
- 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.39
|
|
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.39 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
package/api/api.d.ts
CHANGED
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
export * from './analytics.service';
|
|
2
2
|
import { AnalyticsService } from './analytics.service';
|
|
3
|
+
export * from './companies.service';
|
|
4
|
+
import { CompaniesService } from './companies.service';
|
|
3
5
|
export * from './dcs.service';
|
|
4
6
|
import { DcsService } from './dcs.service';
|
|
7
|
+
export * from './deliveries.service';
|
|
8
|
+
import { DeliveriesService } from './deliveries.service';
|
|
9
|
+
export * from './deliveryItems.service';
|
|
10
|
+
import { DeliveryItemsService } from './deliveryItems.service';
|
|
5
11
|
export * from './health.service';
|
|
6
12
|
import { HealthService } from './health.service';
|
|
13
|
+
export * from './notes.service';
|
|
14
|
+
import { NotesService } from './notes.service';
|
|
7
15
|
export * from './permissions.service';
|
|
8
16
|
import { PermissionsService } from './permissions.service';
|
|
9
17
|
export * from './summary.service';
|
|
10
18
|
import { SummaryService } from './summary.service';
|
|
11
19
|
export * from './user.service';
|
|
12
20
|
import { UserService } from './user.service';
|
|
13
|
-
export declare const APIS: (typeof AnalyticsService | typeof DcsService | typeof HealthService | typeof PermissionsService | typeof SummaryService | typeof UserService)[];
|
|
21
|
+
export declare const APIS: (typeof AnalyticsService | typeof CompaniesService | typeof DcsService | typeof DeliveriesService | typeof DeliveryItemsService | typeof HealthService | typeof NotesService | typeof PermissionsService | typeof SummaryService | typeof UserService)[];
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { Companies } from '../model/companies';
|
|
4
|
+
import { Configuration } from '../configuration';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CompaniesService {
|
|
7
|
+
protected httpClient: HttpClient;
|
|
8
|
+
protected basePath: string;
|
|
9
|
+
defaultHeaders: HttpHeaders;
|
|
10
|
+
configuration: Configuration;
|
|
11
|
+
encoder: HttpParameterCodec;
|
|
12
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
13
|
+
private addToHttpParams;
|
|
14
|
+
private addToHttpParamsRecursive;
|
|
15
|
+
/**
|
|
16
|
+
* Getting clients
|
|
17
|
+
* @param $skip
|
|
18
|
+
* @param $top
|
|
19
|
+
* @param $orderby
|
|
20
|
+
* @param $filter
|
|
21
|
+
* @param $search
|
|
22
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
23
|
+
* @param reportProgress flag to report request and response progress.
|
|
24
|
+
*/
|
|
25
|
+
getClients($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
26
|
+
httpHeaderAccept?: 'application/json';
|
|
27
|
+
context?: HttpContext;
|
|
28
|
+
transferCache?: boolean;
|
|
29
|
+
}): Observable<Companies>;
|
|
30
|
+
getClients($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
31
|
+
httpHeaderAccept?: 'application/json';
|
|
32
|
+
context?: HttpContext;
|
|
33
|
+
transferCache?: boolean;
|
|
34
|
+
}): Observable<HttpResponse<Companies>>;
|
|
35
|
+
getClients($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
36
|
+
httpHeaderAccept?: 'application/json';
|
|
37
|
+
context?: HttpContext;
|
|
38
|
+
transferCache?: boolean;
|
|
39
|
+
}): Observable<HttpEvent<Companies>>;
|
|
40
|
+
/**
|
|
41
|
+
* Getting suppliers
|
|
42
|
+
* @param id
|
|
43
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
44
|
+
* @param reportProgress flag to report request and response progress.
|
|
45
|
+
*/
|
|
46
|
+
getSuppliers(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
47
|
+
httpHeaderAccept?: 'application/json';
|
|
48
|
+
context?: HttpContext;
|
|
49
|
+
transferCache?: boolean;
|
|
50
|
+
}): Observable<Companies>;
|
|
51
|
+
getSuppliers(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
52
|
+
httpHeaderAccept?: 'application/json';
|
|
53
|
+
context?: HttpContext;
|
|
54
|
+
transferCache?: boolean;
|
|
55
|
+
}): Observable<HttpResponse<Companies>>;
|
|
56
|
+
getSuppliers(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
57
|
+
httpHeaderAccept?: 'application/json';
|
|
58
|
+
context?: HttpContext;
|
|
59
|
+
transferCache?: boolean;
|
|
60
|
+
}): Observable<HttpEvent<Companies>>;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CompaniesService, [null, { optional: true; }, { optional: true; }]>;
|
|
62
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CompaniesService>;
|
|
63
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { Deliveries } from '../model/deliveries';
|
|
4
|
+
import { OrderStatus } from '../model/orderStatus';
|
|
5
|
+
import { Configuration } from '../configuration';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class DeliveriesService {
|
|
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
|
+
* Getting deliveries
|
|
18
|
+
* @param $skip
|
|
19
|
+
* @param $top
|
|
20
|
+
* @param $orderby
|
|
21
|
+
* @param $filter
|
|
22
|
+
* @param $search
|
|
23
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
24
|
+
* @param reportProgress flag to report request and response progress.
|
|
25
|
+
*/
|
|
26
|
+
getDeliveries($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
27
|
+
httpHeaderAccept?: 'application/json';
|
|
28
|
+
context?: HttpContext;
|
|
29
|
+
transferCache?: boolean;
|
|
30
|
+
}): Observable<Deliveries>;
|
|
31
|
+
getDeliveries($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
32
|
+
httpHeaderAccept?: 'application/json';
|
|
33
|
+
context?: HttpContext;
|
|
34
|
+
transferCache?: boolean;
|
|
35
|
+
}): Observable<HttpResponse<Deliveries>>;
|
|
36
|
+
getDeliveries($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
37
|
+
httpHeaderAccept?: 'application/json';
|
|
38
|
+
context?: HttpContext;
|
|
39
|
+
transferCache?: boolean;
|
|
40
|
+
}): Observable<HttpEvent<Deliveries>>;
|
|
41
|
+
/**
|
|
42
|
+
* Getting deliveries
|
|
43
|
+
* @param deliveryStatus
|
|
44
|
+
* @param $skip
|
|
45
|
+
* @param $top
|
|
46
|
+
* @param $orderby
|
|
47
|
+
* @param $filter
|
|
48
|
+
* @param $search
|
|
49
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
50
|
+
* @param reportProgress flag to report request and response progress.
|
|
51
|
+
*/
|
|
52
|
+
getDeliveriesByOrderStatus(deliveryStatus: OrderStatus, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
53
|
+
httpHeaderAccept?: 'application/json';
|
|
54
|
+
context?: HttpContext;
|
|
55
|
+
transferCache?: boolean;
|
|
56
|
+
}): Observable<Deliveries>;
|
|
57
|
+
getDeliveriesByOrderStatus(deliveryStatus: OrderStatus, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
58
|
+
httpHeaderAccept?: 'application/json';
|
|
59
|
+
context?: HttpContext;
|
|
60
|
+
transferCache?: boolean;
|
|
61
|
+
}): Observable<HttpResponse<Deliveries>>;
|
|
62
|
+
getDeliveriesByOrderStatus(deliveryStatus: OrderStatus, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
63
|
+
httpHeaderAccept?: 'application/json';
|
|
64
|
+
context?: HttpContext;
|
|
65
|
+
transferCache?: boolean;
|
|
66
|
+
}): Observable<HttpEvent<Deliveries>>;
|
|
67
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DeliveriesService, [null, { optional: true; }, { optional: true; }]>;
|
|
68
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DeliveriesService>;
|
|
69
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { DeliveryItems } from '../model/deliveryItems';
|
|
4
|
+
import { Configuration } from '../configuration';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DeliveryItemsService {
|
|
7
|
+
protected httpClient: HttpClient;
|
|
8
|
+
protected basePath: string;
|
|
9
|
+
defaultHeaders: HttpHeaders;
|
|
10
|
+
configuration: Configuration;
|
|
11
|
+
encoder: HttpParameterCodec;
|
|
12
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
13
|
+
private addToHttpParams;
|
|
14
|
+
private addToHttpParamsRecursive;
|
|
15
|
+
/**
|
|
16
|
+
* Getting delivery items
|
|
17
|
+
* @param id
|
|
18
|
+
* @param $skip
|
|
19
|
+
* @param $top
|
|
20
|
+
* @param $orderby
|
|
21
|
+
* @param $filter
|
|
22
|
+
* @param $search
|
|
23
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
24
|
+
* @param reportProgress flag to report request and response progress.
|
|
25
|
+
*/
|
|
26
|
+
getDeliveryItems(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
27
|
+
httpHeaderAccept?: 'application/json';
|
|
28
|
+
context?: HttpContext;
|
|
29
|
+
transferCache?: boolean;
|
|
30
|
+
}): Observable<DeliveryItems>;
|
|
31
|
+
getDeliveryItems(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
32
|
+
httpHeaderAccept?: 'application/json';
|
|
33
|
+
context?: HttpContext;
|
|
34
|
+
transferCache?: boolean;
|
|
35
|
+
}): Observable<HttpResponse<DeliveryItems>>;
|
|
36
|
+
getDeliveryItems(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
37
|
+
httpHeaderAccept?: 'application/json';
|
|
38
|
+
context?: HttpContext;
|
|
39
|
+
transferCache?: boolean;
|
|
40
|
+
}): Observable<HttpEvent<DeliveryItems>>;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DeliveryItemsService, [null, { optional: true; }, { optional: true; }]>;
|
|
42
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DeliveryItemsService>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { Note } from '../model/note';
|
|
4
|
+
import { NoteCategory } from '../model/noteCategory';
|
|
5
|
+
import { NoteSourceType } from '../model/noteSourceType';
|
|
6
|
+
import { Notes } from '../model/notes';
|
|
7
|
+
import { Configuration } from '../configuration';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class NotesService {
|
|
10
|
+
protected httpClient: HttpClient;
|
|
11
|
+
protected basePath: string;
|
|
12
|
+
defaultHeaders: HttpHeaders;
|
|
13
|
+
configuration: Configuration;
|
|
14
|
+
encoder: HttpParameterCodec;
|
|
15
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
16
|
+
private addToHttpParams;
|
|
17
|
+
private addToHttpParamsRecursive;
|
|
18
|
+
/**
|
|
19
|
+
* Create new note
|
|
20
|
+
* @param note
|
|
21
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
22
|
+
* @param reportProgress flag to report request and response progress.
|
|
23
|
+
*/
|
|
24
|
+
createNote(note?: Note, observe?: 'body', reportProgress?: boolean, options?: {
|
|
25
|
+
httpHeaderAccept?: 'application/json';
|
|
26
|
+
context?: HttpContext;
|
|
27
|
+
transferCache?: boolean;
|
|
28
|
+
}): Observable<Note>;
|
|
29
|
+
createNote(note?: Note, observe?: 'response', reportProgress?: boolean, options?: {
|
|
30
|
+
httpHeaderAccept?: 'application/json';
|
|
31
|
+
context?: HttpContext;
|
|
32
|
+
transferCache?: boolean;
|
|
33
|
+
}): Observable<HttpResponse<Note>>;
|
|
34
|
+
createNote(note?: Note, observe?: 'events', reportProgress?: boolean, options?: {
|
|
35
|
+
httpHeaderAccept?: 'application/json';
|
|
36
|
+
context?: HttpContext;
|
|
37
|
+
transferCache?: boolean;
|
|
38
|
+
}): Observable<HttpEvent<Note>>;
|
|
39
|
+
/**
|
|
40
|
+
* Getting notes
|
|
41
|
+
* @param sourceId
|
|
42
|
+
* @param type
|
|
43
|
+
* @param $skip
|
|
44
|
+
* @param $top
|
|
45
|
+
* @param $orderby
|
|
46
|
+
* @param $filter
|
|
47
|
+
* @param $search
|
|
48
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
49
|
+
* @param reportProgress flag to report request and response progress.
|
|
50
|
+
*/
|
|
51
|
+
getNotes(sourceId: string, type: NoteSourceType, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
52
|
+
httpHeaderAccept?: 'application/json';
|
|
53
|
+
context?: HttpContext;
|
|
54
|
+
transferCache?: boolean;
|
|
55
|
+
}): Observable<Notes>;
|
|
56
|
+
getNotes(sourceId: string, type: NoteSourceType, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
57
|
+
httpHeaderAccept?: 'application/json';
|
|
58
|
+
context?: HttpContext;
|
|
59
|
+
transferCache?: boolean;
|
|
60
|
+
}): Observable<HttpResponse<Notes>>;
|
|
61
|
+
getNotes(sourceId: string, type: NoteSourceType, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
62
|
+
httpHeaderAccept?: 'application/json';
|
|
63
|
+
context?: HttpContext;
|
|
64
|
+
transferCache?: boolean;
|
|
65
|
+
}): Observable<HttpEvent<Notes>>;
|
|
66
|
+
/**
|
|
67
|
+
* Getting notes by category
|
|
68
|
+
* @param sourceId
|
|
69
|
+
* @param type
|
|
70
|
+
* @param category
|
|
71
|
+
* @param $skip
|
|
72
|
+
* @param $top
|
|
73
|
+
* @param $orderby
|
|
74
|
+
* @param $filter
|
|
75
|
+
* @param $search
|
|
76
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
77
|
+
* @param reportProgress flag to report request and response progress.
|
|
78
|
+
*/
|
|
79
|
+
getNotesByCategory(sourceId: string, type: NoteSourceType, category: NoteCategory, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
80
|
+
httpHeaderAccept?: 'application/json';
|
|
81
|
+
context?: HttpContext;
|
|
82
|
+
transferCache?: boolean;
|
|
83
|
+
}): Observable<Notes>;
|
|
84
|
+
getNotesByCategory(sourceId: string, type: NoteSourceType, category: NoteCategory, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
85
|
+
httpHeaderAccept?: 'application/json';
|
|
86
|
+
context?: HttpContext;
|
|
87
|
+
transferCache?: boolean;
|
|
88
|
+
}): Observable<HttpResponse<Notes>>;
|
|
89
|
+
getNotesByCategory(sourceId: string, type: NoteSourceType, category: NoteCategory, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
90
|
+
httpHeaderAccept?: 'application/json';
|
|
91
|
+
context?: HttpContext;
|
|
92
|
+
transferCache?: boolean;
|
|
93
|
+
}): Observable<HttpEvent<Notes>>;
|
|
94
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotesService, [null, { optional: true; }, { optional: true; }]>;
|
|
95
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NotesService>;
|
|
96
|
+
}
|