@indigina/wms-api 0.0.45 → 0.0.47

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.45
1
+ # @indigina/wms-api@0.0.47
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.45 --save
27
+ npm install @indigina/wms-api@0.0.47 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
package/api/api.d.ts CHANGED
@@ -14,10 +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';
17
21
  export * from './settings.service';
18
22
  import { SettingsService } from './settings.service';
19
23
  export * from './summary.service';
20
24
  import { SummaryService } from './summary.service';
21
25
  export * from './user.service';
22
26
  import { UserService } from './user.service';
23
- export declare const APIS: (typeof AnalyticsService | typeof CompaniesService | typeof DcsService | typeof DeliveriesService | typeof DeliveryItemsService | typeof HealthService | typeof NotesService | typeof PermissionsService | typeof SettingsService | 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)[];
@@ -17,80 +17,88 @@ export declare class DcsService {
17
17
  private addToHttpParamsRecursive;
18
18
  /**
19
19
  * Get Counting Summary
20
+ * @param clientIds
21
+ * @param countingTypes
20
22
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
21
23
  * @param reportProgress flag to report request and response progress.
22
24
  */
23
- getCountingSummary(observe?: 'body', reportProgress?: boolean, options?: {
25
+ getCountingSummary(clientIds?: Array<string>, countingTypes?: Array<string>, observe?: 'body', reportProgress?: boolean, options?: {
24
26
  httpHeaderAccept?: 'application/json';
25
27
  context?: HttpContext;
26
28
  transferCache?: boolean;
27
29
  }): Observable<CountingSummary>;
28
- getCountingSummary(observe?: 'response', reportProgress?: boolean, options?: {
30
+ getCountingSummary(clientIds?: Array<string>, countingTypes?: Array<string>, observe?: 'response', reportProgress?: boolean, options?: {
29
31
  httpHeaderAccept?: 'application/json';
30
32
  context?: HttpContext;
31
33
  transferCache?: boolean;
32
34
  }): Observable<HttpResponse<CountingSummary>>;
33
- getCountingSummary(observe?: 'events', reportProgress?: boolean, options?: {
35
+ getCountingSummary(clientIds?: Array<string>, countingTypes?: Array<string>, observe?: 'events', reportProgress?: boolean, options?: {
34
36
  httpHeaderAccept?: 'application/json';
35
37
  context?: HttpContext;
36
38
  transferCache?: boolean;
37
39
  }): Observable<HttpEvent<CountingSummary>>;
38
40
  /**
39
41
  * Get Dispatch Summary
42
+ * @param clientIds
43
+ * @param orderTypes
40
44
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
41
45
  * @param reportProgress flag to report request and response progress.
42
46
  */
43
- getDispatchSummary(observe?: 'body', reportProgress?: boolean, options?: {
47
+ getDispatchSummary(clientIds?: Array<string>, orderTypes?: Array<string>, observe?: 'body', reportProgress?: boolean, options?: {
44
48
  httpHeaderAccept?: 'application/json';
45
49
  context?: HttpContext;
46
50
  transferCache?: boolean;
47
51
  }): Observable<DispatchSummary>;
48
- getDispatchSummary(observe?: 'response', reportProgress?: boolean, options?: {
52
+ getDispatchSummary(clientIds?: Array<string>, orderTypes?: Array<string>, observe?: 'response', reportProgress?: boolean, options?: {
49
53
  httpHeaderAccept?: 'application/json';
50
54
  context?: HttpContext;
51
55
  transferCache?: boolean;
52
56
  }): Observable<HttpResponse<DispatchSummary>>;
53
- getDispatchSummary(observe?: 'events', reportProgress?: boolean, options?: {
57
+ getDispatchSummary(clientIds?: Array<string>, orderTypes?: Array<string>, observe?: 'events', reportProgress?: boolean, options?: {
54
58
  httpHeaderAccept?: 'application/json';
55
59
  context?: HttpContext;
56
60
  transferCache?: boolean;
57
61
  }): Observable<HttpEvent<DispatchSummary>>;
58
62
  /**
59
63
  * Get Receiving Summary
64
+ * @param clientIds
65
+ * @param deliveryTypes
60
66
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
61
67
  * @param reportProgress flag to report request and response progress.
62
68
  */
63
- getReceivingSummary(observe?: 'body', reportProgress?: boolean, options?: {
69
+ getReceivingSummary(clientIds?: Array<string>, deliveryTypes?: Array<string>, observe?: 'body', reportProgress?: boolean, options?: {
64
70
  httpHeaderAccept?: 'application/json';
65
71
  context?: HttpContext;
66
72
  transferCache?: boolean;
67
73
  }): Observable<ReceivingSummary>;
68
- getReceivingSummary(observe?: 'response', reportProgress?: boolean, options?: {
74
+ getReceivingSummary(clientIds?: Array<string>, deliveryTypes?: Array<string>, observe?: 'response', reportProgress?: boolean, options?: {
69
75
  httpHeaderAccept?: 'application/json';
70
76
  context?: HttpContext;
71
77
  transferCache?: boolean;
72
78
  }): Observable<HttpResponse<ReceivingSummary>>;
73
- getReceivingSummary(observe?: 'events', reportProgress?: boolean, options?: {
79
+ getReceivingSummary(clientIds?: Array<string>, deliveryTypes?: Array<string>, observe?: 'events', reportProgress?: boolean, options?: {
74
80
  httpHeaderAccept?: 'application/json';
75
81
  context?: HttpContext;
76
82
  transferCache?: boolean;
77
83
  }): Observable<HttpEvent<ReceivingSummary>>;
78
84
  /**
79
85
  * Get Replenishment Summary
86
+ * @param clientIds
87
+ * @param replenishmentTypes
80
88
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
81
89
  * @param reportProgress flag to report request and response progress.
82
90
  */
83
- getReplenishmentSummary(observe?: 'body', reportProgress?: boolean, options?: {
91
+ getReplenishmentSummary(clientIds?: Array<string>, replenishmentTypes?: Array<string>, observe?: 'body', reportProgress?: boolean, options?: {
84
92
  httpHeaderAccept?: 'application/json';
85
93
  context?: HttpContext;
86
94
  transferCache?: boolean;
87
95
  }): Observable<ReplenishmentSummary>;
88
- getReplenishmentSummary(observe?: 'response', reportProgress?: boolean, options?: {
96
+ getReplenishmentSummary(clientIds?: Array<string>, replenishmentTypes?: Array<string>, observe?: 'response', reportProgress?: boolean, options?: {
89
97
  httpHeaderAccept?: 'application/json';
90
98
  context?: HttpContext;
91
99
  transferCache?: boolean;
92
100
  }): Observable<HttpResponse<ReplenishmentSummary>>;
93
- getReplenishmentSummary(observe?: 'events', reportProgress?: boolean, options?: {
101
+ getReplenishmentSummary(clientIds?: Array<string>, replenishmentTypes?: Array<string>, observe?: 'events', reportProgress?: boolean, options?: {
94
102
  httpHeaderAccept?: 'application/json';
95
103
  context?: HttpContext;
96
104
  transferCache?: boolean;
@@ -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
+ }