@indigina/dcm-api 0.0.64 → 0.0.66
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/purchaseOrders.service.d.ts +26 -0
- package/fesm2022/indigina-dcm-api.mjs +84 -11
- package/fesm2022/indigina-dcm-api.mjs.map +1 -1
- package/model/currentUser.d.ts +4 -0
- package/model/models.d.ts +3 -0
- package/model/unbookedPoLineItem.d.ts +55 -0
- package/model/unbookedPoLineItems.d.ts +14 -0
- package/model/userCompanyType.d.ts +22 -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.66
|
|
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.
|
|
27
|
+
npm install @indigina/dcm-api@0.0.66 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -4,6 +4,7 @@ import { PoItemTotals } from '../model/poItemTotals';
|
|
|
4
4
|
import { PurchaseOrderItems } from '../model/purchaseOrderItems';
|
|
5
5
|
import { PurchaseOrderSummary } from '../model/purchaseOrderSummary';
|
|
6
6
|
import { PurchaseOrders } from '../model/purchaseOrders';
|
|
7
|
+
import { UnbookedPoLineItems } from '../model/unbookedPoLineItems';
|
|
7
8
|
import { Configuration } from '../configuration';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class PurchaseOrdersService {
|
|
@@ -133,6 +134,31 @@ export declare class PurchaseOrdersService {
|
|
|
133
134
|
context?: HttpContext;
|
|
134
135
|
transferCache?: boolean;
|
|
135
136
|
}): Observable<HttpEvent<PurchaseOrders>>;
|
|
137
|
+
/**
|
|
138
|
+
* Get Unbooked Purchase Order Line Items
|
|
139
|
+
* @param $skip
|
|
140
|
+
* @param $top
|
|
141
|
+
* @param $orderby
|
|
142
|
+
* @param $filter
|
|
143
|
+
* @param $search
|
|
144
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
145
|
+
* @param reportProgress flag to report request and response progress.
|
|
146
|
+
*/
|
|
147
|
+
getUnbookedPoLineItems($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
148
|
+
httpHeaderAccept?: 'application/json';
|
|
149
|
+
context?: HttpContext;
|
|
150
|
+
transferCache?: boolean;
|
|
151
|
+
}): Observable<UnbookedPoLineItems>;
|
|
152
|
+
getUnbookedPoLineItems($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
153
|
+
httpHeaderAccept?: 'application/json';
|
|
154
|
+
context?: HttpContext;
|
|
155
|
+
transferCache?: boolean;
|
|
156
|
+
}): Observable<HttpResponse<UnbookedPoLineItems>>;
|
|
157
|
+
getUnbookedPoLineItems($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
158
|
+
httpHeaderAccept?: 'application/json';
|
|
159
|
+
context?: HttpContext;
|
|
160
|
+
transferCache?: boolean;
|
|
161
|
+
}): Observable<HttpEvent<UnbookedPoLineItems>>;
|
|
136
162
|
static ɵfac: i0.ɵɵFactoryDeclaration<PurchaseOrdersService, [null, { optional: true; }, { optional: true; }]>;
|
|
137
163
|
static ɵprov: i0.ɵɵInjectableDeclaration<PurchaseOrdersService>;
|
|
138
164
|
}
|
|
@@ -2469,6 +2469,67 @@ class PurchaseOrdersService {
|
|
|
2469
2469
|
reportProgress: reportProgress
|
|
2470
2470
|
});
|
|
2471
2471
|
}
|
|
2472
|
+
getUnbookedPoLineItems($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
2473
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
2474
|
+
if ($skip !== undefined && $skip !== null) {
|
|
2475
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
2476
|
+
}
|
|
2477
|
+
if ($top !== undefined && $top !== null) {
|
|
2478
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
2479
|
+
}
|
|
2480
|
+
if ($orderby !== undefined && $orderby !== null) {
|
|
2481
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
2482
|
+
}
|
|
2483
|
+
if ($filter !== undefined && $filter !== null) {
|
|
2484
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
2485
|
+
}
|
|
2486
|
+
if ($search !== undefined && $search !== null) {
|
|
2487
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
2488
|
+
}
|
|
2489
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2490
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
2491
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
2492
|
+
// to determine the Accept header
|
|
2493
|
+
const httpHeaderAccepts = [
|
|
2494
|
+
'application/json'
|
|
2495
|
+
];
|
|
2496
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
2497
|
+
}
|
|
2498
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2499
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2500
|
+
}
|
|
2501
|
+
let localVarHttpContext = options && options.context;
|
|
2502
|
+
if (localVarHttpContext === undefined) {
|
|
2503
|
+
localVarHttpContext = new HttpContext();
|
|
2504
|
+
}
|
|
2505
|
+
let localVarTransferCache = options && options.transferCache;
|
|
2506
|
+
if (localVarTransferCache === undefined) {
|
|
2507
|
+
localVarTransferCache = true;
|
|
2508
|
+
}
|
|
2509
|
+
let responseType_ = 'json';
|
|
2510
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2511
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2512
|
+
responseType_ = 'text';
|
|
2513
|
+
}
|
|
2514
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2515
|
+
responseType_ = 'json';
|
|
2516
|
+
}
|
|
2517
|
+
else {
|
|
2518
|
+
responseType_ = 'blob';
|
|
2519
|
+
}
|
|
2520
|
+
}
|
|
2521
|
+
let localVarPath = `/purchaseOrders/unbookedPoLineItems`;
|
|
2522
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
2523
|
+
context: localVarHttpContext,
|
|
2524
|
+
params: localVarQueryParameters,
|
|
2525
|
+
responseType: responseType_,
|
|
2526
|
+
withCredentials: this.configuration.withCredentials,
|
|
2527
|
+
headers: localVarHeaders,
|
|
2528
|
+
observe: observe,
|
|
2529
|
+
transferCache: localVarTransferCache,
|
|
2530
|
+
reportProgress: reportProgress
|
|
2531
|
+
});
|
|
2532
|
+
}
|
|
2472
2533
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: PurchaseOrdersService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2473
2534
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: PurchaseOrdersService, providedIn: 'root' });
|
|
2474
2535
|
}
|
|
@@ -4643,16 +4704,6 @@ const ContainerType = {
|
|
|
4643
4704
|
* Do not edit the class manually.
|
|
4644
4705
|
*/
|
|
4645
4706
|
|
|
4646
|
-
/**
|
|
4647
|
-
* Dcm.API.Client
|
|
4648
|
-
*
|
|
4649
|
-
*
|
|
4650
|
-
*
|
|
4651
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4652
|
-
* https://openapi-generator.tech
|
|
4653
|
-
* Do not edit the class manually.
|
|
4654
|
-
*/
|
|
4655
|
-
|
|
4656
4707
|
/**
|
|
4657
4708
|
* Dcm.API.Client
|
|
4658
4709
|
*
|
|
@@ -5139,6 +5190,28 @@ const TransportMode = {
|
|
|
5139
5190
|
* Do not edit the class manually.
|
|
5140
5191
|
*/
|
|
5141
5192
|
|
|
5193
|
+
/**
|
|
5194
|
+
* Dcm.API.Client
|
|
5195
|
+
*
|
|
5196
|
+
*
|
|
5197
|
+
*
|
|
5198
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5199
|
+
* https://openapi-generator.tech
|
|
5200
|
+
* Do not edit the class manually.
|
|
5201
|
+
*/
|
|
5202
|
+
const UserCompanyType = {
|
|
5203
|
+
Dc: 'DC',
|
|
5204
|
+
Client: 'Client',
|
|
5205
|
+
OriginAgent: 'OriginAgent',
|
|
5206
|
+
DestinationAgent: 'DestinationAgent',
|
|
5207
|
+
Vendor: 'Vendor',
|
|
5208
|
+
Integration: 'Integration',
|
|
5209
|
+
SystemAdmin: 'SystemAdmin',
|
|
5210
|
+
ReportAdmin: 'ReportAdmin',
|
|
5211
|
+
SsSysAdmin: 'SS_SysAdmin',
|
|
5212
|
+
SsReportAdmin: 'SS_ReportAdmin'
|
|
5213
|
+
};
|
|
5214
|
+
|
|
5142
5215
|
/**
|
|
5143
5216
|
* Dcm.API.Client
|
|
5144
5217
|
*
|
|
@@ -5207,5 +5280,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImpor
|
|
|
5207
5280
|
* Generated bundle index. Do not edit.
|
|
5208
5281
|
*/
|
|
5209
5282
|
|
|
5210
|
-
export { APIS, ApiModule, ApprovalTypes, AuditLogsService, BASE_PATH, BookingsService, COLLECTION_FORMATS, CompaniesService, Configuration, ContainerBookedState, ContainerSize, ContainerType, ContainersService, DocumentType, DocumentsService, EntityState, HealthService, JourneySegmentType, NoteSourceTypes, NotesService, PermissionsService, PoItemState, PoItemsService, PowerBiTenant, PurchaseOrderState, PurchaseOrdersService, RecordTypes, ReportsService, RoutingLegType, SettingsService, ShipmentApprovalType, ShipmentState, ShipmentTerm, ShipmentsService, SipmetItemsService, TimelineEventStates, TimelineEventTypes, TransportMode, UserService, WorkflowArtifacts };
|
|
5283
|
+
export { APIS, ApiModule, ApprovalTypes, AuditLogsService, BASE_PATH, BookingsService, COLLECTION_FORMATS, CompaniesService, Configuration, ContainerBookedState, ContainerSize, ContainerType, ContainersService, DocumentType, DocumentsService, EntityState, HealthService, JourneySegmentType, NoteSourceTypes, NotesService, PermissionsService, PoItemState, PoItemsService, PowerBiTenant, PurchaseOrderState, PurchaseOrdersService, RecordTypes, ReportsService, RoutingLegType, SettingsService, ShipmentApprovalType, ShipmentState, ShipmentTerm, ShipmentsService, SipmetItemsService, TimelineEventStates, TimelineEventTypes, TransportMode, UserCompanyType, UserService, WorkflowArtifacts };
|
|
5211
5284
|
//# sourceMappingURL=indigina-dcm-api.mjs.map
|