@indigina/wms-api 0.0.44 → 0.0.46

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 CHANGED
@@ -1,4 +1,4 @@
1
- # @indigina/wms-api@0.0.44
1
+ # @indigina/wms-api@0.0.46
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.44 --save
27
+ npm install @indigina/wms-api@0.0.46 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
package/api/api.d.ts CHANGED
@@ -14,8 +14,14 @@ export * from './notes.service';
14
14
  import { NotesService } from './notes.service';
15
15
  export * from './permissions.service';
16
16
  import { PermissionsService } from './permissions.service';
17
+ export * from './productMasters.service';
18
+ import { ProductMastersService } from './productMasters.service';
19
+ export * from './reasons.service';
20
+ import { ReasonsService } from './reasons.service';
21
+ export * from './settings.service';
22
+ import { SettingsService } from './settings.service';
17
23
  export * from './summary.service';
18
24
  import { SummaryService } from './summary.service';
19
25
  export * from './user.service';
20
26
  import { UserService } from './user.service';
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)[];
27
+ export declare const APIS: (typeof AnalyticsService | typeof CompaniesService | typeof DcsService | typeof DeliveriesService | typeof DeliveryItemsService | typeof HealthService | typeof NotesService | typeof PermissionsService | typeof ProductMastersService | typeof ReasonsService | typeof SettingsService | typeof SummaryService | typeof UserService)[];
@@ -1,6 +1,7 @@
1
1
  import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
3
  import { Deliveries } from '../model/deliveries';
4
+ import { Delivery } from '../model/delivery';
4
5
  import { OrderStatus } from '../model/orderStatus';
5
6
  import { Configuration } from '../configuration';
6
7
  import * as i0 from "@angular/core";
@@ -89,6 +90,32 @@ export declare class DeliveriesService {
89
90
  context?: HttpContext;
90
91
  transferCache?: boolean;
91
92
  }): Observable<HttpEvent<Deliveries>>;
93
+ /**
94
+ * Getting delivery by id
95
+ * @param id
96
+ * @param $skip
97
+ * @param $top
98
+ * @param $orderby
99
+ * @param $filter
100
+ * @param $search
101
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
102
+ * @param reportProgress flag to report request and response progress.
103
+ */
104
+ getDelivery(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
105
+ httpHeaderAccept?: 'application/json';
106
+ context?: HttpContext;
107
+ transferCache?: boolean;
108
+ }): Observable<Delivery>;
109
+ getDelivery(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
110
+ httpHeaderAccept?: 'application/json';
111
+ context?: HttpContext;
112
+ transferCache?: boolean;
113
+ }): Observable<HttpResponse<Delivery>>;
114
+ getDelivery(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
115
+ httpHeaderAccept?: 'application/json';
116
+ context?: HttpContext;
117
+ transferCache?: boolean;
118
+ }): Observable<HttpEvent<Delivery>>;
92
119
  static ɵfac: i0.ɵɵFactoryDeclaration<DeliveriesService, [null, { optional: true; }, { optional: true; }]>;
93
120
  static ɵprov: i0.ɵɵInjectableDeclaration<DeliveriesService>;
94
121
  }
@@ -0,0 +1,42 @@
1
+ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { ProductMasters } from '../model/productMasters';
4
+ import { Configuration } from '../configuration';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ProductMastersService {
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 productMasters
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
+ getProductMasters($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<ProductMasters>;
30
+ getProductMasters($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<ProductMasters>>;
35
+ getProductMasters($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<ProductMasters>>;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductMastersService, [null, { optional: true; }, { optional: true; }]>;
41
+ static ɵprov: i0.ɵɵInjectableDeclaration<ProductMastersService>;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { Reasons } from '../model/reasons';
4
+ import { Configuration } from '../configuration';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ReasonsService {
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 reasons
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
+ getReasons($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<Reasons>;
30
+ getReasons($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<Reasons>>;
35
+ getReasons($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<Reasons>>;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReasonsService, [null, { optional: true; }, { optional: true; }]>;
41
+ static ɵprov: i0.ɵɵInjectableDeclaration<ReasonsService>;
42
+ }
@@ -0,0 +1,147 @@
1
+ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { SettingValue } from '../model/settingValue';
4
+ import { SettingView } from '../model/settingView';
5
+ import { Configuration } from '../configuration';
6
+ import * as i0 from "@angular/core";
7
+ export declare class SettingsService {
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
+ * Delete a specific setting by group and key
18
+ * @param key
19
+ * @param group
20
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
21
+ * @param reportProgress flag to report request and response progress.
22
+ */
23
+ deleteSettingByGroupAndKey(key: string, group: string, observe?: 'body', reportProgress?: boolean, options?: {
24
+ httpHeaderAccept?: undefined;
25
+ context?: HttpContext;
26
+ transferCache?: boolean;
27
+ }): Observable<any>;
28
+ deleteSettingByGroupAndKey(key: string, group: string, observe?: 'response', reportProgress?: boolean, options?: {
29
+ httpHeaderAccept?: undefined;
30
+ context?: HttpContext;
31
+ transferCache?: boolean;
32
+ }): Observable<HttpResponse<any>>;
33
+ deleteSettingByGroupAndKey(key: string, group: string, observe?: 'events', reportProgress?: boolean, options?: {
34
+ httpHeaderAccept?: undefined;
35
+ context?: HttpContext;
36
+ transferCache?: boolean;
37
+ }): Observable<HttpEvent<any>>;
38
+ /**
39
+ * Delete a specific setting by key
40
+ * @param key
41
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
42
+ * @param reportProgress flag to report request and response progress.
43
+ */
44
+ deleteSettingByKey(key: string, observe?: 'body', reportProgress?: boolean, options?: {
45
+ httpHeaderAccept?: undefined;
46
+ context?: HttpContext;
47
+ transferCache?: boolean;
48
+ }): Observable<any>;
49
+ deleteSettingByKey(key: string, observe?: 'response', reportProgress?: boolean, options?: {
50
+ httpHeaderAccept?: undefined;
51
+ context?: HttpContext;
52
+ transferCache?: boolean;
53
+ }): Observable<HttpResponse<any>>;
54
+ deleteSettingByKey(key: string, observe?: 'events', reportProgress?: boolean, options?: {
55
+ httpHeaderAccept?: undefined;
56
+ context?: HttpContext;
57
+ transferCache?: boolean;
58
+ }): Observable<HttpEvent<any>>;
59
+ /**
60
+ * Get a specific setting by group and key
61
+ * @param key
62
+ * @param group
63
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
64
+ * @param reportProgress flag to report request and response progress.
65
+ */
66
+ getSettingByGroupAndKey(key: string, group: string, observe?: 'body', reportProgress?: boolean, options?: {
67
+ httpHeaderAccept?: 'application/json';
68
+ context?: HttpContext;
69
+ transferCache?: boolean;
70
+ }): Observable<SettingValue>;
71
+ getSettingByGroupAndKey(key: string, group: string, observe?: 'response', reportProgress?: boolean, options?: {
72
+ httpHeaderAccept?: 'application/json';
73
+ context?: HttpContext;
74
+ transferCache?: boolean;
75
+ }): Observable<HttpResponse<SettingValue>>;
76
+ getSettingByGroupAndKey(key: string, group: string, observe?: 'events', reportProgress?: boolean, options?: {
77
+ httpHeaderAccept?: 'application/json';
78
+ context?: HttpContext;
79
+ transferCache?: boolean;
80
+ }): Observable<HttpEvent<SettingValue>>;
81
+ /**
82
+ * Get a specific setting by key
83
+ * @param key
84
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
85
+ * @param reportProgress flag to report request and response progress.
86
+ */
87
+ getSettingByKey(key: string, observe?: 'body', reportProgress?: boolean, options?: {
88
+ httpHeaderAccept?: 'application/json';
89
+ context?: HttpContext;
90
+ transferCache?: boolean;
91
+ }): Observable<SettingValue>;
92
+ getSettingByKey(key: string, observe?: 'response', reportProgress?: boolean, options?: {
93
+ httpHeaderAccept?: 'application/json';
94
+ context?: HttpContext;
95
+ transferCache?: boolean;
96
+ }): Observable<HttpResponse<SettingValue>>;
97
+ getSettingByKey(key: string, observe?: 'events', reportProgress?: boolean, options?: {
98
+ httpHeaderAccept?: 'application/json';
99
+ context?: HttpContext;
100
+ transferCache?: boolean;
101
+ }): Observable<HttpEvent<SettingValue>>;
102
+ /**
103
+ * Get settings by group
104
+ * @param group
105
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
106
+ * @param reportProgress flag to report request and response progress.
107
+ */
108
+ getSettingsByGroup(group: string, observe?: 'body', reportProgress?: boolean, options?: {
109
+ httpHeaderAccept?: 'application/json';
110
+ context?: HttpContext;
111
+ transferCache?: boolean;
112
+ }): Observable<Array<SettingView>>;
113
+ getSettingsByGroup(group: string, observe?: 'response', reportProgress?: boolean, options?: {
114
+ httpHeaderAccept?: 'application/json';
115
+ context?: HttpContext;
116
+ transferCache?: boolean;
117
+ }): Observable<HttpResponse<Array<SettingView>>>;
118
+ getSettingsByGroup(group: string, observe?: 'events', reportProgress?: boolean, options?: {
119
+ httpHeaderAccept?: 'application/json';
120
+ context?: HttpContext;
121
+ transferCache?: boolean;
122
+ }): Observable<HttpEvent<Array<SettingView>>>;
123
+ /**
124
+ * Create or update a specific setting by key
125
+ * @param key
126
+ * @param settingValue
127
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
128
+ * @param reportProgress flag to report request and response progress.
129
+ */
130
+ setSettingByKey(key: string, settingValue: SettingValue, observe?: 'body', reportProgress?: boolean, options?: {
131
+ httpHeaderAccept?: 'application/json';
132
+ context?: HttpContext;
133
+ transferCache?: boolean;
134
+ }): Observable<SettingValue>;
135
+ setSettingByKey(key: string, settingValue: SettingValue, observe?: 'response', reportProgress?: boolean, options?: {
136
+ httpHeaderAccept?: 'application/json';
137
+ context?: HttpContext;
138
+ transferCache?: boolean;
139
+ }): Observable<HttpResponse<SettingValue>>;
140
+ setSettingByKey(key: string, settingValue: SettingValue, observe?: 'events', reportProgress?: boolean, options?: {
141
+ httpHeaderAccept?: 'application/json';
142
+ context?: HttpContext;
143
+ transferCache?: boolean;
144
+ }): Observable<HttpEvent<SettingValue>>;
145
+ static ɵfac: i0.ɵɵFactoryDeclaration<SettingsService, [null, { optional: true; }, { optional: true; }]>;
146
+ static ɵprov: i0.ɵɵInjectableDeclaration<SettingsService>;
147
+ }