@indigina/dcm-api 0.0.19 → 0.0.21
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 +3 -1
- package/api/bookings.service.d.ts +157 -0
- package/api/shipments.service.d.ts +40 -0
- package/esm2022/api/api.mjs +4 -2
- package/esm2022/api/bookings.service.mjs +406 -0
- package/esm2022/api/shipments.service.mjs +89 -1
- package/esm2022/model/bookingsCount.mjs +12 -0
- package/esm2022/model/models.mjs +2 -1
- package/fesm2022/indigina-dcm-api.mjs +498 -2
- package/fesm2022/indigina-dcm-api.mjs.map +1 -1
- package/model/bookingsCount.d.ts +13 -0
- package/model/models.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @indigina/dcm-api@0.0.
|
|
1
|
+
## @indigina/dcm-api@0.0.21
|
|
2
2
|
|
|
3
3
|
The version of the OpenAPI document: v1
|
|
4
4
|
|
|
@@ -21,7 +21,7 @@ Navigate to the folder of your consuming project and run one of next commands.
|
|
|
21
21
|
_published:_
|
|
22
22
|
|
|
23
23
|
```
|
|
24
|
-
npm install @indigina/dcm-api@0.0.
|
|
24
|
+
npm install @indigina/dcm-api@0.0.21 --save
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
_without publishing (not recommended):_
|
package/api/api.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * from './bookings.service';
|
|
2
|
+
import { BookingsService } from './bookings.service';
|
|
1
3
|
export * from './containers.service';
|
|
2
4
|
import { ContainersService } from './containers.service';
|
|
3
5
|
export * from './health.service';
|
|
@@ -10,4 +12,4 @@ export * from './shipments.service';
|
|
|
10
12
|
import { ShipmentsService } from './shipments.service';
|
|
11
13
|
export * from './user.service';
|
|
12
14
|
import { UserService } from './user.service';
|
|
13
|
-
export declare const APIS: (typeof ContainersService | typeof HealthService | typeof PermissionsService | typeof ReportsService | typeof ShipmentsService | typeof UserService)[];
|
|
15
|
+
export declare const APIS: (typeof BookingsService | typeof ContainersService | typeof HealthService | typeof PermissionsService | typeof ReportsService | typeof ShipmentsService | typeof UserService)[];
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { BookingsCount } from '../model/bookingsCount';
|
|
4
|
+
import { Configuration } from '../configuration';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class BookingsService {
|
|
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
|
+
* Get origin agent Deliveries Require Amend Confirmation count
|
|
17
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
18
|
+
* @param reportProgress flag to report request and response progress.
|
|
19
|
+
*/
|
|
20
|
+
getDeliveriesRequireAmendConfirmationCount(observe?: 'body', reportProgress?: boolean, options?: {
|
|
21
|
+
httpHeaderAccept?: 'application/json';
|
|
22
|
+
context?: HttpContext;
|
|
23
|
+
transferCache?: boolean;
|
|
24
|
+
}): Observable<BookingsCount>;
|
|
25
|
+
getDeliveriesRequireAmendConfirmationCount(observe?: 'response', reportProgress?: boolean, options?: {
|
|
26
|
+
httpHeaderAccept?: 'application/json';
|
|
27
|
+
context?: HttpContext;
|
|
28
|
+
transferCache?: boolean;
|
|
29
|
+
}): Observable<HttpResponse<BookingsCount>>;
|
|
30
|
+
getDeliveriesRequireAmendConfirmationCount(observe?: 'events', reportProgress?: boolean, options?: {
|
|
31
|
+
httpHeaderAccept?: 'application/json';
|
|
32
|
+
context?: HttpContext;
|
|
33
|
+
transferCache?: boolean;
|
|
34
|
+
}): Observable<HttpEvent<BookingsCount>>;
|
|
35
|
+
/**
|
|
36
|
+
* Get origin agent Deliveries Require Cancel Confirmation count
|
|
37
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
38
|
+
* @param reportProgress flag to report request and response progress.
|
|
39
|
+
*/
|
|
40
|
+
getDeliveriesRequireCancelConfirmationCount(observe?: 'body', reportProgress?: boolean, options?: {
|
|
41
|
+
httpHeaderAccept?: 'application/json';
|
|
42
|
+
context?: HttpContext;
|
|
43
|
+
transferCache?: boolean;
|
|
44
|
+
}): Observable<BookingsCount>;
|
|
45
|
+
getDeliveriesRequireCancelConfirmationCount(observe?: 'response', reportProgress?: boolean, options?: {
|
|
46
|
+
httpHeaderAccept?: 'application/json';
|
|
47
|
+
context?: HttpContext;
|
|
48
|
+
transferCache?: boolean;
|
|
49
|
+
}): Observable<HttpResponse<BookingsCount>>;
|
|
50
|
+
getDeliveriesRequireCancelConfirmationCount(observe?: 'events', reportProgress?: boolean, options?: {
|
|
51
|
+
httpHeaderAccept?: 'application/json';
|
|
52
|
+
context?: HttpContext;
|
|
53
|
+
transferCache?: boolean;
|
|
54
|
+
}): Observable<HttpEvent<BookingsCount>>;
|
|
55
|
+
/**
|
|
56
|
+
* Get origin agent Deliveries Require Confirmation count
|
|
57
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
58
|
+
* @param reportProgress flag to report request and response progress.
|
|
59
|
+
*/
|
|
60
|
+
getDeliveriesRequireConfirmationCount(observe?: 'body', reportProgress?: boolean, options?: {
|
|
61
|
+
httpHeaderAccept?: 'application/json';
|
|
62
|
+
context?: HttpContext;
|
|
63
|
+
transferCache?: boolean;
|
|
64
|
+
}): Observable<BookingsCount>;
|
|
65
|
+
getDeliveriesRequireConfirmationCount(observe?: 'response', reportProgress?: boolean, options?: {
|
|
66
|
+
httpHeaderAccept?: 'application/json';
|
|
67
|
+
context?: HttpContext;
|
|
68
|
+
transferCache?: boolean;
|
|
69
|
+
}): Observable<HttpResponse<BookingsCount>>;
|
|
70
|
+
getDeliveriesRequireConfirmationCount(observe?: 'events', reportProgress?: boolean, options?: {
|
|
71
|
+
httpHeaderAccept?: 'application/json';
|
|
72
|
+
context?: HttpContext;
|
|
73
|
+
transferCache?: boolean;
|
|
74
|
+
}): Observable<HttpEvent<BookingsCount>>;
|
|
75
|
+
/**
|
|
76
|
+
* Get origin agent Deliveries To Book count
|
|
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
|
+
getDeliveriesToBookCount(observe?: 'body', reportProgress?: boolean, options?: {
|
|
81
|
+
httpHeaderAccept?: 'application/json';
|
|
82
|
+
context?: HttpContext;
|
|
83
|
+
transferCache?: boolean;
|
|
84
|
+
}): Observable<BookingsCount>;
|
|
85
|
+
getDeliveriesToBookCount(observe?: 'response', reportProgress?: boolean, options?: {
|
|
86
|
+
httpHeaderAccept?: 'application/json';
|
|
87
|
+
context?: HttpContext;
|
|
88
|
+
transferCache?: boolean;
|
|
89
|
+
}): Observable<HttpResponse<BookingsCount>>;
|
|
90
|
+
getDeliveriesToBookCount(observe?: 'events', reportProgress?: boolean, options?: {
|
|
91
|
+
httpHeaderAccept?: 'application/json';
|
|
92
|
+
context?: HttpContext;
|
|
93
|
+
transferCache?: boolean;
|
|
94
|
+
}): Observable<HttpEvent<BookingsCount>>;
|
|
95
|
+
/**
|
|
96
|
+
* Get origin agent Deliveries To Reschedule count
|
|
97
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
98
|
+
* @param reportProgress flag to report request and response progress.
|
|
99
|
+
*/
|
|
100
|
+
getDeliveriesToRescheduleCount(observe?: 'body', reportProgress?: boolean, options?: {
|
|
101
|
+
httpHeaderAccept?: 'application/json';
|
|
102
|
+
context?: HttpContext;
|
|
103
|
+
transferCache?: boolean;
|
|
104
|
+
}): Observable<BookingsCount>;
|
|
105
|
+
getDeliveriesToRescheduleCount(observe?: 'response', reportProgress?: boolean, options?: {
|
|
106
|
+
httpHeaderAccept?: 'application/json';
|
|
107
|
+
context?: HttpContext;
|
|
108
|
+
transferCache?: boolean;
|
|
109
|
+
}): Observable<HttpResponse<BookingsCount>>;
|
|
110
|
+
getDeliveriesToRescheduleCount(observe?: 'events', reportProgress?: boolean, options?: {
|
|
111
|
+
httpHeaderAccept?: 'application/json';
|
|
112
|
+
context?: HttpContext;
|
|
113
|
+
transferCache?: boolean;
|
|
114
|
+
}): Observable<HttpEvent<BookingsCount>>;
|
|
115
|
+
/**
|
|
116
|
+
* Get origin agent Planned Deliveries and Deliveries Require POD and Customs count
|
|
117
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
118
|
+
* @param reportProgress flag to report request and response progress.
|
|
119
|
+
*/
|
|
120
|
+
getPlannedDeliveriesAndPodCount(observe?: 'body', reportProgress?: boolean, options?: {
|
|
121
|
+
httpHeaderAccept?: 'application/json';
|
|
122
|
+
context?: HttpContext;
|
|
123
|
+
transferCache?: boolean;
|
|
124
|
+
}): Observable<BookingsCount>;
|
|
125
|
+
getPlannedDeliveriesAndPodCount(observe?: 'response', reportProgress?: boolean, options?: {
|
|
126
|
+
httpHeaderAccept?: 'application/json';
|
|
127
|
+
context?: HttpContext;
|
|
128
|
+
transferCache?: boolean;
|
|
129
|
+
}): Observable<HttpResponse<BookingsCount>>;
|
|
130
|
+
getPlannedDeliveriesAndPodCount(observe?: 'events', reportProgress?: boolean, options?: {
|
|
131
|
+
httpHeaderAccept?: 'application/json';
|
|
132
|
+
context?: HttpContext;
|
|
133
|
+
transferCache?: boolean;
|
|
134
|
+
}): Observable<HttpEvent<BookingsCount>>;
|
|
135
|
+
/**
|
|
136
|
+
* Get vendor draft bookings count
|
|
137
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
138
|
+
* @param reportProgress flag to report request and response progress.
|
|
139
|
+
*/
|
|
140
|
+
getVendorDraftBookingsCount(observe?: 'body', reportProgress?: boolean, options?: {
|
|
141
|
+
httpHeaderAccept?: 'application/json';
|
|
142
|
+
context?: HttpContext;
|
|
143
|
+
transferCache?: boolean;
|
|
144
|
+
}): Observable<BookingsCount>;
|
|
145
|
+
getVendorDraftBookingsCount(observe?: 'response', reportProgress?: boolean, options?: {
|
|
146
|
+
httpHeaderAccept?: 'application/json';
|
|
147
|
+
context?: HttpContext;
|
|
148
|
+
transferCache?: boolean;
|
|
149
|
+
}): Observable<HttpResponse<BookingsCount>>;
|
|
150
|
+
getVendorDraftBookingsCount(observe?: 'events', reportProgress?: boolean, options?: {
|
|
151
|
+
httpHeaderAccept?: 'application/json';
|
|
152
|
+
context?: HttpContext;
|
|
153
|
+
transferCache?: boolean;
|
|
154
|
+
}): Observable<HttpEvent<BookingsCount>>;
|
|
155
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BookingsService, [null, { optional: true; }, { optional: true; }]>;
|
|
156
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BookingsService>;
|
|
157
|
+
}
|
|
@@ -124,6 +124,46 @@ export declare class ShipmentsService {
|
|
|
124
124
|
context?: HttpContext;
|
|
125
125
|
transferCache?: boolean;
|
|
126
126
|
}): Observable<HttpEvent<ShipmentsInTransitCount>>;
|
|
127
|
+
/**
|
|
128
|
+
* Get shipments pending documents
|
|
129
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
130
|
+
* @param reportProgress flag to report request and response progress.
|
|
131
|
+
*/
|
|
132
|
+
getShipmentsPendingDocuments(observe?: 'body', reportProgress?: boolean, options?: {
|
|
133
|
+
httpHeaderAccept?: 'application/json';
|
|
134
|
+
context?: HttpContext;
|
|
135
|
+
transferCache?: boolean;
|
|
136
|
+
}): Observable<ShipmentsCount>;
|
|
137
|
+
getShipmentsPendingDocuments(observe?: 'response', reportProgress?: boolean, options?: {
|
|
138
|
+
httpHeaderAccept?: 'application/json';
|
|
139
|
+
context?: HttpContext;
|
|
140
|
+
transferCache?: boolean;
|
|
141
|
+
}): Observable<HttpResponse<ShipmentsCount>>;
|
|
142
|
+
getShipmentsPendingDocuments(observe?: 'events', reportProgress?: boolean, options?: {
|
|
143
|
+
httpHeaderAccept?: 'application/json';
|
|
144
|
+
context?: HttpContext;
|
|
145
|
+
transferCache?: boolean;
|
|
146
|
+
}): Observable<HttpEvent<ShipmentsCount>>;
|
|
147
|
+
/**
|
|
148
|
+
* Get pending shipment instructions
|
|
149
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
150
|
+
* @param reportProgress flag to report request and response progress.
|
|
151
|
+
*/
|
|
152
|
+
getShipmentsPendingInstructions(observe?: 'body', reportProgress?: boolean, options?: {
|
|
153
|
+
httpHeaderAccept?: 'application/json';
|
|
154
|
+
context?: HttpContext;
|
|
155
|
+
transferCache?: boolean;
|
|
156
|
+
}): Observable<ShipmentsCount>;
|
|
157
|
+
getShipmentsPendingInstructions(observe?: 'response', reportProgress?: boolean, options?: {
|
|
158
|
+
httpHeaderAccept?: 'application/json';
|
|
159
|
+
context?: HttpContext;
|
|
160
|
+
transferCache?: boolean;
|
|
161
|
+
}): Observable<HttpResponse<ShipmentsCount>>;
|
|
162
|
+
getShipmentsPendingInstructions(observe?: 'events', reportProgress?: boolean, options?: {
|
|
163
|
+
httpHeaderAccept?: 'application/json';
|
|
164
|
+
context?: HttpContext;
|
|
165
|
+
transferCache?: boolean;
|
|
166
|
+
}): Observable<HttpEvent<ShipmentsCount>>;
|
|
127
167
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShipmentsService, [null, { optional: true; }, { optional: true; }]>;
|
|
128
168
|
static ɵprov: i0.ɵɵInjectableDeclaration<ShipmentsService>;
|
|
129
169
|
}
|
package/esm2022/api/api.mjs
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * from './bookings.service';
|
|
2
|
+
import { BookingsService } from './bookings.service';
|
|
1
3
|
export * from './containers.service';
|
|
2
4
|
import { ContainersService } from './containers.service';
|
|
3
5
|
export * from './health.service';
|
|
@@ -10,5 +12,5 @@ export * from './shipments.service';
|
|
|
10
12
|
import { ShipmentsService } from './shipments.service';
|
|
11
13
|
export * from './user.service';
|
|
12
14
|
import { UserService } from './user.service';
|
|
13
|
-
export const APIS = [ContainersService, HealthService, PermissionsService, ReportsService, ShipmentsService, UserService];
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
15
|
+
export const APIS = [BookingsService, ContainersService, HealthService, PermissionsService, ReportsService, ShipmentsService, UserService];
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vYXBpL2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG9CQUFvQixDQUFDO0FBQ25DLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNyRCxjQUFjLHNCQUFzQixDQUFDO0FBQ3JDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3pELGNBQWMsa0JBQWtCLENBQUM7QUFDakMsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ2pELGNBQWMsdUJBQXVCLENBQUM7QUFDdEMsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDM0QsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDbkQsY0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxPQUFPLEVBQUUsZ0JBQWdCL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