@indigina/wms-api 0.0.47 → 0.0.49

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.47
1
+ # @indigina/wms-api@0.0.49
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.47 --save
27
+ npm install @indigina/wms-api@0.0.49 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
package/api/api.d.ts CHANGED
@@ -16,6 +16,8 @@ export * from './permissions.service';
16
16
  import { PermissionsService } from './permissions.service';
17
17
  export * from './productMasters.service';
18
18
  import { ProductMastersService } from './productMasters.service';
19
+ export * from './productQuantities.service';
20
+ import { ProductQuantitiesService } from './productQuantities.service';
19
21
  export * from './reasons.service';
20
22
  import { ReasonsService } from './reasons.service';
21
23
  export * from './settings.service';
@@ -24,4 +26,4 @@ export * from './summary.service';
24
26
  import { SummaryService } from './summary.service';
25
27
  export * from './user.service';
26
28
  import { UserService } from './user.service';
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)[];
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)[];
@@ -1,6 +1,8 @@
1
1
  import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
3
  import { CountingSummary } from '../model/countingSummary';
4
+ import { Dc } from '../model/dc';
5
+ import { Dcs } from '../model/dcs';
4
6
  import { DispatchSummary } from '../model/dispatchSummary';
5
7
  import { ReceivingSummary } from '../model/receivingSummary';
6
8
  import { ReplenishmentSummary } from '../model/replenishmentSummary';
@@ -37,6 +39,57 @@ export declare class DcsService {
37
39
  context?: HttpContext;
38
40
  transferCache?: boolean;
39
41
  }): Observable<HttpEvent<CountingSummary>>;
42
+ /**
43
+ * Getting dc by id
44
+ * @param id
45
+ * @param $skip
46
+ * @param $top
47
+ * @param $orderby
48
+ * @param $filter
49
+ * @param $search
50
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
51
+ * @param reportProgress flag to report request and response progress.
52
+ */
53
+ getDc(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
54
+ httpHeaderAccept?: 'application/json';
55
+ context?: HttpContext;
56
+ transferCache?: boolean;
57
+ }): Observable<Dc>;
58
+ getDc(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
59
+ httpHeaderAccept?: 'application/json';
60
+ context?: HttpContext;
61
+ transferCache?: boolean;
62
+ }): Observable<HttpResponse<Dc>>;
63
+ getDc(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
64
+ httpHeaderAccept?: 'application/json';
65
+ context?: HttpContext;
66
+ transferCache?: boolean;
67
+ }): Observable<HttpEvent<Dc>>;
68
+ /**
69
+ * Getting dcs
70
+ * @param $skip
71
+ * @param $top
72
+ * @param $orderby
73
+ * @param $filter
74
+ * @param $search
75
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
76
+ * @param reportProgress flag to report request and response progress.
77
+ */
78
+ getDcs($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
79
+ httpHeaderAccept?: 'application/json';
80
+ context?: HttpContext;
81
+ transferCache?: boolean;
82
+ }): Observable<Dcs>;
83
+ getDcs($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
84
+ httpHeaderAccept?: 'application/json';
85
+ context?: HttpContext;
86
+ transferCache?: boolean;
87
+ }): Observable<HttpResponse<Dcs>>;
88
+ getDcs($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
89
+ httpHeaderAccept?: 'application/json';
90
+ context?: HttpContext;
91
+ transferCache?: boolean;
92
+ }): Observable<HttpEvent<Dcs>>;
40
93
  /**
41
94
  * Get Dispatch Summary
42
95
  * @param clientIds
@@ -14,6 +14,48 @@ export declare class DeliveriesService {
14
14
  constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
15
15
  private addToHttpParams;
16
16
  private addToHttpParamsRecursive;
17
+ /**
18
+ * Create a specific delivery
19
+ * @param delivery
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
+ createDelivery(delivery: Delivery, observe?: 'body', reportProgress?: boolean, options?: {
24
+ httpHeaderAccept?: 'application/json';
25
+ context?: HttpContext;
26
+ transferCache?: boolean;
27
+ }): Observable<Delivery>;
28
+ createDelivery(delivery: Delivery, observe?: 'response', reportProgress?: boolean, options?: {
29
+ httpHeaderAccept?: 'application/json';
30
+ context?: HttpContext;
31
+ transferCache?: boolean;
32
+ }): Observable<HttpResponse<Delivery>>;
33
+ createDelivery(delivery: Delivery, observe?: 'events', reportProgress?: boolean, options?: {
34
+ httpHeaderAccept?: 'application/json';
35
+ context?: HttpContext;
36
+ transferCache?: boolean;
37
+ }): Observable<HttpEvent<Delivery>>;
38
+ /**
39
+ * Delete a specific delivery
40
+ * @param id
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
+ deleteDelivery(id: string, observe?: 'body', reportProgress?: boolean, options?: {
45
+ httpHeaderAccept?: undefined;
46
+ context?: HttpContext;
47
+ transferCache?: boolean;
48
+ }): Observable<any>;
49
+ deleteDelivery(id: string, observe?: 'response', reportProgress?: boolean, options?: {
50
+ httpHeaderAccept?: undefined;
51
+ context?: HttpContext;
52
+ transferCache?: boolean;
53
+ }): Observable<HttpResponse<any>>;
54
+ deleteDelivery(id: string, observe?: 'events', reportProgress?: boolean, options?: {
55
+ httpHeaderAccept?: undefined;
56
+ context?: HttpContext;
57
+ transferCache?: boolean;
58
+ }): Observable<HttpEvent<any>>;
17
59
  /**
18
60
  * Getting deliveries
19
61
  * @param $skip
@@ -116,6 +158,28 @@ export declare class DeliveriesService {
116
158
  context?: HttpContext;
117
159
  transferCache?: boolean;
118
160
  }): Observable<HttpEvent<Delivery>>;
161
+ /**
162
+ * Update a specific delivery
163
+ * @param id
164
+ * @param delivery
165
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
166
+ * @param reportProgress flag to report request and response progress.
167
+ */
168
+ setDelivery(id: string, delivery: Delivery, observe?: 'body', reportProgress?: boolean, options?: {
169
+ httpHeaderAccept?: 'application/json';
170
+ context?: HttpContext;
171
+ transferCache?: boolean;
172
+ }): Observable<Delivery>;
173
+ setDelivery(id: string, delivery: Delivery, observe?: 'response', reportProgress?: boolean, options?: {
174
+ httpHeaderAccept?: 'application/json';
175
+ context?: HttpContext;
176
+ transferCache?: boolean;
177
+ }): Observable<HttpResponse<Delivery>>;
178
+ setDelivery(id: string, delivery: Delivery, observe?: 'events', reportProgress?: boolean, options?: {
179
+ httpHeaderAccept?: 'application/json';
180
+ context?: HttpContext;
181
+ transferCache?: boolean;
182
+ }): Observable<HttpEvent<Delivery>>;
119
183
  static ɵfac: i0.ɵɵFactoryDeclaration<DeliveriesService, [null, { optional: true; }, { optional: true; }]>;
120
184
  static ɵprov: i0.ɵɵInjectableDeclaration<DeliveriesService>;
121
185
  }
@@ -1,5 +1,6 @@
1
1
  import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
+ import { DeliveryItem } from '../model/deliveryItem';
3
4
  import { DeliveryItems } from '../model/deliveryItems';
4
5
  import { Configuration } from '../configuration';
5
6
  import * as i0 from "@angular/core";
@@ -12,6 +13,48 @@ export declare class DeliveryItemsService {
12
13
  constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
13
14
  private addToHttpParams;
14
15
  private addToHttpParamsRecursive;
16
+ /**
17
+ * Create a specific delivery Item
18
+ * @param deliveryItem
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
+ createDeliveryItem(deliveryItem: DeliveryItem, observe?: 'body', reportProgress?: boolean, options?: {
23
+ httpHeaderAccept?: 'application/json';
24
+ context?: HttpContext;
25
+ transferCache?: boolean;
26
+ }): Observable<DeliveryItem>;
27
+ createDeliveryItem(deliveryItem: DeliveryItem, observe?: 'response', reportProgress?: boolean, options?: {
28
+ httpHeaderAccept?: 'application/json';
29
+ context?: HttpContext;
30
+ transferCache?: boolean;
31
+ }): Observable<HttpResponse<DeliveryItem>>;
32
+ createDeliveryItem(deliveryItem: DeliveryItem, observe?: 'events', reportProgress?: boolean, options?: {
33
+ httpHeaderAccept?: 'application/json';
34
+ context?: HttpContext;
35
+ transferCache?: boolean;
36
+ }): Observable<HttpEvent<DeliveryItem>>;
37
+ /**
38
+ * Delete a specific delivery Item
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
+ deleteDeliveryItem(id: string, observe?: 'body', reportProgress?: boolean, options?: {
44
+ httpHeaderAccept?: undefined;
45
+ context?: HttpContext;
46
+ transferCache?: boolean;
47
+ }): Observable<any>;
48
+ deleteDeliveryItem(id: string, observe?: 'response', reportProgress?: boolean, options?: {
49
+ httpHeaderAccept?: undefined;
50
+ context?: HttpContext;
51
+ transferCache?: boolean;
52
+ }): Observable<HttpResponse<any>>;
53
+ deleteDeliveryItem(id: string, observe?: 'events', reportProgress?: boolean, options?: {
54
+ httpHeaderAccept?: undefined;
55
+ context?: HttpContext;
56
+ transferCache?: boolean;
57
+ }): Observable<HttpEvent<any>>;
15
58
  /**
16
59
  * Getting delivery items
17
60
  * @param id
@@ -38,6 +81,28 @@ export declare class DeliveryItemsService {
38
81
  context?: HttpContext;
39
82
  transferCache?: boolean;
40
83
  }): Observable<HttpEvent<DeliveryItems>>;
84
+ /**
85
+ * Update a specific delivery Item
86
+ * @param id
87
+ * @param deliveryItem
88
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
89
+ * @param reportProgress flag to report request and response progress.
90
+ */
91
+ setDeliveryItem(id: string, deliveryItem: DeliveryItem, observe?: 'body', reportProgress?: boolean, options?: {
92
+ httpHeaderAccept?: 'application/json';
93
+ context?: HttpContext;
94
+ transferCache?: boolean;
95
+ }): Observable<DeliveryItem>;
96
+ setDeliveryItem(id: string, deliveryItem: DeliveryItem, observe?: 'response', reportProgress?: boolean, options?: {
97
+ httpHeaderAccept?: 'application/json';
98
+ context?: HttpContext;
99
+ transferCache?: boolean;
100
+ }): Observable<HttpResponse<DeliveryItem>>;
101
+ setDeliveryItem(id: string, deliveryItem: DeliveryItem, observe?: 'events', reportProgress?: boolean, options?: {
102
+ httpHeaderAccept?: 'application/json';
103
+ context?: HttpContext;
104
+ transferCache?: boolean;
105
+ }): Observable<HttpEvent<DeliveryItem>>;
41
106
  static ɵfac: i0.ɵɵFactoryDeclaration<DeliveryItemsService, [null, { optional: true; }, { optional: true; }]>;
42
107
  static ɵprov: i0.ɵɵInjectableDeclaration<DeliveryItemsService>;
43
108
  }
@@ -0,0 +1,42 @@
1
+ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { ProductQuantities } from '../model/productQuantities';
4
+ import { Configuration } from '../configuration';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ProductQuantitiesService {
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 productQuantities
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
+ getProductQuantities($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<ProductQuantities>;
30
+ getProductQuantities($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<ProductQuantities>>;
35
+ getProductQuantities($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<ProductQuantities>>;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductQuantitiesService, [null, { optional: true; }, { optional: true; }]>;
41
+ static ɵprov: i0.ɵɵInjectableDeclaration<ProductQuantitiesService>;
42
+ }