@indigina/dcm-api 0.0.50 → 0.0.52

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/dcm-api@0.0.50
1
+ # @indigina/dcm-api@0.0.52
2
2
 
3
3
  DCM 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/dcm-api@0.0.50 --save
27
+ npm install @indigina/dcm-api@0.0.52 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
package/api/api.d.ts CHANGED
@@ -12,6 +12,8 @@ export * from './notes.service';
12
12
  import { NotesService } from './notes.service';
13
13
  export * from './permissions.service';
14
14
  import { PermissionsService } from './permissions.service';
15
+ export * from './poItems.service';
16
+ import { PoItemsService } from './poItems.service';
15
17
  export * from './purchaseOrders.service';
16
18
  import { PurchaseOrdersService } from './purchaseOrders.service';
17
19
  export * from './reports.service';
@@ -20,6 +22,8 @@ export * from './settings.service';
20
22
  import { SettingsService } from './settings.service';
21
23
  export * from './shipments.service';
22
24
  import { ShipmentsService } from './shipments.service';
25
+ export * from './sipmetItems.service';
26
+ import { SipmetItemsService } from './sipmetItems.service';
23
27
  export * from './user.service';
24
28
  import { UserService } from './user.service';
25
- export declare const APIS: (typeof AuditLogsService | typeof BookingsService | typeof ContainersService | typeof DocumentsService | typeof HealthService | typeof NotesService | typeof PermissionsService | typeof PurchaseOrdersService | typeof ReportsService | typeof SettingsService | typeof ShipmentsService | typeof UserService)[];
29
+ export declare const APIS: (typeof AuditLogsService | typeof BookingsService | typeof ContainersService | typeof DocumentsService | typeof HealthService | typeof NotesService | typeof PermissionsService | typeof PoItemsService | typeof PurchaseOrdersService | typeof ReportsService | typeof SettingsService | typeof ShipmentsService | typeof SipmetItemsService | typeof UserService)[];
@@ -1,5 +1,7 @@
1
1
  import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
+ import { ContainerItems } from '../model/containerItems';
4
+ import { Containers } from '../model/containers';
3
5
  import { ContainersCount } from '../model/containersCount';
4
6
  import { ContainersToDeliverCount } from '../model/containersToDeliverCount';
5
7
  import { ShipmentContainers } from '../model/shipmentContainers';
@@ -14,6 +16,82 @@ export declare class ContainersService {
14
16
  constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
15
17
  private addToHttpParams;
16
18
  private addToHttpParamsRecursive;
19
+ /**
20
+ * Getting container items
21
+ * @param id
22
+ * @param $skip
23
+ * @param $top
24
+ * @param $orderby
25
+ * @param $filter
26
+ * @param $search
27
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
28
+ * @param reportProgress flag to report request and response progress.
29
+ */
30
+ getContainerItems(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
31
+ httpHeaderAccept?: 'application/json';
32
+ context?: HttpContext;
33
+ transferCache?: boolean;
34
+ }): Observable<ContainerItems>;
35
+ getContainerItems(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
36
+ httpHeaderAccept?: 'application/json';
37
+ context?: HttpContext;
38
+ transferCache?: boolean;
39
+ }): Observable<HttpResponse<ContainerItems>>;
40
+ getContainerItems(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
41
+ httpHeaderAccept?: 'application/json';
42
+ context?: HttpContext;
43
+ transferCache?: boolean;
44
+ }): Observable<HttpEvent<ContainerItems>>;
45
+ /**
46
+ * Containers list
47
+ * @param $skip
48
+ * @param $top
49
+ * @param $orderby
50
+ * @param $filter
51
+ * @param $search
52
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
53
+ * @param reportProgress flag to report request and response progress.
54
+ */
55
+ getContainers($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
56
+ httpHeaderAccept?: 'application/json';
57
+ context?: HttpContext;
58
+ transferCache?: boolean;
59
+ }): Observable<Containers>;
60
+ getContainers($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
61
+ httpHeaderAccept?: 'application/json';
62
+ context?: HttpContext;
63
+ transferCache?: boolean;
64
+ }): Observable<HttpResponse<Containers>>;
65
+ getContainers($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
66
+ httpHeaderAccept?: 'application/json';
67
+ context?: HttpContext;
68
+ transferCache?: boolean;
69
+ }): Observable<HttpEvent<Containers>>;
70
+ /**
71
+ * Containers list
72
+ * @param $skip
73
+ * @param $top
74
+ * @param $orderby
75
+ * @param $filter
76
+ * @param searchTerm
77
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
78
+ * @param reportProgress flag to report request and response progress.
79
+ */
80
+ getContainersFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'body', reportProgress?: boolean, options?: {
81
+ httpHeaderAccept?: 'application/json';
82
+ context?: HttpContext;
83
+ transferCache?: boolean;
84
+ }): Observable<Containers>;
85
+ getContainersFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'response', reportProgress?: boolean, options?: {
86
+ httpHeaderAccept?: 'application/json';
87
+ context?: HttpContext;
88
+ transferCache?: boolean;
89
+ }): Observable<HttpResponse<Containers>>;
90
+ getContainersFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'events', reportProgress?: boolean, options?: {
91
+ httpHeaderAccept?: 'application/json';
92
+ context?: HttpContext;
93
+ transferCache?: boolean;
94
+ }): Observable<HttpEvent<Containers>>;
17
95
  /**
18
96
  * Containers to deliver
19
97
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
@@ -0,0 +1,38 @@
1
+ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { PoItemSummary } from '../model/poItemSummary';
4
+ import { Configuration } from '../configuration';
5
+ import * as i0 from "@angular/core";
6
+ export declare class PoItemsService {
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 a po item summary by id
17
+ * @param id
18
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
19
+ * @param reportProgress flag to report request and response progress.
20
+ */
21
+ getPoItemSummary(id: string, observe?: 'body', reportProgress?: boolean, options?: {
22
+ httpHeaderAccept?: 'application/json';
23
+ context?: HttpContext;
24
+ transferCache?: boolean;
25
+ }): Observable<PoItemSummary>;
26
+ getPoItemSummary(id: string, observe?: 'response', reportProgress?: boolean, options?: {
27
+ httpHeaderAccept?: 'application/json';
28
+ context?: HttpContext;
29
+ transferCache?: boolean;
30
+ }): Observable<HttpResponse<PoItemSummary>>;
31
+ getPoItemSummary(id: string, observe?: 'events', reportProgress?: boolean, options?: {
32
+ httpHeaderAccept?: 'application/json';
33
+ context?: HttpContext;
34
+ transferCache?: boolean;
35
+ }): Observable<HttpEvent<PoItemSummary>>;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<PoItemsService, [null, { optional: true; }, { optional: true; }]>;
37
+ static ɵprov: i0.ɵɵInjectableDeclaration<PoItemsService>;
38
+ }
@@ -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 { PoItemTotals } from '../model/poItemTotals';
3
4
  import { PurchaseOrderItems } from '../model/purchaseOrderItems';
4
5
  import { PurchaseOrderSummary } from '../model/purchaseOrderSummary';
5
6
  import { PurchaseOrders } from '../model/purchaseOrders';
@@ -14,6 +15,27 @@ export declare class PurchaseOrdersService {
14
15
  constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
15
16
  private addToHttpParams;
16
17
  private addToHttpParamsRecursive;
18
+ /**
19
+ * Getting a Po Item totals
20
+ * @param purchaseOrderId
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
+ getPoItemTotals(purchaseOrderId: string, observe?: 'body', reportProgress?: boolean, options?: {
25
+ httpHeaderAccept?: 'application/json';
26
+ context?: HttpContext;
27
+ transferCache?: boolean;
28
+ }): Observable<PoItemTotals>;
29
+ getPoItemTotals(purchaseOrderId: string, observe?: 'response', reportProgress?: boolean, options?: {
30
+ httpHeaderAccept?: 'application/json';
31
+ context?: HttpContext;
32
+ transferCache?: boolean;
33
+ }): Observable<HttpResponse<PoItemTotals>>;
34
+ getPoItemTotals(purchaseOrderId: string, observe?: 'events', reportProgress?: boolean, options?: {
35
+ httpHeaderAccept?: 'application/json';
36
+ context?: HttpContext;
37
+ transferCache?: boolean;
38
+ }): Observable<HttpEvent<PoItemTotals>>;
17
39
  /**
18
40
  * Getting purchas order items
19
41
  * @param id
@@ -0,0 +1,43 @@
1
+ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { ShipmentItemSummaries } from '../model/shipmentItemSummaries';
4
+ import { Configuration } from '../configuration';
5
+ import * as i0 from "@angular/core";
6
+ export declare class SipmetItemsService {
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 shipment items summary list
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
+ getShipmentItemSummaries(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<ShipmentItemSummaries>;
31
+ getShipmentItemSummaries(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<ShipmentItemSummaries>>;
36
+ getShipmentItemSummaries(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<ShipmentItemSummaries>>;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<SipmetItemsService, [null, { optional: true; }, { optional: true; }]>;
42
+ static ɵprov: i0.ɵɵInjectableDeclaration<SipmetItemsService>;
43
+ }